/linux-master/include/linux/ |
H A D | sungem_phy.h | 12 int (*init)(struct mii_phy *phy); 13 int (*suspend)(struct mii_phy *phy); 14 int (*setup_aneg)(struct mii_phy *phy, u32 advertise); 15 int (*setup_forced)(struct mii_phy *phy, int speed, int fd); 16 int (*poll_link)(struct mii_phy *phy); 17 int (*read_link)(struct mii_phy *phy); 18 int (*enable_fiber)(struct mii_phy *phy, int autoneg); 67 extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
|
/linux-master/drivers/usb/phy/ |
H A D | phy-tahvo.c | 46 struct usb_phy phy; member in struct:tahvo_usb 77 switch (tu->phy.otg->state) { 80 if (tu->phy.otg->gadget) 81 usb_gadget_vbus_connect(tu->phy.otg->gadget); 82 tu->phy.otg->state = OTG_STATE_B_PERIPHERAL; 83 usb_phy_set_event(&tu->phy, USB_EVENT_ENUMERATED); 90 tu->phy.otg->state = OTG_STATE_A_HOST; 97 switch (tu->phy.otg->state) { 99 if (tu->phy.otg->gadget) 100 usb_gadget_vbus_disconnect(tu->phy [all...] |
H A D | phy-generic.c | 27 #include "phy-generic.h" 103 struct usb_otg *otg = nop->phy.otg; 114 nop->phy.last_event = status; 116 atomic_notifier_call_chain(&nop->phy.notifier, status, 121 nop->phy.last_event = status; 123 atomic_notifier_call_chain(&nop->phy.notifier, status, 129 int usb_gen_phy_init(struct usb_phy *phy) argument 131 struct usb_phy_generic *nop = dev_get_drvdata(phy->dev); 136 dev_err(phy->dev, "Failed to enable power\n"); 151 void usb_gen_phy_shutdown(struct usb_phy *phy) argument [all...] |
/linux-master/drivers/phy/renesas/ |
H A D | phy-rcar-gen2.c | 15 #include <linux/phy/phy.h> 48 struct phy *phy; member in struct:rcar_gen2_phy 76 static int rcar_gen2_phy_init(struct phy *p) 78 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 79 struct rcar_gen2_channel *channel = phy->channel; 90 if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1) 98 ugctrl2 |= phy->select_value; 104 static int rcar_gen2_phy_exit(struct phy * 106 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 118 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 162 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 194 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 223 struct rcar_gen2_phy *phy = phy_get_drvdata(p); local 400 struct rcar_gen2_phy *phy = &channel->phys[n]; local [all...] |
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | phy.h | 27 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, 29 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, 31 int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, 33 int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, 35 int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, 37 int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy,
|
H A D | phy.c | 14 #include "phy.h" 28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) argument 30 int addr = phy; /* PHY devices addresses start at 0x0 */ 43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) argument 45 int addr = phy; /* PHY devices addresses start at 0x0 */ 58 int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, argument 61 int addr = phy; /* PHY devices addresses start at 0x0 */ 74 int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, argument 77 int addr = phy; /* PHY devices addresses start at 0x0 */ 90 static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u argument 95 mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) argument 111 mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 *val) argument 129 mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 val) argument [all...] |
/linux-master/net/ieee802154/ |
H A D | nl-phy.c | 29 u32 seq, int flags, struct wpan_phy *phy) 46 if (nla_put_string(msg, IEEE802154_ATTR_PHY_NAME, wpan_phy_name(phy)) || 47 nla_put_u8(msg, IEEE802154_ATTR_PAGE, phy->current_page) || 48 nla_put_u8(msg, IEEE802154_ATTR_CHANNEL, phy->current_channel)) 51 if (phy->supported.channels[i]) 52 buf[pages++] = phy->supported.channels[i] | (i << 27); 77 struct wpan_phy *phy; local 88 return -EINVAL; /* phy name should be null-terminated */ 90 phy = wpan_phy_find(name); 91 if (!phy) 28 ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct wpan_phy *phy) argument 119 ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data) argument 164 struct wpan_phy *phy; local 269 struct wpan_phy *phy; local [all...] |
/linux-master/drivers/phy/freescale/ |
H A D | phy-fsl-imx8qm-lvds-phy.c | 12 #include <linux/phy/phy.h> 54 struct phy *phy; member in struct:mixel_lvds_phy 66 static int mixel_lvds_phy_init(struct phy *phy) argument 68 struct mixel_lvds_phy_priv *priv = dev_get_drvdata(phy->dev.parent); 78 static int mixel_lvds_phy_power_on(struct phy *phy) argument 80 struct mixel_lvds_phy_priv *priv = dev_get_drvdata(phy 141 mixel_lvds_phy_power_off(struct phy *phy) argument 166 mixel_lvds_phy_configure(struct phy *phy, union phy_configure_opts *opts) argument 221 mixel_lvds_phy_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) argument 325 struct phy *phy; local [all...] |
/linux-master/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy_28nm_8960.c | 63 struct msm_dsi_phy *phy; member in struct:dsi_pll_28nm 77 val = dsi_phy_read(pll_28nm->phy->pll_base + REG_DSI_28nm_8960_PHY_PLL_RDY); 97 void __iomem *base = pll_28nm->phy->pll_base; 146 void __iomem *base = pll_28nm->phy->pll_base; 179 struct device *dev = &pll_28nm->phy->pdev->dev; 180 void __iomem *base = pll_28nm->phy->pll_base; 186 DBG("id=%d", pll_28nm->phy->id); 188 if (unlikely(pll_28nm->phy->pll_on)) 219 pll_28nm->phy->pll_on = true; 228 DBG("id=%d", pll_28nm->phy 343 dsi_28nm_pll_save_state(struct msm_dsi_phy *phy) argument 359 dsi_28nm_pll_restore_state(struct msm_dsi_phy *phy) argument 449 dsi_pll_28nm_8960_init(struct msm_dsi_phy *phy) argument 475 dsi_28nm_dphy_set_timing(struct msm_dsi_phy *phy, struct msm_dsi_dphy_timing *timing) argument 506 dsi_28nm_phy_regulator_init(struct msm_dsi_phy *phy) argument 518 dsi_28nm_phy_regulator_ctrl(struct msm_dsi_phy *phy) argument 529 dsi_28nm_phy_calibration(struct msm_dsi_phy *phy) argument 559 dsi_28nm_phy_lane_config(struct msm_dsi_phy *phy) argument 584 dsi_28nm_phy_enable(struct msm_dsi_phy *phy, struct msm_dsi_phy_clk_request *clk_req) argument 630 dsi_28nm_phy_disable(struct msm_dsi_phy *phy) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 50 struct mt7915_phy *phy = dev_get_drvdata(dev); local 56 temperature = mt7915_mcu_get_temperature(phy); 64 phy->throttle_temp[i - 1] * 1000); 66 return sprintf(buf, "%hhu\n", phy->throttle_state); 76 struct mt7915_phy *phy = dev_get_drvdata(dev); local 84 mutex_lock(&phy->dev->mt76.mutex); 88 val > phy->throttle_temp[MT7915_MAX_TEMP_IDX]) || 90 val < phy->throttle_temp[MT7915_CRIT_TEMP_IDX])) { 91 dev_err(phy->dev->mt76.dev, 93 mutex_unlock(&phy 134 struct mt7915_phy *phy = cdev->devdata; local 145 struct mt7915_phy *phy = cdev->devdata; local 177 mt7915_unregister_thermal(struct mt7915_phy *phy) argument 188 mt7915_thermal_init(struct mt7915_phy *phy) argument 278 __mt7915_init_txpower(struct mt7915_phy *phy, struct ieee80211_supported_band *sband) argument 311 mt7915_init_txpower(struct mt7915_phy *phy) argument 331 struct mt7915_phy *phy = mphy->priv; local 346 mt7915_init_wiphy(struct mt7915_phy *phy) argument 648 struct mt7915_phy *phy; local 669 mt7915_register_ext_phy(struct mt7915_dev *dev, struct mt7915_phy *phy) argument 845 mt7915_set_stream_vht_txbf_caps(struct mt7915_phy *phy) argument 875 mt7915_set_stream_he_txbf_caps(struct mt7915_phy *phy, struct ieee80211_sta_he_cap *he_cap, int vif) argument 962 mt7915_init_he_caps(struct mt7915_phy *phy, enum nl80211_band band, struct ieee80211_sband_iftype_data *data) argument 1137 mt7915_set_stream_he_caps(struct mt7915_phy *phy) argument 1170 struct mt7915_phy *phy = mt7915_ext_phy(dev); local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | init.c | 52 struct mt7996_phy *phy = dev_get_drvdata(dev); local 58 temperature = mt7996_mcu_get_temperature(phy); 66 phy->throttle_temp[i - 1] * 1000); 68 return sprintf(buf, "%hhu\n", phy->throttle_state); 78 struct mt7996_phy *phy = dev_get_drvdata(dev); local 86 mutex_lock(&phy->dev->mt76.mutex); 91 val > phy->throttle_temp[MT7996_MAX_TEMP_IDX] - 10) || 93 val - 10 < phy->throttle_temp[MT7996_CRIT_TEMP_IDX])) { 94 dev_err(phy->dev->mt76.dev, 96 mutex_unlock(&phy 137 struct mt7996_phy *phy = cdev->devdata; local 148 struct mt7996_phy *phy = cdev->devdata; local 179 mt7996_unregister_thermal(struct mt7996_phy *phy) argument 190 mt7996_thermal_init(struct mt7996_phy *phy) argument 291 __mt7996_init_txpower(struct mt7996_phy *phy, struct ieee80211_supported_band *sband) argument 316 mt7996_init_txpower(struct mt7996_phy *phy) argument 335 struct mt7996_phy *phy = mt7996_hw_phy(hw); local 352 struct mt7996_phy *phy = mt7996_hw_phy(hw); local 559 mt7996_register_phy(struct mt7996_dev *dev, struct mt7996_phy *phy, enum mt76_band_id band) argument 647 mt7996_unregister_phy(struct mt7996_phy *phy, enum mt76_band_id band) argument 932 mt7996_set_stream_vht_txbf_caps(struct mt7996_phy *phy) argument 960 mt7996_set_stream_he_txbf_caps(struct mt7996_phy *phy, struct ieee80211_sta_he_cap *he_cap, int vif) argument 1033 mt7996_init_he_caps(struct mt7996_phy *phy, enum nl80211_band band, struct ieee80211_sband_iftype_data *data, enum nl80211_iftype iftype) argument 1160 mt7996_init_eht_caps(struct mt7996_phy *phy, enum nl80211_band band, struct ieee80211_sband_iftype_data *data, enum nl80211_iftype iftype) argument 1256 __mt7996_set_stream_he_eht_caps(struct mt7996_phy *phy, struct ieee80211_supported_band *sband, enum nl80211_band band) argument 1285 mt7996_set_stream_he_eht_caps(struct mt7996_phy *phy) argument [all...] |
/linux-master/drivers/phy/marvell/ |
H A D | phy-berlin-sata.c | 13 #include <linux/phy/phy.h> 52 struct phy *phy; member in struct:phy_berlin_desc 81 static int phy_berlin_sata_power_on(struct phy *phy) argument 83 struct phy_berlin_desc *desc = phy_get_drvdata(phy); 84 struct phy_berlin_priv *priv = dev_get_drvdata(phy->dev.parent); 134 static int phy_berlin_sata_power_off(struct phy *phy) argument 192 struct phy *phy; local [all...] |
H A D | phy-pxa-usb.c | 7 #include <dt-bindings/phy/phy.h> 13 #include <linux/phy/phy.h> 16 /* phy regs */ 116 struct phy *phy; member in struct:pxa_usb_phy 159 static int pxa_usb_phy_init(struct phy *phy) argument 161 struct pxa_usb_phy *pxa_usb_phy = phy_get_drvdata(phy); 246 pxa_usb_phy_exit(struct phy *phy) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 32 typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy, 217 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, 1447 /* Set mdio clock per phy */ 1451 params->phy[phy_index].mdio_ctrl); 1757 if (!(params->phy[INT_PHY].flags & FLAGS_TX_ERROR_CHECK)) { 1788 (params->phy[INT_PHY].supported & 2349 /* XGXS control: Reset phy HW, MDIO registers, PHY PLL and BMAC */ 2547 * phy has a default access mode, which could also be overridden 2549 * default phy configuration, or the nvram overrun 2589 struct bnx2x_phy *phy, 2588 bnx2x_cl22_write(struct bnx2x *bp, struct bnx2x_phy *phy, u16 reg, u16 val) argument 2623 bnx2x_cl22_read(struct bnx2x *bp, struct bnx2x_phy *phy, u16 reg, u16 *ret_val) argument 2665 bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 *ret_val) argument 2740 bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 val) argument 2951 bnx2x_eee_disable(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 2967 bnx2x_eee_advertise(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u8 modes) argument 3004 bnx2x_eee_an_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3171 bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 or_val) argument 3179 bnx2x_cl45_read_and_write(struct bnx2x *bp, struct bnx2x_phy *phy, u8 devad, u16 reg, u16 and_val) argument 3221 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, struct link_params *params) argument 3275 bnx2x_set_aer_mmd(struct link_params *params, struct bnx2x_phy *phy) argument 3345 bnx2x_xgxs_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 3378 bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy, struct link_params *params, u16 *ieee_fc) argument 3460 bnx2x_ext_phy_set_pause(struct link_params *params, struct bnx2x_phy *phy, struct link_vars *vars) argument 3487 bnx2x_pause_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 pause_result) argument 3534 bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3589 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3628 bnx2x_warpcore_enable_AN_KR2(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3667 bnx2x_disable_kr2(struct link_params *params, struct link_vars *vars, struct bnx2x_phy *phy) argument 3702 bnx2x_warpcore_set_lpi_passthrough(struct bnx2x_phy *phy, struct link_params *params) argument 3714 bnx2x_warpcore_restart_AN_KR(struct bnx2x_phy *phy, struct link_params *params) argument 3729 bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3881 bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 3949 bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy, struct link_params *params, u8 is_xfi) argument 4085 bnx2x_warpcore_set_20G_force_KR2(struct bnx2x_phy *phy, struct link_params *params) argument 4138 bnx2x_warpcore_set_20G_DXGXS(struct bnx2x *bp, struct bnx2x_phy *phy, u16 lane) argument 4192 bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy, struct link_params *params, u8 fiber_mode, u8 always_autoneg) argument 4274 bnx2x_warpcore_reset_lane(struct bnx2x *bp, struct bnx2x_phy *phy, u8 reset) argument 4292 bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy, struct link_params *params, u16 lane) argument 4367 bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy, struct link_params *params) argument 4385 bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy, struct link_params *params) argument 4399 bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 4452 bnx2x_warpcore_config_sfi(struct bnx2x_phy *phy, struct link_params *params) argument 4469 bnx2x_sfp_e3_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 4490 bnx2x_warpcore_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 4598 bnx2x_warpcore_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 4653 bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 4871 bnx2x_set_master_ln(struct link_params *params, struct bnx2x_phy *phy) argument 4892 bnx2x_reset_unicore(struct link_params *params, struct bnx2x_phy *phy, u8 set_serdes) argument 4936 bnx2x_set_swap_lanes(struct link_params *params, struct bnx2x_phy *phy) argument 4978 bnx2x_set_parallel_detection(struct bnx2x_phy *phy, struct link_params *params) argument 5031 bnx2x_set_autoneg(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u8 enable_cl73) argument 5135 bnx2x_program_serdes(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5184 bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy, struct link_params *params) argument 5204 bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy, struct link_params *params, u16 ieee_fc) argument 5225 bnx2x_restart_autoneg(struct bnx2x_phy *phy, struct link_params *params, u8 enable_cl73) argument 5265 bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5337 bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy, struct link_params *params) argument 5371 bnx2x_update_adv_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5418 bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5446 bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy, struct link_params *params) argument 5514 bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) argument 5527 bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u16 is_link_up, u16 speed_mask, u16 is_duplex) argument 5618 bnx2x_link_settings_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5692 bnx2x_warpcore_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5820 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 5903 bnx2x_set_preemphasis(struct bnx2x_phy *phy, struct link_params *params) argument 5927 bnx2x_xgxs_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 5976 bnx2x_prepare_xgxs(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 6015 bnx2x_wait_reset_complete(struct bnx2x *bp, struct bnx2x_phy *phy, struct link_params *params) argument 6243 bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 6553 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 6606 bnx2x_int_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 6614 bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 6859 struct bnx2x_phy *phy = ¶ms->phy[phy_index]; local 7080 bnx2x_save_bcm_spirom_ver(struct bnx2x *bp, struct bnx2x_phy *phy, u8 port) argument 7094 bnx2x_ext_phy_10G_an_resolve(struct bnx2x *bp, struct bnx2x_phy *phy, struct link_vars *vars) argument 7114 bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7147 bnx2x_8073_8727_external_rom_boot(struct bnx2x *bp, struct bnx2x_phy *phy, u8 port) argument 7228 bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7254 bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7310 bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) argument 7323 bnx2x_8073_set_pause_cl37(struct link_params *params, struct bnx2x_phy *phy, struct link_vars *vars) argument 7358 bnx2x_8073_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 7374 bnx2x_8073_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7521 bnx2x_8073_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7666 bnx2x_8073_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 7685 bnx2x_8705_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7711 bnx2x_8705_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 7747 bnx2x_set_disable_pmd_transmit(struct link_params *params, struct bnx2x_phy *phy, u8 pmd_dis) argument 7784 bnx2x_sfp_e1e2_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 7841 bnx2x_sfp_set_transmitter(struct link_params *params, struct bnx2x_phy *phy, u8 tx_en) argument 7853 bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument 7941 bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument 7982 bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u8 byte_cnt, u8 *o_buf, u8 is_init) argument 8077 bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, struct link_params *params, u8 dev_addr, u16 addr, u16 byte_cnt, u8 *o_buf) argument 8119 bnx2x_get_edc_mode(struct bnx2x_phy *phy, struct link_params *params, u16 *edc_mode) argument 8261 bnx2x_verify_sfp_module(struct bnx2x_phy *phy, struct link_params *params) argument 8335 bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, struct link_params *params) argument 8369 bnx2x_8727_power_module(struct bnx2x *bp, struct bnx2x_phy *phy, u8 is_power_up) argument 8401 bnx2x_8726_set_limiting_mode(struct bnx2x *bp, struct bnx2x_phy *phy, u16 edc_mode) argument 8450 bnx2x_8727_set_limiting_mode(struct bnx2x *bp, struct bnx2x_phy *phy, u16 edc_mode) argument 8484 bnx2x_8727_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 8592 bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 8606 bnx2x_power_sfp_module(struct link_params *params, struct bnx2x_phy *phy, u8 power) argument 8625 bnx2x_warpcore_set_limiting_mode(struct link_params *params, struct bnx2x_phy *phy, u16 edc_mode) argument 8665 bnx2x_set_limiting_mode(struct link_params *params, struct bnx2x_phy *phy, u16 edc_mode) argument 8683 bnx2x_sfp_module_detection(struct bnx2x_phy *phy, struct link_params *params) argument 8741 struct bnx2x_phy *phy; local 8810 bnx2x_sfp_mask_fault(struct bnx2x *bp, struct bnx2x_phy *phy, u16 alarm_status_offset, u16 alarm_ctrl_offset) argument 8833 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8895 bnx2x_8706_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 8999 bnx2x_8706_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9009 bnx2x_8726_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 9017 bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, struct link_params *params) argument 9055 bnx2x_8726_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9076 bnx2x_8726_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9158 bnx2x_8726_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 9173 bnx2x_8727_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 9219 bnx2x_8727_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 9234 bnx2x_8727_config_speed(struct bnx2x_phy *phy, struct link_params *params) argument 9291 bnx2x_8727_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9375 bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, struct link_params *params) argument 9460 bnx2x_8727_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9619 bnx2x_8727_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 9637 bnx2x_is_8483x_8485x(struct bnx2x_phy *phy) argument 9644 bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, struct bnx2x *bp, u8 port) argument 9713 bnx2x_848xx_set_led(struct bnx2x *bp, struct bnx2x_phy *phy) argument 9778 bnx2x_848xx_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 9801 bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9947 bnx2x_8481_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 9967 bnx2x_84858_cmd_hdlr(struct bnx2x_phy *phy, struct link_params *params, u16 fw_cmd, u16 cmd_args[], int argc) argument 10044 bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, struct link_params *params, u16 fw_cmd, u16 cmd_args[], int argc, int process) argument 10122 bnx2x_848xx_cmd_hdlr(struct bnx2x_phy *phy, struct link_params *params, u16 fw_cmd, u16 cmd_args[], int argc, int process) argument 10143 bnx2x_848xx_pair_swap_cfg(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10211 bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, struct link_params *params) argument 10242 bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10263 bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10282 bnx2x_848x3_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10482 bnx2x_848xx_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 10628 bnx2x_8481_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10637 bnx2x_8481_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10646 bnx2x_848x3_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 10673 bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 11007 bnx2x_54618se_specific_func(struct bnx2x_phy *phy, struct link_params *params, u32 action) argument 11036 bnx2x_54618se_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 11241 bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 11277 bnx2x_54618se_link_reset(struct bnx2x_phy *phy, struct link_params *params) argument 11302 bnx2x_54618se_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 11409 bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 11452 bnx2x_7101_config_loopback(struct bnx2x_phy *phy, struct link_params *params) argument 11461 bnx2x_7101_config_init(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 11500 bnx2x_7101_read_status(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 11553 bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) argument 11578 bnx2x_7101_hw_reset(struct bnx2x_phy *phy, struct link_params *params) argument 11588 bnx2x_7101_set_link_led(struct bnx2x_phy *phy, struct link_params *params, u8 mode) argument 12146 bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, struct bnx2x_phy *phy, u8 port, u8 phy_index) argument 12205 bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, struct bnx2x_phy *phy) argument 12342 bnx2x_populate_ext_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument 12470 bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument 12481 bnx2x_phy_def_cfg(struct link_params *params, struct bnx2x_phy *phy, u8 phy_index) argument 12593 struct bnx2x_phy *phy; local 12829 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; local 13187 struct bnx2x_phy phy[PORT_MAX]; local 13315 struct bnx2x_phy phy; local 13410 struct bnx2x_phy phy[PORT_MAX]; local 13784 bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars) argument 13827 bnx2x_kr2_recovery(struct link_params *params, struct link_vars *vars, struct bnx2x_phy *phy) argument 13837 bnx2x_check_kr2_wa(struct link_params *params, struct link_vars *vars, struct bnx2x_phy *phy) argument 13925 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; local 13961 struct bnx2x_phy phy; local 14013 struct bnx2x_phy phy; local [all...] |
/linux-master/drivers/usb/dwc2/ |
H A D | pci.c | 33 struct platform_device *phy; member in struct:dwc2_pci_glue 47 usb_phy_generic_unregister(glue->phy); 56 struct platform_device *phy; local 69 phy = usb_phy_generic_register(); 70 if (IS_ERR(phy)) { 72 PTR_ERR(phy)); 73 return PTR_ERR(phy); 114 glue->phy = phy; 120 usb_phy_generic_unregister(phy); [all...] |
/linux-master/drivers/phy/lantiq/ |
H A D | phy-lantiq-vrx200-pcie.c | 21 #include <linux/phy/phy.h> 27 #include <dt-bindings/phy/phy-lantiq-vrx200-pcie.h> 85 struct phy *phy; member in struct:ltq_vrx200_pcie_phy_priv 98 static void ltq_vrx200_pcie_phy_common_setup(struct phy *phy) argument 100 struct ltq_vrx200_pcie_phy_priv *priv = phy_get_drvdata(phy); 141 static void pcie_phy_36mhz_mode_setup(struct phy *ph argument 181 ltq_vrx200_pcie_phy_wait_for_pll(struct phy *phy) argument 199 ltq_vrx200_pcie_phy_apply_workarounds(struct phy *phy) argument 247 ltq_vrx200_pcie_phy_init(struct phy *phy) argument 289 ltq_vrx200_pcie_phy_exit(struct phy *phy) argument 305 ltq_vrx200_pcie_phy_power_on(struct phy *phy) argument 342 ltq_vrx200_pcie_phy_power_off(struct phy *phy) argument [all...] |
/linux-master/drivers/net/ieee802154/ |
H A D | mac802154_hwsim.c | 85 static void hwsim_del(struct hwsim_phy *phy); 98 struct hwsim_phy *phy = hw->priv; local 105 pib_old = rtnl_dereference(phy->pib); 115 rcu_assign_pointer(phy->pib, pib); 122 struct hwsim_phy *phy = hw->priv; local 127 pib = rcu_dereference(phy->pib); 138 struct hwsim_phy *phy = hw->priv; local 143 pib = rcu_dereference(phy->pib); 154 struct hwsim_phy *phy = hw->priv; local 158 pib = rcu_dereference(phy 294 struct hwsim_phy *phy = hw->priv; local 303 struct hwsim_phy *phy = hw->priv; local 312 struct hwsim_phy *phy = hw->priv; local 347 struct hwsim_phy *phy, *tmp; local 368 append_radio_msg(struct sk_buff *skb, struct hwsim_phy *phy) argument 429 hwsim_get_radio(struct sk_buff *skb, struct hwsim_phy *phy, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument 458 struct hwsim_phy *phy; local 498 struct hwsim_phy *phy; local 528 struct hwsim_phy *phy; local 814 hwsim_mcast_new_radio(struct genl_info *info, struct hwsim_phy *phy) argument 841 hwsim_edge_unsubscribe_me(struct hwsim_phy *phy) argument 861 hwsim_subscribe_all_others(struct hwsim_phy *phy) argument 900 struct hwsim_phy *phy; local 993 hwsim_del(struct hwsim_phy *phy) argument 1018 struct hwsim_phy *phy, *tmp; local 1040 struct hwsim_phy *phy, *tmp; local [all...] |
/linux-master/drivers/phy/cadence/ |
H A D | cdns-dphy-rx.c | 12 #include <linux/phy/phy.h> 13 #include <linux/phy/phy-mipi-dphy.h> 57 struct phy *phy; member in struct:cdns_dphy_rx 79 static int cdns_dphy_rx_power_on(struct phy *phy) argument 81 struct cdns_dphy_rx *dphy = phy_get_drvdata(phy); 92 static int cdns_dphy_rx_power_off(struct phy *ph argument 168 cdns_dphy_rx_configure(struct phy *phy, union phy_configure_opts *opts) argument 215 cdns_dphy_rx_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) argument [all...] |
/linux-master/drivers/phy/amlogic/ |
H A D | phy-meson-axg-mipi-pcie-analog.c | 10 #include <linux/phy/phy.h> 16 #include <dt-bindings/phy/phy.h> 49 struct phy *phy; member in struct:phy_axg_mipi_pcie_analog_priv 133 static int phy_axg_mipi_pcie_analog_configure(struct phy *phy, argument 136 struct phy_axg_mipi_pcie_analog_priv *priv = phy_get_drvdata(phy); 161 static int phy_axg_mipi_pcie_analog_power_on(struct phy *ph argument 175 phy_axg_mipi_pcie_analog_power_off(struct phy *phy) argument 198 struct phy_provider *phy; local [all...] |
/linux-master/drivers/phy/mediatek/ |
H A D | phy-mtk-xsphy.c | 10 #include <dt-bindings/phy/phy.h> 16 #include <linux/phy/phy.h> 19 #include "phy-mtk-io.h" 21 /* u2 phy banks */ 26 /* u3 phy shared banks */ 30 /* u3 phy banks */ 85 struct phy *phy; member in struct:xsphy_instance 308 mtk_phy_init(struct phy *phy) argument 337 mtk_phy_power_on(struct phy *phy) argument 350 mtk_phy_power_off(struct phy *phy) argument 361 mtk_phy_exit(struct phy *phy) argument 369 mtk_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument 476 struct phy *phy; local [all...] |
H A D | phy-mtk-mipi-dsi.c | 6 #include "phy-mtk-mipi-dsi.h" 33 static int mtk_mipi_tx_power_on(struct phy *phy) argument 35 struct mtk_mipi_tx *mipi_tx = phy_get_drvdata(phy); 44 mipi_tx->driver_data->mipi_tx_enable_signal(phy); 48 static int mtk_mipi_tx_power_off(struct phy *phy) argument 50 struct mtk_mipi_tx *mipi_tx = phy_get_drvdata(phy); 53 mipi_tx->driver_data->mipi_tx_disable_signal(phy); 116 struct phy *ph local [all...] |
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-usb-hsic.c | 8 #include <linux/phy/phy.h> 19 struct phy *phy; member in struct:qcom_usb_hsic_phy 26 static int qcom_usb_hsic_phy_power_on(struct phy *phy) argument 28 struct qcom_usb_hsic_phy *uphy = phy_get_drvdata(phy); 87 static int qcom_usb_hsic_phy_power_off(struct phy *phy) argument 89 struct qcom_usb_hsic_phy *uphy = phy_get_drvdata(phy); [all...] |
/linux-master/drivers/phy/hisilicon/ |
H A D | phy-hi6220-usb.c | 11 #include <linux/phy/phy.h> 94 dev_err(priv->dev, "failed to setup phy ret: %d\n", ret); 98 static int hi6220_phy_start(struct phy *phy) argument 100 struct hi6220_priv *priv = phy_get_drvdata(phy); 105 static int hi6220_phy_exit(struct phy *phy) argument 107 struct hi6220_priv *priv = phy_get_drvdata(phy); 122 struct phy *ph local [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | lo.c | 47 struct b43_phy *phy = &dev->phy; local 58 B43_WARN_ON(phy->type != B43_PHYTYPE_G); 68 struct b43_phy *phy = &dev->phy; local 72 if (phy->gmode) { 89 && phy->rev > 6) 131 struct b43_phy *phy = &dev->phy; local 134 if (phy 164 struct b43_phy *phy = &dev->phy; local 261 struct b43_phy *phy = &dev->phy; local 283 struct b43_phy *phy = &dev->phy; local 376 struct b43_phy *phy = &dev->phy; local 490 struct b43_phy *phy = &dev->phy; local 567 struct b43_phy *phy = &dev->phy; local 648 struct b43_phy *phy = &dev->phy; local 724 struct b43_phy *phy = &dev->phy; local 808 struct b43_phy *phy = &dev->phy; local 922 struct b43_phy *phy = &dev->phy; local [all...] |
/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-snps-pcie3.c | 3 * Rockchip PCIE3.0 phy driver 16 #include <linux/phy/pcie.h> 17 #include <linux/phy/phy.h> 58 struct phy *phy; member in struct:rockchip_p3phy_priv 69 static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument 71 struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); 82 dev_err(&phy 91 struct phy *phy = priv->phy; local 185 rochchip_p3phy_init(struct phy *phy) argument 208 rochchip_p3phy_exit(struct phy *phy) argument [all...] |