Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_phy.c1011 u16 phy_data; in e1000_set_master_slave_mode() local
1051 u16 phy_data; in e1000_copper_link_setup_82577() local
1116 u16 phy_data; in e1000_copper_link_setup_m88() local
1196 &phy_data); in e1000_copper_link_setup_m88()
1215 phy_data); in e1000_copper_link_setup_m88()
1241 &phy_data); in e1000_copper_link_setup_m88()
1268 u16 phy_data; in e1000_copper_link_setup_m88_gen2() local
1745 u16 phy_data; in e1000_phy_force_speed_duplex_igp() local
1811 u16 phy_data; in e1000_phy_force_speed_duplex_m88() local
2630 u16 phy_data; in e1000_get_phy_info_m88() local
[all …]
H A De1000_80003es2lan.c665 u16 phy_data; in e1000_phy_force_speed_duplex_80003es2lan() local
685 DEBUGOUT1("GG82563 PSCR: %X\n", phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
694 phy_data |= MII_CR_RESET; in e1000_phy_force_speed_duplex_80003es2lan()
727 &phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
734 phy_data &= ~GG82563_MSCR_TX_CLK_MASK; in e1000_phy_force_speed_duplex_80003es2lan()
736 phy_data |= GG82563_MSCR_TX_CLK_10MBPS_2_5; in e1000_phy_force_speed_duplex_80003es2lan()
738 phy_data |= GG82563_MSCR_TX_CLK_100MBPS_25; in e1000_phy_force_speed_duplex_80003es2lan()
743 phy_data |= GG82563_MSCR_ASSERT_CRS_ON_TX; in e1000_phy_force_speed_duplex_80003es2lan()
745 phy_data); in e1000_phy_force_speed_duplex_80003es2lan()
761 u16 phy_data, index; in e1000_get_cable_length_80003es2lan() local
[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.c3079 u16 phy_data; in e1000_set_eee_i354() local
3095 &phy_data); in e1000_set_eee_i354()
3099 phy_data |= E1000_M88E1543_EEE_CTRL_1_MS; in e1000_set_eee_i354()
3101 phy_data); in e1000_set_eee_i354()
3113 &phy_data); in e1000_set_eee_i354()
3118 phy_data |= E1000_EEE_ADV_100_SUPPORTED; in e1000_set_eee_i354()
3129 phy_data); in e1000_set_eee_i354()
3134 &phy_data); in e1000_set_eee_i354()
3142 phy_data); in e1000_set_eee_i354()
3161 u16 phy_data; in e1000_get_eee_status_i354() local
[all …]
H A De1000_ich8lan.c2258 u16 phy_data; in e1000_write_smbus_addr() local
2270 phy_data &= ~HV_SMB_ADDR_MASK; in e1000_write_smbus_addr()
2271 phy_data |= (strap >> E1000_STRAP_SMBUS_ADDRESS_SHIFT); in e1000_write_smbus_addr()
2272 phy_data |= HV_SMB_ADDR_PEC_EN | HV_SMB_ADDR_VALID; in e1000_write_smbus_addr()
2277 phy_data &= ~HV_SMB_ADDR_FREQ_MASK; in e1000_write_smbus_addr()
2278 phy_data |= (freq & (1 << 0)) << in e1000_write_smbus_addr()
2280 phy_data |= (freq & (1 << 1)) << in e1000_write_smbus_addr()
2659 u16 phy_data; in e1000_hv_phy_workarounds_ich8lan() local
2725 phy_data & 0x00FF); in e1000_hv_phy_workarounds_ich8lan()
6115 u16 phy_data; in e1000_clear_hw_cntrs_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()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c1546 uint16_t phy_data; local
1660 phy_data &= ~CR_1000T_MS_ENABLE;
1683 phy_data |= CR_1000T_MS_ENABLE;
2063 uint16_t phy_data; local
2408 uint16_t phy_data; local
2643 uint16_t phy_data; local
2875 *phy_data = (uint16_t) mdic;
2958 mdic = (((uint32_t) phy_data) |
2992 mdic |= (uint32_t) phy_data;
3052 uint16_t phy_data; local
[all …]
H A Ddavicom.c211 u16 phy_data; in phy_read() local
242 for (phy_data=0, i=0; i<16; i++) { in phy_read()
243 phy_data<<=1; in phy_read()
244 phy_data|=phy_read_1bit(io_dcr9); in phy_read()
247 return phy_data; in phy_read()
253 static void phy_write(int location, u16 phy_data) in phy_write() argument
288 phy_write_1bit(io_dcr9, phy_data&i ? PHY_DATA_1: PHY_DATA_0); in phy_write()
294 static void phy_write_1bit(u32 ee_addr, u32 phy_data) in phy_write_1bit() argument
310 int phy_data; in phy_read_1bit() local
317 phy_data=(inl(ee_addr)>>19) & 0x1; in phy_read_1bit()
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
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.c585 u16 *phy_data) in ixgbe_read_phy_reg_mdi() argument
653 *phy_data = (u16)(data); in ixgbe_read_phy_reg_mdi()
667 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_generic() argument
693 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_mdi() argument
767 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_generic() argument
776 phy_data); in ixgbe_write_phy_reg_generic()
1000 u16 phy_data = 0; in ixgbe_check_phy_link_tnx() local
1018 &phy_data); in ixgbe_check_phy_link_tnx()
1020 phy_speed = phy_data & in ixgbe_check_phy_link_tnx()
1159 u16 phy_data = 0; in ixgbe_reset_phy_nl() local
[all …]
H A Dixgbe_api.c530 u16 *phy_data) in ixgbe_read_phy_reg() argument
536 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_read_phy_reg()
549 u16 phy_data) in ixgbe_write_phy_reg() argument
555 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_write_phy_reg()
1240 u32 device_type, u32 *phy_data) in ixgbe_read_iosf_sb_reg() argument
1243 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_read_iosf_sb_reg()
1256 u32 device_type, u32 phy_data) in ixgbe_write_iosf_sb_reg() argument
1259 device_type, phy_data), IXGBE_NOT_IMPLEMENTED); in ixgbe_write_iosf_sb_reg()
H A Dixgbe_api.h71 u16 *phy_data);
73 u16 phy_data);
213 u32 device_type, u32 *phy_data);
215 u32 device_type, u32 phy_data);
H A Dixgbe_x550.h106 u32 device_type, u16 *phy_data);
108 u32 device_type, u16 phy_data);
H A Dixgbe_x550.c522 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_x550em() argument
529 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_x550em() argument
4358 u32 device_type, u16 *phy_data) in ixgbe_read_phy_reg_x550a() argument
4386 u32 device_type, u16 phy_data) in ixgbe_write_phy_reg_x550a() argument
4395 phy_data); in ixgbe_write_phy_reg_x550a()
4542 u16 phy_data; in ixgbe_led_on_t_X550em() local
4551 IXGBE_MDIO_VENDOR_SPECIFIC_1_DEV_TYPE, &phy_data); in ixgbe_led_on_t_X550em()
4552 phy_data |= IXGBE_X557_LED_MANUAL_SET_MASK; in ixgbe_led_on_t_X550em()
4554 IXGBE_MDIO_VENDOR_SPECIFIC_1_DEV_TYPE, phy_data); in ixgbe_led_on_t_X550em()
4567 u16 phy_data; in ixgbe_led_off_t_X550em() local
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c156 uint16_t phy_data; in e1000g_rx_setup() local
334 (void) e1000_read_phy_reg(hw, PHY_REG(770, 26), &phy_data); in e1000g_rx_setup()
335 phy_data &= 0xfff8; in e1000g_rx_setup()
336 phy_data |= (1 << 2); in e1000g_rx_setup()
337 (void) e1000_write_phy_reg(hw, PHY_REG(770, 26), phy_data); in e1000g_rx_setup()
340 (void) e1000_read_phy_reg(hw, 22, &phy_data); in e1000g_rx_setup()
341 phy_data &= 0x0fff; in e1000g_rx_setup()
342 phy_data |= (1 << 14); in e1000g_rx_setup()
345 (void) e1000_write_phy_reg(hw, 22, phy_data); in e1000g_rx_setup()
H A De1000g_workarounds.c201 u16 phy_data = 0; in e1000_igp_ttl_workaround_82547() local
239 &phy_data); in e1000_igp_ttl_workaround_82547()
246 if (phy_data & NWAY_ER_PAR_DETECT_FAULT) { in e1000_igp_ttl_workaround_82547()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c2882 uint16_t phy_data = 0; in nxge_nlp2020_i2c_read() local
2892 phy_data = ((address + 1) << NLP2020_XCVR_I2C_ADDR_SH) | reg; in nxge_nlp2020_i2c_read()
2894 phy_dev, phy_reg, phy_data) != NXGE_OK) in nxge_nlp2020_i2c_read()
2906 &phy_data); in nxge_nlp2020_i2c_read()
2907 *data = (phy_data >> 8); in nxge_nlp2020_i2c_read()