Home
last modified time | relevance | path

Searched refs:usbphy (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c78 static int update_disc_vol(struct sp_usbphy *usbphy) in update_disc_vol() argument
86 cell = nvmem_cell_get(usbphy->dev, disc_name); in update_disc_vol()
98 set = (set >> usbphy->disc_vol_addr_off) & J_DISC; in update_disc_vol()
104 val = readl(usbphy->phy_regs + CONFIG7); in update_disc_vol()
106 writel(val, usbphy->phy_regs + CONFIG7); in update_disc_vol()
113 struct sp_usbphy *usbphy = phy_get_drvdata(phy); in sp_uphy_init() local
117 ret = clk_prepare_enable(usbphy->phy_clk); in sp_uphy_init()
121 ret = reset_control_deassert(usbphy->rstc); in sp_uphy_init()
126 writel(HIGH_MASK_BITS | 0x4002, usbphy->moon4_regs + UPHY_CONTROL0); in sp_uphy_init()
127 writel(HIGH_MASK_BITS | 0x8747, usbphy in sp_uphy_init()
171 struct sp_usbphy *usbphy = phy_get_drvdata(phy); sp_uphy_power_on() local
200 struct sp_usbphy *usbphy = phy_get_drvdata(phy); sp_uphy_power_off() local
217 struct sp_usbphy *usbphy = phy_get_drvdata(phy); sp_uphy_exit() local
240 struct sp_usbphy *usbphy; sp_usb_phy_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-tegra.c258 struct usb_phy **usbphy; member
1220 struct usb_phy *usbphy) in tegra_xusb_get_usb2_port()
1225 if (tegra->usbphy[i] && usbphy == tegra->usbphy[i]) in tegra_xusb_get_usb2_port()
1237 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xhci_id_notify() local
1239 dev_dbg(tegra->dev, "%s(): action is %d", __func__, usbphy->last_event); in tegra_xhci_id_notify()
1241 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1242 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify()
1248 tegra->otg_usb2_port = tegra_xusb_get_usb2_port(tegra, usbphy); in tegra_xhci_id_notify()
1219 tegra_xusb_get_usb2_port(struct tegra_xusb *tegra, struct usb_phy *usbphy) tegra_xusb_get_usb2_port() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-tegra.c297 struct usb_phy **usbphy; member
1407 return (tegra->usbphy[index] != NULL); in is_usb2_otg_phy()
1451 struct usb_phy *usbphy) in tegra_xusb_get_usb2_port()
1456 if (tegra->usbphy[i] && usbphy == tegra->usbphy[i]) in tegra_xusb_get_usb2_port()
1468 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xhci_id_notify() local
1470 dev_dbg(tegra->dev, "%s(): action is %d", __func__, usbphy->last_event); in tegra_xhci_id_notify()
1472 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1473 (!tegra->host_mode && usbphy in tegra_xhci_id_notify()
1450 tegra_xusb_get_usb2_port(struct tegra_xusb *tegra, struct usb_phy *usbphy) tegra_xusb_get_usb2_port() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dtegra-xudc.c516 struct usb_phy **usbphy; member
785 struct usb_phy *usbphy) in tegra_xudc_get_phy_index()
790 if (xudc->usbphy[i] && usbphy == xudc->usbphy[i]) in tegra_xudc_get_phy_index()
799 struct usb_phy *usbphy) in tegra_xudc_update_data_role()
803 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_update_data_role()
804 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_update_data_role()
810 xudc->device_mode = (usbphy->last_event == USB_EVENT_VBUS) ? true : in tegra_xudc_update_data_role()
813 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_update_data_role()
784 tegra_xudc_get_phy_index(struct tegra_xudc *xudc, struct usb_phy *usbphy) tegra_xudc_get_phy_index() argument
798 tegra_xudc_update_data_role(struct tegra_xudc *xudc, struct usb_phy *usbphy) tegra_xudc_update_data_role() argument
830 struct usb_phy *usbphy = (struct usb_phy *)data; tegra_xudc_vbus_notify() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dtegra-xudc.c517 struct usb_phy **usbphy; member
782 struct usb_phy *usbphy) in tegra_xudc_get_phy_index()
787 if (xudc->usbphy[i] && usbphy == xudc->usbphy[i]) in tegra_xudc_get_phy_index()
800 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xudc_vbus_notify() local
803 dev_dbg(xudc->dev, "%s(): event is %d\n", __func__, usbphy->last_event); in tegra_xudc_vbus_notify()
805 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_vbus_notify()
806 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_vbus_notify()
812 xudc->device_mode = (usbphy in tegra_xudc_vbus_notify()
781 tegra_xudc_get_phy_index(struct tegra_xudc *xudc, struct usb_phy *usbphy) tegra_xudc_get_phy_index() argument
[all...]

Completed in 13 milliseconds