Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 27) sorted by relevance

12

/system/dev/usb/xhci/
A Dxhci-device-manager.cpp33 usb_speed_t speed; member
73 slot->speed = speed; in xhci_address_device()
137 if (hub_address != 0 && (speed == USB_SPEED_LOW || speed == USB_SPEED_FULL)) { in xhci_address_device()
164 switch (speed) { in xhci_address_device()
267 if (ep_type == USB_ENDPOINT_INTERRUPT && (speed == USB_SPEED_LOW || speed == USB_SPEED_FULL)) { in compute_interval()
273 switch (speed) { in compute_interval()
342 switch (speed) { in xhci_setup_slot()
651 device_command->speed = speed; in xhci_queue_command()
717 usb_speed_t speed = slot->speed; in xhci_enable_endpoint() local
846 if (speed == USB_SPEED_HIGH) { in xhci_configure_hub()
[all …]
A Dxhci-device-manager.h14 usb_speed_t speed);
23 zx_status_t xhci_configure_hub(xhci_t* xhci, uint32_t slot_id, usb_speed_t speed,
A Dxhci-root-hub.h27 usb_speed_t speed; member
A Dxhci-root-hub.cpp175 uint32_t speed = (portsc >> PORTSC_SPEED_START) & ((1 << PORTSC_SPEED_BITS) - 1); in print_portsc() local
176 switch (speed) { in print_portsc()
213 if (rh->speed == USB_SPEED_SUPER) { in xhci_reset_port()
282 rh->speed = xhci_rh_speeds[rh_index]; in xhci_start_root_hub()
285 return xhci_add_device(xhci, xhci->max_slots + rh_index + 1, 0, rh->speed); in xhci_start_root_hub()
519 …uint32_t speed = (portsc & XHCI_MASK(PORTSC_SPEED_START, PORTSC_SPEED_BITS)) >> PORTSC_SPEED_START; in xhci_handle_root_hub_change() local
563 if (speed == USB_SPEED_LOW) { in xhci_handle_root_hub_change()
565 } else if (speed == USB_SPEED_HIGH) { in xhci_handle_root_hub_change()
A Dusb-xhci.cpp37 zx_status_t xhci_add_device(xhci_t* xhci, int slot_id, int hub_address, int speed) { in xhci_add_device() argument
45 return usb_bus_interface_add_device(&xhci->bus, slot_id, hub_address, speed); in xhci_add_device()
95 static zx_status_t xhci_config_hub(void* ctx, uint32_t device_id, usb_speed_t speed, in xhci_config_hub() argument
98 return xhci_configure_hub(xhci, device_id, speed, descriptor); in xhci_config_hub()
102 usb_speed_t speed) { in xhci_hub_device_added() argument
104 return xhci_enumerate_device(xhci, hub_address, port, speed); in xhci_hub_device_added()
A Dxhci.h80 usb_speed_t speed; member
253 zx_status_t xhci_add_device(xhci_t* xhci, int slot_id, int hub_address, int speed);
/system/dev/usb/usb-bus/
A Dusb-bus.c17 usb_speed_t speed) { in bus_add_device() argument
24 return usb_device_add(bus, device_id, hub_id, speed, &bus->devices[device_id]); in bus_add_device()
123 static zx_status_t bus_configure_hub(void* ctx, zx_device_t* hub_device, usb_speed_t speed, in bus_configure_hub() argument
130 return usb_hci_configure_hub(&bus->hci, hub_id, speed, desc); in bus_configure_hub()
134 usb_speed_t speed) { in bus_device_added() argument
140 return usb_hci_hub_device_added(&bus->hci, hub_id, port, speed); in bus_device_added()
A Dusb-device.h31 usb_speed_t speed; member
67 usb_speed_t speed, usb_device_t** out_device);
A Dusb-device.c317 return dev->speed; in usb_device_get_speed()
505 return fuchsia_hardware_usb_device_DeviceGetDeviceSpeed_reply(txn, dev->speed); in fidl_GetDeviceSpeed()
606 usb_speed_t speed, usb_device_t** out_device) { in usb_device_add() argument
706 dev->speed = speed; in usb_device_add()
/system/banjo/ddk-protocol-usb-bus/
A Dusb-bus.banjo19 ConfigureHub(ddk.driver.ZxDevice? hub_device, UsbSpeed speed,
22 DeviceAdded(ddk.driver.ZxDevice? hub_device, uint32 port, UsbSpeed speed) -> (zx.status s);
34 AddDevice(uint32 device_id, uint32 hub_id, UsbSpeed speed) -> (zx.status s);
/system/dev/usb/dwc3/
A Ddwc3.cpp227 uint32_t speed = DSTS::Get().ReadFrom(mmio).CONNECTSPD(); in dwc3_connection_done() local
230 switch (speed) { in dwc3_connection_done()
232 dwc->speed = USB_SPEED_HIGH; in dwc3_connection_done()
236 dwc->speed = USB_SPEED_FULL; in dwc3_connection_done()
241 dwc->speed = USB_SPEED_SUPER; in dwc3_connection_done()
245 zxlogf(ERROR, "dwc3_connection_done: unsupported speed %u\n", speed); in dwc3_connection_done()
246 dwc->speed = USB_SPEED_UNDEFINED; in dwc3_connection_done()
259 usb_dci_interface_set_speed(&dwc->dci_intf, dwc->speed); in dwc3_connection_done()
A Ddwc3.h106 usb_speed_t speed; member
/system/banjo/ddk-protocol-usb-dci/
A Dusb-dci.banjo40 /// Notifies current USB speed..
41 SetSpeed(zircon.hw.usb.UsbSpeed speed) -> ();
/system/dev/usb/usb-hub/
A Dusb-hub.c188 usb_speed_t speed; in usb_hub_port_enabled() local
190 speed = USB_SPEED_SUPER; in usb_hub_port_enabled()
192 speed = USB_SPEED_LOW; in usb_hub_port_enabled()
194 speed = USB_SPEED_HIGH; in usb_hub_port_enabled()
196 speed = USB_SPEED_FULL; in usb_hub_port_enabled()
200 usb_bus_device_added(&hub->bus, hub->usb_device, port, speed); in usb_hub_port_enabled()
/system/dev/block/sdmmc/
A Dsdio.c439 uint8_t speed = 0; in sdio_switch_hs() local
445 st = sdio_io_rw_direct(dev, false, 0, SDIO_CIA_CCCR_BUS_SPEED_SEL_ADDR, 0, &speed); in sdio_switch_hs()
450 update_bits_u8(&speed, SDIO_CIA_CCCR_BUS_SPEED_BSS_MASK, SDIO_CIA_CCCR_BUS_SPEED_BSS_LOC, in sdio_switch_hs()
452 st = sdio_io_rw_direct(dev, true, 0, SDIO_CIA_CCCR_BUS_SPEED_SEL_ADDR, speed, NULL); in sdio_switch_hs()
472 uint8_t speed = 0; in sdio_switch_uhs() local
479 st = sdio_io_rw_direct(dev, false, 0, SDIO_CIA_CCCR_BUS_SPEED_SEL_ADDR, 0, &speed); in sdio_switch_uhs()
501 update_bits_u8(&speed, SDIO_CIA_CCCR_BUS_SPEED_BSS_MASK, SDIO_CIA_CCCR_BUS_SPEED_BSS_LOC, in sdio_switch_uhs()
504 st = sdio_io_rw_direct(dev, true, 0, SDIO_CIA_CCCR_BUS_SPEED_SEL_ADDR, speed, NULL); in sdio_switch_uhs()
/system/dev/ethernet/usb-cdc-function/
A Dcdc-eth-function.cpp54 usb_speed_t speed; member
336 if (cdc->speed == USB_SPEED_SUPER) { in cdc_send_notifications()
469 static zx_status_t cdc_set_configured(void* ctx, bool configured, usb_speed_t speed) { in cdc_set_configured() argument
470 zxlogf(TRACE, "%s: %d %d\n", __func__, configured, speed); in cdc_set_configured()
486 cdc->speed = speed; in cdc_set_configured()
491 cdc->speed = USB_SPEED_UNDEFINED; in cdc_set_configured()
/system/fidl/fuchsia-hardware-usb-device/
A Dusb-device.fidl15 /// Returns the speed of the USB device as a usb_speed_t value.
16 1: GetDeviceSpeed() -> (uint32 speed);
/system/banjo/ddk-protocol-usb-hci/
A Dusb-hci.banjo28 ConfigureHub(uint32 device_id, zircon.hw.usb.UsbSpeed speed,
31 HubDeviceAdded(uint32 device_id, uint32 port, zircon.hw.usb.UsbSpeed speed) -> (zx.status s);
/system/uapp/lsusb/
A Dlsusb.c74 uint32_t speed; in do_list_device() local
75 ret = fuchsia_hardware_usb_device_DeviceGetDeviceSpeed(svc, &speed); in do_list_device()
76 if (ret != ZX_OK || speed >= countof(usb_speeds)) { in do_list_device()
87 le16toh(device_desc.idVendor), le16toh(device_desc.idProduct), usb_speeds[speed], in do_list_device()
/system/banjo/ddk-protocol-usb-function/
A Dusb-function.banjo55 /// depending on whether we are in low/full, high or super speed mode.
68 SetConfigured(bool configured, zircon.hw.usb.UsbSpeed speed) -> (zx.status s);
/system/dev/usb/usb-peripheral/
A Dusb-peripheral.c133 usb_speed_t speed; member
485 dev->speed); in usb_dev_set_configuration()
603 static void usb_dev_set_speed(void* ctx, usb_speed_t speed) { in usb_dev_set_speed() argument
605 dev->speed = speed; in usb_dev_set_speed()
/system/dev/ethernet/asix-88179/
A Dasix-88179.c196 uint8_t speed = plsr & AX88179_PLSR_EPHY_MASK; in ax88179_configure_bulk_in() local
197 if (speed & (speed-1)) { in ax88179_configure_bulk_in()
198 zxlogf(ERROR, "ax88179: invalid eth speed: %#x\n", speed); in ax88179_configure_bulk_in()
202 ax88179_bulk_in_config[usb_mode][speed >> 4]); in ax88179_configure_bulk_in()
/system/dev/usb/usb-peripheral-test/
A Ddriver.cpp233 static zx_status_t test_set_configured(void* ctx, bool configured, usb_speed_t speed) { in test_set_configured() argument
234 zxlogf(TRACE, "%s: %d %d\n", __func__, configured, speed); in test_set_configured()
/system/dev/i2c/intel-i2c/
A Dintel-i2c-controller.c686 unsigned int speed = CTL_SPEED_STANDARD; in intel_serialio_i2c_reset_controller() local
690 speed = CTL_SPEED_FAST; in intel_serialio_i2c_reset_controller()
695 (speed << CTL_SPEED) | in intel_serialio_i2c_reset_controller()
/system/dev/block/ums-function/
A Dums-function.c457 static zx_status_t ums_set_configured(void* ctx, bool configured, usb_speed_t speed) { in ums_set_configured() argument
458 zxlogf(TRACE, "ums_set_configured %d %d\n", configured, speed); in ums_set_configured()

Completed in 65 milliseconds

12