Searched refs:chap_size (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 1474 uint32_t offset = 0, chap_size; in qla4xxx_get_chap() local 1482 chap_size = sizeof(struct ql4_chap_table); in qla4xxx_get_chap() 1483 memset(chap_table, 0, chap_size); in qla4xxx_get_chap() 1486 offset = FLASH_CHAP_OFFSET | (idx * chap_size); in qla4xxx_get_chap() 1494 offset += (idx * chap_size); in qla4xxx_get_chap() 1497 rval = qla4xxx_get_flash(ha, chap_dma, offset, chap_size); in qla4xxx_get_chap()
|
D | ql4_os.c | 578 uint32_t chap_size; in qla4xxx_delete_chap() local 608 chap_size = sizeof(struct ql4_chap_table); in qla4xxx_delete_chap() 610 offset = FLASH_CHAP_OFFSET | (chap_tbl_idx * chap_size); in qla4xxx_delete_chap() 618 offset += (chap_tbl_idx * chap_size); in qla4xxx_delete_chap() 621 ret = qla4xxx_get_flash(ha, chap_dma, offset, chap_size); in qla4xxx_delete_chap() 639 ret = qla4xxx_set_flash(ha, chap_dma, offset, chap_size, in qla4xxx_delete_chap() 4679 uint32_t chap_size = 0; in qla4xxx_create_chap_list() local 4682 chap_size = MAX_CHAP_ENTRIES_40XX * in qla4xxx_create_chap_list() 4687 chap_size = ha->hw.flt_chap_size / 2; in qla4xxx_create_chap_list() 4689 chap_flash_data = dma_alloc_coherent(&ha->pdev->dev, chap_size, in qla4xxx_create_chap_list() [all …]
|