Home
last modified time | relevance | path

Searched refs:usb2_port (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/usb/roles/
A Dclass.c25 struct device *usb2_port; member
333 sw->usb2_port = desc->usb2_port; in usb_role_switch_register()
/linux-6.3-rc2/drivers/usb/typec/mux/
A Dintel_pmc_mux.c131 u8 usb2_port; member
411 msg[1] = port->usb2_port << PMC_USB_MSG_USB2_PORT_SHIFT; in pmc_usb_disconnect()
438 msg[1] = port->usb2_port << PMC_USB_MSG_USB2_PORT_SHIFT; in pmc_usb_connect()
522 ret = fwnode_property_read_u8(fwnode, "usb2-port-number", &port->usb2_port); in pmc_usb_register_port()
/linux-6.3-rc2/drivers/usb/cdns3/
A Dcdnsp-mem.c1093 pdev->usb2_port.exist = 0; in cdnsp_mem_cleanup()
1095 pdev->usb2_port.port_num = 0; in cdnsp_mem_cleanup()
1178 !pdev->usb2_port.port_num) in cdnsp_setup_port_arrays()
1179 cdnsp_add_in_port(pdev, &pdev->usb2_port, in cdnsp_setup_port_arrays()
1183 if (!pdev->usb2_port.exist || !pdev->usb3_port.exist) { in cdnsp_setup_port_arrays()
1190 pdev->usb2_port.regs = (struct cdnsp_port_regs __iomem *) in cdnsp_setup_port_arrays()
1192 (pdev->usb2_port.port_num - 1)); in cdnsp_setup_port_arrays()
A Dcdnsp-ring.c262 if (pdev->active_port == &pdev->usb2_port && pdev->gadget.lpm_capable) in cdnsp_force_l0_go()
761 if (port_id == pdev->usb2_port.port_num) { in cdnsp_update_port_id()
762 port = &pdev->usb2_port; in cdnsp_update_port_id()
777 if (port_id == pdev->usb2_port.port_num) in cdnsp_update_port_id()
806 if (port_id == pdev->usb2_port.port_num) in cdnsp_handle_port_status()
A Dcdnsp-gadget.c909 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm()
1282 cdnsp_set_link_state(pdev, &pdev->usb2_port.regs->portsc, in cdnsp_run()
1435 cdnsp_disable_port(pdev, &pdev->usb2_port.regs->portsc); in cdnsp_stop()
1445 cdnsp_clear_port_change_bit(pdev, &pdev->usb2_port.regs->portsc); in cdnsp_stop()
A Dcdnsp-gadget.h1459 struct cdnsp_port usb2_port; member
/linux-6.3-rc2/include/linux/usb/
A Drole.h40 struct device *usb2_port; member
/linux-6.3-rc2/drivers/usb/dwc3/
A Ddwc3-meson-g12a.c620 priv->switch_desc.usb2_port = dwc3_meson_g12_find_child(dev, in dwc3_meson_g12a_otg_init()

Completed in 38 milliseconds