Lines Matching refs:dwptr
476 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()
1402 uint32_t *dwptr = buf; in qla24xx_read_nvram_data() local
1411 for (i = 0; i < bytes; i++, naddr++, dwptr++) { in qla24xx_read_nvram_data()
1412 if (qla24xx_read_flash_dword(ha, naddr, dwptr)) in qla24xx_read_nvram_data()
1414 cpu_to_le32s(dwptr); in qla24xx_read_nvram_data()
1460 __le32 *dwptr = buf; in qla24xx_write_nvram_data() local
1481 for (i = 0; i < bytes; i++, naddr++, dwptr++) { in qla24xx_write_nvram_data()
1482 if (qla24xx_write_flash_dword(ha, naddr, le32_to_cpu(*dwptr))) { in qla24xx_write_nvram_data()
1485 naddr, *dwptr); in qla24xx_write_nvram_data()
1506 uint32_t *dwptr = buf; in qla25xx_read_nvram_data() local
1512 for (i = 0; i < bytes; i++, naddr++, dwptr++) { in qla25xx_read_nvram_data()
1513 if (qla24xx_read_flash_dword(ha, naddr, dwptr)) in qla25xx_read_nvram_data()
1516 cpu_to_le32s(dwptr); in qla25xx_read_nvram_data()
2679 qla28xx_write_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla28xx_write_flash_data() argument
2732 fw_array = (__force __be32 *)dwptr; in qla28xx_write_flash_data()
2766 fw_array = (__force __be32 *)dwptr; in qla28xx_write_flash_data()
2794 rval = qla28xx_extract_sfub_and_verify(vha, (__le32 *)dwptr, in qla28xx_write_flash_data()
2913 for (liter = 0; liter < dwords; liter++, faddr++, dwptr++) { in qla28xx_write_flash_data()
2921 memcpy(optrom, dwptr, dburst << 2); in qla28xx_write_flash_data()
2938 dwptr += dburst - 1; in qla28xx_write_flash_data()