Searched refs:chap_size (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/scsi/qla4xxx/
H A Dql4_mbx.c1578 uint32_t offset = 0, chap_size; local
1586 chap_size = sizeof(struct ql4_chap_table);
1589 offset = FLASH_CHAP_OFFSET | (idx * chap_size);
1597 offset += (idx * chap_size);
1600 rval = qla4xxx_get_flash(ha, chap_dma, offset, chap_size);
1642 uint32_t chap_size = 0; local
1666 chap_size = MAX_CHAP_ENTRIES_40XX * sizeof(*chap_table);
1671 chap_size = ha->hw.flt_chap_size / 2;
1674 offset += chap_size;
H A Dql4_os.c638 uint32_t chap_size = 0; local
641 chap_size = MAX_CHAP_ENTRIES_40XX *
646 chap_size = ha->hw.flt_chap_size / 2;
648 chap_flash_data = dma_alloc_coherent(&ha->pdev->dev, chap_size,
660 offset += chap_size;
663 rval = qla4xxx_get_flash(ha, chap_dma, offset, chap_size);
668 ha->chap_list = vmalloc(chap_size);
674 memcpy(ha->chap_list, chap_flash_data, chap_size);
677 dma_free_coherent(&ha->pdev->dev, chap_size, chap_flash_data, chap_dma);
871 uint32_t chap_size; local
[all...]

Completed in 1000 milliseconds