Searched refs:bus (Results 276 - 300 of 2070) sorted by relevance

<<11121314151617181920>>

/freebsd-10.1-release/sys/mips/rt305x/
H A Dobio.c36 #include <sys/bus.h>
43 #include <machine/bus.h>
271 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
274 struct obio_softc *sc = device_get_softc(bus);
283 passthrough = (device_get_parent(child) != bus);
287 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type,
293 * maintained by a child bus), then work out the start/end values.
339 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
360 obio_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
493 obio_add_res_child(device_t bus, cons argument
515 obio_hinted_child(device_t bus, const char *dname, int dunit) argument
535 obio_add_child(device_t bus, u_int order, const char *name, int unit) argument
588 obio_print_child(device_t bus, device_t child) argument
[all...]
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_device.c37 #include <sys/bus.h>
382 methods = udev->bus->methods;
412 USB_BUS_LOCK(udev->bus);
414 USB_BUS_UNLOCK(udev->bus);
458 if (usb_proc_is_called_from(USB_BUS_EXPLORE_PROC(udev->bus)) ||
459 usb_proc_is_called_from(USB_BUS_CONTROL_XFER_PROC(udev->bus)))
630 /* Figure out if the device is self or bus powered. */
898 USB_BUS_LOCK(udev->bus);
902 USB_BUS_UNLOCK(udev->bus);
910 USB_BUS_LOCK(udev->bus);
1578 usb_alloc_device(device_t parent_dev, struct usb_bus *bus, struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, uint8_t port_no, enum usb_dev_speed speed, enum usb_hc_mode mode) argument
2138 struct usb_bus *bus; local
[all...]
/freebsd-10.1-release/sys/ia64/ia64/
H A Dnexus.c45 #include <sys/bus.h>
51 #include <machine/bus.h>
82 static device_t nexus_add_child(device_t bus, u_int order, const char *name,
199 nexus_print_child(device_t bus, device_t child) argument
205 retval += bus_print_child_header(bus, child);
217 nexus_add_child(device_t bus, u_int order, const char *name, int unit) argument
227 child = device_add_child_ordered(bus, order, name, unit);
256 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
268 * by a child bus), then work out the start/end values.
302 nexus_adjust_resource(device_t bus, device_ argument
316 nexus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
340 nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
348 nexus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
366 nexus_setup_intr(device_t bus, device_t child, struct resource *irq, int flags, driver_filter_t filter, void (*ihand)(void *), void *arg, void **cookiep) argument
[all...]
/freebsd-10.1-release/sys/mips/sibyte/
H A Dsb_zbpci.c32 #include <sys/bus.h>
49 #include <machine/bus.h>
151 * Sibyte has the PCI bus hierarchy rooted at bus 0 and HT-PCI
152 * hierarchy rooted at bus 1.
155 panic("zbpci_attach: could not add pci bus 0.\n");
158 panic("zbpci_attach: could not add pci bus 1.\n");
167 zbpci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
176 res = bus_generic_alloc_resource(bus, child, type, rid,
200 zbpci_activate_resource(device_t bus, device_ argument
267 zbpci_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
285 zbpci_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
333 zbpci_config_space_va(int bus, int slot, int func, int reg, int bytes) argument
[all...]
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dpci_emul.c113 #define PCI_EMUL_ECFG_SIZE (MAXBUSES * 1024 * 1024) /* 1MB per bus */
124 static void pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot,
134 * <bus>:<slot>:<func>,<emul>[,<config>]
177 /* <bus>:<slot>:<func> */
709 pci_emul_init(struct vmctx *ctx, struct pci_devemu *pde, int bus, int slot, argument
718 pdi->pi_bus = bus;
1034 int bus, slot, func, coff, in; local
1039 bus = (addr >> 20) & 0xff;
1043 pci_cfgrw(ctx, vcpu, in, bus, slot, func, coff, bytes, (uint32_t *)val);
1066 int bus, slo local
1178 pci_apic_prt_entry(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, void *arg) argument
1192 pci_pirq_prt_entry(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, void *arg) argument
1215 pci_bus_write_dsdt(int bus) argument
1366 int bus; local
1384 pci_bus_configured(int bus) argument
1564 pci_count_lintr(int bus) argument
1583 pci_walk_lintr(int bus, pci_lintr_cb cb, void *arg) argument
1609 pci_emul_is_mfdev(int bus, int slot) argument
1632 pci_emul_hdrtype_fixup(int bus, int slot, int off, int bytes, uint32_t *rv) argument
1719 pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func, int coff, int bytes, uint32_t *eax) argument
[all...]
/freebsd-10.1-release/sys/dev/acpica/
H A Dacpi_pcib_acpi.c33 #include <sys/bus.h>
63 int ap_bus; /* bios-assigned bus number */
72 static int acpi_pcib_acpi_probe(device_t bus);
73 static int acpi_pcib_acpi_attach(device_t bus);
78 static uint32_t acpi_pcib_read_config(device_t dev, u_int bus,
80 static void acpi_pcib_write_config(device_t dev, u_int bus,
339 * Get our base bus number by evaluating _BBN.
340 * If this doesn't work, we assume we're bus number 0.
343 * meant to use a private configuration space mechanism for this bus,
347 * default PCI configuration space handlers can deal with this bus,
457 acpi_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
464 acpi_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
482 device_t bus; local
492 device_t bus; local
503 device_t bus, hostb; local
[all...]
H A Dacpi_pcib_pci.c34 #include <sys/bus.h>
67 static int acpi_pcib_pci_probe(device_t bus);
68 static int acpi_pcib_pci_attach(device_t bus);
/freebsd-10.1-release/sys/dev/mly/
H A Dmly.c34 #include <sys/bus.h>
40 #include <machine/bus.h>
75 static void mly_rescan_btl(struct mly_softc *sc, int bus, int target);
103 static void mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target);
108 static struct cam_periph *mly_find_periph(struct mly_softc *sc, int bus, int target);
109 static int mly_name_device(struct mly_softc *sc, int bus, int target);
377 * Allocate the parent bus DMA tag appropriate for our PCI interface.
607 /* save base of s/g table's address in bus space */
782 int bus, target; local
795 for (bus
810 mly_rescan_btl(struct mly_softc *sc, int bus, int target) argument
877 int bus, target, rescan; local
1285 int bus, target, event, class, action; local
1375 int bus, target; local
2004 mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target) argument
2094 int bus, target; local
2174 int bus, target; local
2308 int bus, target; local
2377 mly_find_periph(struct mly_softc *sc, int bus, int target) argument
2397 mly_name_device(struct mly_softc *sc, int bus, int target) argument
[all...]
/freebsd-10.1-release/sys/sparc64/ebus/
H A Debus.c68 #include <sys/bus.h>
79 #include <machine/bus.h>
416 ebus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
429 passthrough = (device_get_parent(child) != bus);
430 sc = device_get_softc(bus);
431 rl = BUS_GET_RESOURCE_LIST(bus, child);
482 res = bus_generic_alloc_resource(bus,
493 return (resource_list_alloc(rl, bus, child, type, rid, start,
500 ebus_activate_resource(device_t bus, device_t child, int type, int rid, argument
509 sc = device_get_softc(bus);
542 ebus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
624 ebus_get_devinfo(device_t bus, device_t dev) argument
[all...]
/freebsd-10.1-release/sys/arm/arm/
H A Dnexus.c47 #include <sys/bus.h>
51 #include <machine/bus.h>
165 nexus_print_child(device_t bus, device_t child) argument
169 retval += bus_print_child_header(bus, child);
176 nexus_add_child(device_t bus, u_int order, const char *name, int unit) argument
186 child = device_add_child_ordered(bus, order, name, unit);
201 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
273 nexus_activate_resource(device_t bus, device_t child, int type, int rid, argument
313 nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, argument
H A Dautoconf.c54 #include <sys/bus.h>
/freebsd-10.1-release/sys/dev/e1000/
H A De1000_mac.c170 * e1000_get_bus_info_pci_generic - Get PCI(x) bus information
173 * Determines and stores the system bus information for a particular
174 * network interface. The following bus information is determined and stored:
175 * bus speed, bus width, type (PCI/PCIx), and PCI(-x) function.
180 struct e1000_bus_info *bus = &hw->bus; local
187 bus->type = (status & E1000_STATUS_PCIX_MODE)
192 if (bus->type == e1000_bus_type_pci) {
193 bus
235 struct e1000_bus_info *bus = &hw->bus; local
280 struct e1000_bus_info *bus = &hw->bus; local
298 struct e1000_bus_info *bus = &hw->bus; local
320 struct e1000_bus_info *bus = &hw->bus; local
[all...]
/freebsd-10.1-release/sys/dev/iicbus/
H A Diicbb.c52 #include <sys/bus.h>
97 /* bus interface */
174 iicbb_get_node(device_t bus, device_t dev) argument
177 /* We only have one child, the I2C bus, which needs our own node. */
178 return (ofw_bus_get_node(bus));
192 iicbb_print_child(device_t bus, device_t dev) argument
198 retval += bus_print_child_header(bus, dev);
200 error = IICBB_RESET(device_get_parent(bus), IIC_FASTEST, 0, &oldaddr);
203 device_get_nameunit(bus));
206 IICBB_RESET(device_get_parent(bus), IIC_FASTES
[all...]
/freebsd-10.1-release/sys/arm/allwinner/a20/
H A Da20_cpu_cfg.c34 #include <sys/bus.h>
42 #include <machine/bus.h>
51 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/rockchip/
H A Drk30xx_grf.c34 #include <sys/bus.h>
42 #include <machine/bus.h>
51 #include <machine/bus.h>
H A Drk30xx_pmu.c34 #include <sys/bus.h>
42 #include <machine/bus.h>
51 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/samsung/exynos/
H A Dexynos5_mct.c36 #include <sys/bus.h>
44 #include <machine/bus.h>
53 #include <machine/bus.h>
H A Dexynos5_mp.c31 #include <sys/bus.h>
/freebsd-10.1-release/sys/mips/nlm/
H A Dboard_eeprom.c36 #include <sys/bus.h>
94 nlm_board_eeprom_read(int node, int bus, int addr, int offs, uint8_t *buf, argument
100 eeprom_i2c_base = nlm_pcicfg_base(XLP_IO_I2C_OFFSET(node, bus)) +
/freebsd-10.1-release/sys/mips/rmi/
H A Dxlr_pci.c39 #include <sys/bus.h>
50 #include <machine/bus.h>
64 #define pci_cfg_offset(bus,slot,devfn,where) (((bus)<<16) + ((slot) << 11)+((devfn)<<8)+(where))
150 device_set_desc(dev, "XLS PCIe bus");
152 device_set_desc(dev, "XLR PCI bus");
331 printf("xls_pcie_link : bus %s dev %s\n", device_get_nameunit(pcib),
337 device_printf(dev, "Cannot find parent bus\n");
518 xlr_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
567 xlr_pci_release_resource(device_t bus, device_ argument
575 xlr_pci_get_dma_tag(device_t bus, device_t child) argument
584 xlr_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
592 xlr_pci_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
600 mips_pci_route_interrupt(device_t bus, device_t dev, int pin) argument
[all...]
/freebsd-10.1-release/sys/powerpc/powermac/
H A Dmacio.c39 #include <sys/bus.h>
45 #include <machine/bus.h>
307 * of the macio bus
481 macio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
492 sc = device_get_softc(bus);
504 device_printf(bus, "no rle for %s memory %d\n",
530 if (device_get_parent(child) != bus)
531 return BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
538 device_printf(bus,
550 return (resource_list_alloc(&dinfo->mdi_resources, bus, chil
585 macio_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
599 macio_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
625 macio_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-10.1-release/sys/arm/freescale/imx/
H A Dimx_machdep.c41 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/ti/omap4/
H A Domap4_mp.c29 #include <sys/bus.h>
/freebsd-10.1-release/sys/arm/xilinx/
H A Dzy7_mp.c29 #include <sys/bus.h>
/freebsd-10.1-release/sys/contrib/dts/arm/
H A Dat91-cosino.dtsi49 bus-width = <4>;
88 nand-bus-width = <8>;

Completed in 311 milliseconds

<<11121314151617181920>>