Lines Matching +full:0 +full:x134
68 root = (devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0;
78 rid = 0;
79 res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0);
96 SMCCC_STD_SECURE_SERVICE_CALLS, 0x130)
99 SMCCC_STD_SECURE_SERVICE_CALLS, 0x131)
102 SMCCC_STD_SECURE_SERVICE_CALLS, 0x132)
105 SMCCC_STD_SECURE_SERVICE_CALLS, 0x133)
108 SMCCC_STD_SECURE_SERVICE_CALLS, 0x134)
110 CTASSERT(SMCCC_PCI_VERSION == 0x84000130);
111 CTASSERT(SMCCC_PCI_FEATURES == 0x84000131);
112 CTASSERT(SMCCC_PCI_READ == 0x84000132);
113 CTASSERT(SMCCC_PCI_WRITE == 0x84000133);
114 CTASSERT(SMCCC_PCI_GET_SEG_INFO == 0x84000134);
116 #define SMCCC_PCI_MAJOR(x) (((x) >> 16) & 0x7fff)
117 #define SMCCC_PCI_MINOR(x) ((x) & 0xffff)
119 #define SMCCC_PCI_SEG_END(x) (((x) >> 8) & 0xff)
120 #define SMCCC_PCI_SEG_START(x) ((x) & 0xff)
127 if (arm_smccc_invoke(SMCCC_PCI_FEATURES, pci_func_id, &result) < 0) {
139 if (arm_smccc_invoke(SMCCC_PCI_VERSION, &result) < 0) {
183 if (error != 0)
198 return (0);
212 return (~0U);
215 return (~0U);
217 addr = (sc->base.ecam << 16) | (bus << 8) | (slot << 3) | (func << 0);
218 if (arm_smccc_invoke(SMCCC_PCI_READ, addr, reg, bytes, &result) < 0) {
219 return (~0U);
241 addr = (sc->base.ecam << 16) | (bus << 8) | (slot << 3) | (func << 0);
260 DRIVER_MODULE(pcib_smccc, acpi, generic_pcie_acpi_smccc_driver, 0, 0);