/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_acpi.cpp | 15 #include <bus/PCI.h> 80 TRACE("Register SD bus\n"); 115 SdhciBus* bus = new(std::nothrow) SdhciBus(_regs, irq, true); local 118 if (bus != NULL) 119 status = bus->InitCheck(); 122 if (bus != NULL) 123 delete bus; 129 // Store the created object as a cookie, allowing users of the bus to 131 *bus_cookie = bus; 152 sprintf(prettyName, "SDHC bus"); [all...] |
H A D | sdhci_pci.cpp | 15 #include <bus/PCI.h> 65 TRACE("Register SD bus at slot %d, using bar %d\n", slot + 1, bar); 90 // enable bus master and io 115 SdhciBus* bus = new(std::nothrow) SdhciBus(_regs, irq, false); local 118 if (bus != NULL) 119 status = bus->InitCheck(); 122 if (bus != NULL) 123 delete bus; 129 // Store the created object as a cookie, allowing users of the bus to 131 *bus_cookie = bus; [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_mac.c | 178 * e1000_get_bus_info_pci_generic - Get PCI(x) bus information 181 * Determines and stores the system bus information for a particular 182 * network interface. The following bus information is determined and stored: 183 * bus speed, bus width, type (PCI/PCIx), and PCI(-x) function. 188 struct e1000_bus_info *bus = &hw->bus; local 195 bus->type = (status & E1000_STATUS_PCIX_MODE) 200 if (bus->type == e1000_bus_type_pci) { 201 bus 243 struct e1000_bus_info *bus = &hw->bus; local 288 struct e1000_bus_info *bus = &hw->bus; local 306 struct e1000_bus_info *bus = &hw->bus; local 328 struct e1000_bus_info *bus = &hw->bus; local [all...] |
/haiku/src/bin/listdev/ |
H A D | listdev.cpp | 18 #include <drivers/bus/PCI.h> 19 #include <drivers/bus/SCSI.h> 20 #include <drivers/bus/USB.h> 163 int bus = 0; local 239 bus = BUS_ISA; 241 bus = BUS_PCI; 243 bus = BUS_USB; 245 bus = BUS_SCSI; 258 switch (bus) {
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | bus_ops.h | 39 u32 (*b_in)(void *bus, u32 port, s32 sz); 40 void (*b_ins)(void *bus, u32 port, void *buf, 42 void (*b_out)(void *bus, u32 val, u32 port, s32 sz); 43 void (*b_outs)(void *bus, u32 port, void *buf, 45 void *(*b_ioremap)(void *bus, u_long ofs, u_long sz); 46 void (*b_iounmap)(void *bus, void *addr); 47 u32 (*b_read)(void *bus, void *addr, s32 sz); 48 void (*b_write)(void *bus, u32 val, void *addr, s32 sz); 49 void (*b_copy_from)(void *bus, void *d, void *s, u32 count); 50 void (*b_copy_to)(void *bus, voi [all...] |
/haiku/headers/private/graphics/ |
H A D | AGP.h | 15 uchar bus; /* bus number */ member in struct:agp_info 16 uchar device; /* device number on bus */ 53 aperture_id (*map_aperture)(uint8 bus, uint8 device, uint8 function, 79 #define B_AGP_GART_FOR_BUS_MODULE_NAME "bus_managers/agp_gart/bus/v0" 86 status_t (*create_aperture)(uint8 bus, uint8 device, uint8 function,
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Device.cpp | 37 uint32 cmdRegister = gPCI->read_pci_config(PCIInfo.bus, 41 gPCI->write_pci_config(PCIInfo.bus, PCIInfo.device, 66 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 68 uint32 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 70 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 75 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 77 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 82 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 84 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 553 result = gPCI->reserve_device(fPCIInfo.bus, fPCIInf [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | agp.c | 39 && nth_agp_info.bus == di->pcii.bus 105 SHOW_INFO(4, "Bus %d, device %d, function %d", ai.bus, ai.device, ai.function);
|
/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | bus.cpp | 7 #include "bus.h" 36 // #pragma mark - bus 42 const char* bus; local 43 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) 47 if (bus != NULL && !strcmp(bus, "root"))
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/ |
H A D | glue.c | 7 #include <sys/bus.h>
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | mii.c | 12 #include <compat/sys/bus.h>
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/usb/ |
H A D | r92cu_rx.c | 36 #include <sys/bus.h>
|
/haiku/headers/os/drivers/bus/ |
H A D | FDT.h | 18 device_node* (*node_by_phandle)(struct fdt_bus* bus, int phandle);
|
H A D | PCI.h | 75 uint8 bus, uint8 device, uint8 function, 80 uint8 bus, uint8 device, uint8 function, 86 uint8 bus, uint8 device, uint8 function, 90 uint8 bus, uint8 device, uint8 function, 102 #define B_PCI_DEVICE_BUS "pci/bus" /* uint8 */
|
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | driver.cpp | 93 if ((*gPci->reserve_device)(info.bus, info.device, info.function, 96 info.bus, info.device, info.function); 108 info.bus, info.device, info.function, 128 (*gPci->unreserve_device)(gCards[i].pci_info.bus,
|
/haiku/headers/private/drivers/ |
H A D | poke.h | 50 uint8 bus; member in struct:__anon4
|
/haiku/src/system/kernel/arch/arm/ |
H A D | soc.h | 6 #include <drivers/bus/FDT.h>
|
/haiku/src/libs/compat/freebsd_network/compat/dev/pci/ |
H A D | pcivar.h | 10 #include <sys/bus.h> 45 device_t pci_find_dbsf(uint32_t domain, uint8_t bus, uint8_t slot,
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/ |
H A D | glue.c | 7 #include <sys/bus.h> 12 #include <machine/bus.h>
|
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | dvb_interface.c | 92 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_command, 2); 94 gPci->write_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_command, 2, val); 97 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_latency, 1); 100 gPci->write_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_latency, 1, PCI_LATENCY); 103 device->irq = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_interrupt_line, 1); 111 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, 0x10, 4);
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | dma_buffer.cpp | 39 scsi_bus_info *bus = request->bus; local 42 uint32 dma_boundary = bus->dma_params.dma_boundary; 43 uint32 alignment = bus->dma_params.alignment; 44 uint32 max_sg_block_size = bus->dma_params.max_sg_block_size; 48 if (sg_count > bus->dma_params.max_sg_blocks) { 382 if (!scsi_alloc_dma_buffer(buffer, &device->bus->dma_params,
|
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/ |
H A D | virtio_mmio.cpp | 16 #include <drivers/bus/FDT.h> 85 const char* bus; local 93 status = gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false); 99 if (strcmp(bus, "fdt") == 0) { 114 if (strcmp(bus, "acpi") == 0) { 168 const char* bus; local 170 status_t status = gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false); 179 if (strcmp(bus, "fdt") == 0) { 195 if (strcmp(bus, "acpi") == 0) { 254 const char* bus; local [all...] |
/haiku/src/add-ons/kernel/busses/scsi/virtio/ |
H A D | virtio_scsi.cpp | 31 set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) argument 34 sim->SetBus(bus); 89 //! this is called immediately before the SCSI bus manager scans the bus 170 const char *bus; local 173 // make sure parent is really the Virtio bus manager 174 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 177 if (strcmp(bus, "virtio"))
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | agp.c | 74 (nai.agpi.bus == si->bus) && 147 LOG(4,("AGP: bus %d, device %d, function %d\n", ai.bus, ai.device, ai.function));
|
/haiku/src/add-ons/kernel/busses/ata/it8211/ |
H A D | it8211.c | 165 const char *bus; local 169 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) != B_OK 175 if (strcmp(bus, "pci") != 0 || vendorID != PCI_VENDOR_ITE
|