Lines Matching refs:pcihdr

550 	uint32_t pcihdr, pcids;  in qla2xxx_find_flt_start()  local
584 pcihdr = 0; in qla2xxx_find_flt_start()
587 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); in qla2xxx_find_flt_start()
588 bcode = buf + (pcihdr % 4); in qla2xxx_find_flt_start()
593 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla2xxx_find_flt_start()
595 bcode = buf + (pcihdr % 4); in qla2xxx_find_flt_start()
605 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla2xxx_find_flt_start()
609 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, sizeof(*fltl) >> 2); in qla2xxx_find_flt_start()
3165 uint32_t pcihdr, pcids; in qla2x00_get_flash_version() local
3181 pcihdr = 0; in qla2x00_get_flash_version()
3185 if (qla2x00_read_flash_byte(ha, pcihdr) != 0x55 || in qla2x00_get_flash_version()
3186 qla2x00_read_flash_byte(ha, pcihdr + 0x01) != 0xaa) { in qla2x00_get_flash_version()
3195 pcids = pcihdr + in qla2x00_get_flash_version()
3196 ((qla2x00_read_flash_byte(ha, pcihdr + 0x19) << 8) | in qla2x00_get_flash_version()
3197 qla2x00_read_flash_byte(ha, pcihdr + 0x18)); in qla2x00_get_flash_version()
3249 pcihdr += ((qla2x00_read_flash_byte(ha, pcids + 0x11) << 8) | in qla2x00_get_flash_version()
3296 uint32_t pcihdr, pcids; in qla82xx_get_flash_version() local
3311 pcihdr = ha->flt_region_boot << 2; in qla82xx_get_flash_version()
3315 ha->isp_ops->read_optrom(vha, dcode, pcihdr, 0x20 * 4); in qla82xx_get_flash_version()
3316 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3326 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla82xx_get_flash_version()
3329 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3377 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla82xx_get_flash_version()
3384 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3405 uint32_t pcihdr = 0, pcids = 0; in qla24xx_get_flash_version() local
3425 pcihdr = ha->flt_region_boot << 2; in qla24xx_get_flash_version()
3429 pcihdr = ha->flt_region_boot_sec << 2; in qla24xx_get_flash_version()
3435 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); in qla24xx_get_flash_version()
3436 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3446 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla24xx_get_flash_version()
3449 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3498 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla24xx_get_flash_version()