Lines Matching refs:naddr
442 nvram_conf_addr(struct qla_hw_data *ha, uint32_t naddr) in nvram_conf_addr() argument
444 return ha->nvram_conf_off | naddr; in nvram_conf_addr()
448 nvram_data_addr(struct qla_hw_data *ha, uint32_t naddr) in nvram_data_addr() argument
450 return ha->nvram_data_off | naddr; in nvram_data_addr()
1321 qla2x00_read_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla2x00_read_nvram_data() argument
1331 for (i = 0; i < bytes >> 1; i++, naddr++) in qla2x00_read_nvram_data()
1333 naddr)); in qla2x00_read_nvram_data()
1340 qla24xx_read_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla24xx_read_nvram_data() argument
1352 for (i = 0; i < bytes >> 2; i++, naddr++) in qla24xx_read_nvram_data()
1354 nvram_data_addr(ha, naddr))); in qla24xx_read_nvram_data()
1360 qla2x00_write_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla2x00_write_nvram_data() argument
1378 for (i = 0; i < bytes >> 1; i++, naddr++) { in qla2x00_write_nvram_data()
1379 qla2x00_write_nvram_word(ha, naddr, in qla2x00_write_nvram_data()
1394 qla24xx_write_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla24xx_write_nvram_data() argument
1419 for (i = 0; i < bytes >> 2; i++, naddr++, dwptr++) { in qla24xx_write_nvram_data()
1421 nvram_data_addr(ha, naddr), cpu_to_le32(*dwptr)); in qla24xx_write_nvram_data()
1425 naddr, *dwptr); in qla24xx_write_nvram_data()
1442 qla25xx_read_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla25xx_read_nvram_data() argument
1451 for (i = 0; i < bytes >> 2; i++, naddr++) in qla25xx_read_nvram_data()
1453 flash_data_addr(ha, ha->flt_region_vpd_nvram | naddr))); in qla25xx_read_nvram_data()
1459 qla25xx_write_nvram_data(scsi_qla_host_t *vha, uint8_t *buf, uint32_t naddr, in qla25xx_write_nvram_data() argument
1471 memcpy(dbuf + (naddr << 2), buf, bytes); in qla25xx_write_nvram_data()