Searched refs:dplx (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 134 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status() local 155 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status() 168 dplx = (status & F_ACSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status() 177 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status() 200 *duplex = dplx; in vsc8211_get_link_status() 210 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status_fiber() local 231 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status_fiber() 247 dplx = DUPLEX_FULL; in vsc8211_get_link_status_fiber() 250 dplx = DUPLEX_HALF; in vsc8211_get_link_status_fiber() 254 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status_fiber() [all …]
|
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 274 int speed, dplx; in pch_gbe_check_copper_options() local 297 dplx = Duplex; in pch_gbe_check_copper_options() 298 pch_gbe_validate_option(&dplx, &opt, adapter); in pch_gbe_check_copper_options() 310 if (speed || dplx) { in pch_gbe_check_copper_options() 322 switch (speed + dplx) { in pch_gbe_check_copper_options() 325 if ((speed || dplx)) in pch_gbe_check_copper_options()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000_param.c | 538 unsigned int speed, dplx, an; in e1000_check_copper_options() local 580 dplx = Duplex[bd]; in e1000_check_copper_options() 581 e1000_validate_option(&dplx, &opt, adapter); in e1000_check_copper_options() 583 dplx = opt.def; in e1000_check_copper_options() 587 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) { in e1000_check_copper_options() 644 switch (speed + dplx) { in e1000_check_copper_options() 647 if ((num_Speed > bd) && (speed != 0 || dplx != 0)) in e1000_check_copper_options()
|
D | e1000.h | 340 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
|
D | e1000_main.c | 5011 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument 5020 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx() 5026 dplx != DUPLEX_FULL) in e1000_set_spd_dplx() 5029 switch (spd + dplx) { in e1000_set_spd_dplx()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 245 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status() local 254 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in mv88e1xxx_get_link_status() 268 *duplex = dplx; in mv88e1xxx_get_link_status()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 203 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument 212 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx() 217 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) { in e1000_set_spd_dplx() 221 switch (spd + dplx) { in e1000_set_spd_dplx()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9224 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) in igb_set_spd_dplx() argument 9234 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx() 9241 switch (spd + dplx) { in igb_set_spd_dplx() 9251 switch (spd + dplx) { in igb_set_spd_dplx()
|