Home
last modified time | relevance | path

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

/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 slow write %x (%x)\n", faddr, *dwptr); in qla24xx_write_flash_data()
[all …]
Dqla_nx.c2504 qla82xx_read_flash_data(scsi_qla_host_t *vha, __le32 *dwptr, uint32_t faddr, in qla82xx_read_flash_data() argument
2518 dwptr[i] = cpu_to_le32(val); in qla82xx_read_flash_data()
2521 return dwptr; in qla82xx_read_flash_data()
2635 qla82xx_write_flash_data(struct scsi_qla_host *vha, __le32 *dwptr, in qla82xx_write_flash_data() argument
2670 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla82xx_write_flash_data()
2686 memcpy(optrom, dwptr, OPTROM_BURST_SIZE); in qla82xx_write_flash_data()
2706 dwptr += OPTROM_BURST_DWORDS - 1; in qla82xx_write_flash_data()
2712 le32_to_cpu(*dwptr)); in qla82xx_write_flash_data()
2716 faddr, *dwptr); in qla82xx_write_flash_data()
Dqla_nx2.c3687 qla8044_write_flash_buffer_mode(scsi_qla_host_t *vha, uint32_t *dwptr, in qla8044_write_flash_buffer_mode() argument
3709 *dwptr++); in qla8044_write_flash_buffer_mode()
3728 qla8044_wr_reg_indirect(vha, QLA8044_FLASH_WRDATA, *dwptr++); in qla8044_write_flash_buffer_mode()
3744 qla8044_wr_reg_indirect(vha, QLA8044_FLASH_WRDATA, *dwptr++); in qla8044_write_flash_buffer_mode()
3770 qla8044_write_flash_dword_mode(scsi_qla_host_t *vha, uint32_t *dwptr, in qla8044_write_flash_dword_mode() argument
3776 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla8044_write_flash_dword_mode()
3777 ret = qla8044_flash_write_u32(vha, faddr, dwptr); in qla8044_write_flash_dword_mode()
3781 faddr, *dwptr); in qla8044_write_flash_dword_mode()
/drivers/scsi/qla4xxx/
Dql4_nx.c3638 qla4_82xx_read_flash_data(struct scsi_qla_host *ha, uint32_t *dwptr, in qla4_82xx_read_flash_data() argument
3651 return dwptr; in qla4_82xx_read_flash_data()
3661 dwptr[i] = cpu_to_le32(val); in qla4_82xx_read_flash_data()
3666 return dwptr; in qla4_82xx_read_flash_data()