/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-phy-v2.c | 399 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_redrv_write() local 516 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_sfp_put_mux() local 535 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_sfp_get_mux() local 559 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_get_comm_ownership() local 604 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_mdio_mii_write() local 642 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_mii_write() local 664 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_mdio_mii_read() local 3075 if (phy_data->redrv && !phy_data->redrv_if) { in xgbe_phy_start() 3165 pdata->phy_data = phy_data; in xgbe_phy_init() 3196 phy_data->port_mode, phy_data->conn_type); in xgbe_phy_init() [all …]
|
A D | xgbe-phy-v1.c | 235 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_an_outcome() local 369 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_kr_mode() local 412 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_kx_2500_mode() local 455 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_kx_1000_mode() local 498 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_cur_mode() local 519 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_switch_mode() local 538 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_get_mode() local 608 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_valid_speed() local 684 phy_data = devm_kzalloc(pdata->dev, sizeof(*phy_data), GFP_KERNEL); in xgbe_phy_init() 685 if (!phy_data) in xgbe_phy_init() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_hw.c | 75 u16 phy_data; in atl1c_get_permanent_address() local 97 phy_data &= ~ANACTRL_HB_EN; in atl1c_get_permanent_address() 126 phy_data |= ANACTRL_HB_EN; in atl1c_get_permanent_address() 303 u16 reg, u16 *phy_data) in atl1c_read_phy_core() argument 310 *phy_data = 0; in atl1c_read_phy_core() 352 u16 reg, u16 phy_data) in atl1c_write_phy_core() argument 501 u16 phy_data; in atl1c_phy_reset() local 543 phy_data = in atl1c_phy_reset() 646 u16 phy_data; in atl1c_get_link_status() local 671 u16 phy_data; in atl1c_get_speed_and_duplex() local [all …]
|
A D | atl1c_ethtool.c | 132 u16 phy_data; in atl1c_get_regs() local 160 atl1c_read_phy_reg(hw, MII_BMCR, &phy_data); in atl1c_get_regs() 161 regs_buff[AT_REGS_LEN/sizeof(u32) - 2] = (u32) phy_data; in atl1c_get_regs() 162 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs() 163 regs_buff[AT_REGS_LEN/sizeof(u32) - 1] = (u32) phy_data; in atl1c_get_regs()
|
A D | atl1c_hw.h | 33 int atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data); 34 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data); 45 u16 reg, u16 *phy_data); 47 u16 reg, u16 phy_data); 49 u16 reg_addr, u16 *phy_data); 51 u16 reg_addr, u16 phy_data); 52 int atl1c_read_phy_dbg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data); 53 int atl1c_write_phy_dbg(struct atl1c_hw *hw, u16 reg_addr, u16 phy_data);
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | e1000_phy.c | 459 u16 phy_data; in igb_copper_link_setup_82580() local 526 u16 phy_data; in igb_copper_link_setup_m88() local 584 &phy_data); in igb_copper_link_setup_m88() 603 phy_data); in igb_copper_link_setup_m88() 630 u16 phy_data; in igb_copper_link_setup_m88_gen2() local 1136 u16 phy_data; in igb_phy_force_speed_duplex_igp() local 1201 u16 phy_data; in igb_phy_force_speed_duplex_m88() local 1210 &phy_data); in igb_phy_force_speed_duplex_m88() 1914 u16 phy_data; in igb_get_phy_info_m88() local 2449 u16 phy_data; in igb_phy_force_speed_duplex_82580() local [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | qt202x_phy.c | 162 struct qt202x_phy_data *phy_data = efx->phy_data; in qt2025c_firmware_id() local 182 struct qt202x_phy_data *phy_data = efx->phy_data; in qt2025c_bug17190_workaround() local 215 struct qt202x_phy_data *phy_data = efx->phy_data; in qt2025c_select_phy_mode() local 341 struct qt202x_phy_data *phy_data; in qt202x_phy_probe() local 344 if (!phy_data) in qt202x_phy_probe() 346 efx->phy_data = phy_data; in qt202x_phy_probe() 347 phy_data->phy_mode = efx->phy_mode; in qt202x_phy_probe() 349 phy_data->bug17190_timer = 0; in qt202x_phy_probe() 402 struct qt202x_phy_data *phy_data = efx->phy_data; in qt202x_phy_reconfigure() local 446 kfree(efx->phy_data); in qt202x_phy_remove() [all …]
|
A D | tenxpress.c | 165 struct tenxpress_phy_data *phy_data; in tenxpress_phy_probe() local 168 phy_data = kzalloc(sizeof(*phy_data), GFP_KERNEL); in tenxpress_phy_probe() 169 if (!phy_data) in tenxpress_phy_probe() 171 efx->phy_data = phy_data; in tenxpress_phy_probe() 172 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_probe() 321 struct tenxpress_phy_data *phy_data = efx->phy_data; in tenxpress_phy_reconfigure() local 325 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_reconfigure() 330 phy_data->phy_mode != PHY_MODE_NORMAL); in tenxpress_phy_reconfigure() 346 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_reconfigure() 382 kfree(efx->phy_data); in tenxpress_phy_remove() [all …]
|
A D | txc43128_phy.c | 323 struct txc43128_data *phy_data; in txc43128_phy_probe() local 326 phy_data = kzalloc(sizeof(*phy_data), GFP_KERNEL); in txc43128_phy_probe() 327 if (!phy_data) in txc43128_phy_probe() 329 efx->phy_data = phy_data; in txc43128_phy_probe() 330 phy_data->phy_mode = efx->phy_mode; in txc43128_phy_probe() 446 struct txc43128_data *phy_data = efx->phy_data; in txc43128_phy_reconfigure() local 469 phy_data->phy_mode = efx->phy_mode; in txc43128_phy_reconfigure() 470 phy_data->loopback_mode = efx->loopback_mode; in txc43128_phy_reconfigure() 483 kfree(efx->phy_data); in txc43128_phy_remove() 484 efx->phy_data = NULL; in txc43128_phy_remove() [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_hw.c | 1005 u16 phy_data; in e1000_copper_link_preconfig() local 1064 u16 phy_data; in e1000_copper_link_igp_setup() local 1101 phy_data &= in e1000_copper_link_igp_setup() 1205 u16 phy_data; in e1000_copper_link_mgp_setup() local 1311 u16 phy_data; in e1000_copper_link_autoneg() local 1419 u16 phy_data; in e1000_setup_copper_link() local 1648 u16 phy_data; in e1000_phy_force_speed_duplex() local 1908 u16 phy_data; in e1000_config_mac_to_phy() local 2375 u16 phy_data; in e1000_check_for_link() local 2556 u16 phy_data; in e1000_get_speed_and_duplex() local [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | phy.c | 588 u16 phy_data; in e1000_set_master_slave_mode() local 627 u16 phy_data; in e1000_copper_link_setup_82577() local 682 u16 phy_data; in e1000e_copper_link_setup_m88() local 734 phy_data); in e1000e_copper_link_setup_m88() 1185 u16 phy_data; in e1000e_phy_force_speed_duplex_igp() local 1249 u16 phy_data; in e1000e_phy_force_speed_duplex_m88() local 1554 u16 phy_data, offset, mask; in e1000e_check_downshift() local 1781 u16 phy_data, index; in e1000e_get_cable_length_m88() local 1884 u16 phy_data; in e1000e_get_phy_info_m88() local 3102 u16 phy_data; in e1000_phy_force_speed_duplex_82577() local [all …]
|
A D | 80003es2lan.c | 524 u16 phy_data; in e1000_phy_force_speed_duplex_80003es2lan() local 539 e_dbg("GG82563 PSCR: %X\n", phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 541 ret_val = e1e_rphy(hw, MII_BMCR, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 548 phy_data |= BMCR_RESET; in e1000_phy_force_speed_duplex_80003es2lan() 550 ret_val = e1e_wphy(hw, MII_BMCR, phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 587 phy_data &= ~GG82563_MSCR_TX_CLK_MASK; in e1000_phy_force_speed_duplex_80003es2lan() 589 phy_data |= GG82563_MSCR_TX_CLK_10MBPS_2_5; in e1000_phy_force_speed_duplex_80003es2lan() 591 phy_data |= GG82563_MSCR_TX_CLK_100MBPS_25; in e1000_phy_force_speed_duplex_80003es2lan() 596 phy_data |= GG82563_MSCR_ASSERT_CRS_ON_TX; in e1000_phy_force_speed_duplex_80003es2lan() 613 u16 phy_data, index; in e1000_get_cable_length_80003es2lan() local [all …]
|
A D | netdev.c | 3084 u16 phy_data; in e1000_setup_rctl() local 3087 phy_data &= 0xfff8; in e1000_setup_rctl() 3088 phy_data |= BIT(2); in e1000_setup_rctl() 3092 phy_data &= 0x0fff; in e1000_setup_rctl() 4183 u16 phy_data = 0; in e1000e_reset() local 4864 u16 phy_data; in e1000e_update_phy_stats() local 4875 &phy_data); in e1000e_update_phy_stats() 6346 u16 phy_data; in e1000e_s0ix_entry_flow() local 6494 u16 phy_data; in e1000e_s0ix_exit_flow() local 6938 u16 phy_data; in __e1000_resume() local [all …]
|
/linux/drivers/phy/rockchip/ |
A D | phy-rockchip-pcie.c | 66 struct rockchip_pcie_data *phy_data; member 103 regmap_write(rk_phy->reg_base, rk_phy->phy_data->pcie_conf, in phy_wr_cfg() 111 regmap_write(rk_phy->reg_base, rk_phy->phy_data->pcie_conf, in phy_wr_cfg() 116 regmap_write(rk_phy->reg_base, rk_phy->phy_data->pcie_conf, in phy_wr_cfg() 132 rk_phy->phy_data->pcie_status, in phy_rd_cfg() 146 rk_phy->phy_data->pcie_laneoff, in rockchip_pcie_phy_power_off() 167 rk_phy->phy_data->pcie_laneoff, in rockchip_pcie_phy_power_off() 200 rk_phy->phy_data->pcie_laneoff, in rockchip_pcie_phy_power_on() 215 rk_phy->phy_data->pcie_status, in rockchip_pcie_phy_power_on() 236 rk_phy->phy_data->pcie_status, in rockchip_pcie_phy_power_on() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | rxmq.c | 1309 switch (phy_data->info_type) { in iwl_mvm_decode_he_phy_data() 1378 switch (phy_data->info_type) { in iwl_mvm_decode_he_phy_data() 1392 switch (phy_data->info_type) { in iwl_mvm_decode_he_phy_data() 1584 switch (phy_data->info_type) { in iwl_mvm_decode_lsig() 1678 phy_data.d0 = desc->v3.phy_data0; in iwl_mvm_rx_mpdu_mq() 1679 phy_data.d1 = desc->v3.phy_data1; in iwl_mvm_rx_mpdu_mq() 1680 phy_data.d2 = desc->v3.phy_data2; in iwl_mvm_rx_mpdu_mq() 1681 phy_data.d3 = desc->v3.phy_data3; in iwl_mvm_rx_mpdu_mq() 1710 phy_data.d4 = desc->phy_data4; in iwl_mvm_rx_mpdu_mq() 1713 phy_data.info_type = in iwl_mvm_rx_mpdu_mq() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
A D | mcdi_port_common.c | 434 phy_data = kzalloc(sizeof(*phy_data), GFP_KERNEL); in efx_mcdi_phy_probe() 435 if (phy_data == NULL) in efx_mcdi_phy_probe() 450 efx->phy_data = phy_data; in efx_mcdi_phy_probe() 451 efx->phy_type = phy_data->type; in efx_mcdi_phy_probe() 467 phy_data->forced_cap = caps; in efx_mcdi_phy_probe() 528 kfree(phy_data); in efx_mcdi_phy_probe() 534 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_remove() local 536 efx->phy_data = NULL; in efx_mcdi_phy_remove() 537 kfree(phy_data); in efx_mcdi_phy_remove() 970 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_module_type() local [all …]
|
A D | mcdi_port.c | 75 struct efx_mcdi_phy_data *phy_data = efx->phy_data; in efx_mcdi_phy_get_caps() local 77 return phy_data->supported_cap; in efx_mcdi_phy_get_caps()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
A D | atl1e_hw.c | 200 int atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data) in atl1e_read_phy_reg() argument 221 *phy_data = (u16)val; in atl1e_read_phy_reg() 239 val = ((u32)(phy_data & MDIO_DATA_MASK)) << MDIO_DATA_SHIFT | in atl1e_write_phy_reg() 378 u16 phy_data; in atl1e_phy_commit() local 380 phy_data = BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART; in atl1e_phy_commit() 382 ret_val = atl1e_write_phy_reg(hw, MII_BMCR, phy_data); in atl1e_phy_commit() 586 u16 phy_data; in atl1e_get_speed_and_duplex() local 589 err = atl1e_read_phy_reg(hw, MII_AT001_PSSR, &phy_data); in atl1e_get_speed_and_duplex() 593 if (!(phy_data & MII_AT001_PSSR_SPD_DPLX_RESOLVED)) in atl1e_get_speed_and_duplex() 596 switch (phy_data & MII_AT001_PSSR_SPEED) { in atl1e_get_speed_and_duplex() [all …]
|
/linux/drivers/net/ethernet/atheros/atlx/ |
A D | atlx.c | 31 static s32 atlx_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data); 82 u16 phy_data = 0; in atlx_check_for_link() local 86 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link() 87 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link() 91 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link() 174 u16 phy_data; in atlx_clear_phy_int() local 178 atlx_read_phy_reg(&adapter->hw, 19, &phy_data); in atlx_clear_phy_int()
|
A D | atl1.c | 358 *phy_data = (u16) val; in atl1_read_phy_reg() 638 u16 phy_data; in atl1_phy_reset() local 646 phy_data = in atl1_phy_reset() 654 phy_data = in atl1_phy_reset() 870 u16 phy_data; in atl1_get_speed_and_duplex() local 1283 u16 speed, duplex, phy_data; in atl1_check_link() local 1368 phy_data = in atl1_check_link() 3253 u16 phy_data; in atl1_set_link_ksettings() local 3303 phy_data = in atl1_set_link_ksettings() 3311 phy_data = in atl1_set_link_ksettings() [all …]
|
A D | atl2.c | 550 u16 phy_data = 0; in atl2_check_for_link() local 572 u16 phy_data; in atl2_clear_phy_int() local 1149 u16 speed, duplex, phy_data; in atl2_check_link() local 1814 u16 phy_data; in atl2_get_regs() local 1861 regs_buff[40] = (u32)phy_data; in atl2_get_regs() 1863 regs_buff[41] = (u32)phy_data; in atl2_get_regs() 2425 u16 phy_data; in atl2_get_speed_and_duplex() local 2435 switch (phy_data & MII_ATLX_PSSR_SPEED) { in atl2_get_speed_and_duplex() 2446 if (phy_data & MII_ATLX_PSSR_DPLX) in atl2_get_speed_and_duplex() 2481 *phy_data = (u16)val; in atl2_read_phy_reg() [all …]
|
/linux/drivers/phy/ti/ |
A D | phy-omap-usb2.c | 375 struct usb_phy_data *phy_data; in omap_usb2_probe() local 382 phy_data = (struct usb_phy_data *)of_id->data; in omap_usb2_probe() 395 phy->phy.label = phy_data->label; in omap_usb2_probe() 398 phy->mask = phy_data->mask; in omap_usb2_probe() 399 phy->power_on = phy_data->power_on; in omap_usb2_probe() 400 phy->power_off = phy_data->power_off; in omap_usb2_probe() 401 phy->flags = phy_data->flags; in omap_usb2_probe() 479 if (phy_data->flags & OMAP_USB2_HAS_SET_VBUS) in omap_usb2_probe() 481 if (phy_data->flags & OMAP_USB2_HAS_START_SRP) in omap_usb2_probe()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_phy.h | 129 u32 device_type, u16 *phy_data); 131 u32 device_type, u16 phy_data); 133 u32 device_type, u16 *phy_data); 135 u32 device_type, u16 phy_data);
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | hw.c | 62 u16 reg, u16 *phy_data) in alx_read_phy_core() argument 67 *phy_data = 0; in alx_read_phy_core() 94 *phy_data = ALX_GET_FIELD(val, ALX_MDIO_DATA); in alx_read_phy_core() 99 u16 reg, u16 phy_data) in alx_write_phy_core() argument 115 phy_data << ALX_MDIO_DATA_SHIFT | in alx_write_phy_core() 121 phy_data << ALX_MDIO_DATA_SHIFT | in alx_write_phy_core() 131 return alx_read_phy_core(hw, false, 0, reg, phy_data); in __alx_read_phy_reg() 136 return alx_write_phy_core(hw, false, 0, reg, phy_data); in __alx_write_phy_reg() 171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in alx_read_phy_reg() argument 176 err = __alx_read_phy_reg(hw, reg, phy_data); in alx_read_phy_reg() [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
A D | dw_hdmi-rockchip.c | 411 .phy_data = &rk3228_chip_data, 428 .phy_data = &rk3288_chip_data, 448 .phy_data = &rk3328_chip_data, 466 .phy_data = &rk3399_chip_data, 512 hdmi->chip_data = plat_data->phy_data; in dw_hdmi_rockchip_bind() 513 plat_data->phy_data = hdmi; in dw_hdmi_rockchip_bind()
|