Lines Matching refs:pcihdr

551 	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()
3146 uint32_t pcihdr, pcids; in qla2x00_get_flash_version() local
3162 pcihdr = 0; in qla2x00_get_flash_version()
3166 if (qla2x00_read_flash_byte(ha, pcihdr) != 0x55 || in qla2x00_get_flash_version()
3167 qla2x00_read_flash_byte(ha, pcihdr + 0x01) != 0xaa) { in qla2x00_get_flash_version()
3176 pcids = pcihdr + in qla2x00_get_flash_version()
3177 ((qla2x00_read_flash_byte(ha, pcihdr + 0x19) << 8) | in qla2x00_get_flash_version()
3178 qla2x00_read_flash_byte(ha, pcihdr + 0x18)); in qla2x00_get_flash_version()
3230 pcihdr += ((qla2x00_read_flash_byte(ha, pcids + 0x11) << 8) | in qla2x00_get_flash_version()
3277 uint32_t pcihdr, pcids; in qla82xx_get_flash_version() local
3292 pcihdr = ha->flt_region_boot << 2; in qla82xx_get_flash_version()
3296 ha->isp_ops->read_optrom(vha, dcode, pcihdr, 0x20 * 4); in qla82xx_get_flash_version()
3297 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3307 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla82xx_get_flash_version()
3310 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3358 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla82xx_get_flash_version()
3365 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3386 uint32_t pcihdr = 0, pcids = 0; in qla24xx_get_flash_version() local
3406 pcihdr = ha->flt_region_boot << 2; in qla24xx_get_flash_version()
3410 pcihdr = ha->flt_region_boot_sec << 2; in qla24xx_get_flash_version()
3416 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); in qla24xx_get_flash_version()
3417 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3427 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla24xx_get_flash_version()
3430 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3479 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla24xx_get_flash_version()