Home
last modified time | relevance | path

Searched refs:dwptr (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_sup.c476 qla24xx_read_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla24xx_read_flash_data() argument
485 for (i = 0; i < dwords; i++, faddr++, dwptr++) { in qla24xx_read_flash_data()
486 ret = qla24xx_read_flash_dword(ha, faddr, dwptr); in qla24xx_read_flash_data()
489 cpu_to_le32s(dwptr); in qla24xx_read_flash_data()
1269 qla24xx_write_flash_data(scsi_qla_host_t *vha, __le32 *dwptr, uint32_t faddr, in qla24xx_write_flash_data() argument
1304 for (liter = 0; liter < dwords; liter++, faddr++, dwptr++) { in qla24xx_write_flash_data()
1326 memcpy(optrom, dwptr, dburst << 2); in qla24xx_write_flash_data()
1336 dwptr += dburst - 1; in qla24xx_write_flash_data()
1356 flash_data_addr(ha, faddr), le32_to_cpu(*dwptr)); in qla24xx_write_flash_data()
1359 "Failed slopw write %x (%x)\n", faddr, *dwptr); in qla24xx_write_flash_data()
[all …]
Dqla_nx.c2508 qla82xx_read_flash_data(scsi_qla_host_t *vha, __le32 *dwptr, uint32_t faddr, in qla82xx_read_flash_data() argument
2522 dwptr[i] = cpu_to_le32(val); in qla82xx_read_flash_data()
2525 return dwptr; in qla82xx_read_flash_data()
2639 qla82xx_write_flash_data(struct scsi_qla_host *vha, __le32 *dwptr, in qla82xx_write_flash_data() argument
2674 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla82xx_write_flash_data()
2690 memcpy(optrom, dwptr, OPTROM_BURST_SIZE); in qla82xx_write_flash_data()
2710 dwptr += OPTROM_BURST_DWORDS - 1; in qla82xx_write_flash_data()
2716 le32_to_cpu(*dwptr)); in qla82xx_write_flash_data()
2720 faddr, *dwptr); in qla82xx_write_flash_data()
Dqla_nx2.c3695 qla8044_write_flash_buffer_mode(scsi_qla_host_t *vha, uint32_t *dwptr, in qla8044_write_flash_buffer_mode() argument
3717 *dwptr++); in qla8044_write_flash_buffer_mode()
3736 qla8044_wr_reg_indirect(vha, QLA8044_FLASH_WRDATA, *dwptr++); in qla8044_write_flash_buffer_mode()
3752 qla8044_wr_reg_indirect(vha, QLA8044_FLASH_WRDATA, *dwptr++); in qla8044_write_flash_buffer_mode()
3778 qla8044_write_flash_dword_mode(scsi_qla_host_t *vha, uint32_t *dwptr, in qla8044_write_flash_dword_mode() argument
3784 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla8044_write_flash_dword_mode()
3785 ret = qla8044_flash_write_u32(vha, faddr, dwptr); in qla8044_write_flash_dword_mode()
3789 faddr, *dwptr); in qla8044_write_flash_dword_mode()
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_nx.c3657 qla4_82xx_read_flash_data(struct scsi_qla_host *ha, uint32_t *dwptr, in qla4_82xx_read_flash_data() argument
3670 return dwptr; in qla4_82xx_read_flash_data()
3680 dwptr[i] = __constant_cpu_to_le32(val); in qla4_82xx_read_flash_data()
3685 return dwptr; in qla4_82xx_read_flash_data()