Lines Matching defs:pcids
550 uint32_t pcihdr, pcids;
593 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]);
594 qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20);
3071 * @pcids: Pointer to the FCODE PCI data structure
3087 qla2x00_get_fcode_version(struct qla_hw_data *ha, uint32_t pcids)
3096 istart = pcids +
3097 ((qla2x00_read_flash_byte(ha, pcids + 0x0B) << 8) |
3098 qla2x00_read_flash_byte(ha, pcids + 0x0A));
3165 uint32_t pcihdr, pcids;
3195 pcids = pcihdr +
3200 if (qla2x00_read_flash_byte(ha, pcids) != 'P' ||
3201 qla2x00_read_flash_byte(ha, pcids + 0x1) != 'C' ||
3202 qla2x00_read_flash_byte(ha, pcids + 0x2) != 'I' ||
3203 qla2x00_read_flash_byte(ha, pcids + 0x3) != 'R') {
3206 "PCI data struct not found pcir_adr=%x.\n", pcids);
3212 code_type = qla2x00_read_flash_byte(ha, pcids + 0x14);
3217 qla2x00_read_flash_byte(ha, pcids + 0x12);
3219 qla2x00_read_flash_byte(ha, pcids + 0x13);
3227 qla2x00_get_fcode_version(ha, pcids);
3232 qla2x00_read_flash_byte(ha, pcids + 0x12);
3234 qla2x00_read_flash_byte(ha, pcids + 0x13);
3241 "Unrecognized code type %x at pcids %x.\n",
3242 code_type, pcids);
3246 last_image = qla2x00_read_flash_byte(ha, pcids + 0x15) & BIT_7;
3249 pcihdr += ((qla2x00_read_flash_byte(ha, pcids + 0x11) << 8) |
3250 qla2x00_read_flash_byte(ha, pcids + 0x10)) * 512;
3296 uint32_t pcihdr, pcids;
3326 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]);
3328 ha->isp_ops->read_optrom(vha, dcode, pcids, 0x20 * 4);
3335 "PCI data struct not found pcir_adr=%x.\n", pcids);
3369 "Unrecognized code type %x at pcids %x.\n",
3370 code_type, pcids);
3405 uint32_t pcihdr = 0, pcids = 0;
3446 pcids = pcihdr + ((bcode[0x19] << 8) | bcode[0x18]);
3448 qla24xx_read_flash_data(vha, dcode, pcids >> 2, 0x20);
3455 "PCI data struct not found pcir_adr=%x.\n", pcids);
3490 "Unrecognized code type %x at pcids %x.\n",
3491 code_type, pcids);