/freebsd-10.1-release/sys/i386/pci/ |
H A D | pci_cfgreg.c | 37 #include <sys/bus.h> 93 static uint32_t pci_docfgregread(int bus, int slot, int func, int reg, 95 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes); 96 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes); 100 static int pciereg_cfgread(int bus, unsigned slot, unsigned func, 102 static void pciereg_cfgwrite(int bus, unsigned slot, unsigned func, 210 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument 214 (bus >= pcie_minbus && bus <= pcie_maxbus) && 215 (bus ! 225 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument 245 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument 262 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument 345 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument 371 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument 621 pciereg_findaddr(int bus, unsigned slot, unsigned func, unsigned reg) argument 668 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument 701 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument [all...] |
/freebsd-10.1-release/sys/dev/ppc/ |
H A D | ppcvar.h | 34 int ppc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val); 35 int ppc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val); 43 struct resource *ppc_alloc_resource(device_t bus, device_t child, int type, 45 int ppc_release_resource(device_t bus, device_t child, int type, int rid,
|
/freebsd-10.1-release/sys/boot/powerpc/ps3/ |
H A D | lv1call.h | 64 int lv1_net_init(int bus, int dev); 65 int lv1_net_control(int bus, int dev, int, int, int, int, uint64_t *); 66 int lv1_net_start_tx_dma(int bus, int dev, uint32_t addr, int); 67 int lv1_net_start_rx_dma(int bus, int dev, uint32_t addr, int); 68 int lv1_net_stop_tx_dma(int bus, int dev, int); 69 int lv1_net_stop_rx_dma(int bus, int dev, int);
|
/freebsd-10.1-release/sys/amd64/vmm/io/ |
H A D | iommu.c | 35 #include <sys/bus.h> 112 IOMMU_ADD_DEVICE(void *domain, int bus, int slot, int func) argument 116 (*ops->add_device)(domain, bus, slot, func); 120 IOMMU_REMOVE_DEVICE(void *domain, int bus, int slot, int func) argument 124 (*ops->remove_device)(domain, bus, slot, func); 154 int error, bus, slot, func; local 186 for (bus = 0; bus <= PCI_BUSMAX; bus++) { 189 dev = pci_find_dbsf(0, bus, slo 266 iommu_add_device(void *dom, int bus, int slot, int func) argument 273 iommu_remove_device(void *dom, int bus, int slot, int func) argument [all...] |
H A D | iommu.h | 42 typedef void (*iommu_add_device_t)(void *domain, int bus, int slot, int func); 43 typedef void (*iommu_remove_device_t)(void *dom, int bus, int slot, int func); 72 void iommu_add_device(void *dom, int bus, int slot, int func); 73 void iommu_remove_device(void *dom, int bus, int slot, int func);
|
/freebsd-10.1-release/sys/dev/atkbdc/ |
H A D | atkbdc_subr.c | 38 #include <sys/bus.h> 51 atkbdc_print_child(device_t bus, device_t dev) argument 60 retval += bus_print_child_header(bus, dev); 67 retval += bus_print_child_footer(bus, dev); 73 atkbdc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val) argument 98 atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) argument 123 *atkbdc_get_resource_list(device_t bus, device_t dev) argument
|
/freebsd-10.1-release/sys/powerpc/mpc85xx/ |
H A D | isa.c | 30 #include <sys/bus.h> 32 #include <machine/bus.h> 48 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 56 passthrough = (device_get_parent(child) != bus) ? 1 : 0; 72 return (resource_list_alloc(rl, bus, child, type, rid, start, end, 77 isa_release_resource(device_t bus, device_t child, int type, int rid, argument 83 return (resource_list_release(rl, bus, child, type, rid, r));
|
/freebsd-10.1-release/sys/dev/smbus/ |
H A D | smbconf.c | 36 #include <sys/bus.h> 46 smbus_intr(device_t bus, u_char devaddr, char low, char high, int error) argument 48 struct smbus_softc *sc = device_get_softc(bus); 116 smbus_request_bus(device_t bus, device_t dev, int how) argument 118 struct smbus_softc *sc = device_get_softc(bus); 123 parent = device_get_parent(bus); 160 smbus_release_bus(device_t bus, device_t dev) argument 162 struct smbus_softc *sc = device_get_softc(bus); 166 error = SMBUS_CALLBACK(device_get_parent(bus), SMB_RELEASE_BUS, NULL);
|
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/ |
H A D | dbus-listen-preq.py | 32 global bus 39 bus = dbus.SystemBus() 40 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 53 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 56 bus.add_signal_receiver(ProbeRequest,
|
H A D | wpas-dbus-new-getall.py | 9 bus = dbus.SystemBus() 10 wpas_obj = bus.get_object("fi.w1.wpa_supplicant1", 24 if_obj = bus.get_object("fi.w1.wpa_supplicant1", path) 40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0]) 50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
|
H A D | wpas-dbus-new-signals.py | 32 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 48 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss) 128 global bus 129 bus = dbus.SystemBus() 130 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 137 bus.add_signal_receiver(interfaceAdded, 140 bus.add_signal_receiver(interfaceRemoved, 143 bus.add_signal_receiver(propertiesChanged, 149 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 154 bus [all...] |
/freebsd-10.1-release/sys/dev/usb/ |
H A D | usb_hub.h | 68 void usb_bus_port_set_device(struct usb_bus *bus, struct usb_port *up, 70 struct usb_device *usb_bus_port_get_device(struct usb_bus *bus, 72 void usb_needs_explore(struct usb_bus *bus, uint8_t do_probe); 74 void usb_bus_power_update(struct usb_bus *bus); 75 void usb_bus_powerd(struct usb_bus *bus);
|
H A D | usb_hub.c | 43 #include <sys/bus.h> 211 * has changed status. Notify the bus 215 usb_needs_explore(sc->sc_udev->bus, 0); 259 USB_BUS_UNLOCK(udev->bus); 265 USB_BUS_LOCK(udev->bus); 305 USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); 336 usb_proc_msignal(USB_BUS_NON_GIANT_PROC(udev->bus), 359 USB_BUS_LOCK(udev->bus); 376 USB_BUS_UNLOCK(udev->bus); 381 USB_BUS_UNLOCK(udev->bus); 520 struct usb_bus *bus; local 947 uhub_root_intr(struct usb_bus *bus, const uint8_t *ptr, uint8_t len) argument 1497 struct usb_bus *bus = sc->sc_udev->bus; local 1787 struct usb_bus *bus = udev->bus; local 1971 usb_isoc_time_expand(struct usb_bus *bus, uint16_t isoc_time_curr) argument 2009 struct usb_bus *bus; local 2129 usb_bus_port_get_device(struct usb_bus *bus, struct usb_port *up) argument 2148 usb_bus_port_set_device(struct usb_bus *bus, struct usb_port *up, struct usb_device *udev, uint8_t device_index) argument 2191 usb_needs_explore(struct usb_bus *bus, uint8_t do_probe) argument 2233 struct usb_bus *bus; local 2270 usb_bus_power_update(struct usb_bus *bus) argument 2385 usb_bus_powerd(struct usb_bus *bus) argument 2510 struct usb_bus *bus; local [all...] |
/freebsd-10.1-release/sys/arm/versatile/ |
H A D | versatile_timer.c | 32 #include <sys/bus.h> 40 #include <machine/bus.h> 49 #include <machine/bus.h>
|
/freebsd-10.1-release/usr.sbin/bluetooth/ath3kfw/ |
H A D | ath3kfw.c | 53 static int parse_ugen_name (char const *ugen, uint8_t *bus, 56 uint8_t bus, uint8_t addr, 72 uint8_t bus, addr; local 80 bus = 0; 87 if (parse_ugen_name(optarg, &bus, &addr) < 0) 114 if (find_device(be, bus, addr, &dev) < 0) { 117 "(possibly caused by lack of permissions)", bus, addr); 123 firmware, bus, addr); 134 * Parse ugen name and extract device's bus and address 138 parse_ugen_name(char const *ugen, uint8_t *bus, uint8_ argument 161 find_device(struct libusb20_backend *be, uint8_t bus, uint8_t addr, struct libusb20_device **dev) argument [all...] |
/freebsd-10.1-release/sys/arm/allwinner/ |
H A D | a10_machdep.c | 40 #include <sys/bus.h> 45 #include <machine/bus.h>
|
/freebsd-10.1-release/sys/arm/freescale/vybrid/ |
H A D | vf_machdep.c | 36 #include <sys/bus.h> 41 #include <machine/bus.h>
|
/freebsd-10.1-release/sys/arm/lpc/ |
H A D | lpcvar.h | 33 #include <sys/bus.h> 34 #include <machine/bus.h>
|
/freebsd-10.1-release/sys/arm/samsung/exynos/ |
H A D | exynos5_machdep.c | 36 #include <sys/bus.h> 41 #include <machine/bus.h>
|
/freebsd-10.1-release/sys/arm/xilinx/ |
H A D | zy7_l2cache.c | 35 #include <sys/bus.h> 40 #include <machine/bus.h>
|
/freebsd-10.1-release/sys/dev/ppbus/ |
H A D | ppb_msq.c | 37 #include <sys/bus.h> 58 mode2xfer(device_t bus, struct ppb_device *ppbdev, int opcode) argument 77 mode = ppb_get_mode(bus); 89 switch ((epp = ppb_get_epp_protocol(bus))) { 118 ppb_MS_init(device_t bus, device_t dev, struct ppb_microseq *loop, int opcode) argument 121 struct ppb_xfer *xfer = mode2xfer(bus, ppbdev, opcode); 123 ppb_assert_locked(bus); 136 ppb_MS_exec(device_t bus, device_t dev, int opcode, union ppb_insarg param1, argument 151 return (ppb_MS_microseq(bus, dev, msq, ret)); 161 ppb_MS_loop(device_t bus, device_ argument 255 ppb_MS_microseq(device_t bus, device_t dev, struct ppb_microseq *msq, int *ret) argument [all...] |
/freebsd-10.1-release/sys/sparc64/sparc64/ |
H A D | ofw_machdep.c | 35 #include <sys/bus.h> 44 #include <machine/bus.h> 99 phys_hi_mask_space(const char *bus, uint32_t phys_hi) argument 102 if (strcmp(bus, "ebus") == 0 || strcmp(bus, "isa") == 0) 104 else if (strcmp(bus, "pci") == 0) 111 * Return the physical address and the bus space to use for a node 130 phandle_t bus, lbus, pbus; local 151 bus = OF_parent(node); 152 if (bus [all...] |
/freebsd-10.1-release/sys/mips/atheros/ |
H A D | ar71xx_fixup.c | 36 #include <sys/bus.h> 49 #include <machine/bus.h> 76 ar71xx_pci_slot_create_eeprom_firmware(device_t dev, u_int bus, u_int slot, argument 103 snprintf(buf, sizeof(buf), "%s.%d.bus.%d.%d.%d.eeprom_firmware", 104 device_get_name(dev), device_get_unit(dev), bus, slot, func); 117 ar71xx_pci_slot_fixup(device_t dev, u_int bus, u_int slot, u_int func) 128 __func__, device_get_nameunit(dev), bus, slot, func); 130 snprintf(buf, sizeof(buf), "bus.%d.%d.%d.ath_fixup_addr", 131 bus, slot, func); 135 snprintf(buf, sizeof(buf), "bus [all...] |
/freebsd-10.1-release/usr.sbin/bhyve/ |
H A D | mptbl.c | 199 int bus, count; local 202 for (bus = 0; bus <= PCI_BUSMAX; bus++) 203 count += pci_count_lintr(bus); 213 mpt_generate_pci_int(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, argument 228 mpie->src_bus_id = bus; 239 int pin, bus; local 255 * All default configs route IRQs from bus 0 to the first 16 286 for (bus 307 int ioints, bus; local [all...] |
/freebsd-10.1-release/sys/arm/include/ |
H A D | fdt.h | 40 #include <machine/bus.h>
|