Searched refs:bus (Results 101 - 125 of 2070) sorted by relevance

1234567891011>>

/freebsd-10.1-release/sys/dev/fdt/
H A Dfdt_mips.c37 #include <sys/bus.h>
H A Dfdt_x86.c34 #include <sys/bus.h>
/freebsd-10.1-release/sys/dev/iicbus/
H A Diiconf.h85 #define IIC_EBUSERR 0x1 /* bus error */
88 #define IIC_EBUSBSY 0x4 /* bus busy */
104 #define iicbus_reset(bus,speed,addr,oldaddr) \
105 (IICBUS_RESET(device_get_parent(bus), speed, addr, oldaddr))
124 int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
125 int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
/freebsd-10.1-release/sys/ia64/ia64/
H A Dsys_machdep.c38 #include <machine/bus.h>
/freebsd-10.1-release/sys/mips/include/
H A Dofw_machdep.h34 #include <sys/bus.h>
/freebsd-10.1-release/sys/dev/fdc/
H A Dfdc_acpi.c33 #include <sys/bus.h>
45 static int fdc_acpi_probe_children(device_t bus, device_t dev,
80 device_t bus; local
83 bus = device_get_parent(dev);
84 if (ACPI_ID_PROBE(bus, dev, fdc_ids) == NULL)
87 if (ACPI_SUCCESS(ACPI_EVALUATE_OBJECT(bus, dev, "_FDE", NULL, NULL)))
100 device_t bus; local
128 bus = device_get_parent(dev);
129 if (ACPI_FAILURE(ACPI_EVALUATE_OBJECT(bus, dev, "_FDE", NULL, &buf))) {
136 error = fdc_acpi_probe_children(bus, de
148 fdc_acpi_probe_children(device_t bus, device_t dev, void *fde) argument
[all...]
/freebsd-10.1-release/sys/powerpc/ps3/
H A Dps3-hvcall.h98 int lv1_open_device(uint64_t bus, uint64_t dev, uint64_t zero);
99 int lv1_close_device(uint64_t bus, uint64_t dev);
100 int lv1_map_device_mmio_region(uint64_t bus, uint64_t dev, uint64_t bus_addr, uint64_t size, uint64_t page_size, uint64_t *lpar_addr);
101 int lv1_unmap_device_mmio_region(uint64_t bus, uint64_t dev, uint64_t lpar_addr);
102 int lv1_allocate_device_dma_region(uint64_t bus, uint64_t dev, uint64_t io_size, uint64_t io_pagesize, uint64_t flag, uint64_t *dma_region);
103 int lv1_free_device_dma_region(uint64_t bus, uint64_t dev, uint64_t dma_region);
104 int lv1_map_device_dma_region(uint64_t bus, uint64_t dev, uint64_t lpar_addr, uint64_t dma_region, uint64_t size, uint64_t flags);
105 int lv1_unmap_device_dma_region(uint64_t bus, uint64_t dev, uint64_t dma_region, uint64_t size);
106 int lv1_read_pci_config(uint64_t ps3bus, uint64_t bus, uint64_t dev, uint64_t func, uint64_t offset, uint64_t size, uint64_t *result);
107 int lv1_write_pci_config(uint64_t ps3bus, uint64_t bus, uint64_
[all...]
/freebsd-10.1-release/sys/mips/sibyte/
H A Dsb_zbbus.c34 #include <sys/bus.h>
232 zbbus_hinted_child(device_t bus, const char *dname, int dunit) argument
241 child = BUS_ADD_CHILD(bus, 0, dname, dunit);
247 device_printf(bus, "Adding hinted child %s%d\n", dname, dunit);
255 device_printf(bus, "Assigning memory resource "
261 device_printf(bus, "Unable to set memory resource "
269 device_printf(bus, "Assigning irq resource %d to "
274 device_printf(bus, "Unable to set irq resource %d"
282 zbbus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
296 if (device_get_parent(child) == bus) {
405 zbbus_add_child(device_t bus, u_int order, const char *name, int unit) argument
[all...]
/freebsd-10.1-release/sys/i386/pci/
H A Dpci_pir.c35 #include <sys/bus.h>
67 int bus; member in struct:pci_link_lookup
74 int bus; member in struct:pci_dev_lookup
83 static int pci_pir_biosroute(int bus, int device, int func, int pin,
95 static uint8_t pci_pir_search_irq(int bus, int device, int pin);
198 if (entry->pe_bus == lookup->bus &&
267 * Look to see if any of the function on the PCI device at bus/device have
271 pci_pir_search_irq(int bus, int device, int pin) argument
277 value = pci_cfgregread(bus, device, 0, PCIR_HDRTYPE, 1);
287 value = pci_cfgregread(bus, devic
478 pci_pir_biosroute(int bus, int device, int func, int pin, int irq) argument
497 pci_pir_route_interrupt(int bus, int device, int func, int pin) argument
649 pci_pir_probe(int bus, int require_parse) argument
[all...]
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_disconnect.py32 global bus
72 self.bus = dbus.SystemBus()
73 self.wpas_object = self.bus.get_object(
91 self.interface_object = self.bus.get_object(
97 self.bus.add_signal_receiver(GroupFinished,
H A Dp2p_flush.py32 global bus
72 self.bus = dbus.SystemBus()
73 self.wpas_object = self.bus.get_object(
91 self.interface_object = self.bus.get_object(
97 self.bus.add_signal_receiver(deviceLost,
H A Dp2p_listen.py33 global bus
73 self.bus = dbus.SystemBus()
74 self.wpas_object = self.bus.get_object(
92 self.interface_object = self.bus.get_object(
97 self.bus.add_signal_receiver(p2pStateChange,
/freebsd-10.1-release/sys/arm/xscale/i80321/
H A Dobio.c48 #include <sys/bus.h>
54 #include <machine/bus.h>
96 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
103 struct obio_softc *sc = device_get_softc(bus);
136 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-10.1-release/sys/arm/xscale/i8134x/
H A Dobio.c48 #include <sys/bus.h>
54 #include <machine/bus.h>
91 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
98 struct obio_softc *sc = device_get_softc(bus);
143 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-10.1-release/sys/dev/drm/
H A Dmga_drv.c67 device_t bus; local
73 * bus the "card" is on. If vendor is 0x3388 (Hint Corp) and the
78 bus = device_get_parent(device_get_parent(dev->device));
80 bus = device_get_parent(dev->device);
83 pci_get_vendor(bus) == 0x3388 &&
84 pci_get_device(bus) == 0x0021)
/freebsd-10.1-release/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c83 HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) argument
88 pciref.bus = bus;
95 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) argument
100 pciref.bus = bus;
107 void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v) argument
112 pciref.bus = bus;
118 void pcicfg_write_dword(HPT_U8 bus, HPT_U argument
130 pcicfg_read_byte(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) argument
134 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) argument
138 pcicfg_write_byte(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v) argument
142 pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v) argument
[all...]
/freebsd-10.1-release/sys/mips/malta/
H A Dobio.c48 #include <sys/bus.h>
54 #include <machine/bus.h>
113 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
120 struct obio_softc *sc = device_get_softc(bus);
159 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-10.1-release/sys/mips/sentry5/
H A Dobio.c50 #include <sys/bus.h>
56 #include <machine/bus.h>
89 sc->oba_size = 0x03FFFFFF; /* XXX sb pci bus 0 aperture size? */
115 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
121 struct obio_softc *sc = device_get_softc(bus);
159 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_transfer.c37 #include <sys/bus.h>
166 mtod = udev->bus->methods;
962 parm->dma_tag_p, udev->bus->dma_parent_tag[0].tag,
966 info->bus = udev->bus;
988 USB_BUS_CONTROL_XFER_PROC(udev->bus);
991 USB_BUS_GIANT_PROC(udev->bus);
994 USB_BUS_NON_GIANT_PROC(udev->bus);
1053 &udev->bus->bus_mtx, 0);
1081 (udev->bus
1574 struct usb_bus *bus; local
2763 struct usb_bus *bus; local
[all...]
/freebsd-10.1-release/sys/dev/pci/
H A Dpci_subr.c37 #include <sys/bus.h>
46 * Try to read the bus number of a host-PCI bridge using appropriate config
50 host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, argument
55 id = read_config(bus, slot, func, PCIR_DEVVENDOR, 4);
63 /* *busnum = read_config(bus, slot, func, 0x41, 1); */
64 *busnum = bus;
68 *busnum = read_config(bus, slot, func, 0x4a, 1);
77 * bus numbers for the PXB channels.
79 * Since the MIOC doesn't have a pci bus attached, we
87 *busnum = read_config(bus,
[all...]
/freebsd-10.1-release/sys/x86/x86/
H A Dmptable_pci.c37 #include <sys/bus.h>
81 device_t bus; local
83 bus = device_get_parent(pcib);
84 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
91 device_t bus; local
93 bus = device_get_parent(pcib);
94 return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
220 int bus; local
225 bus = pci_read_config(dev, PCIR_SECBUS_1, 1);
226 if (bus
[all...]
/freebsd-10.1-release/sys/powerpc/powerpc/
H A Dnexus.c40 #include <sys/bus.h>
54 #include <machine/bus.h>
124 nexus_setup_intr(device_t bus __unused, device_t child, struct resource *r,
148 nexus_teardown_intr(device_t bus __unused, device_t child __unused,
160 nexus_bind_intr(device_t bus __unused, device_t child __unused,
187 nexus_activate_resource(device_t bus __unused, device_t child __unused,
211 nexus_deactivate_resource(device_t bus __unused, device_t child __unused,
/freebsd-10.1-release/sys/arm/xscale/ixp425/
H A Dixp425_pci.c43 #include <sys/bus.h>
50 #include <machine/bus.h>
138 * The PCI bus can only address 64MB. However, due to the way our
146 * Initialize the bus space tags.
202 * and the big-endian AHB bus
210 * Enable bus mastering and I/O,memory access
278 ixppcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
281 struct ixppcib_softc *sc = device_get_softc(bus);
319 ixppcib_activate_resource(device_t bus, device_t child, int type, int rid, argument
323 struct ixppcib_softc *sc = device_get_softc(bus);
341 ixppcib_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
351 ixppcib_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
361 ixppcib_conf_setup(struct ixppcib_softc *sc, int bus, int slot, int func, int reg) argument
386 ixppcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
414 ixppcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, u_int32_t val, int bytes) argument
[all...]
/freebsd-10.1-release/sys/mips/atheros/
H A Dapb.c33 #include <sys/bus.h>
44 #include <machine/bus.h>
161 apb_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
164 struct apb_softc *sc = device_get_softc(bus);
176 passthrough = (device_get_parent(child) != bus);
180 __func__, bus, child, type, *rid, (void *)(intptr_t)start,
184 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type,
190 * maintained by a child bus), then work out the start/end values.
243 apb_activate_resource(device_t bus, device_t child, int type, int rid, argument
248 return (BUS_ACTIVATE_RESOURCE(device_get_parent(bus), chil
253 apb_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
282 apb_setup_intr(device_t bus, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *handler, void *arg, void **cookiep) argument
402 apb_hinted_child(device_t bus, const char *dname, int dunit) argument
444 apb_add_child(device_t bus, u_int order, const char *name, int unit) argument
[all...]
/freebsd-10.1-release/sys/powerpc/ofw/
H A Dofw_pci.c32 #include <sys/bus.h>
44 #include <machine/bus.h>
64 static struct resource * ofw_pci_alloc_resource(device_t bus,
67 static int ofw_pci_release_resource(device_t bus, device_t child,
69 static int ofw_pci_activate_resource(device_t bus, device_t child,
71 static int ofw_pci_deactivate_resource(device_t bus,
74 static int ofw_pci_adjust_resource(device_t bus, device_t child,
87 static phandle_t ofw_pci_get_node(device_t bus, device_t dev);
142 if (OF_getprop(node, "bus-range", busrange, sizeof(busrange)) != 8)
255 ofw_pci_route_interrupt(device_t bus, device_ argument
309 ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument
364 ofw_pci_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
377 ofw_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
438 ofw_pci_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
455 ofw_pci_adjust_resource(device_t bus, device_t child, int type, struct resource *res, u_long start, u_long end) argument
485 ofw_pci_get_node(device_t bus, device_t dev) argument
[all...]

Completed in 601 milliseconds

1234567891011>>