Lines Matching refs:pcids
550 uint32_t pcihdr, pcids; in qla2xxx_find_flt_start() local
599 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla2xxx_find_flt_start()
600 rc = qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20); in qla2xxx_find_flt_start()
3108 qla2x00_get_fcode_version(struct qla_hw_data *ha, uint32_t pcids) in qla2x00_get_fcode_version() argument
3117 istart = pcids + in qla2x00_get_fcode_version()
3118 ((qla2x00_read_flash_byte(ha, pcids + 0x0B) << 8) | in qla2x00_get_fcode_version()
3119 qla2x00_read_flash_byte(ha, pcids + 0x0A)); in qla2x00_get_fcode_version()
3186 uint32_t pcihdr, pcids; in qla2x00_get_flash_version() local
3216 pcids = pcihdr + in qla2x00_get_flash_version()
3221 if (qla2x00_read_flash_byte(ha, pcids) != 'P' || in qla2x00_get_flash_version()
3222 qla2x00_read_flash_byte(ha, pcids + 0x1) != 'C' || in qla2x00_get_flash_version()
3223 qla2x00_read_flash_byte(ha, pcids + 0x2) != 'I' || in qla2x00_get_flash_version()
3224 qla2x00_read_flash_byte(ha, pcids + 0x3) != 'R') { in qla2x00_get_flash_version()
3227 "PCI data struct not found pcir_adr=%x.\n", pcids); in qla2x00_get_flash_version()
3233 code_type = qla2x00_read_flash_byte(ha, pcids + 0x14); in qla2x00_get_flash_version()
3238 qla2x00_read_flash_byte(ha, pcids + 0x12); in qla2x00_get_flash_version()
3240 qla2x00_read_flash_byte(ha, pcids + 0x13); in qla2x00_get_flash_version()
3248 qla2x00_get_fcode_version(ha, pcids); in qla2x00_get_flash_version()
3253 qla2x00_read_flash_byte(ha, pcids + 0x12); in qla2x00_get_flash_version()
3255 qla2x00_read_flash_byte(ha, pcids + 0x13); in qla2x00_get_flash_version()
3263 code_type, pcids); in qla2x00_get_flash_version()
3267 last_image = qla2x00_read_flash_byte(ha, pcids + 0x15) & BIT_7; in qla2x00_get_flash_version()
3270 pcihdr += ((qla2x00_read_flash_byte(ha, pcids + 0x11) << 8) | in qla2x00_get_flash_version()
3271 qla2x00_read_flash_byte(ha, pcids + 0x10)) * 512; in qla2x00_get_flash_version()
3317 uint32_t pcihdr, pcids; in qla82xx_get_flash_version() local
3347 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla82xx_get_flash_version()
3349 ha->isp_ops->read_optrom(vha, dcode, pcids, 0x20 * 4); in qla82xx_get_flash_version()
3356 "PCI data struct not found pcir_adr=%x.\n", pcids); in qla82xx_get_flash_version()
3391 code_type, pcids); in qla82xx_get_flash_version()
3426 uint32_t pcihdr = 0, pcids = 0; in qla24xx_get_flash_version() local
3472 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla24xx_get_flash_version()
3474 ret = qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20); in qla24xx_get_flash_version()
3487 "PCI data struct not found pcir_adr=%x.\n", pcids); in qla24xx_get_flash_version()
3522 code_type, pcids); in qla24xx_get_flash_version()