Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/roles/
Dclass.c32 struct device *usb2_port; member
375 sw->usb2_port = desc->usb2_port; in usb_role_switch_register()
/linux-6.12.1/drivers/usb/cdns3/
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()
Dcdnsp-ring.c262 if (pdev->active_port == &pdev->usb2_port && pdev->gadget.lpm_capable) in cdnsp_force_l0_go()
763 if (port_id == pdev->usb2_port.port_num) { in cdnsp_update_port_id()
764 port = &pdev->usb2_port; in cdnsp_update_port_id()
779 if (port_id == pdev->usb2_port.port_num) in cdnsp_update_port_id()
808 if (port_id == pdev->usb2_port.port_num) in cdnsp_handle_port_status()
Dcdnsp-gadget.c909 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm()
1283 cdnsp_set_link_state(pdev, &pdev->usb2_port.regs->portsc, in cdnsp_run()
1434 cdnsp_disable_port(pdev, &pdev->usb2_port.regs->portsc); in cdnsp_stop()
1444 cdnsp_clear_port_change_bit(pdev, &pdev->usb2_port.regs->portsc); in cdnsp_stop()
Dcdnsp-gadget.h1460 struct cdnsp_port usb2_port; member
/linux-6.12.1/include/linux/usb/
Drole.h40 struct device *usb2_port; member
/linux-6.12.1/drivers/usb/typec/mux/
Dintel_pmc_mux.c143 u8 usb2_port; member
471 msg[1] = port->usb2_port << PMC_USB_MSG_USB2_PORT_SHIFT; in pmc_usb_disconnect()
498 msg[1] = port->usb2_port << PMC_USB_MSG_USB2_PORT_SHIFT; in pmc_usb_connect()
582 ret = fwnode_property_read_u8(fwnode, "usb2-port-number", &port->usb2_port); in pmc_usb_register_port()
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-meson-g12a.c611 priv->switch_desc.usb2_port = dwc3_meson_g12_find_child(dev, in dwc3_meson_g12a_otg_init()
/linux-6.12.1/drivers/usb/gadget/udc/
Dtegra-xudc.c3555 int usb2_port = in tegra_xudc_phy_get() local
3561 usb2_port, usb3_port, i); in tegra_xudc_phy_get()