Home
last modified time | relevance | path

Searched refs:gUSBModule (Results 1 – 25 of 39) sorted by relevance

12

/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/
H A DECMDevice.cpp37 = gUSBModule->get_device_descriptor(device); in ECMDevice()
88 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in ~ECMDevice()
105 = gUSBModule->get_configuration(fDevice); in Open()
107 gUSBModule->set_alt_interface(fDevice, in Open()
111 config = gUSBModule->get_configuration(fDevice); in Open()
112 gUSBModule->set_alt_interface(fDevice, in Open()
114 gUSBModule->set_alt_interface(fDevice, in Open()
118 config = gUSBModule->get_configuration(fDevice); in Open()
140 if (gUSBModule->queue_interrupt(fNotifyEndpoint, fNotifyBuffer, in Open()
162 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Close()
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DASIXDevice.cpp103 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in ~ASIXDevice()
124 result = gUSBModule->queue_interrupt(fNotifyEndpoint, fNotifyBuffer, in Open()
148 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Close()
149 gUSBModule->cancel_queued_transfers(fReadEndpoint); in Close()
150 gUSBModule->cancel_queued_transfers(fWriteEndpoint); in Close()
188 status_t result = gUSBModule->queue_bulk_v(fReadEndpoint, in Read()
205 result = gUSBModule->clear_feature(fReadEndpoint, in Read()
272 status_t result = gUSBModule->queue_bulk_v(fWriteEndpoint, in Write()
289 result = gUSBModule->clear_feature(fWriteEndpoint, in Write()
370 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Removed()
[all …]
H A DMIIBus.cpp49 status_t result = gUSBModule->send_request(device, in Init()
184 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Read()
193 status_t op_result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Read()
209 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Read()
239 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Write()
248 status_t op_result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Write()
264 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Write()
300 result = gUSBModule->send_request(fDevice, in Dump()
315 status_t op_result = gUSBModule->send_request(fDevice, in Dump()
334 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR in Dump()
H A DAX88772Device.cpp244 status_t result = gUSBModule->send_request(fDevice, in ReadMACAddress()
291 result = gUSBModule->send_request(fDevice, in SetupDevice()
312 status_t result = gUSBModule->send_request(fDevice, in _SetupAX88772()
326 result = gUSBModule->send_request(fDevice, in _SetupAX88772()
361 result = gUSBModule->send_request(fDevice, in _SetupAX88772()
391 status_t result = gUSBModule->send_request(fDevice, in _WakeupPHY()
415 result = gUSBModule->send_request(fDevice, in _WakeupPHY()
437 status_t result = gUSBModule->send_request(fDevice, in _SetupAX88772A()
463 status_t result = gUSBModule->send_request(fDevice, in _SetupAX88772B()
488 status_t result = gUSBModule->send_request(fDevice, in StartDevice()
[all …]
H A DAX88178Device.cpp204 result = gUSBModule->send_request(fDevice, in SetupDevice()
214 status_t op_result = gUSBModule->send_request(fDevice, in SetupDevice()
227 result = gUSBModule->send_request(fDevice, in SetupDevice()
261 result = gUSBModule->send_request(fDevice, in SetupDevice()
276 result = gUSBModule->send_request(fDevice, in SetupDevice()
288 result = gUSBModule->send_request(fDevice, in SetupDevice()
316 status_t result = gUSBModule->send_request(fDevice, in StartDevice()
397 status_t result = gUSBModule->send_request(fDevice, in GetLinkState()
H A DDriver.cpp31 usb_module_info *gUSBModule = NULL; variable
79 = gUSBModule->get_device_descriptor(device); in lookup_and_create_device()
217 (module_info **)&gUSBModule); in init_driver()
244 gUSBModule->register_driver(DRIVER_NAME, sDescriptors, count, NULL); in init_driver()
245 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
254 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
H A DDriver.h26 extern usb_module_info *gUSBModule;
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.cpp84 = gUSBModule->get_device_descriptor(device); in RNDISDevice()
139 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in ~RNDISDevice()
154 = gUSBModule->get_configuration(fDevice); in Open()
177 if (gUSBModule->queue_interrupt(fNotifyEndpoint, &fNotifyBuffer, in Open()
234 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Close()
235 gUSBModule->cancel_queued_transfers(fReadEndpoint); in Close()
236 gUSBModule->cancel_queued_transfers(fWriteEndpoint); in Close()
263 status_t result = gUSBModule->queue_bulk(fReadEndpoint, fReadBuffer, sizeof(fReadBuffer), in Read()
287 gUSBModule->cancel_queued_transfers(fReadEndpoint); in Read()
289 result = gUSBModule->clear_feature(fReadEndpoint, USB_FEATURE_ENDPOINT_HALT); in Read()
[all …]
H A DDriver.cpp18 usb_module_info *gUSBModule = NULL; variable
98 (module_info **)&gUSBModule); in init_driver()
119 gUSBModule->register_driver(DRIVER_NAME, &supportDescriptor, 1, NULL); in init_driver()
120 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
129 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DWinChipHead.cpp67 status_t status = gUSBModule->send_request(Device(), in ResetDevice()
80 status = gUSBModule->send_request(Device(), in ResetDevice()
201 status = gUSBModule->send_request(Device(), in SetControlLineState()
206 status = gUSBModule->send_request(Device(), in SetControlLineState()
221 status_t status = gUSBModule->send_request(Device(), in WriteConfig()
232 status = gUSBModule->send_request(Device(), in WriteConfig()
243 status = gUSBModule->send_request(Device(), in WriteConfig()
H A DFTDI.cpp75 status_t status = gUSBModule->send_request(Device(), in ResetDevice()
136 status_t status = gUSBModule->send_request(Device(), in SetLineCoding()
173 status = gUSBModule->send_request(Device(), in SetLineCoding()
196 status_t status = gUSBModule->send_request(Device(), in SetControlLineState()
209 status = gUSBModule->send_request(Device(), in SetControlLineState()
234 status_t status = gUSBModule->send_request(Device(), in SetHardwareFlowControl()
H A DDriver.cpp22 usb_module_info *gUSBModule = NULL; variable
34 = gUSBModule->get_device_descriptor(device); in usb_serial_device_added()
45 configuration = gUSBModule->get_nth_configuration(device, i); in usb_serial_device_added()
139 status = get_module(B_USB_MODULE_NAME, (module_info **)&gUSBModule); in init_driver()
162 gUSBModule->register_driver(DRIVER_NAME, NULL, 0, NULL); in init_driver()
163 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
175 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
H A DSerialDevice.cpp345 status = gUSBModule->queue_interrupt(fControlPipe, fInterruptBuffer, fInterruptBufferSize, in Open()
463 gUSBModule->cancel_queued_transfers(fReadPipe); in Close()
464 gUSBModule->cancel_queued_transfers(fWritePipe); in Close()
465 gUSBModule->cancel_queued_transfers(fControlPipe); in Close()
508 gUSBModule->cancel_queued_transfers(fReadPipe); in Removed()
509 gUSBModule->cancel_queued_transfers(fWritePipe); in Removed()
510 gUSBModule->cancel_queued_transfers(fControlPipe); in Removed()
581 status_t status = gUSBModule->queue_bulk(device->fReadPipe, in _InputThread()
601 && gUSBModule->clear_feature(device->fReadPipe, in _InputThread()
649 status = gUSBModule->queue_bulk(fWritePipe, fWriteBuffer, packetLength, in _WriteToDevice()
[all …]
H A DKLSI.cpp67 status = gUSBModule->send_request(Device(), in ResetDevice()
77 status = gUSBModule->send_request(Device(), in ResetDevice()
122 status_t status = gUSBModule->send_request(Device(), in SetLineCoding()
171 status_t status = gUSBModule->send_request(Device(), in OnClose()
H A DSilicon.cpp123 result = gUSBModule->send_request(Device(), in WriteConfig()
127 result = gUSBModule->send_request(Device(), in WriteConfig()
/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DHIDDevice.cpp45 = gUSBModule->get_device_descriptor(device); in HIDDevice()
92 status_t result = gUSBModule->send_request(device, in HIDDevice()
120 status_t result = gUSBModule->send_request(device, in HIDDevice()
250 gUSBModule->cancel_queued_transfers(fInterruptPipe); in Close()
261 gUSBModule->cancel_queued_transfers(fInterruptPipe); in Removed()
277 status_t result = gUSBModule->queue_interrupt(fInterruptPipe, in MaybeScheduleTransfer()
293 return gUSBModule->send_request(fDevice, in SendReport()
337 gUSBModule->queue_request(device->fDevice, in _TransferCallback()
H A DDriver.cpp31 usb_module_info *gUSBModule = NULL; variable
66 = gUSBModule->get_device_descriptor(device); in usb_hid_device_added()
84 = gUSBModule->get_nth_configuration(device, USB_DEFAULT_CONFIGURATION); in usb_hid_device_added()
91 status_t result = gUSBModule->set_configuration(device, config); in usb_hid_device_added()
98 config = gUSBModule->get_configuration(device); in usb_hid_device_added()
347 if (get_module(B_USB_MODULE_NAME, (module_info **)&gUSBModule) != B_OK) in init_driver()
381 gUSBModule->register_driver(DRIVER_NAME, sSupportDescriptors, in init_driver()
385 gUSBModule->register_driver(DRIVER_NAME, &genericHIDSupportDescriptor, in init_driver()
389 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
399 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp49 static usb_module_info *gUSBModule = NULL; variable
72 if (gUSBModule->usb_ioctl('DNAM', deviceName, sizeof(deviceName)) >= B_OK) { in usb_raw_device_added()
103 gUSBModule->get_configuration(device->device); in usb_raw_device_removed()
108 gUSBModule->cancel_queued_transfers(interface->endpoint[i].handle); in usb_raw_device_removed()
149 const usb_configuration_info *result = gUSBModule->get_nth_configuration( in usb_raw_get_configuration()
314 gUSBModule->get_device_descriptor(device->device); in usb_raw_ioctl()
550 if (gUSBModule->get_descriptor(device->device, in usb_raw_ioctl()
562 if (gUSBModule->get_descriptor(device->device, in usb_raw_ioctl()
581 if (gUSBModule->get_descriptor(device->device, in usb_raw_ioctl()
613 if (gUSBModule->get_descriptor(device->device, in usb_raw_ioctl()
[all …]
/haiku/src/add-ons/kernel/drivers/common/
H A Dusb_modeswitch.cpp312 static usb_module_info *gUSBModule = NULL; variable
353 status_t result = gUSBModule->queue_bulk(directionIn ? device->bulk_in in my_transfer_data()
369 gUSBModule->cancel_queued_transfers(directionIn ? device->bulk_in in my_transfer_data()
471 gUSBModule->get_configuration(newDevice); in my_device_added()
523 = gUSBModule->get_device_descriptor(newDevice); in my_device_added()
576 gUSBModule->cancel_queued_transfers(device->bulk_in); in my_device_removed()
577 gUSBModule->cancel_queued_transfers(device->bulk_out); in my_device_removed()
613 (module_info **)&gUSBModule); in init_driver()
633 gUSBModule->register_driver(DRIVER_NAME, supportedDevices, kDevicesCount, in init_driver()
635 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
[all …]
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDriver.cpp19 usb_module_info* gUSBModule = NULL; variable
119 (module_info**)&gUSBModule); in init_driver()
142 gUSBModule->register_driver(DRIVER_NAME, supportedDevices, 0, NULL); in init_driver()
143 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
151 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
H A DDriver.h26 extern usb_module_info* gUSBModule;
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DDriver.cpp29 usb_module_info *gUSBModule = NULL; variable
53 = gUSBModule->get_device_descriptor(device); in lookup_and_create_device()
176 (module_info **)&gUSBModule); in init_driver()
203 gUSBModule->register_driver(DRIVER_NAME, sDescriptors, count, NULL); in init_driver()
204 gUSBModule->install_notify(DRIVER_NAME, &notifyHooks); in init_driver()
212 gUSBModule->uninstall_notify(DRIVER_NAME); in uninit_driver()
H A DDavicomDevice.cpp162 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in ~DavicomDevice()
183 result = gUSBModule->queue_interrupt(fNotifyEndpoint, fNotifyData, in Open()
212 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Close()
213 gUSBModule->cancel_queued_transfers(fReadEndpoint); in Close()
214 gUSBModule->cancel_queued_transfers(fWriteEndpoint); in Close()
268 status_t result = gUSBModule->queue_bulk_v(fReadEndpoint, in Read()
364 status_t result = gUSBModule->queue_bulk_v(fWriteEndpoint, in Write()
452 gUSBModule->cancel_queued_transfers(fNotifyEndpoint); in Removed()
453 gUSBModule->cancel_queued_transfers(fReadEndpoint); in Removed()
454 gUSBModule->cancel_queued_transfers(fWriteEndpoint); in Removed()
[all …]
H A DDriver.h28 extern usb_module_info *gUSBModule;
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DSerialDevice.cpp607 status = gUSBModule->queue_interrupt(fControlPipe, fInterruptBuffer, in Open()
728 gUSBModule->cancel_queued_transfers(fReadPipe); in Close()
729 gUSBModule->cancel_queued_transfers(fWritePipe); in Close()
730 gUSBModule->cancel_queued_transfers(fControlPipe); in Close()
782 gUSBModule->cancel_queued_transfers(fReadPipe); in Removed()
783 gUSBModule->cancel_queued_transfers(fWritePipe); in Removed()
784 gUSBModule->cancel_queued_transfers(fControlPipe); in Removed()
855 status_t status = gUSBModule->queue_bulk(device->fReadPipe, in _DeviceThread()
872 if (gUSBModule->clear_feature(device->fReadPipe, in _DeviceThread()
983 status = gUSBModule->queue_interrupt(device->fControlPipe, in InterruptCallbackFunction()

12