• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/e1000/

Lines Matching refs:u16

40 					  u16 *data, bool read, bool page_set);
43 u16 *data, bool read);
46 static const u16 e1000_m88_cable_length_table[] = {
52 static const u16 e1000_igp_2_cable_length_table[] = {
109 u16 E1000_UNUSEDARG data)
120 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data)
152 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data)
223 u16 phy_id;
224 u16 retry_count = 0;
285 s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data)
331 *data = (u16) mdic;
350 s32 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data)
416 s32 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data)
463 s32 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data)
467 u16 phy_data_swapped;
524 s32 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data)
579 s32 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data)
649 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data)
679 s32 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data)
709 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page)
731 static s32 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data,
750 (u16)offset);
771 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data)
785 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data)
800 static s32 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data,
819 (u16)offset);
839 s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data)
853 s32 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data)
869 static s32 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data,
895 *data = (u16)kmrnctrlsta;
913 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data)
928 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data)
944 static s32 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data,
984 s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data)
998 s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data)
1012 u16 phy_data;
1052 u16 phy_data;
1117 u16 phy_data;
1269 u16 phy_data;
1366 u16 data;
1476 u16 mii_autoneg_adv_reg;
1477 u16 mii_1000t_ctrl_reg = 0;
1629 u16 phy_ctrl;
1746 u16 phy_data;
1812 u16 phy_data;
1951 u16 data;
2015 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl)
2082 u16 data;
2166 u16 phy_data, offset, mask;
2211 u16 data;
2238 u16 data, offset, mask;
2281 u16 phy_data, offset, mask;
2315 u16 i, phy_status;
2354 u16 i, phy_status;
2412 u16 phy_data, index;
2438 u16 phy_data, phy_data2, is_cm;
2439 u16 index, default_page;
2561 u16 phy_data, i, agc_value = 0;
2562 u16 cur_agc_index, max_agc_index = 0;
2563 u16 min_agc_index = IGP02E1000_CABLE_LENGTH_TABLE_SIZE - 1;
2564 static const u16 agc_reg_array[IGP02E1000_PHY_CHANNEL_NUM] = {
2631 u16 phy_data;
2706 u16 data;
2768 u16 data;
2822 u16 phy_ctrl;
3113 s32 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data)
3173 s32 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data)
3232 s32 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data)
3235 u16 page = (u16)(offset >> IGP_PAGE_SHIFT);
3277 s32 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data)
3280 u16 page = (u16)(offset >> IGP_PAGE_SHIFT);
3322 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg)
3325 u16 temp;
3380 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg)
3431 u16 *data, bool read, bool page_set)
3434 u16 reg = BM_PHY_REG_NUM(offset);
3435 u16 page = BM_PHY_REG_PAGE(offset);
3436 u16 phy_reg = 0;
3495 u16 mii_reg = 0;
3513 u16 mii_reg = 0;
3533 static s32 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data,
3537 u16 page = BM_PHY_REG_PAGE(offset);
3538 u16 reg = BM_PHY_REG_NUM(offset);
3599 s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data)
3613 s32 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data)
3627 s32 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data)
3642 static s32 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data,
3646 u16 page = BM_PHY_REG_PAGE(offset);
3647 u16 reg = BM_PHY_REG_NUM(offset);
3682 u16 data2 = 0x7EFF;
3724 s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data)
3738 s32 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data)
3752 s32 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data)
3784 u16 *data, bool read)
3801 ret_val = e1000_write_phy_reg_mdic(hw, addr_reg, (u16)offset & 0x3F);
3833 u16 data;
3882 u16 data;
3906 u16 phy_data;
3955 u16 data;
4018 u16 phy_data, length;
4046 s32 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data)
4049 u16 page = offset >> GS40G_PAGE_SHIFT;
4078 s32 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data)
4081 u16 page = offset >> GS40G_PAGE_SHIFT;
4234 u16 retry_count = 0;