Lines Matching refs:pcihdr
547 uint32_t pcihdr, pcids; in qla2xxx_find_flt_start() local
578 pcihdr = 0; in qla2xxx_find_flt_start()
582 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); in qla2xxx_find_flt_start()
583 bcode = buf + (pcihdr % 4); in qla2xxx_find_flt_start()
588 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla2xxx_find_flt_start()
590 bcode = buf + (pcihdr % 4); in qla2xxx_find_flt_start()
600 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla2xxx_find_flt_start()
605 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, in qla2xxx_find_flt_start()
2740 uint32_t pcihdr, pcids; in qla2x00_get_flash_version() local
2756 pcihdr = 0; in qla2x00_get_flash_version()
2760 if (qla2x00_read_flash_byte(ha, pcihdr) != 0x55 || in qla2x00_get_flash_version()
2761 qla2x00_read_flash_byte(ha, pcihdr + 0x01) != 0xaa) { in qla2x00_get_flash_version()
2770 pcids = pcihdr + in qla2x00_get_flash_version()
2771 ((qla2x00_read_flash_byte(ha, pcihdr + 0x19) << 8) | in qla2x00_get_flash_version()
2772 qla2x00_read_flash_byte(ha, pcihdr + 0x18)); in qla2x00_get_flash_version()
2824 pcihdr += ((qla2x00_read_flash_byte(ha, pcids + 0x11) << 8) | in qla2x00_get_flash_version()
2871 uint32_t pcihdr, pcids; in qla82xx_get_flash_version() local
2888 pcihdr = ha->flt_region_boot << 2; in qla82xx_get_flash_version()
2892 ha->isp_ops->read_optrom(vha, (uint8_t *)dcode, pcihdr, in qla82xx_get_flash_version()
2894 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
2904 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla82xx_get_flash_version()
2908 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
2957 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla82xx_get_flash_version()
2965 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
2986 uint32_t pcihdr, pcids; in qla24xx_get_flash_version() local
3007 pcihdr = ha->flt_region_boot << 2; in qla24xx_get_flash_version()
3011 qla24xx_read_flash_data(vha, dcode, pcihdr >> 2, 0x20); in qla24xx_get_flash_version()
3012 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3022 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]); in qla24xx_get_flash_version()
3025 bcode = mbuf + (pcihdr % 4); in qla24xx_get_flash_version()
3074 pcihdr += ((bcode[0x11] << 8) | bcode[0x10]) * 512; in qla24xx_get_flash_version()