Searched refs:bus (Results 26 - 50 of 1937) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/x86/include/
H A Dpci_cfgreg.h52 u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
53 void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
56 int pci_pir_probe(int bus, int require_parse);
57 int pci_pir_route_interrupt(int bus, int device, int func, int pin);
/freebsd-10.0-release/sys/i386/pci/
H A Dpci_cfgreg.c37 #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.0-release/sys/arm/sa11x0/
H A Dsa11x0_var.h39 #include <sys/bus.h>
40 #include <machine/bus.h>
/freebsd-10.0-release/sys/dev/ppc/
H A Dppcvar.h34 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.0-release/sys/boot/powerpc/ps3/
H A Dlv1call.h64 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.0-release/sys/amd64/vmm/io/
H A Diommu.c35 #include <sys/bus.h>
105 IOMMU_ADD_DEVICE(void *domain, int bus, int slot, int func) argument
109 (*ops->add_device)(domain, bus, slot, func);
113 IOMMU_REMOVE_DEVICE(void *domain, int bus, int slot, int func) argument
117 (*ops->remove_device)(domain, bus, slot, func);
147 int error, bus, slot, func; local
179 for (bus = 0; bus <= PCI_BUSMAX; bus++) {
182 dev = pci_find_dbsf(0, bus, slo
259 iommu_add_device(void *dom, int bus, int slot, int func) argument
266 iommu_remove_device(void *dom, int bus, int slot, int func) argument
[all...]
H A Diommu.h42 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.0-release/sys/dev/atkbdc/
H A Datkbdc_subr.c38 #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.0-release/sys/powerpc/mpc85xx/
H A Disa.c30 #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));
H A Dpci_fdt.c49 #include <sys/bus.h>
69 #include <machine/bus.h>
192 /* OFW bus interface */
300 * Scan bus using firmware configured, 0 based bus numbering.
327 fsl_pcib_cfgread(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
332 if (bus == sc->sc_busnr - 1)
333 bus = 0;
336 addr |= (bus & 0xff) << 16;
368 fsl_pcib_cfgwrite(struct fsl_pcib_softc *sc, u_int bus, u_in argument
443 fsl_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
460 fsl_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int bytes) argument
471 fsl_pcib_init_via(struct fsl_pcib_softc *sc, uint16_t device, int bus, int slot, int fn) argument
487 fsl_pcib_init_bar(struct fsl_pcib_softc *sc, int bus, int slot, int func, int barno) argument
546 fsl_pcib_route_int(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int intpin) argument
577 fsl_pcib_init(struct fsl_pcib_softc *sc, int bus, int maxslot) argument
[all...]
/freebsd-10.0-release/sys/dev/fdt/
H A Dfdt_pci.c37 #include <sys/bus.h>
254 fdt_pci_route_intr(int bus, int slot, int func, int pin, argument
270 addr = (bus << 16) | (slot << 11) | (func << 8);
362 fdt_pci_config_bar(device_t dev, int bus, int slot, int func, int bar)
367 fdt_pci_config_normal(device_t dev, int bus, int slot, int func)
372 command = PCIB_READ_CONFIG(dev, bus, slot, func, PCIR_COMMAND, 1);
374 PCIB_WRITE_CONFIG(dev, bus, slot, func, PCIR_COMMAND, command, 1);
379 bar += fdt_pci_config_bar(dev, bus, slot, func, bar);
382 intpin = PCIB_READ_CONFIG(dev, bus, slot, func, PCIR_INTPIN, 1);
383 intline = fsl_pcib_route_int(dev, bus, slo
[all...]
/freebsd-10.0-release/sys/dev/smbus/
H A Dsmbconf.c36 #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.0-release/contrib/wpa/wpa_supplicant/examples/
H A Ddbus-listen-preq.py32 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 Dwpas-dbus-new-getall.py9 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 Dwpas-dbus-new-signals.py32 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.0-release/sys/arm/versatile/
H A Dversatile_timer.c32 #include <sys/bus.h>
40 #include <machine/bus.h>
50 #include <machine/bus.h>
/freebsd-10.0-release/usr.sbin/bluetooth/ath3kfw/
H A Dath3kfw.c53 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.0-release/sys/arm/lpc/
H A Dlpcvar.h33 #include <sys/bus.h>
34 #include <machine/bus.h>
/freebsd-10.0-release/sys/arm/xilinx/
H A Dzy7_l2cache.c35 #include <sys/bus.h>
40 #include <machine/bus.h>
/freebsd-10.0-release/sys/dev/ppbus/
H A Dppb_msq.c37 #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.0-release/sys/sparc64/sparc64/
H A Dofw_machdep.c35 #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.0-release/sys/mips/atheros/
H A Dar71xx_fixup.c36 #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.0-release/sys/ia64/acpica/
H A Dacpi_wakeup.c30 #include <sys/bus.h>
/freebsd-10.0-release/sys/mips/include/
H A Dclock.h14 #include <sys/bus.h>
H A Dfdt.h35 #include <machine/bus.h>

Completed in 170 milliseconds

1234567891011>>