Home
last modified time | relevance | path

Searched refs:phy_data (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/dev/axgbe/
H A Dxgbe-phy-v2.c436 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_redrv_write() local
461 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
475 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
558 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_sfp_put_mux() local
562 if (phy_data->sfp_comm == XGBE_SFP_COMM_DIRECT) in xgbe_phy_sfp_put_mux()
568 i2c_op.target = phy_data->sfp_mux_address; in xgbe_phy_sfp_put_mux()
578 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_sfp_get_mux() local
582 if (phy_data->sfp_comm == XGBE_SFP_COMM_DIRECT) in xgbe_phy_sfp_get_mux()
586 mux_channel = 1 << phy_data->sfp_mux_channel; in xgbe_phy_sfp_get_mux()
588 i2c_op.target = phy_data->sfp_mux_address; in xgbe_phy_sfp_get_mux()
[all …]
H A Dxgbe-phy-v1.c151 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_an_outcome() local
191 if (phy_data->speed_set == XGBE_SPEEDSET_2500_10000) in xgbe_phy_an_outcome()
300 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_kr_mode() local
324 phy_data->cdr_rate[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
326 phy_data->tx_amp[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
328 phy_data->blwc[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
330 phy_data->pq_skew[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
332 phy_data->dfe_tap_cfg[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
334 phy_data->dfe_tap_ena[XGBE_SPEED_10000]); in xgbe_phy_kr_mode()
344 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_kx_2500_mode() local
[all …]
H A Dxgbe.h1221 void *phy_data; member
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drxmq.c956 struct iwl_mvm_rx_phy_data *phy_data, in iwl_mvm_reorder()
959 u32 phy_data2 = le32_to_cpu(phy_data->d2); in iwl_mvm_reorder()
960 u32 phy_data3 = le32_to_cpu(phy_data->d3); in iwl_mvm_reorder()
961 u16 phy_data4 = le16_to_cpu(phy_data->d4); in iwl_mvm_reorder()
962 u32 rate_n_flags = phy_data->rate_n_flags; in iwl_mvm_reorder()
1007 iwl_mvm_decode_he_phy_ru_alloc(struct iwl_mvm_rx_phy_data *phy_data, in iwl_mvm_reorder()
1020 u8 ru = le32_get_bits(phy_data->d1, IWL_RX_PHY_DATA1_HE_RU_ALLOC_MASK); in iwl_mvm_reorder()
1021 u32 rate_n_flags = phy_data->rate_n_flags; in iwl_mvm_reorder()
1061 if (phy_data->d1 & cpu_to_le32(IWL_RX_PHY_DATA1_HE_RU_ALLOC_SEC80)) in iwl_mvm_reorder()
1089 struct iwl_mvm_rx_phy_data *phy_data, in iwl_mvm_reorder()
1233 iwl_mvm_decode_he_mu_ext(struct iwl_mvm * mvm,struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_radiotap_he_mu * he_mu) iwl_mvm_decode_he_mu_ext() argument
1284 iwl_mvm_decode_he_phy_ru_alloc(struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_radiotap_he * he,struct ieee80211_radiotap_he_mu * he_mu,struct ieee80211_rx_status * rx_status) iwl_mvm_decode_he_phy_ru_alloc() argument
1366 iwl_mvm_decode_he_phy_data(struct iwl_mvm * mvm,struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_radiotap_he * he,struct ieee80211_radiotap_he_mu * he_mu,struct ieee80211_rx_status * rx_status,int queue) iwl_mvm_decode_he_phy_data() argument
1547 iwl_mvm_decode_eht_ext_mu(struct iwl_mvm * mvm,struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_rx_status * rx_status,struct ieee80211_radiotap_eht * eht,struct ieee80211_radiotap_eht_usig * usig) iwl_mvm_decode_eht_ext_mu() argument
1657 iwl_mvm_decode_eht_ext_tb(struct iwl_mvm * mvm,struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_rx_status * rx_status,struct ieee80211_radiotap_eht * eht,struct ieee80211_radiotap_eht_usig * usig) iwl_mvm_decode_eht_ext_tb() argument
1773 iwl_mvm_decode_eht_phy_data(struct iwl_mvm * mvm,struct iwl_mvm_rx_phy_data * phy_data,struct ieee80211_rx_status * rx_status,struct ieee80211_radiotap_eht * eht,struct ieee80211_radiotap_eht_usig * usig) iwl_mvm_decode_eht_phy_data() argument
1890 iwl_mvm_rx_eht(struct iwl_mvm * mvm,struct sk_buff * skb,struct iwl_mvm_rx_phy_data * phy_data,int queue) iwl_mvm_rx_eht() argument
2033 iwl_mvm_rx_he(struct iwl_mvm * mvm,struct sk_buff * skb,struct iwl_mvm_rx_phy_data * phy_data,int queue) iwl_mvm_rx_he() argument
2160 iwl_mvm_decode_lsig(struct sk_buff * skb,struct iwl_mvm_rx_phy_data * phy_data) iwl_mvm_decode_lsig() argument
2228 iwl_mvm_rx_fill_status(struct iwl_mvm * mvm,struct sk_buff * skb,struct iwl_mvm_rx_phy_data * phy_data,int queue) iwl_mvm_rx_fill_status() argument
2351 struct iwl_mvm_rx_phy_data phy_data = {}; iwl_mvm_rx_mpdu_mq() local
2661 struct iwl_mvm_rx_phy_data phy_data; iwl_mvm_rx_monitor_no_data() local
[all...]
/freebsd/sys/dev/e1000/
H A De1000_phy.c1017 u16 phy_data; in e1000_set_master_slave_mode() local
1020 ret_val = hw->phy.ops.read_reg(hw, PHY_1000T_CTRL, &phy_data); in e1000_set_master_slave_mode()
1025 hw->phy.original_ms_type = (phy_data & CR_1000T_MS_ENABLE) ? in e1000_set_master_slave_mode()
1026 ((phy_data & CR_1000T_MS_VALUE) ? in e1000_set_master_slave_mode()
1032 phy_data |= (CR_1000T_MS_ENABLE | CR_1000T_MS_VALUE); in e1000_set_master_slave_mode()
1035 phy_data |= CR_1000T_MS_ENABLE; in e1000_set_master_slave_mode()
1036 phy_data &= ~(CR_1000T_MS_VALUE); in e1000_set_master_slave_mode()
1039 phy_data &= ~CR_1000T_MS_ENABLE; in e1000_set_master_slave_mode()
1045 return hw->phy.ops.write_reg(hw, PHY_1000T_CTRL, phy_data); in e1000_set_master_slave_mode()
1057 u16 phy_data; in e1000_copper_link_setup_82577() local
[all …]
H A De1000_80003es2lan.c592 u16 phy_data; in e1000_phy_force_speed_duplex_80003es2lan() local
603 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_CTRL, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
607 phy_data &= ~GG82563_PSCR_CROSSOVER_MODE_AUTO; in e1000_phy_force_speed_duplex_80003es2lan()
608 ret_val = hw->phy.ops.write_reg(hw, GG82563_PHY_SPEC_CTRL, phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
612 DEBUGOUT1("GG82563 PSCR: %X\n", phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
614 ret_val = hw->phy.ops.read_reg(hw, PHY_CONTROL, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
618 e1000_phy_force_speed_duplex_setup(hw, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
621 phy_data |= MII_CR_RESET; in e1000_phy_force_speed_duplex_80003es2lan()
623 ret_val = hw->phy.ops.write_reg(hw, PHY_CONTROL, phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
654 &phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
[all …]
H A De1000_82540.c533 u16 phy_data; in e1000_set_vco_speed_82540() local
548 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_GEN_CONTROL, &phy_data); in e1000_set_vco_speed_82540()
552 phy_data &= ~M88E1000_PHY_VCO_REG_BIT8; in e1000_set_vco_speed_82540()
553 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, phy_data); in e1000_set_vco_speed_82540()
563 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_GEN_CONTROL, &phy_data); in e1000_set_vco_speed_82540()
567 phy_data |= M88E1000_PHY_VCO_REG_BIT11; in e1000_set_vco_speed_82540()
568 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, phy_data); in e1000_set_vco_speed_82540()
H A De1000_82541.c675 u16 phy_data, phy_saved_data, speed, duplex, i; in e1000_config_dsp_after_link_change_82541() local
707 &phy_data); in e1000_config_dsp_after_link_change_82541()
711 phy_data &= ~IGP01E1000_PHY_EDAC_MU_INDEX; in e1000_config_dsp_after_link_change_82541()
715 phy_data); in e1000_config_dsp_after_link_change_82541()
729 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, &phy_data); in e1000_config_dsp_after_link_change_82541()
736 &phy_data); in e1000_config_dsp_after_link_change_82541()
740 idle_errs += (phy_data & SR_1000T_IDLE_ERROR_CNT); in e1000_config_dsp_after_link_change_82541()
781 &phy_data); in e1000_config_dsp_after_link_change_82541()
785 phy_data &= ~IGP01E1000_PHY_EDAC_MU_INDEX; in e1000_config_dsp_after_link_change_82541()
786 phy_data |= IGP01E1000_PHY_EDAC_SIGN_EXT_9_BITS; in e1000_config_dsp_after_link_change_82541()
[all …]
H A De1000_82575.c2841 u16 phy_data; in e1000_set_eee_i354() local
2857 &phy_data); in e1000_set_eee_i354()
2861 phy_data |= E1000_M88E1543_EEE_CTRL_1_MS; in e1000_set_eee_i354()
2863 phy_data); in e1000_set_eee_i354()
2875 &phy_data); in e1000_set_eee_i354()
2880 phy_data |= E1000_EEE_ADV_100_SUPPORTED; in e1000_set_eee_i354()
2882 phy_data &= ~E1000_EEE_ADV_100_SUPPORTED; in e1000_set_eee_i354()
2885 phy_data |= E1000_EEE_ADV_1000_SUPPORTED; in e1000_set_eee_i354()
2887 phy_data &= ~E1000_EEE_ADV_1000_SUPPORTED; in e1000_set_eee_i354()
2891 phy_data); in e1000_set_eee_i354()
[all …]
H A De1000_ich8lan.c2243 u16 phy_data; in e1000_write_smbus_addr() local
2251 ret_val = e1000_read_phy_reg_hv_locked(hw, HV_SMB_ADDR, &phy_data); in e1000_write_smbus_addr()
2255 phy_data &= ~HV_SMB_ADDR_MASK; in e1000_write_smbus_addr()
2256 phy_data |= (strap >> E1000_STRAP_SMBUS_ADDRESS_SHIFT); in e1000_write_smbus_addr()
2257 phy_data |= HV_SMB_ADDR_PEC_EN | HV_SMB_ADDR_VALID; in e1000_write_smbus_addr()
2262 phy_data &= ~HV_SMB_ADDR_FREQ_MASK; in e1000_write_smbus_addr()
2263 phy_data |= (freq & (1 << 0)) << in e1000_write_smbus_addr()
2265 phy_data |= (freq & (1 << 1)) << in e1000_write_smbus_addr()
2272 return e1000_write_phy_reg_hv_locked(hw, HV_SMB_ADDR, phy_data); in e1000_write_smbus_addr()
2641 u16 phy_data; in e1000_hv_phy_workarounds_ich8lan() local
[all …]
H A De1000_82543.c1407 u16 phy_data; in e1000_config_mac_to_phy_82543() local
1423 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_STATUS, &phy_data); in e1000_config_mac_to_phy_82543()
1428 if (phy_data & M88E1000_PSSR_DPLX) in e1000_config_mac_to_phy_82543()
1437 if ((phy_data & M88E1000_PSSR_SPEED) == M88E1000_PSSR_1000MBS) in e1000_config_mac_to_phy_82543()
1439 else if ((phy_data & M88E1000_PSSR_SPEED) == M88E1000_PSSR_100MBS) in e1000_config_mac_to_phy_82543()
/freebsd/sys/cam/scsi/
H A Dscsi_enc.h232 struct ses_elm_sas_device_phy phy_data; member
239 struct ses_elm_sas_expander_phy phy_data; member
246 struct ses_elm_sas_port_phy phy_data; member
/freebsd/sys/dev/ixgbe/
H A Dixgbe_phy.h167 u16 *phy_data);
169 u16 phy_data);
171 u32 device_type, u16 *phy_data);
173 u32 device_type, u16 phy_data);
H A Dixgbe_phy.c598 u16 *phy_data) in ixgbe_read_phy_reg_mdi() argument
666 *phy_data = (u16)(data); in ixgbe_read_phy_reg_mdi()
680 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_generic() argument
690 status = hw->phy.ops.read_reg_mdi(hw, reg_addr, device_type, phy_data); in ixgbe_read_phy_reg_generic()
706 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_mdi() argument
711 IXGBE_WRITE_REG(hw, IXGBE_MSRWD, (u32)phy_data); in ixgbe_write_phy_reg_mdi()
780 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_generic() argument
789 phy_data); in ixgbe_write_phy_reg_generic()
1001 u16 phy_data = 0; in ixgbe_check_phy_link_tnx() local
1019 &phy_data); in ixgbe_check_phy_link_tnx()
[all …]
H A Dixgbe_api.h71 u16 *phy_data);
73 u16 phy_data);
215 u32 device_type, u32 *phy_data);
217 u32 device_type, u32 phy_data);
H A Dixgbe_api.c560 u16 *phy_data) in ixgbe_read_phy_reg() argument
566 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_read_phy_reg()
579 u16 phy_data) in ixgbe_write_phy_reg() argument
585 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_write_phy_reg()
1306 u32 device_type, u32 *phy_data) in ixgbe_read_iosf_sb_reg() argument
1309 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_read_iosf_sb_reg()
1322 u32 device_type, u32 phy_data) in ixgbe_write_iosf_sb_reg() argument
1325 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_write_iosf_sb_reg()
H A Dixgbe_x550.h101 u32 device_type, u16 *phy_data);
103 u32 device_type, u16 phy_data);
H A Dixgbe_x550.c521 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_x550em() argument
523 UNREFERENCED_4PARAMETER(*hw, reg_addr, device_type, *phy_data); in ixgbe_read_phy_reg_x550em()
528 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_x550em() argument
530 UNREFERENCED_4PARAMETER(*hw, reg_addr, device_type, phy_data); in ixgbe_write_phy_reg_x550em()
4319 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_x550a() argument
4329 status = hw->phy.ops.read_reg_mdi(hw, reg_addr, device_type, phy_data); in ixgbe_read_phy_reg_x550a()
4347 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_x550a() argument
4356 phy_data); in ixgbe_write_phy_reg_x550a()
4518 u16 phy_data; in ixgbe_led_on_t_X550em() local
4527 IXGBE_MDIO_VENDOR_SPECIFIC_1_DEV_TYPE, &phy_data); in ixgbe_led_on_t_X550em()
[all …]
/freebsd/sys/dev/ice/
H A Dice_lib.c136 struct ice_phy_data *phy_data);
3182 * @phy_data: device PHY data in ice_sysctl_advertise_speed()
3190 struct ice_phy_data *phy_data) in ice_sysctl_advertise_speed()
3205 switch (phy_data->report_mode) { in ice_sysctl_advertise_speed()
3210 report_type = phy_data->report_mode >> 1; in ice_sysctl_advertise_speed()
3214 "%s: phy_data.report_mode \"%u\" doesn't exist\n", in ice_sysctl_advertise_speed()
3215 __func__, phy_data->report_mode); in ice_sysctl_advertise_speed()
3223 if (phy_data->user_speeds_orig == 0)
3224 phy_data->user_speeds_orig = USHRT_MAX;
3228 status = ice_aq_get_phy_caps(pi, false, phy_data
3096 ice_intersect_phy_types_and_speeds(struct ice_softc * sc,struct ice_phy_data * phy_data) ice_intersect_phy_types_and_speeds() argument
3184 struct ice_phy_data phy_data = { 0 }; ice_sysctl_advertise_speed() local
9357 struct ice_phy_data phy_data = { 0 }; ice_apply_saved_phy_req_to_cfg() local
[all...]