| /linux/drivers/phy/sunplus/ |
| H A D | phy-sunplus-usb2.c | 78 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->moon4_regs + UPHY_CONTROL1); in sp_uphy_init() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8dxl-ss-conn.dtsi | 53 fsl,usbphy = <&usbphy2>; 74 usbphy2: usbphy@5b110000 { 75 compatible = "fsl,imx8dxl-usbphy", "fsl,imx7ulp-usbphy"; 145 compatible = "fsl,imx8dxl-usbphy", "fsl,imx7ulp-usbphy";
|
| H A D | imx8qxp-ss-conn.dtsi | 8 compatible = "fsl,imx8qxp-usbphy", "fsl,imx7ulp-usbphy";
|
| H A D | imx8qm-ss-conn.dtsi | 8 compatible = "fsl,imx8qm-usbphy", "fsl,imx7ulp-usbphy";
|
| /linux/drivers/usb/host/ |
| H A D | xhci-tegra.c | 302 struct usb_phy **usbphy; member 1415 return (tegra->usbphy[index] != NULL); in is_usb2_otg_phy() 1459 struct usb_phy *usbphy) in tegra_xusb_get_usb2_port() argument 1464 if (tegra->usbphy[i] && usbphy == tegra->usbphy[i]) in tegra_xusb_get_usb2_port() 1476 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xhci_id_notify() local 1478 dev_dbg(tegra->dev, "%s(): action is %d", __func__, usbphy->last_event); in tegra_xhci_id_notify() 1480 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify() 1481 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify() 1487 tegra->otg_usb2_port = tegra_xusb_get_usb2_port(tegra, usbphy); in tegra_xhci_id_notify() 1489 tegra->host_mode = usbphy->last_event == USB_EVENT_ID; in tegra_xhci_id_notify() [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sunxi-h3-h5.dtsi | 260 phys = <&usbphy 0>; 262 extcon = <&usbphy 0>; 267 usbphy: phy@1c19400 { label 305 phys = <&usbphy 0>; 317 phys = <&usbphy 0>; 328 phys = <&usbphy 1>; 340 phys = <&usbphy 1>; 351 phys = <&usbphy 2>; 363 phys = <&usbphy 2>; 374 phys = <&usbphy 3>; [all …]
|
| H A D | suniv-f1c100s.dtsi | 144 phys = <&usbphy 0>; 146 extcon = <&usbphy 0>; 151 usbphy: phy@1c13400 { label
|
| H A D | sun8i-s3-elimo-impetus.dtsi | 41 &usbphy {
|
| H A D | sun8i-t113s-netcube-nagami-basic-carrier.dts | 64 &usbphy {
|
| H A D | sun8i-s3-lichee-zero-plus.dts | 50 &usbphy {
|
| H A D | sun8i-v3s.dtsi | 302 phys = <&usbphy 0>; 304 extcon = <&usbphy 0>; 308 usbphy: phy@1c19400 { label 328 phys = <&usbphy 0>; 340 phys = <&usbphy 0>;
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | tegra-xudc.c | 517 struct usb_phy **usbphy; member 790 struct usb_phy *usbphy) in tegra_xudc_get_phy_index() argument 795 if (xudc->usbphy[i] && usbphy == xudc->usbphy[i]) in tegra_xudc_get_phy_index() 804 struct usb_phy *usbphy) in tegra_xudc_update_data_role() argument 808 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_update_data_role() 809 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_update_data_role() 815 xudc->device_mode = usbphy->last_event == USB_EVENT_VBUS; in tegra_xudc_update_data_role() 817 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_update_data_role() 824 xudc->curr_usbphy = usbphy; in tegra_xudc_update_data_role() 834 struct usb_phy *usbphy = (struct usb_phy *)data; in tegra_xudc_vbus_notify() local [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h616.dtsi | 771 phys = <&usbphy 0>; 773 extcon = <&usbphy 0>; 777 usbphy: phy@5100400 { label 821 phys = <&usbphy 0>; 834 phys = <&usbphy 0>; 849 phys = <&usbphy 1>; 862 phys = <&usbphy 1>; 877 phys = <&usbphy 2>; 890 phys = <&usbphy 2>; 905 phys = <&usbphy 3>; [all …]
|
| H A D | sun50i-a100.dtsi | 477 phys = <&usbphy 0>; 479 extcon = <&usbphy 0>; 483 usbphy: phy@5100400 { label 514 phys = <&usbphy 0>; 527 phys = <&usbphy 0>; 542 phys = <&usbphy 1>; 555 phys = <&usbphy 1>;
|
| H A D | sun55i-a523.dtsi | 654 extcon = <&usbphy 0>; 655 phys = <&usbphy 0>; 660 usbphy: phy@4100400 { label 691 phys = <&usbphy 0>; 704 phys = <&usbphy 0>; 719 phys = <&usbphy 1>; 732 phys = <&usbphy 1>;
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx27-pdk.dts | 18 usbphy0: usbphy { 107 fsl,usbphy = <&usbphy0>;
|
| H A D | imx6sl.dtsi | 638 usbphy1: usbphy@20c9000 { 639 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy"; 647 usbphy2: usbphy@20ca000 { 648 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy"; 811 fsl,usbphy = <&usbphy1>; 824 fsl,usbphy = <&usbphy2>; 837 fsl,usbphy = <&usbphynop1>;
|
| H A D | imx6sll.dtsi | 538 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy", 539 "fsl,imx23-usbphy"; 548 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy", 549 "fsl,imx23-usbphy"; 694 fsl,usbphy = <&usbphy1>; 708 fsl,usbphy = <&usbphy2>;
|
| H A D | imx6qdl.dtsi | 806 usbphy1: usbphy@20c9000 { 807 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; 815 usbphy2: usbphy@20ca000 { 816 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; 988 fsl,usbphy = <&usbphy1>; 1001 fsl,usbphy = <&usbphy2>; 1015 fsl,usbphy = <&usbphynop1>; 1030 fsl,usbphy = <&usbphynop2>;
|
| H A D | imx6ul.dtsi | 653 usbphy1: usbphy@20c9000 { 654 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy"; 662 usbphy2: usbphy@20ca000 { 663 compatible = "fsl,imx6ul-usbphy", "fsl,imx23-usbphy"; 865 fsl,usbphy = <&usbphy1>; 878 fsl,usbphy = <&usbphy2>;
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28.dtsi | 1269 usbphy0: usbphy@8007c000 { 1270 compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy"; 1276 usbphy1: usbphy@8007e000 { 1277 compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy"; 1297 fsl,usbphy = <&usbphy0>; 1306 fsl,usbphy = <&usbphy1>;
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vfxxx.dtsi | 377 usbphy0: usbphy@40050800 { 378 compatible = "fsl,vf610-usbphy"; 386 usbphy1: usbphy@40050c00 { 387 compatible = "fsl,vf610-usbphy"; 446 fsl,usbphy = <&usbphy0>; 595 fsl,usbphy = <&usbphy1>;
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | s5pv210.dtsi | 414 phys = <&usbphy 0>; 418 usbphy: usbphy@ec100000 { label 435 phys = <&usbphy 1>; 447 phys = <&usbphy 1>;
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm21664-garnet.dts | 49 &usbphy {
|
| /linux/arch/riscv/boot/dts/allwinner/ |
| H A D | sunxi-d1s-t113.dtsi | 629 extcon = <&usbphy 0>; 630 phys = <&usbphy 0>; 635 usbphy: phy@4100400 { label 665 phys = <&usbphy 0>; 678 phys = <&usbphy 0>; 693 phys = <&usbphy 1>; 706 phys = <&usbphy 1>;
|