Searched refs:bus (Results 51 - 75 of 539) sorted by relevance

1234567891011>>

/haiku/src/libs/compat/freebsd_network/
H A Ddriver.c19 #include <compat/sys/bus.h>
38 int bus; member in struct:__anon16
80 panic("unknown bus type");
81 ((struct root_device_softc*)root->softc)->bus = bus_type;
109 for (int p = 0; sProbedDevices[p].bus != BUS_INVALID; p++) {
110 if (sProbedDevices[p].bus == BUS_pci) {
111 gPci->unreserve_device(sProbedDevices[p].pci_info.bus,
114 } else if (sProbedDevices->bus == BUS_uhub) {
133 while (sProbedDevices[p].bus != BUS_INVALID)
170 if (gPci->reserve_device(info->bus, inf
[all...]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_brooktreetv.c120 i2c_bstart(si->ps.tv_encoder.bus);
121 i2c_writebuffer(si->ps.tv_encoder.bus, buffer, sizeof(buffer));
122 i2c_bstop(si->ps.tv_encoder.bus);
135 static uint8 BT_check (uint8 bus, uint8 adress) argument
144 * Until a reboot the corresponding I2C bus will be inacessable then!!! */
155 i2c_bstart(bus);
156 i2c_writebuffer(bus, buffer, sizeof(buffer));
157 i2c_bstop(bus);
178 i2c_bstart(si->ps.tv_encoder.bus);
179 i2c_writebuffer(si->ps.tv_encoder.bus, buffe
218 uint8 bus; local
[all...]
H A Dnv_i2c.c17 //1 - SCL locked low by device (bus is still busy)
18 //2 - SDA locked low by device (bus is still busy)
277 /* clear SDA while SCL set (bus-start condition) */
283 LOG(4,("I2C: START condition generated on bus %d; status is %d\n",
299 /* set SDA while SCL set (bus-stop condition) */
305 LOG(4,("I2C: STOP condition generated on bus %d; status is %d\n",
325 LOG(4,("I2C: read byte ($%02x) from bus #%d; status is %d\n",
350 LOG(4,("I2C: written byte ($%02x) to bus #%d; status is %d\n",
374 uint8 bus, buses; local
398 /* newer cards (can) have a third bus
638 i2c_bus bus; local
669 uint8 bus; local
[all...]
/haiku/src/add-ons/kernel/drivers/bus/scsi/
H A Dscsi_raw.h14 #include <bus/SCSI.h>
32 #define SCSI_RAW_MODULE_NAME "drivers/bus/scsi/scsi_raw/"SCSI_DEVICE_TYPE_NAME
/haiku/src/apps/devices/
H A Dconfig_driver.h18 bus_type bus; member in struct:cm_ioctl_data
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/
H A Dglue.c8 #include <sys/bus.h>
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/
H A Dglue.c8 #include <sys/bus.h>
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/
H A Dglue.c7 #include <sys/bus.h>
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIController.h10 #include <bus/PCI.h>
11 #include <bus/FDT.h>
50 uint32 bus: 8; member in struct:PciAddress::__anon20
61 uint32 bus: 8; member in struct:PciAddressEcam::__anon21
96 uint8 bus, uint8 device, uint8 function,
100 uint8 bus, uint8 device, uint8 function,
106 uint8 bus, uint8 device, uint8 function,
110 uint8 bus, uint8 device, uint8 function,
118 inline addr_t ConfigAddress(uint8 bus, uint8 device, uint8 function, uint16 offset);
168 struct fdt_interrupt_map* interruptMap, int bus, in
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_private.h13 #include <bus/PCI.h>
31 uint32 (*read_pci_config)(uint8 bus, uint8 device, uint8 function,
35 void (*write_pci_config)(uint8 bus, uint8 device, uint8 function,
49 status_t pci_find_capability(uint8 bus, uint8 device, uint8 function,
51 status_t pci_find_extended_capability(uint8 bus, uint8 device, uint8 function,
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme.c76 char *domain = NULL, *bus = NULL, *dev = NULL, *func = NULL, *end = NULL; local
98 bus = strrchr(pciid, ':');
99 if (!bus) {
101 bus = pciid;
104 *bus = '\0';
105 bus++;
108 if (!bus || !dev || !func) {
124 slot.bus = (uint32_t)strtoul(bus, &end, 16);
125 if ((end && *end) || (slot.bus >
[all...]
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci.cpp15 #include <bus/PCI.h>
50 SdhciBus* bus = (SdhciBus*)data; local
51 return bus->HandleInterrupt();
103 fWorkerThread = spawn_kernel_thread(_WorkerThread, "SD bus poller",
604 // handling bus power interrupt
622 SdhciBus* bus = (SdhciBus*)cookie; local
623 while (bus->fStatus != B_SHUTTING_DOWN) {
624 uint32_t intmask = bus->fRegisters->interrupt_status;
626 bus->fCommandResult = intmask;
627 bus
646 SdhciBus* bus = (SdhciBus*)bus_cookie; local
665 const char* bus; local
695 const char* bus; local
715 const char* bus; local
744 const char* bus; local
771 SdhciBus* bus = (SdhciBus*)controller; local
781 SdhciBus* bus = (SdhciBus*)controller; local
790 SdhciBus* bus = (SdhciBus*)controller; local
798 SdhciBus* bus = (SdhciBus*)controller; local
806 SdhciBus* bus = (SdhciBus*)controller; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddevices.cpp11 When a SCSI bus is registered, this layer scans for SCSI devices
88 scsi_register_device(scsi_bus_info *bus, uchar target_id, argument
97 bus->interface->get_restrictions(bus->sim_cookie,
106 pnp->get_attr_uint32(bus->node, B_DMA_MAX_TRANSFER_BLOCKS, &orig_max_blocks,
147 return pnp->register_node(bus->node, SCSI_DEVICE_MODULE_NAME, attrs,
157 scsi_create_device(device_node *node, scsi_bus_info *bus, argument
173 device->bus = bus;
266 scsi_bus_info *bus; local
381 scsi_force_get_device(scsi_bus_info *bus, uchar target_id, uchar target_lun, scsi_device_info **res_device) argument
436 scsi_bus_info *bus = device->bus; local
[all...]
H A Ddevice_scan.cpp157 scsi_scan_lun(scsi_bus_info *bus, uchar target_id, uchar target_lun) argument
167 SHOW_FLOW(3, "%d:%d:%d", bus->path_id, target_id, target_lun);
169 res = scsi_force_get_device(bus, target_id, target_lun, &device);
216 // scenario: you plug in a device, scan the bus, replace the device and then
218 // is to the new one; if you scan the bus now, the opened connection is disabled
226 res = scsi_register_device(bus, target_id, target_lun, &new_inquiry_data);
229 if (scsi_force_get_device(bus, target_id, target_lun, &device) != B_OK)
234 if (pnp->get_next_child_node(bus->node, attrs, &childNode) == B_OK) {
252 scsi_scan_bus(scsi_bus_info *bus) argument
259 uchar res = scsi_inquiry_path(bus,
[all...]
/haiku/src/add-ons/kernel/busses/i2c/ocores/
H A Docores_i2c.cpp8 #include <bus/FDT.h>
82 const char* bus; local
83 status_t status = gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false);
87 if (strcmp(bus, "fdt") != 0)
139 const char* bus; local
140 CHECK_RET(gDeviceManager->get_attr_string(parent.Get(), B_DEVICE_BUS, &bus, false));
141 if (strcmp(bus, "fdt") != 0)
185 OcoresI2c::SetI2cBus(i2c_bus bus) argument
188 fBus = bus;
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/
H A Dglue.c10 #include <sys/bus.h>
14 #include <machine/bus.h>
88 uint32 reg = gPci->read_pci_config(pciInfo.bus,
91 gPci->write_pci_config(pciInfo.bus,
94 reg = gPci->read_pci_config(pciInfo.bus,
109 gPci->write_pci_config(pciInfo.bus,
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp10 #include <drivers/bus/FDT.h>
64 device_node* bus; member in struct:fdt_device
85 fdt_register_node(fdt_bus* bus, int node, device_node* parentDev, argument
135 bus->phandles.Put(fdt32_to_cpu(*(uint32_t*)prop), curDev);
142 fdt_traverse(fdt_bus* bus, int &node, int &depth, device_node* parentDev) argument
150 fdt_register_node(bus, node, parentDev, curDev);
154 fdt_traverse(bus, node, depth, curDev);
159 //#pragma mark bus
184 const char* bus; local
185 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, fals
257 fdt_bus* bus = (fdt_bus*)cookie; local
273 fdt_bus_node_by_phandle(fdt_bus* bus, int phandle) argument
548 fdt_bus* bus; local
562 fdt_bus* bus; local
[all...]
/haiku/headers/private/kernel/boot/
H A Ddisk_identifier.h39 uint8 bus; member in struct:disk_identifier::__anon1042::__anon1044
43 } bus; member in struct:disk_identifier
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DObject.cpp12 Object::Object(Stack *stack, BusManager *bus) argument
14 fBusManager(bus),
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/
H A Dglue_de.c10 #include <sys/bus.h>
12 #include <machine/bus.h>
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/
H A Dglue_pcn.c1 #include <sys/bus.h>
7 #include <machine/bus.h>
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/
H A Dglue.c1 #include <sys/bus.h>
6 #include <machine/bus.h>
/haiku/headers/private/graphics/common/
H A Di2c.h12 // timing for i2c bus
16 int buf; // bus free between start and stop (4.7/1.3)
40 // set signals on bus
42 // read signals from bus
44 // send/receive from bus
45 typedef status_t (*i2c_send_receive)(const struct i2c_bus *bus, uint32 slave_address,
49 // i2c bus definition
65 // send and receive data via i2c bus
66 status_t i2c_send_receive_callback(const i2c_bus *bus, uint32 slave_address,
70 // fill <timing> with standard 100kHz bus timin
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/
H A Dglue.c7 #include <sys/bus.h>
10 #include <machine/bus.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/
H A Dglue.c7 #include <sys/bus.h>
17 #include <machine/bus.h>

Completed in 103 milliseconds

1234567891011>>