/src/sys/dev/cardbus/ |
usb_cardbus.h | 40 u_int bus; member in struct:usb_cardbus
|
/src/sys/arch/mips/sibyte/pci/ |
sbpcihb.c | 65 int bus, device; local in function:sbpcihb_match 67 pci_decompose_tag(pa->pa_pc, pa->pa_tag, &bus, &device, NULL); 70 if (bus == 0 && device == 0
|
sbbrz_pci.c | 145 /* If not the PCI bus directly off the 1250, always up to 32 devs. */ 222 int bus, device, func; local in function:sbbrz_pci_intr_map 223 sbbrz_pci_decompose_tag(NULL, pa->pa_intrtag, &bus, &device, &func); 227 if (bus == 0) {
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/ |
nouveau_nvkm_subdev_bus_base.c | 34 struct nvkm_bus *bus = nvkm_bus(subdev); local in function:nvkm_bus_intr 35 bus->func->intr(bus); 41 struct nvkm_bus *bus = nvkm_bus(subdev); local in function:nvkm_bus_init 42 bus->func->init(bus); 63 struct nvkm_bus *bus; local in function:nvkm_bus_new_ 64 if (!(bus = *pbus = kzalloc(sizeof(*bus), GFP_KERNEL))) 66 nvkm_subdev_ctor(&nvkm_bus, device, index, &bus->subdev) [all...] |
/src/sys/dev/pci/ |
usb_pci.h | 40 u_int bus; member in struct:usb_pci
|
/src/sys/arch/alpha/pci/ |
pci_up1000.c | 45 #include <sys/bus.h> 94 int bus, device, function; local in function:ALPHA_PCI_INTR_INIT 105 pci_decompose_tag(pc, bustag, &bus, &device, &function); 113 bus, device, function);
|
pci_eb164.c | 155 int bus, device, function; local in function:ALPHA_PCI_INTR_INIT 167 pci_decompose_tag(pc, bustag, &bus, &device, &function); 174 * at bus 0 device 11. These are wired to compatibility mode, 178 * Cypress PCI-ISA bridge at bus 0 device 8. These, too, are 183 if (bus == 0) {
|
pci_550.c | 160 int bus, device, function; local in function:ALPHA_PCI_INTR_INIT 171 pci_decompose_tag(pc, bustag, &bus, &device, &function); 178 * device 4 of bus 0. This variant apparently also has the 182 * on device 7 of bus 0. This device has PCI IDE wired to 188 if (bus == 0) { 212 bus, device, function); 219 DEC_550_LINE_ISA_IRQ(line), bus, device, function); 226 line, bus, device, function);
|
/src/sys/arch/x86/pci/ |
aapic.c | 45 int bus, dev, func, rev; local in function:aapic_attach 65 pci_decompose_tag(pa->pa_pc, pa->pa_tag, &bus, &dev, &func); 67 tag = pci_make_tag(pa->pa_pc, bus, dev, func);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_ic.c | 35 probe_monitoring_device(struct nvkm_i2c_bus *bus, 47 client = i2c_new_device(&bus->i2c, info); 97 struct nvkm_i2c_bus *bus; local in function:nvkm_therm_ic_ctor 100 bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_PRI); 101 if (!bus) 110 nvkm_i2c_bus_probe(bus, "monitoring device", board, 122 nvkm_i2c_bus_probe(bus, "monitoring device", board, 134 nvkm_i2c_bus_probe(bus, "monitoring device", nv_board_infos,
|
/src/sys/arch/x86/x86/ |
intel_busclock.c | 51 int bus, bus_clock = 0; local in function:via_get_bus_clock 54 bus = (msr >> 18) & 0x3; 55 switch (bus) { 94 int bus, bus_clock = 0; local in function:p3_get_bus_clock 110 "unable to determine bus speed"); 113 bus = (msr >> 0) & 0x7; 114 switch (bus) { 120 "value %d", device_xname(ci->ci_dev), bus); 127 "unable to determine bus speed"); 130 bus = (msr >> 0) & 0x7 334 int bus, bus_clock = 0; local in function:p4_get_bus_clock [all...] |
mp.c | 57 #include <sys/bus.h> 128 int bus; member in struct:intr_extra_bus 144 iebp->bus = pba->pba_bus; 151 intr_find_pcibridge(int bus, pcitag_t *pci_bridge_tag, 157 if (bus < 0) 160 if (bus < mp_nbus) { 161 mpb = &mp_busses[bus]; 170 if (iebp->bus == bus) { 187 intr_find_mpmapping(int bus, int pin, intr_handle_t *handle [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
extdev.h | 22 u8 bus; member in struct:nvbios_extdev_func
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/ |
nouveau_nvkm_subdev_i2c_busgf119.c | 30 #include "bus.h" 40 struct gf119_i2c_bus *bus = gf119_i2c_bus(base); local in function:gf119_i2c_bus_drive_scl 41 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 42 nvkm_mask(device, bus->addr, 0x00000001, state ? 0x00000001 : 0); 48 struct gf119_i2c_bus *bus = gf119_i2c_bus(base); local in function:gf119_i2c_bus_drive_sda 49 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 50 nvkm_mask(device, bus->addr, 0x00000002, state ? 0x00000002 : 0); 56 struct gf119_i2c_bus *bus = gf119_i2c_bus(base); local in function:gf119_i2c_bus_sense_scl 57 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 58 return !!(nvkm_rd32(device, bus->addr) & 0x00000010) 64 struct gf119_i2c_bus *bus = gf119_i2c_bus(base); local in function:gf119_i2c_bus_sense_sda 72 struct gf119_i2c_bus *bus = gf119_i2c_bus(base); local in function:gf119_i2c_bus_init 91 struct gf119_i2c_bus *bus; local in function:gf119_i2c_bus_new [all...] |
nouveau_nvkm_subdev_i2c_busnv04.c | 30 #include "bus.h" 43 struct nv04_i2c_bus *bus = nv04_i2c_bus(base); local in function:nv04_i2c_bus_drive_scl 44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 45 u8 val = nvkm_rdvgac(device, 0, bus->drive); 48 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); 54 struct nv04_i2c_bus *bus = nv04_i2c_bus(base); local in function:nv04_i2c_bus_drive_sda 55 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 56 u8 val = nvkm_rdvgac(device, 0, bus->drive); 59 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); 65 struct nv04_i2c_bus *bus = nv04_i2c_bus(base) local in function:nv04_i2c_bus_sense_scl 73 struct nv04_i2c_bus *bus = nv04_i2c_bus(base); local in function:nv04_i2c_bus_sense_sda 91 struct nv04_i2c_bus *bus; local in function:nv04_i2c_bus_new [all...] |
nouveau_nvkm_subdev_i2c_busnv4e.c | 30 #include "bus.h" 40 struct nv4e_i2c_bus *bus = nv4e_i2c_bus(base); local in function:nv4e_i2c_bus_drive_scl 41 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 42 nvkm_mask(device, bus->addr, 0x2f, state ? 0x21 : 0x01); 48 struct nv4e_i2c_bus *bus = nv4e_i2c_bus(base); local in function:nv4e_i2c_bus_drive_sda 49 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 50 nvkm_mask(device, bus->addr, 0x1f, state ? 0x11 : 0x01); 56 struct nv4e_i2c_bus *bus = nv4e_i2c_bus(base); local in function:nv4e_i2c_bus_sense_scl 57 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 58 return !!(nvkm_rd32(device, bus->addr) & 0x00040000) 64 struct nv4e_i2c_bus *bus = nv4e_i2c_bus(base); local in function:nv4e_i2c_bus_sense_sda 82 struct nv4e_i2c_bus *bus; local in function:nv4e_i2c_bus_new [all...] |
nouveau_nvkm_subdev_i2c_busnv50.c | 30 #include "bus.h" 43 struct nv50_i2c_bus *bus = nv50_i2c_bus(base); local in function:nv50_i2c_bus_drive_scl 44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 45 if (state) bus->data |= 0x01; 46 else bus->data &= 0xfe; 47 nvkm_wr32(device, bus->addr, bus->data); 53 struct nv50_i2c_bus *bus = nv50_i2c_bus(base); local in function:nv50_i2c_bus_drive_sda 54 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; 55 if (state) bus->data |= 0x02 63 struct nv50_i2c_bus *bus = nv50_i2c_bus(base); local in function:nv50_i2c_bus_sense_scl 71 struct nv50_i2c_bus *bus = nv50_i2c_bus(base); local in function:nv50_i2c_bus_sense_sda 79 struct nv50_i2c_bus *bus = nv50_i2c_bus(base); local in function:nv50_i2c_bus_init 103 struct nv50_i2c_bus *bus; local in function:nv50_i2c_bus_new [all...] |
/src/sys/arch/evbmips/malta/dev/ |
gt.c | 165 int bus, dev, func, s; local in function:gt_conf_read 170 gt_decompose_tag(NULL /* XXX */, tag, &bus, &dev, &func); 173 if (bus == 0 && dev == 31) 176 /* XXX: no support for bus > 0 yet */ 177 if (bus > 0) 200 int bus, dev, func, s; local in function:gt_conf_write 205 gt_decompose_tag(NULL /* XXX */, tag, &bus, &dev, &func); 208 if (bus == 0 && dev == 31) 211 /* XXX: no support for bus > 0 yet */ 212 if (bus > 0 [all...] |
/src/sys/external/bsd/drm/dist/bsd-core/ |
mga_drv.c | 87 * bus the "card" is on. If vendor is 0x3388 (Hint Corp) and the 92 device_t bus; local in function:mga_driver_device_is_agp 95 bus = device_get_parent(device_get_parent(dev->device)); 97 bus = device_get_parent(dev->device); 100 pci_get_vendor(bus) == 0x3388 && 101 pci_get_device(bus) == 0x0021)
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_disp.c | 273 struct nvkm_i2c_bus *bus = local in function:nv04_display_create 275 nv_encoder->i2c = bus ? &bus->i2c : NULL;
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
ep7209.dtsi | 40 compatible = "simple-bus"; 91 bus: bus@80000180 { label 94 compatible = "cirrus,ep7209-bus", "simple-bus";
|
/src/sys/arch/amiga/pci/ |
cv3dpb.c | 41 #include <machine/bus.h> 55 #define ZORRO_PRODID_CV643D_Z3 67 /* CV64/3D on Z3 bus */ 150 uint32_t bus, dev, func; local in function:cv3dpb_pci_conf_read 155 pci_decompose_tag(pc, tag, &bus, &dev, &func); 160 aprint_normal("cv3dpb conf read va: %lx, bus: %d, dev: %d, " 162 pc->pci_conf_datah, bus, dev, func, reg, data); 170 uint32_t bus, dev, func; local in function:cv3dpb_pci_conf_write 175 pci_decompose_tag(pc, tag, &bus, &dev, &func); 180 aprint_normal("cv3dpb conf write va: %lx, bus: %d, dev: %d, " 182 pc->pci_conf_datah, bus, dev, func, reg, val) [all...] |
empbvar.h | 34 #include <sys/bus.h> 47 /* location of the device on bus */ 48 int bus; member in struct:empb_dmamemdev_entry
|
/src/sys/dev/i2c/ |
i2cmux.c | 68 * the bus, so the order is: 81 struct iicmux_bus * const bus = v; local in function:iicmux_acquire_bus 82 struct iicmux_softc * const sc = bus->mux; 90 error = sc->sc_config->acquire_bus(bus, flags); 101 struct iicmux_bus * const bus = v; local in function:iicmux_release_bus 102 struct iicmux_softc * const sc = bus->mux; 104 sc->sc_config->release_bus(bus, flags); 113 struct iicmux_bus * const bus = v; local in function:iicmux_exec 114 struct iicmux_softc * const sc = bus->mux; 138 * of the i2c bus children. Stash its phandl 172 struct iicmux_bus * const bus = &sc->sc_busses[busidx]; local in function:iicmux_attach_bus [all...] |
/src/share/examples/refuse/pcifs/ |
pcifs.c | 150 build_tree(virtdir_t *tp, int bus) 162 (void) snprintf(buf, sizeof(buf), "pcictl pci%d list", bus); 185 int bus; local in function:main 188 bus = 0; 192 bus = atoi(optarg); 199 if (!build_tree(&pci, bus)) {
|