Lines Matching refs:naddr

441 nvram_conf_addr(struct qla_hw_data *ha, uint32_t naddr)  in nvram_conf_addr()  argument
443 return ha->nvram_conf_off + naddr; in nvram_conf_addr()
447 nvram_data_addr(struct qla_hw_data *ha, uint32_t naddr) in nvram_data_addr() argument
449 return ha->nvram_data_off + naddr; in nvram_data_addr()
1379 qla2x00_read_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla2x00_read_nvram_data() argument
1389 for (i = 0; i < bytes >> 1; i++, naddr++) in qla2x00_read_nvram_data()
1391 naddr)); in qla2x00_read_nvram_data()
1398 qla24xx_read_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla24xx_read_nvram_data() argument
1409 naddr = nvram_data_addr(ha, naddr); in qla24xx_read_nvram_data()
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()
1421 qla2x00_write_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla2x00_write_nvram_data() argument
1439 for (i = 0; i < bytes >> 1; i++, naddr++) { in qla2x00_write_nvram_data()
1440 qla2x00_write_nvram_word(ha, naddr, in qla2x00_write_nvram_data()
1455 qla24xx_write_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla24xx_write_nvram_data() argument
1479 naddr = nvram_data_addr(ha, naddr); in qla24xx_write_nvram_data()
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()
1502 qla25xx_read_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla25xx_read_nvram_data() argument
1510 naddr = flash_data_addr(ha, ha->flt_region_vpd_nvram | naddr); in qla25xx_read_nvram_data()
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()
1524 qla25xx_write_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla25xx_write_nvram_data() argument
1534 memcpy(dbuf + (naddr << 2), buf, bytes); in qla25xx_write_nvram_data()