Home
last modified time | relevance | path

Searched refs:header_type (Results 1 – 11 of 11) sorted by relevance

/drivers/pci/hotplug/
Dcpqphp_pci.c301 u8 header_type; in cpqhp_save_config() local
359 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_HEADER_TYPE, &header_type); in cpqhp_save_config()
364 if (header_type & 0x80) in cpqhp_save_config()
373 if ((header_type & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in cpqhp_save_config()
442 …ci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_HEADER_TYPE, &header_type); in cpqhp_save_config()
468 u8 header_type; in cpqhp_save_slot_config() local
486 …bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), PCI_HEADER_TYPE, &header_type); in cpqhp_save_slot_config()
488 if (header_type & 0x80) /* Multi-function device */ in cpqhp_save_slot_config()
494 if ((header_type & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in cpqhp_save_slot_config()
529 …d_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_HEADER_TYPE, &header_type); in cpqhp_save_slot_config()
[all …]
Dcpqphp_ctrl.c2039 u8 device, class_code, header_type, BCR; in cpqhp_process_SS() local
2069 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_process_SS()
2074 if ((header_type & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in cpqhp_process_SS()
/drivers/edac/
Dedac_pci_sysfs.c511 u8 header_type; in edac_pci_dev_parity_clear() local
516 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in edac_pci_dev_parity_clear()
518 if ((header_type & 0x7F) == PCI_HEADER_TYPE_BRIDGE) in edac_pci_dev_parity_clear()
533 u8 header_type; in edac_pci_dev_parity_test() local
542 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in edac_pci_dev_parity_test()
578 header_type, dev_name(&dev->dev)); in edac_pci_dev_parity_test()
580 if ((header_type & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in edac_pci_dev_parity_test()
/drivers/pci/controller/dwc/
Dpci-layerscape.c59 u32 header_type; in ls_pcie_is_bridge() local
61 header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_is_bridge()
62 header_type &= 0x7f; in ls_pcie_is_bridge()
64 return header_type == PCI_HEADER_TYPE_BRIDGE; in ls_pcie_is_bridge()
/drivers/mmc/host/
Dvub300.c62 u8 header_type; member
77 u8 header_type; member
88 u8 header_type; member
94 u8 header_type; member
103 u8 header_type; member
114 u8 header_type; member
121 u8 header_type; member
133 u8 header_type; member
140 u8 header_type; member
483 vub300->cmnd.poll.header_type = 1; in send_irqpoll()
[all …]
/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c542 u32 header_type; in mobiveil_pcie_is_bridge() local
544 header_type = mobiveil_csr_readb(pcie, PCI_HEADER_TYPE); in mobiveil_pcie_is_bridge()
545 header_type &= 0x7f; in mobiveil_pcie_is_bridge()
547 return header_type == PCI_HEADER_TYPE_BRIDGE; in mobiveil_pcie_is_bridge()
/drivers/pci/
Dpci-bridge-emul.h16 u8 header_type; member
Dpci-bridge-emul.c335 bridge->conf.header_type = PCI_HEADER_TYPE_BRIDGE; in pci_bridge_emul_init()
/drivers/net/dsa/sja1105/
Dsja1105_static_config.h220 u64 header_type; member
Dsja1105_static_config.c215 sja1105_packing(buf, &entry->header_type, 64, 49, size, op); in sja1110_general_params_entry_packing()
Dsja1105_main.c878 .header_type = ETH_P_SJA1110, in sja1105_init_general_params()