/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | device_scan.cpp | 12 a SCSI device node probe (see device_mgr.c) 25 result: true, if device answered 26 false, if there is no device 53 // there seems to be no device around 69 scsi_device_info *device = worker_req->device; local 77 cmd->lun = device->target_lun; 105 SHOW_INFO(3, "device type: %d, qualifier: %d, removable: %d, ANSI version: %d, response data format: %d\n" 114 // time to show standards the device conforms to; 162 scsi_device_info *device; local [all...] |
/haiku/src/servers/package/ |
H A D | PackageDaemon.cpp | 58 dev_t device = next_dev(&cookie); local 59 if (device < 0) 62 _RegisterVolume(device); 93 error = message->FindInt32("volume", &nodeRef.device); 210 INFORM("root at \"%s\" (device: %" B_PRIdDEV ", node: %" B_PRIdINO ") " 211 "registered\n", root->Path().String(), nodeRef.device, 258 int32 device; local 259 if (message->FindInt32("new device", &device) != B_OK) 264 _RegisterVolume(device); 271 int32 device; local [all...] |
/haiku/headers/os/drivers/ |
H A D | USB3.h | 35 status_t (*device_added)(usb_device device, void **cookie); 91 * specific device class/subclass/protocol or vendor/product. 98 * If you intend to support just any device, or you at least want to be 99 * notified about any device, just pass NULL as the supportDescriptor and 109 * device_added hook will be called for every device that matches the 112 * any already present matching device. If you return B_OK in this hook, 116 * notification for the device either. 122 /* Get the device descriptor of a device. */ 123 const usb_device_descriptor *(*get_device_descriptor)(usb_device device); [all...] |
H A D | ACPI.h | 171 typedef void (*acpi_notify_handler)(acpi_handle device, uint32 value, 196 status_t (*install_notify_handler)(acpi_handle device, 199 status_t (*remove_notify_handler)(acpi_handle device, 326 // Interface to one ACPI device. 332 status_t (*install_notify_handler)(acpi_device device, 335 status_t (*remove_notify_handler)(acpi_device device, 339 status_t (*install_address_space_handler)(acpi_device device, 343 status_t (*remove_address_space_handler)(acpi_device device, 348 uint32 (*get_object_type)(acpi_device device); 349 status_t (*get_object)(acpi_device device, cons [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwohci_pci.cpp | 149 val = gPci->read_pci_config(info->bus, info->device, info->function, 157 gPci->write_pci_config(info->bus, info->device, info->function, 168 latency = olatency = gPci->read_pci_config(info->bus, info->device, info->function, 173 gPci->write_pci_config(info->bus, info->device, info->function, 177 cache_line = ocache_line = gPci->read_pci_config(info->bus, info->device, 182 gPci->write_pci_config(info->bus, info->device, info->function, 189 sc->irq = gPci->read_pci_config(info->bus, info->device, info->function, 198 // val = gPci->read_pci_config(info->bus, info->device, info->function, 0x14, 4);
|
/haiku/headers/private/drivers/ |
H A D | ata_types.h | 29 device : 1, 42 device : 1, 63 device : 1, 80 input_or_output : 1, // 0 - input (to device), 1 - output 89 device : 1, 108 input_or_output : 1, // 0 - input (to device), 1 - output 117 device : 1, 131 device : 1, 148 input_or_output : 1, // 0 - input (to device), 1 - output 157 device [all...] |
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | SerialDevice.cpp | 17 SerialDevice::SerialDevice(const struct serial_support_descriptor *device, argument 19 : /*fSupportDescriptor(device->descriptor), 20 fDevice(device), 21 fDescription(device->descriptor->name),*/ 22 fSupportDescriptor(device), 24 fDescription(device->name), 28 fBus(device->bus), 81 // this should be enough to probe for the device for now 121 // only apply the relevant parts to the device side 128 // update the termios of the device sid 947 SerialDevice *device = (SerialDevice *)cookie; local 961 SerialDevice *device = (SerialDevice *)cookie; local 975 SerialDevice *device = (SerialDevice *)cookie; local [all...] |
/haiku/src/apps/diskusage/ |
H A D | ControlsView.cpp | 128 BVolume* FindDeviceFor(dev_t device, 132 void _AddVolume(dev_t device); 133 void _RemoveVolume(dev_t device); 258 _AddVolume(message->FindInt32("new device")); 262 _RemoveVolume(message->FindInt32("device")); 281 dev_t device = dev_for_path(path.Path()); local 284 if (item->Volume()->Device() == device) { 302 ControlsView::VolumeTabView::FindDeviceFor(dev_t device, bool invoke) argument 306 // Iterate through items looking for a BVolume representing this device. 308 if (item->Volume()->Device() == device) { 321 _AddVolume(dev_t device) argument 341 _RemoveVolume(dev_t device) argument 422 FindDeviceFor(dev_t device, bool invoke) argument [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | pci.cpp | 7 #include "device.h" 51 get_device_pci_info(device_t device) argument 53 struct root_device_softc* root_softc = (struct root_device_softc*)device->root->softc; 65 uint32_t value = gPci->read_pci_config(info->bus, info->device, 79 gPci->write_pci_config(info->bus, info->device, info->function, offset, 159 return info->device; 235 status = gPci->find_pci_capability(info->bus, info->device, info->function, 249 status = gPci->find_pci_extended_capability(info->bus, info->device, info->function, 260 return gPci->get_msi_count(info->bus, info->device, info->function); 269 if (gPci->configure_msi(info->bus, info->device, inf [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Device.cpp | 38 PCIInfo.device, PCIInfo.function, PCI_command, 2); 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, 519 Device *device local [all...] |
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/ |
H A D | scsi_disk.cpp | 75 update_capacity(das_driver_info* device) argument 79 scsi_ccb *ccb = device->scsi->alloc_ccb(device->scsi_device); 84 device->scsi_periph_device, ccb); 86 device->scsi->free_ccb(ccb); 108 // (bit 7 of block device specific parameter for Optical Memory Block Device) 127 load_eject(das_driver_info *device, bool load) argument 131 scsi_ccb *ccb = device->scsi->alloc_ccb(device->scsi_device); 136 device 145 synchronize_cache(das_driver_info *device) argument 163 trim_device(das_driver_info* device, fs_trim_data* trimData) argument 448 das_media_changed(das_driver_info *device, scsi_ccb *request) argument [all...] |
/haiku/src/add-ons/kernel/file_cache/ |
H A D | rule_based_prefetcher.cpp | 61 mount_id device; member in struct:head 85 struct head *FindHead(mount_id device, vnode_id node); 86 match_type Match(int32 state, mount_id device, vnode_id parent, 140 void GotFile(mount_id device, vnode_id node); 145 void _MatchFile(mount_id device, vnode_id parent, const char *name); 247 device = -1; 316 parse_ref(const char *string, mount_id &device, vnode_id &node, char **_end = NULL) argument 320 device = strtol(string, &end, 0); 321 if (end == NULL || device == 0 || end[0] != ':') 402 mount_id device; local 524 FindHead(mount_id device, vnode_id node) argument 628 GotFile(mount_id device, vnode_id node) argument 683 node_opened(struct vnode *vnode, int32 fdType, dev_t device, vnode_id parent, vnode_id node, const char *name, off_t size) argument [all...] |
H A D | log.cpp | 38 mount_id device; member in struct:cache_log 97 log_node_opened(void *vnode, int32 fdType, mount_id device, vnode_id parent, argument 113 log->device = device; 119 log->type, device, parent, node, log->file_name)); 124 sCacheModule->node_opened(vnode, fdType, device, parent, node, name, size); 129 log_node_closed(void *vnode, int32 fdType, mount_id device, vnode_id node, int32 accessType) argument 138 log->device = device; 145 log->team_name, log->type, device, nod [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | haiku_kernel_emu.cpp | 59 notify_entry_created(dev_t device, ino_t directory, const char *name, argument 65 return UserlandFS::KernelEmu::notify_listener(B_ENTRY_CREATED, 0, device, 0, 72 notify_entry_removed(dev_t device, ino_t directory, const char *name, argument 78 return UserlandFS::KernelEmu::notify_listener(B_ENTRY_REMOVED, 0, device, 0, 85 notify_entry_moved(dev_t device, ino_t fromDirectory, argument 92 return UserlandFS::KernelEmu::notify_listener(B_ENTRY_MOVED, 0, device, 99 notify_stat_changed(dev_t device, ino_t directory, ino_t node, argument 103 device, 0, directory, node, NULL, NULL); 109 notify_attribute_changed(dev_t device, ino_t directory, ino_t node, argument 116 device, 130 notify_query_entry_created(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument 143 notify_query_entry_removed(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument 421 add_node_listener(dev_t device, ino_t node, uint32 flags, NotificationListener& listener) argument 430 remove_node_listener(dev_t device, ino_t node, NotificationListener& listener) argument [all...] |
/haiku/src/tools/fs_shell/ |
H A D | fuse.cpp | 432 mount_volume(const char* device, const char* mntPoint, const char* fsName) argument 435 fssh_dev_t fsDev = _kern_mount(kMountPoint, device, fsName, 0, NULL, 0); 454 device, 464 unmount_volume(const char* device, const char* mntPoint) argument 481 syslog(LOG_INFO, "UnMounted %s from %s", device, mntPoint); 488 fssh_fuse_session(const char* device, const char* mntPoint, const char* fsName, argument 493 ret = mount_volume(device, mntPoint, fsName); 505 || asprintf(&fsNameOption, "fsname=%s", device) < 0 507 unmount_volume(device, mntPoint); 512 if ((stat(device, 570 const char* device; member in struct:FsConfig [all...] |
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 91 } device; member in struct:drive_parameters 268 disk.device.ata.master = !parameters.device.ata.slave; 269 dprintf("ATA device, %s\n", disk.device.ata.master ? "master" : "slave"); 272 disk.device.atapi.master = !parameters.device.ata.slave; 273 disk.device.atapi.logical_unit = parameters.device.atapi.logical_unit; 276 disk.device 366 Node *device; local 1226 platform_register_boot_device(Node *device) argument [all...] |
/haiku/src/apps/bootmanager/ |
H A D | DrivesPage.cpp | 35 DriveItem(const BDiskDevice& device, 65 DriveItem::DriveItem(const BDiskDevice& device, const BootMenuList& menus) argument 70 device.GetPath(&fPath); 71 if (device.Name() != NULL && device.Name()[0]) 72 fName = device.Name(); 80 if (device.GetIcon(fIcon, B_LARGE_ICON) != B_OK) 89 fSize = string_for_size(device.Size(), buffer, sizeof(buffer)); 160 // device 338 BDiskDevice device; local [all...] |
/haiku/3rdparty/mmu_man/scripts/ |
H A D | HardwareChecker.sh | 92 echo "<div><i>List of detected PCI devices. This does not indicate that every probed device is supported by a driver.</i></div><br />" 96 device='' 101 device*) 104 desc="${line/device /}" 109 device="${line%:*}" 110 device="${device#device }" 112 echo "<div>$vendor:$device <i>$vendorstr:$devicestr</i></div>" 113 descline="$vendor:$device \" [all...] |
/haiku/src/bin/ |
H A D | lsindex.cpp | 163 dev_t device = dev_for_path("."); local 187 device = dev_for_path(argv[i]); 188 if (device < 0) { 196 indices = fs_open_index_dir(device); 198 fprintf(stderr, "%s: can't open index dir of device %" B_PRIdDEV "\n", 199 argv[0], device); 224 if (fs_stat_index(device, index->d_name, &info) != B_OK) {
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | ASIXDevice.cpp | 39 ASIXDevice::ASIXDevice(usb_device device, DeviceInfo& deviceInfo) argument 41 fDevice(device), 172 TRACE_ALWAYS("Error of receiving %d bytes from removed device.\n", 229 // the device pushes packets 16bit aligned 256 TRACE_ALWAYS("Error of writing %d bytes to removed device.\n", 394 // this might be the same device that was replugged - read the MAC 397 TRACE_ALWAYS("Cannot replace device with MAC address:" 412 ASIXDevice::CompareAndReattach(usb_device device) argument 415 = gUSBModule->get_device_descriptor(device); 418 TRACE_ALWAYS("Error of getting USB device descripto 711 ASIXDevice *device = (ASIXDevice *)cookie; local 723 ASIXDevice *device = (ASIXDevice *)cookie; local 734 ASIXDevice *device = (ASIXDevice *)cookie; local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | driver.cpp | 22 uint16 device; member in struct:__anon62 44 && info.device_id == kSupportedDevices[i].device) { 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, 129 gCards[i].pci_info.device, gCards[i].pci_info.function, "hda",
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.cpp | 43 pci_device* device; member in struct:__anon19 70 XHCI *xhci = new(std::nothrow) XHCI(&bus->pciinfo, bus->pci, bus->device, stack, node); 118 // private data to identify the device 137 pci_device* device; local 141 (void**)&device); 146 bus->device = device; 150 pci->get_pci_info(device, pciInfo); 187 // make sure parent is a XHCI PCI device node 208 pci_device* device; local 340 XHCI(pci_info *info, pci_device_module_info* pci, pci_device* device, Stack *stack, device_node* node) argument 1540 struct xhci_device *device = &fDevices[slot]; local 1820 xhci_device* device = (xhci_device*)usbDevice->ControllerCookie(); local 1832 CleanupDevice(xhci_device *device) argument 1876 struct xhci_device *device = (struct xhci_device *) local 1970 xhci_device *device = endpoint->device; local 2154 struct xhci_device* device = &fDevices[slot]; local 2633 xhci_device *device = &fDevices[slot]; local [all...] |
/haiku/src/build/libroot/ |
H A D | find_directory.cpp | 63 find_directory(directory_which which, dev_t device, bool createIt, argument 102 __find_directory(directory_which which, dev_t device, bool createIt, argument 105 return find_directory(which, device, createIt, returnedPath, pathLength);
|
/haiku/src/build/libbe/storage/ |
H A D | Node.cpp | 35 device((dev_t)-1), 43 device((dev_t)-1), 53 return (device == other.device && node == other.node); 67 if (this->device != other.device) 68 return this->device < other.device; 77 device = other.device; [all...] |
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_support.c | 28 si->vendor_id, si->device_id, si->bus, si->device, si->function,
|