Searched refs:chap_size (Results 1 – 1 of 1) sorted by relevance
1578 uint32_t offset = 0, chap_size; in qla4xxx_get_chap() local1586 chap_size = sizeof(struct ql4_chap_table); in qla4xxx_get_chap()1589 offset = FLASH_CHAP_OFFSET | (idx * chap_size); in qla4xxx_get_chap()1597 offset += (idx * chap_size); in qla4xxx_get_chap()1600 rval = qla4xxx_get_flash(ha, chap_dma, offset, chap_size); in qla4xxx_get_chap()1642 uint32_t chap_size = 0; in qla4xxx_set_chap() local1666 chap_size = MAX_CHAP_ENTRIES_40XX * sizeof(*chap_table); in qla4xxx_set_chap()1671 chap_size = ha->hw.flt_chap_size / 2; in qla4xxx_set_chap()1674 offset += chap_size; in qla4xxx_set_chap()