/freebsd-12-stable/sys/dev/isci/scil/ |
H A D | scic_sds_phy_registers.h | 62 * @brief This file contains the macros used by the phy object to read/write 77 * Macro to read the transport layer register associated with this phy 80 #define scu_transport_layer_read(phy, reg) \ 82 scic_sds_phy_get_controller(phy), \ 83 (phy)->transport_layer_registers->reg \ 87 * Macro to write the transport layer register associated with this phy 90 #define scu_transport_layer_write(phy, reg, value) \ 92 scic_sds_phy_get_controller(phy), \ 93 (phy)->transport_layer_registers->reg, \ 98 //* Transport Layer registers controlled by the phy objec [all...] |
H A D | scic_phy.h | 63 * by an SCIC user on a phy (SAS or SATA) object. 86 * supplied phy. This field may be set to SCI_INVALID_HANDLE 87 * if the phy is not currently contained in a port. 92 * This field specifies the maximum link rate for which this phy 98 * This field specifies the link rate at which the phy is 105 * transmitted to the connected phy. 110 * This field specifies the index of the phy in relation to other 120 * SAS phy, that can be retrieved. 141 * SATA phy, that can be retrieved. 153 * on the specified phy [all...] |
H A D | scic_sds_phy.h | 77 * This is the timeout value for the SATA phy to wait for a SIGNATURE FIS 162 * Debug code to record the state transitions for the phy object 179 * @brief This enumeration provides a named phy type for the state machine 184 * This is an unknown phy type since there is either nothing on the other 185 * end or we have not detected the phy type as yet. 206 * represent the core phy object and SCU hardware protocol engine. 213 * This field specifies the port object that owns/contains this phy. 218 * This field indicates whether the phy supports 1.5 Gb/s, 3.0 Gb/s, 224 * This member specifies the protocol being utilized on this phy. This 226 * a remote phy [all...] |
/freebsd-12-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_phy.h | 33 extern int arswitch_readphy_external(device_t dev, int phy, int reg); 34 extern int arswitch_writephy_external(device_t dev, int phy, int reg, int data); 36 extern int arswitch_readphy_internal(device_t dev, int phy, int reg); 37 extern int arswitch_writephy_internal(device_t dev, int phy, int reg, int data);
|
H A D | arswitch_reg.c | 67 arswitch_split_setpage(device_t dev, uint32_t addr, uint16_t *phy, argument 74 *phy = (addr >> 6) & 0x7; 92 uint16_t phy, reg; local 94 arswitch_split_setpage(dev, addr, &phy, ®); 95 return (MDIO_READREG(device_get_parent(dev), 0x10 | phy, reg)); 104 uint16_t phy, reg; local 106 arswitch_split_setpage(dev, addr, &phy, ®); 107 return (MDIO_WRITEREG(device_get_parent(dev), 0x10 | phy, reg, data)); 120 arswitch_writedbg(device_t dev, int phy, uint16_t dbg_addr, argument 123 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 125 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 130 arswitch_writemmd(device_t dev, int phy, uint16_t dbg_addr, uint16_t dbg_data) argument 133 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 135 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 140 arswitch_reg_read32(device_t dev, int phy, int reg) argument 150 arswitch_reg_write32(device_t dev, int phy, int reg, uint32_t value) argument 178 uint16_t phy, reg; local 188 uint16_t phy, reg; local 235 uint16_t phy, reg; local 253 uint16_t phy, reg; local [all...] |
H A D | arswitch_phy.c | 73 arswitch_readphy_external(device_t dev, int phy, int reg) argument 81 ret = (MDIO_READREG(device_get_parent(dev), phy, reg)); 83 "%s: phy=0x%08x, reg=0x%08x, ret=0x%08x\n", 84 __func__, phy, reg, ret); 91 arswitch_writephy_external(device_t dev, int phy, int reg, int data) argument 98 (void) MDIO_WRITEREG(device_get_parent(dev), phy, local 101 "%s: phy=0x%08x, reg=0x%08x, data=0x%08x\n", 102 __func__, phy, reg, data); 113 arswitch_readphy_internal(device_t dev, int phy, int reg) argument 123 if (phy < 174 arswitch_writephy_internal(device_t dev, int phy, int reg, int data) argument [all...] |
/freebsd-12-stable/sys/net80211/ |
H A D | ieee80211_phy.c | 81 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */ 82 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */ 83 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */ 84 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */ 85 [4] = { .phy = PBCC, 22000, 0x04, 44, 3 } /* 22 Mb */ 94 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 }, 95 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 }, 96 [2] = { .phy = CCK, 5500, 0x04, B(11), 2 }, 97 [3] = { .phy = CCK, 11000, 0x04, B(22), 3 }, 98 [4] = { .phy [all...] |
/freebsd-12-stable/sys/dev/e1000/ |
H A D | e1000_phy.c | 73 struct e1000_phy_info *phy = &hw->phy; local 77 phy->ops.init_params = e1000_null_ops_generic; 78 phy->ops.acquire = e1000_null_ops_generic; 79 phy->ops.check_polarity = e1000_null_ops_generic; 80 phy->ops.check_reset_block = e1000_null_ops_generic; 81 phy->ops.commit = e1000_null_ops_generic; 82 phy->ops.force_speed_duplex = e1000_null_ops_generic; 83 phy->ops.get_cfg_done = e1000_null_ops_generic; 84 phy 221 struct e1000_phy_info *phy = &hw->phy; local 287 struct e1000_phy_info *phy = &hw->phy; local 352 struct e1000_phy_info *phy = &hw->phy; local 418 struct e1000_phy_info *phy = &hw->phy; local 465 struct e1000_phy_info *phy = &hw->phy; local 1115 struct e1000_phy_info *phy = &hw->phy; local 1267 struct e1000_phy_info *phy = &hw->phy; local 1364 struct e1000_phy_info *phy = &hw->phy; local 1474 struct e1000_phy_info *phy = &hw->phy; local 1627 struct e1000_phy_info *phy = &hw->phy; local 1744 struct e1000_phy_info *phy = &hw->phy; local 1810 struct e1000_phy_info *phy = &hw->phy; local 1949 struct e1000_phy_info *phy = &hw->phy; local 2080 struct e1000_phy_info *phy = &hw->phy; local 2164 struct e1000_phy_info *phy = &hw->phy; local 2209 struct e1000_phy_info *phy = &hw->phy; local 2236 struct e1000_phy_info *phy = &hw->phy; local 2279 struct e1000_phy_info *phy = &hw->phy; local 2410 struct e1000_phy_info *phy = &hw->phy; local 2436 struct e1000_phy_info *phy = &hw->phy; local 2559 struct e1000_phy_info *phy = &hw->phy; local 2629 struct e1000_phy_info *phy = &hw->phy; local 2704 struct e1000_phy_info *phy = &hw->phy; local 2766 struct e1000_phy_info *phy = &hw->phy; local 2854 struct e1000_phy_info *phy = &hw->phy; local 3880 struct e1000_phy_info *phy = &hw->phy; local 3904 struct e1000_phy_info *phy = &hw->phy; local 3953 struct e1000_phy_info *phy = &hw->phy; local 4016 struct e1000_phy_info *phy = &hw->phy; local [all...] |
H A D | e1000_82541.c | 88 struct e1000_phy_info *phy = &hw->phy; local 93 phy->addr = 1; 94 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; 95 phy->reset_delay_us = 10000; 96 phy->type = e1000_phy_igp; 99 phy->ops.check_polarity = e1000_check_polarity_igp; 100 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; 101 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541; 102 phy 448 struct e1000_phy_info *phy = &hw->phy; local 536 struct e1000_phy_info *phy = &hw->phy; local 672 struct e1000_phy_info *phy = &hw->phy; local 875 struct e1000_phy_info *phy = &hw->phy; local 948 struct e1000_phy_info *phy = &hw->phy; local [all...] |
H A D | e1000_82575.c | 164 struct e1000_phy_info *phy = &hw->phy; local 170 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic; 171 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic; 173 if (hw->phy.media_type != e1000_media_type_copper) { 174 phy->type = e1000_phy_none; 178 phy->ops.power_up = e1000_power_up_phy_copper; 179 phy->ops.power_down = e1000_power_down_phy_copper_82575; 181 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; 182 phy 657 struct e1000_phy_info *phy = &hw->phy; local 760 struct e1000_phy_info *phy = &hw->phy; local 807 struct e1000_phy_info *phy = &hw->phy; local 893 struct e1000_phy_info *phy = &hw->phy; local 940 struct e1000_phy_info *phy = &hw->phy; local 1154 struct e1000_phy_info *phy = &hw->phy; local 1979 struct e1000_phy_info *phy = &hw->phy; local 2749 struct e1000_phy_info *phy = &hw->phy; local 2838 struct e1000_phy_info *phy = &hw->phy; local 2995 struct e1000_phy_info *phy = &hw->phy; local 3077 struct e1000_phy_info *phy = &hw->phy; local [all...] |
/freebsd-12-stable/sys/dev/cxgb/common/ |
H A D | cxgb_aq100x.c | 68 #define AQ_WRITE_REGS(phy, regs) do { \ 71 (void) mdio_write(phy, regs[i].mmd, regs[i].reg, regs[i].val); \ 74 #define AQ_READ_REGS(phy, regs) do { \ 77 (void) mdio_read(phy, regs[i].mmd, regs[i].reg, &v); \ 85 aq100x_temperature(struct cphy *phy) argument 89 if (mdio_read(phy, MDIO_DEV_VEND1, AQ_THERMAL2, &v) || 93 if (mdio_read(phy, MDIO_DEV_VEND1, AQ_THERMAL1, &v)) 100 aq100x_set_defaults(struct cphy *phy) argument 102 return mdio_write(phy, MDIO_DEV_VEND1, AQ_THERMAL_THR, 0x6c00); 106 aq100x_reset(struct cphy *phy, in argument 116 aq100x_intr_enable(struct cphy *phy) argument 134 aq100x_intr_disable(struct cphy *phy) argument 152 aq100x_intr_clear(struct cphy *phy) argument 168 aq100x_vendor_intr(struct cphy *phy, int *rc) argument 204 aq100x_intr_handler(struct cphy *phy) argument 228 aq100x_power_down(struct cphy *phy, int off) argument 257 aq100x_autoneg_enable(struct cphy *phy) argument 270 aq100x_autoneg_restart(struct cphy *phy) argument 276 aq100x_advertise(struct cphy *phy, unsigned int advertise_map) argument 317 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) argument 324 aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 354 aq100x_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 468 struct cphy *phy = &pinfo->phy; local [all...] |
H A D | cxgb_tn1010.c | 77 static int tn1010_reset(struct cphy *phy, int wait) argument 79 int err = t3_phy_reset(phy, MDIO_DEV_PMA_PMD, wait); 84 static int tn1010_power_down(struct cphy *phy, int enable) argument 86 return t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, 90 static int tn1010_autoneg_enable(struct cphy *phy) argument 94 err = tn1010_power_down(phy, 0); 96 err = t3_mdio_change_bits(phy, MDIO_DEV_ANEG, MII_BMCR, 0, 101 static int tn1010_autoneg_restart(struct cphy *phy) argument 105 err = tn1010_power_down(phy, 0); 107 err = t3_mdio_change_bits(phy, MDIO_DEV_ANE 112 tn1010_advertise(struct cphy *phy, unsigned int advert) argument 133 tn1010_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument 178 tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument [all...] |
H A D | cxgb_vsc8211.c | 276 static int vsc8211_set_automdi(struct cphy *phy, int enable) argument 280 if ((err = mdio_write(phy, 0, VSC8211_EXT_PAGE_AXS, 0x52b5)) != 0 || 281 (err = mdio_write(phy, 0, 18, 0x12)) != 0 || 282 (err = mdio_write(phy, 0, 17, enable ? 0x2803 : 0x3003)) != 0 || 283 (err = mdio_write(phy, 0, 16, 0x87fa)) != 0 || 284 (err = mdio_write(phy, 0, VSC8211_EXT_PAGE_AXS, 0)) != 0) 289 static int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument 293 err = t3_set_phy_speed_duplex(phy, speed, duplex); 295 err = vsc8211_set_automdi(phy, 1); 405 /* What phy i 406 struct cphy *phy = &portinfo->phy; local 433 struct cphy *phy = &pinfo->phy; local [all...] |
/freebsd-12-stable/sys/dev/extres/phy/ |
H A D | phy.h | 40 typedef struct phy *phy_t; 46 phandle_t ofw_node; /* OFW node of phy */ 79 phy_t *phy); 80 void phy_release(phy_t phy); 81 int phy_enable(phy_t phy); 82 int phy_disable(phy_t phy); 83 int phy_status(phy_t phy, int *value); 87 phy_t *phy); 88 int phy_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, phy_t *phy); 90 phy_t *phy); [all...] |
H A D | phy.c | 45 #include <dev/extres/phy/phy.h> 46 #include <dev/extres/phy/phy_internal.h> 50 MALLOC_DEFINE(M_PHY, "phy", "Phy framework"); 52 /* Default phy methods. */ 76 * Default phy methods for base class. 110 * Create and initialize phy object, but do not register it. 141 /* Register phy object. */ 227 * Enable phy. 250 * Disable phy 299 struct phy *phy; local 317 phy_enable(phy_t phy) argument 335 phy_disable(phy_t phy) argument 355 phy_status(phy_t phy, int *status) argument 371 phy_get_by_id(device_t consumer_dev, device_t provider_dev, intptr_t id, phy_t *phy) argument 390 phy_release(phy_t phy) argument 447 phy_get_by_ofw_idx(device_t consumer_dev, phandle_t cnode, int idx, phy_t *phy) argument 483 phy_get_by_ofw_name(device_t consumer_dev, phandle_t cnode, char *name, phy_t *phy) argument 502 phy_get_by_ofw_property(device_t consumer_dev, phandle_t cnode, char *name, phy_t *phy) argument [all...] |
H A D | phy_internal.h | 32 struct phy; 36 typedef TAILQ_HEAD(phy_list, phy) phy_list_t; 55 phandle_t ofw_node; /* OFW node of phy */ 57 struct sx lock; /* Lock for this phy */ 62 struct phy { struct 65 TAILQ_ENTRY(phy) link; /* Consumers list entry */
|
H A D | phy_usb.h | 32 #include <dev/extres/phy/phy.h> 40 /* Standard USB phy parameters. */ 82 int phy_usb_set_mode(phy_t phy, int usb_mode); 83 int phy_usb_get_mode(phy_t phy, int *usb_mode);
|
/freebsd-12-stable/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 53 uint8_t phy; /* CCK/OFDM/TURBO */ member in struct:ieee80211_rate_table::__anon17205 104 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */ 105 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */ 106 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */ 107 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */ 108 [4] = { .phy = PBCC, 22000, 0x04, 44, 3 } /* 22 Mb */ 117 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 }, 118 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 }, 119 [2] = { .phy = CCK, 5500, 0x04, B(11), 2 }, 120 [3] = { .phy [all...] |
/freebsd-12-stable/sys/dev/etherswitch/ip17x/ |
H A D | ip17x_phy.c | 56 ip17x_readphy(device_t dev, int phy, int reg) argument 64 if (phy < 0 || phy >= 32) 70 data = MDIO_READREG(device_get_parent(dev), phy, reg); 77 ip17x_writephy(device_t dev, int phy, int reg, int data) argument 85 if (phy < 0 || phy >= 32) 91 err = MDIO_WRITEREG(device_get_parent(dev), phy, reg, data); 98 ip17x_updatephy(device_t dev, int phy, int reg, int mask, int value) argument 102 val = ip17x_readphy(dev, phy, re [all...] |
/freebsd-12-stable/sys/dev/ixgbe/ |
H A D | ixgbe_phy.c | 117 u32 swfw_mask = hw->phy.phy_semaphore_mask; 195 u32 swfw_mask = hw->phy.phy_semaphore_mask; 255 struct ixgbe_phy_info *phy = &hw->phy; local 260 phy->ops.identify = ixgbe_identify_phy_generic; 261 phy->ops.reset = ixgbe_reset_phy_generic; 262 phy->ops.read_reg = ixgbe_read_phy_reg_generic; 263 phy->ops.write_reg = ixgbe_write_phy_reg_generic; 264 phy->ops.read_reg_mdi = ixgbe_read_phy_reg_mdi; 265 phy [all...] |
/freebsd-12-stable/sys/dev/mii/ |
H A D | ukphy_subr.c | 61 ukphy_status(struct mii_softc *phy) argument 63 struct mii_data *mii = phy->mii_pdata; 70 bmsr = PHY_READ(phy, MII_BMSR) | PHY_READ(phy, MII_BMSR); 74 bmcr = PHY_READ(phy, MII_BMCR); 96 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); 97 if ((phy->mii_flags & MIIF_HAVE_GTCR) != 0 && 98 (phy->mii_extcapabilities & 100 gtcr = PHY_READ(phy, MII_100T2C [all...] |
H A D | mii_bitbang.h | 53 int phy, int reg); 56 int phy, int reg, int val);
|
/freebsd-12-stable/sys/dev/mdio/ |
H A D | mdio.c | 73 mdio_readreg(device_t dev, int phy, int reg) argument 76 return (MDIO_READREG(device_get_parent(dev), phy, reg)); 80 mdio_writereg(device_t dev, int phy, int reg, int val) argument 83 return (MDIO_WRITEREG(device_get_parent(dev), phy, reg, val)); 87 mdio_readextreg(device_t dev, int phy, int devad, int reg) argument 90 return (MDIO_READEXTREG(device_get_parent(dev), phy, devad, reg)); 94 mdio_writeextreg(device_t dev, int phy, int devad, int reg, argument 98 return (MDIO_WRITEEXTREG(device_get_parent(dev), phy, devad, reg, val));
|
/freebsd-12-stable/sys/dev/bxe/ |
H A D | bxe_elink.c | 759 typedef elink_status_t (*read_sfp_module_eeprom_func_p)(struct elink_phy *phy, 950 static elink_status_t elink_sfp_module_detection(struct elink_phy *phy, 2248 /* Set mdio clock per phy */ 2252 params->phy[phy_index].mdio_ctrl); 2545 if (!(params->phy[ELINK_INT_PHY].flags & ELINK_FLAGS_TX_ERROR_CHECK)) { 2576 (params->phy[ELINK_INT_PHY].supported & 3175 /* XGXS control: Reset phy HW, MDIO registers, PHY PLL and BMAC */ 3373 * phy has a default access mode, which could also be overridden 3375 * default phy configuration, or the nvram overrun 3415 struct elink_phy *phy, 3414 elink_cl22_write(struct bxe_softc *sc, struct elink_phy *phy, uint16_t reg, uint16_t val) argument 3449 elink_cl22_read(struct bxe_softc *sc, struct elink_phy *phy, uint16_t reg, uint16_t *ret_val) argument 3491 elink_cl45_read(struct bxe_softc *sc, struct elink_phy *phy, uint8_t devad, uint16_t reg, uint16_t *ret_val) argument 3568 elink_cl45_write(struct bxe_softc *sc, struct elink_phy *phy, uint8_t devad, uint16_t reg, uint16_t val) argument 3781 elink_eee_disable(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 3797 elink_eee_advertise(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint8_t modes) argument 3834 elink_eee_an_resolve(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 3994 elink_cl45_read_or_write(struct bxe_softc *sc, struct elink_phy *phy, uint8_t devad, uint16_t reg, uint16_t or_val) argument 4002 elink_cl45_read_and_write(struct bxe_softc *sc, struct elink_phy *phy, uint8_t devad, uint16_t reg, uint16_t and_val) argument 4045 elink_get_warpcore_lane(struct elink_phy *phy, struct elink_params *params) argument 4100 elink_set_aer_mmd(struct elink_params *params, struct elink_phy *phy) argument 4170 elink_xgxs_specific_func(struct elink_phy *phy, struct elink_params *params, uint32_t action) argument 4203 elink_calc_ieee_aneg_adv(struct elink_phy *phy, struct elink_params *params, uint16_t *ieee_fc) argument 4285 elink_ext_phy_set_pause(struct elink_params *params, struct elink_phy *phy, struct elink_vars *vars) argument 4312 elink_pause_resolve(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint32_t pause_result) argument 4359 elink_ext_phy_update_adv_fc(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 4414 elink_ext_phy_resolve_fc(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 4463 elink_warpcore_enable_AN_KR2(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 4502 elink_disable_kr2(struct elink_params *params, struct elink_vars *vars, struct elink_phy *phy) argument 4537 elink_warpcore_set_lpi_passthrough(struct elink_phy *phy, struct elink_params *params) argument 4549 elink_warpcore_restart_AN_KR(struct elink_phy *phy, struct elink_params *params) argument 4564 elink_warpcore_enable_AN_KR(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 4716 elink_warpcore_set_10G_KR(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 4784 elink_warpcore_set_10G_XFI(struct elink_phy *phy, struct elink_params *params, uint8_t is_xfi) argument 4919 elink_warpcore_set_20G_force_KR2(struct elink_phy *phy, struct elink_params *params) argument 4972 elink_warpcore_set_20G_DXGXS(struct bxe_softc *sc, struct elink_phy *phy, uint16_t lane) argument 5026 elink_warpcore_set_sgmii_speed(struct elink_phy *phy, struct elink_params *params, uint8_t fiber_mode, uint8_t always_autoneg) argument 5109 elink_warpcore_reset_lane(struct bxe_softc *sc, struct elink_phy *phy, uint8_t reset) argument 5128 elink_warpcore_clear_regs(struct elink_phy *phy, struct elink_params *params, uint16_t lane) argument 5203 elink_is_sfp_module_plugged(struct elink_phy *phy, struct elink_params *params) argument 5221 elink_warpcore_get_sigdet(struct elink_phy *phy, struct elink_params *params) argument 5235 elink_warpcore_config_runtime(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 5288 elink_warpcore_config_sfi(struct elink_phy *phy, struct elink_params *params) argument 5305 elink_sfp_e3_set_transmitter(struct elink_params *params, struct elink_phy *phy, uint8_t tx_en) argument 5326 elink_warpcore_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 5434 elink_warpcore_link_reset(struct elink_phy *phy, struct elink_params *params) argument 5489 elink_set_warpcore_loopback(struct elink_phy *phy, struct elink_params *params) argument 5708 elink_set_master_ln(struct elink_params *params, struct elink_phy *phy) argument 5729 elink_reset_unicore(struct elink_params *params, struct elink_phy *phy, uint8_t set_serdes) argument 5773 elink_set_swap_lanes(struct elink_params *params, struct elink_phy *phy) argument 5815 elink_set_parallel_detection(struct elink_phy *phy, struct elink_params *params) argument 5868 elink_set_autoneg(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint8_t enable_cl73) argument 5972 elink_program_serdes(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6021 elink_set_brcm_cl37_advertisement(struct elink_phy *phy, struct elink_params *params) argument 6041 elink_set_ieee_aneg_advertisement(struct elink_phy *phy, struct elink_params *params, uint16_t ieee_fc) argument 6062 elink_restart_autoneg(struct elink_phy *phy, struct elink_params *params, uint8_t enable_cl73) argument 6102 elink_initialize_sgmii_process(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6174 elink_direct_parallel_detect_used(struct elink_phy *phy, struct elink_params *params) argument 6208 elink_update_adv_fc(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint32_t gp_status) argument 6255 elink_flow_ctrl_resolve(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint32_t gp_status) argument 6283 elink_check_fallback_to_cl37(struct elink_phy *phy, struct elink_params *params) argument 6351 elink_xgxs_an_resolve(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint32_t gp_status) argument 6364 elink_get_link_speed_duplex(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, uint16_t is_link_up, uint16_t speed_mask, uint16_t is_duplex) argument 6457 elink_link_settings_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6539 elink_warpcore_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6680 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; local 6763 elink_set_preemphasis(struct elink_phy *phy, struct elink_params *params) argument 6787 elink_xgxs_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6836 elink_prepare_xgxs(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 6875 elink_wait_reset_complete(struct bxe_softc *sc, struct elink_phy *phy, struct elink_params *params) argument 7110 elink_set_xgxs_loopback(struct elink_phy *phy, struct elink_params *params) argument 7432 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; local 7485 elink_int_link_reset(struct elink_phy *phy, struct elink_params *params) argument 7493 elink_common_ext_link_reset(struct elink_phy *phy, struct elink_params *params) argument 7735 struct elink_phy *phy = ¶ms->phy[phy_index]; local 7975 elink_save_bcm_spirom_ver(struct bxe_softc *sc, struct elink_phy *phy, uint8_t port) argument 7989 elink_ext_phy_10G_an_resolve(struct bxe_softc *sc, struct elink_phy *phy, struct elink_vars *vars) argument 8009 elink_8073_resolve_fc(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 8042 elink_8073_8727_external_rom_boot(struct bxe_softc *sc, struct elink_phy *phy, uint8_t port) argument 8123 elink_8073_is_snr_needed(struct bxe_softc *sc, struct elink_phy *phy) argument 8149 elink_8073_xaui_wa(struct bxe_softc *sc, struct elink_phy *phy) argument 8205 elink_807x_force_10G(struct bxe_softc *sc, struct elink_phy *phy) argument 8218 elink_8073_set_pause_cl37(struct elink_params *params, struct elink_phy *phy, struct elink_vars *vars) argument 8253 elink_8073_specific_func(struct elink_phy *phy, struct elink_params *params, uint32_t action) argument 8269 elink_8073_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 8417 elink_8073_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 8562 elink_8073_link_reset(struct elink_phy *phy, struct elink_params *params) argument 8581 elink_8705_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 8608 elink_8705_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 8644 elink_set_disable_pmd_transmit(struct elink_params *params, struct elink_phy *phy, uint8_t pmd_dis) argument 8681 elink_sfp_e1e2_set_transmitter(struct elink_params *params, struct elink_phy *phy, uint8_t tx_en) argument 8738 elink_sfp_set_transmitter(struct elink_params *params, struct elink_phy *phy, uint8_t tx_en) argument 8750 elink_8726_read_sfp_module_eeprom(struct elink_phy *phy, struct elink_params *params, uint8_t dev_addr, uint16_t addr, uint8_t byte_cnt, uint8_t *o_buf, uint8_t is_init) argument 8838 elink_warpcore_read_sfp_module_eeprom(struct elink_phy *phy, struct elink_params *params, uint8_t dev_addr, uint16_t addr, uint8_t byte_cnt, uint8_t *o_buf, uint8_t is_init) argument 8881 elink_8727_read_sfp_module_eeprom(struct elink_phy *phy, struct elink_params *params, uint8_t dev_addr, uint16_t addr, uint8_t byte_cnt, uint8_t *o_buf, uint8_t is_init) argument 8976 elink_read_sfp_module_eeprom(struct elink_phy *phy, struct elink_params *params, uint8_t dev_addr, uint16_t addr, uint16_t byte_cnt, uint8_t *o_buf) argument 9017 elink_get_edc_mode(struct elink_phy *phy, struct elink_params *params, uint16_t *edc_mode) argument 9166 elink_verify_sfp_module(struct elink_phy *phy, struct elink_params *params) argument 9240 elink_wait_for_sfp_module_initialized(struct elink_phy *phy, struct elink_params *params) argument 9274 elink_8727_power_module(struct bxe_softc *sc, struct elink_phy *phy, uint8_t is_power_up) argument 9306 elink_8726_set_limiting_mode(struct bxe_softc *sc, struct elink_phy *phy, uint16_t edc_mode) argument 9355 elink_8727_set_limiting_mode(struct bxe_softc *sc, struct elink_phy *phy, uint16_t edc_mode) argument 9389 elink_8727_specific_func(struct elink_phy *phy, struct elink_params *params, uint32_t action) argument 9497 elink_warpcore_hw_reset(struct elink_phy *phy, struct elink_params *params) argument 9511 elink_power_sfp_module(struct elink_params *params, struct elink_phy *phy, uint8_t power) argument 9530 elink_warpcore_set_limiting_mode(struct elink_params *params, struct elink_phy *phy, uint16_t edc_mode) argument 9570 elink_set_limiting_mode(struct elink_params *params, struct elink_phy *phy, uint16_t edc_mode) argument 9588 elink_sfp_module_detection(struct elink_phy *phy, struct elink_params *params) argument 9646 struct elink_phy *phy; local 9715 elink_sfp_mask_fault(struct bxe_softc *sc, struct elink_phy *phy, uint16_t alarm_status_offset, uint16_t alarm_ctrl_offset) argument 9738 elink_8706_8726_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 9800 elink_8706_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 9906 elink_8706_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 9916 elink_8726_config_loopback(struct elink_phy *phy, struct elink_params *params) argument 9924 elink_8726_external_rom_boot(struct elink_phy *phy, struct elink_params *params) argument 9962 elink_8726_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 9983 elink_8726_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 10068 elink_8726_link_reset(struct elink_phy *phy, struct elink_params *params) argument 10083 elink_8727_set_link_led(struct elink_phy *phy, struct elink_params *params, uint8_t mode) argument 10129 elink_8727_hw_reset(struct elink_phy *phy, struct elink_params *params) argument 10144 elink_8727_config_speed(struct elink_phy *phy, struct elink_params *params) argument 10201 elink_8727_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 10287 elink_8727_handle_mod_abs(struct elink_phy *phy, struct elink_params *params) argument 10372 elink_8727_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 10531 elink_8727_link_reset(struct elink_phy *phy, struct elink_params *params) argument 10549 elink_is_8483x_8485x(struct elink_phy *phy) argument 10556 elink_save_848xx_spirom_version(struct elink_phy *phy, struct bxe_softc *sc, uint8_t port) argument 10624 elink_848xx_set_led(struct bxe_softc *sc, struct elink_phy *phy) argument 10663 elink_848xx_specific_func(struct elink_phy *phy, struct elink_params *params, uint32_t action) argument 10686 elink_848xx_cmn_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 10832 elink_8481_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 10852 elink_84858_cmd_hdlr(struct elink_phy *phy, struct elink_params *params, uint16_t fw_cmd, uint16_t cmd_args[], int argc) argument 10929 elink_84833_cmd_hdlr(struct elink_phy *phy, struct elink_params *params, uint16_t fw_cmd, uint16_t cmd_args[], int argc, int process) argument 11008 elink_848xx_cmd_hdlr(struct elink_phy *phy, struct elink_params *params, uint16_t fw_cmd, uint16_t cmd_args[], int argc, int process) argument 11028 elink_848xx_pair_swap_cfg(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 11096 elink_84833_hw_reset_phy(struct elink_phy *phy, struct elink_params *params) argument 11129 elink_8483x_disable_eee(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 11150 elink_8483x_enable_eee(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 11169 elink_848x3_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 11344 elink_848xx_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 11494 elink_8481_hw_reset(struct elink_phy *phy, struct elink_params *params) argument 11503 elink_8481_link_reset(struct elink_phy *phy, struct elink_params *params) argument 11512 elink_848x3_link_reset(struct elink_phy *phy, struct elink_params *params) argument 11539 elink_848xx_set_link_led(struct elink_phy *phy, struct elink_params *params, uint8_t mode) argument 11814 elink_54618se_specific_func(struct elink_phy *phy, struct elink_params *params, uint32_t action) argument 11843 elink_54618se_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 12050 elink_5461x_set_link_led(struct elink_phy *phy, struct elink_params *params, uint8_t mode) argument 12086 elink_54618se_link_reset(struct elink_phy *phy, struct elink_params *params) argument 12111 elink_54618se_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 12218 elink_54618se_config_loopback(struct elink_phy *phy, struct elink_params *params) argument 12261 elink_7101_config_loopback(struct elink_phy *phy, struct elink_params *params) argument 12270 elink_7101_config_init(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 12310 elink_7101_read_status(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 12363 elink_sfx7101_sp_sw_reset(struct bxe_softc *sc, struct elink_phy *phy) argument 12388 elink_7101_hw_reset(struct elink_phy *phy, struct elink_params *params) argument 12398 elink_7101_set_link_led(struct elink_phy *phy, struct elink_params *params, uint8_t mode) argument 12958 elink_populate_preemphasis(struct bxe_softc *sc, uint32_t shmem_base, struct elink_phy *phy, uint8_t port, uint8_t phy_index) argument 13019 elink_populate_int_phy(struct bxe_softc *sc, uint32_t shmem_base, uint8_t port, struct elink_phy *phy) argument 13159 elink_populate_ext_phy(struct bxe_softc *sc, uint8_t phy_index, uint32_t shmem_base, uint32_t shmem2_base, uint8_t port, struct elink_phy *phy) argument 13287 elink_populate_phy(struct bxe_softc *sc, uint8_t phy_index, uint32_t shmem_base, uint32_t shmem2_base, uint8_t port, struct elink_phy *phy) argument 13299 elink_phy_def_cfg(struct elink_params *params, struct elink_phy *phy, uint8_t phy_index) argument 13414 struct elink_phy *phy; local 13838 struct elink_phy *phy = ¶ms->phy[phy_idx]; local 14237 struct elink_phy phy[PORT_MAX]; local 14365 struct elink_phy phy; local 14460 struct elink_phy phy[PORT_MAX]; local 14838 elink_sfp_tx_fault_detection(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars) argument 14881 elink_kr2_recovery(struct elink_params *params, struct elink_vars *vars, struct elink_phy *phy) argument 14891 elink_check_kr2_wa(struct elink_params *params, struct elink_vars *vars, struct elink_phy *phy) argument 14979 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; local 15015 struct elink_phy phy; local 15067 struct elink_phy phy; local [all...] |
/freebsd-12-stable/sys/dev/axgbe/ |
H A D | xgbe-mdio.c | 378 if (pdata->phy.autoneg == AUTONEG_ENABLE) { 379 if (pdata->phy.advertising & ADVERTISED_10000baseKR_Full) 382 if (pdata->phy.speed == SPEED_10000) 391 if (pdata->phy.autoneg == AUTONEG_ENABLE) { 392 if (pdata->phy.advertising & ADVERTISED_2500baseX_Full) 395 if (pdata->phy.speed == SPEED_2500) 404 if (pdata->phy.autoneg == AUTONEG_ENABLE) { 405 if (pdata->phy.advertising & ADVERTISED_1000baseKX_Full) 408 if (pdata->phy.speed == SPEED_1000) 579 if (!(pdata->phy [all...] |