| /system/dev/usb/xhci/ |
| A D | xhci-device-manager.cpp | 33 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 D | xhci-device-manager.h | 14 usb_speed_t speed); 23 zx_status_t xhci_configure_hub(xhci_t* xhci, uint32_t slot_id, usb_speed_t speed,
|
| A D | xhci-root-hub.h | 27 usb_speed_t speed; member
|
| A D | xhci-root-hub.cpp | 175 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 D | usb-xhci.cpp | 37 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 D | xhci.h | 80 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 D | usb-bus.c | 17 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 D | usb-device.h | 31 usb_speed_t speed; member 67 usb_speed_t speed, usb_device_t** out_device);
|
| A D | usb-device.c | 317 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 D | usb-bus.banjo | 19 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 D | dwc3.cpp | 227 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 D | dwc3.h | 106 usb_speed_t speed; member
|
| /system/banjo/ddk-protocol-usb-dci/ |
| A D | usb-dci.banjo | 40 /// Notifies current USB speed.. 41 SetSpeed(zircon.hw.usb.UsbSpeed speed) -> ();
|
| /system/dev/usb/usb-hub/ |
| A D | usb-hub.c | 188 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 D | sdio.c | 439 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 D | cdc-eth-function.cpp | 54 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 D | usb-device.fidl | 15 /// 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 D | usb-hci.banjo | 28 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 D | lsusb.c | 74 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 D | usb-function.banjo | 55 /// 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 D | usb-peripheral.c | 133 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 D | asix-88179.c | 196 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 D | driver.cpp | 233 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 D | intel-i2c-controller.c | 686 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 D | ums-function.c | 457 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()
|