| /drivers/usb/host/ |
| A D | ehci-fsl.c | 30 char *phy_type; member 57 priv->phy_type = (char *)prop; in ehci_fsl_of_to_plat() 58 debug("phy_type %s\n", priv->phy_type); in ehci_fsl_of_to_plat() 144 const char *phy_type = NULL; in ehci_fsl_init() local 167 if (priv->phy_type) in ehci_fsl_init() 168 phy_type = priv->phy_type; in ehci_fsl_init() 170 phy_type = env_get("usb_phy_type"); in ehci_fsl_init() 172 if (!phy_type) { in ehci_fsl_init() 176 phy_type = usb_phy; in ehci_fsl_init() 183 if (!strncmp(phy_type, "utmi", 4)) { in ehci_fsl_init()
|
| A D | ehci-mx6.c | 433 enum usb_phy_interface phy_type; member 442 static u32 mx6_portsc(enum usb_phy_interface phy_type) in mx6_portsc() argument 444 switch (phy_type) { in mx6_portsc() 496 writel(mx6_portsc(priv->phy_type), &ehci->portsc); in mx6_init_after_reset() 657 priv->phy_type = usb_get_phy_mode(dev_ofnode(dev)); in ehci_usb_probe() 713 writel(mx6_portsc(priv->phy_type), &ehci->portsc); in ehci_usb_probe()
|
| /drivers/usb/common/ |
| A D | common.c | 106 const char *phy_type; in usb_get_phy_mode() local 109 phy_type = ofnode_get_property(node, "phy_type", NULL); in usb_get_phy_mode() 110 if (!phy_type) in usb_get_phy_mode() 114 if (!strcmp(phy_type, usbphy_modes[i])) in usb_get_phy_mode()
|
| A D | fsl-dt-fixup.c | 52 const char *phy_type, int start_offset) in fdt_fixup_usb_mode_phy_type() argument 73 if (phy_type) { in fdt_fixup_usb_mode_phy_type() 74 err = fdt_setprop(blob, node_offset, prop_type, phy_type, in fdt_fixup_usb_mode_phy_type() 75 strlen(phy_type) + 1); in fdt_fixup_usb_mode_phy_type()
|
| /drivers/ddr/marvell/a38x/ |
| A D | ddr3_training_ip_prv_if.h | 49 enum hws_ddr_phy phy_type, u32 reg_addr, u32 data); 52 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, u32 *data); 101 u32 phy, enum hws_ddr_phy phy_type, 104 u32 phy, enum hws_ddr_phy phy_type,
|
| A D | ddr3_training_ip_flow.h | 83 enum hws_ddr_phy phy_type, 86 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr,
|
| A D | mv_ddr_plat.c | 683 enum hws_ddr_phy phy_type, u32 addr, in prfa_write() argument 689 ((phy_type & PRFA_PUP_CTRL_DATA_MASK) << PRFA_PUP_CTRL_DATA_OFFS) | in prfa_write() 706 enum hws_ddr_phy phy_type, u32 addr, u32 *data) in prfa_read() argument 715 if (prfa_write(ACCESS_TYPE_UNICAST, i, phy_type, addr, 0, OPERATION_READ) != MV_OK) in prfa_read() 721 if (prfa_write(phy_access, phy, phy_type, addr, 0, OPERATION_READ) != MV_OK) in prfa_read()
|
| A D | ddr3_training.c | 1097 enum hws_ddr_phy phy_type, u32 reg_addr, u32 *data) in ddr3_tip_bus_read() argument 1100 mv_ddr_phy_read(phy_access, phy_id, phy_type, reg_addr, data); in ddr3_tip_bus_read() 1108 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, in ddr3_tip_bus_write() argument 1112 mv_ddr_phy_write(phy_access, phy_id, phy_type, reg_addr, data_value, OPERATION_WRITE); in ddr3_tip_bus_write() 1120 enum hws_ddr_phy phy_type, u32 reg_addr, in ddr3_tip_bus_read_modify_write() argument 1138 phy_type, reg_addr, &data_val)); in ddr3_tip_bus_read_modify_write() 1142 ACCESS_TYPE_UNICAST, phy_id, phy_type, reg_addr, in ddr3_tip_bus_read_modify_write()
|
| /drivers/phy/cadence/ |
| A D | phy-cadence-torrent.c | 235 enum cdns_torrent_phy_type phy_type; member 447 phy_t1 = cdns_phy->phys[0].phy_type; in cdns_torrent_phy_configure_multilink() 448 phy_t2 = cdns_phy->phys[1].phy_type; in cdns_torrent_phy_configure_multilink() 603 u32 phy_type; in cdns_torrent_phy_probe() local 678 switch (phy_type) { in cdns_torrent_phy_probe() 680 cdns_phy->phys[node].phy_type = TYPE_PCIE; in cdns_torrent_phy_probe() 683 cdns_phy->phys[node].phy_type = TYPE_DP; in cdns_torrent_phy_probe() 686 cdns_phy->phys[node].phy_type = TYPE_SGMII; in cdns_torrent_phy_probe() 692 cdns_phy->phys[node].phy_type = TYPE_USB; in cdns_torrent_phy_probe() 783 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local [all …]
|
| A D | phy-cadence-sierra.c | 279 enum cdns_sierra_phy_type phy_type; member 361 enum cdns_sierra_phy_type phy_type = ins->phy_type; in cdns_sierra_link_init() local 454 if (ins->phy_type == TYPE_PCIE || ins->phy_type == TYPE_USB) { in cdns_sierra_link_on() 619 u32 phy_type; in cdns_sierra_get_optional() local 627 if (ofnode_read_u32(child, "cdns,phy-type", &phy_type)) in cdns_sierra_get_optional() 630 switch (phy_type) { in cdns_sierra_get_optional() 632 inst->phy_type = TYPE_PCIE; in cdns_sierra_get_optional() 635 inst->phy_type = TYPE_USB; in cdns_sierra_get_optional() 638 inst->phy_type = TYPE_QSGMII; in cdns_sierra_get_optional() 838 phy_t1 = sp->phys[0]->phy_type; in cdns_sierra_phy_configure_multilink() [all …]
|
| /drivers/phy/ |
| A D | phy-zynqmp.c | 531 static int xpsgtr_set_lane_type(struct xpsgtr_phy *gtr_phy, u8 phy_type, in xpsgtr_set_lane_type() argument 537 switch (phy_type) { in xpsgtr_set_lane_type() 631 unsigned int phy_type; in xpsgtr_of_xlate() local 652 phy_type = args->args[1]; in xpsgtr_of_xlate() 655 ret = xpsgtr_set_lane_type(gtr_phy, phy_type, phy_instance); in xpsgtr_of_xlate()
|
| /drivers/net/ |
| A D | e1000.c | 2401 if (hw->phy_type != e1000_phy_igp && hw->phy_type != e1000_phy_igp_2 in e1000_set_d3_lplu_state() 4782 switch (hw->phy_type) { in e1000_phy_reset() 4807 if (hw->phy_type == e1000_phy_igp || hw->phy_type == e1000_phy_igp_2) in e1000_phy_reset() 4825 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 4832 hw->phy_type = e1000_phy_igp; in e1000_set_phy_type() 4837 hw->phy_type = e1000_phy_igp_3; in e1000_set_phy_type() 4842 hw->phy_type = e1000_phy_ife; in e1000_set_phy_type() 4851 hw->phy_type = e1000_phy_bm; in e1000_set_phy_type() 4854 hw->phy_type = e1000_phy_igb; in e1000_set_phy_type() 4860 hw->phy_type = e1000_phy_igc; in e1000_set_phy_type() [all …]
|
| A D | mvpp2.c | 3469 static u32 mvpp2_netc_cfg_create(int gop_id, phy_interface_t phy_type) in mvpp2_netc_cfg_create() argument 3474 if (phy_type == PHY_INTERFACE_MODE_SGMII || in mvpp2_netc_cfg_create() 3475 phy_type == PHY_INTERFACE_MODE_1000BASEX || in mvpp2_netc_cfg_create() 3476 phy_type == PHY_INTERFACE_MODE_2500BASEX) in mvpp2_netc_cfg_create() 3478 else if (phy_type == PHY_INTERFACE_MODE_RGMII || in mvpp2_netc_cfg_create() 3479 phy_type == PHY_INTERFACE_MODE_RGMII_ID) in mvpp2_netc_cfg_create() 3484 if (phy_type == PHY_INTERFACE_MODE_SGMII || in mvpp2_netc_cfg_create() 3485 phy_type == PHY_INTERFACE_MODE_1000BASEX || in mvpp2_netc_cfg_create() 3486 phy_type == PHY_INTERFACE_MODE_2500BASEX) in mvpp2_netc_cfg_create() 3488 else if (phy_type == PHY_INTERFACE_MODE_RGMII || in mvpp2_netc_cfg_create() [all …]
|
| A D | e1000.h | 1082 e1000_phy_type phy_type; member
|
| /drivers/ddr/marvell/a38x/old/ |
| A D | ddr3_training_ip_prv_if.h | 50 enum hws_ddr_phy phy_type, u32 reg_addr, u32 data); 53 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, u32 *data);
|
| A D | ddr3_training_ip_flow.h | 300 enum hws_ddr_phy phy_type, 303 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr,
|
| A D | ddr3_training.c | 183 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, 986 enum hws_ddr_phy phy_type, u32 reg_addr, u32 *data) in ddr3_tip_bus_read() argument 999 bus_index, phy_type, reg_addr, 0, in ddr3_tip_bus_read() 1010 phy_access, phy_id, phy_type, reg_addr, 0, in ddr3_tip_bus_read() 1031 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, in ddr3_tip_bus_write() argument 1036 phy_id, phy_type, reg_addr, data_value, OPERATION_WRITE)); in ddr3_tip_bus_write() 1046 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, in ddr3_tip_bus_access() argument 1053 (phy_type << 26) + (phy_id << 22) + (addr_low << 16) + in ddr3_tip_bus_access() 1122 enum hws_ddr_phy phy_type, u32 reg_addr, in ddr3_tip_bus_read_modify_write() argument 1140 phy_type, reg_addr, &data_val)); in ddr3_tip_bus_read_modify_write() [all …]
|
| /drivers/phy/ti/ |
| A D | phy-j721e-wiz.c | 1150 u32 reg, num_lanes = 1, phy_type = PHY_NONE; in wiz_get_lane_phy_types() local 1160 ofnode_read_u32(child, "cdns,phy-type", &phy_type); in wiz_get_lane_phy_types() 1163 reg, reg + num_lanes - 1, phy_type); in wiz_get_lane_phy_types() 1166 wiz->lane_phy_type[i] = phy_type; in wiz_get_lane_phy_types()
|
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-inno-hdmi.c | 184 enum inno_hdmi_phy_type phy_type; member 865 .phy_type = INNO_HDMI_PHY_RK3328,
|
| /drivers/net/bnxt/ |
| A D | bnxt_hsi.h | 522 u8 phy_type; member
|