Home
last modified time | relevance | path

Searched refs:sec_number (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_pci.c72 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local
188 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_number); in ibmphp_configure_card()
196 newfunc->busno = sec_number; in ibmphp_configure_card()
258 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_number); in ibmphp_configure_card()
259 debug("after configuring bridge..., sec_number = %x\n", sec_number); in ibmphp_configure_card()
268 newfunc->busno = sec_number; in ibmphp_configure_card()
548 u8 sec_number; in configure_bridge() local
594 sec_number = find_sec_number(func->busno, slotno); in configure_bridge()
595 if (sec_number == 0xff) { in configure_bridge()
600 debug("after find_sec_number, the number we got is %x\n", sec_number); in configure_bridge()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_sup.c2406 uint8_t man_id, flash_id, sec_number, *data; in qla2x00_write_optrom_data() local
2416 sec_number = 0; in qla2x00_write_optrom_data()
2545 sec_number++; in qla2x00_write_optrom_data()
2546 if (sec_number == 1) { in qla2x00_write_optrom_data()
2552 sec_number == 2 || in qla2x00_write_optrom_data()
2553 sec_number == 3) { in qla2x00_write_optrom_data()
2559 sec_number == 4) { in qla2x00_write_optrom_data()
2588 sec_number++; in qla2x00_write_optrom_data()
2593 if (sec_number == 1 && in qla2x00_write_optrom_data()
2597 } else if (sec_number == 3 && (addr & 0x7ffe)) { in qla2x00_write_optrom_data()