Home
last modified time | relevance | path

Searched refs:dplx (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c134 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 in vsc8211_get_link_status_fiber()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c134 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 in vsc8211_get_link_status_fiber()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
H A De1000_param.c540 unsigned int speed, dplx, an; in e1000_check_copper_options() local
582 dplx = Duplex[bd]; in e1000_check_copper_options()
583 e1000_validate_option(&dplx, &opt, adapter); in e1000_check_copper_options()
585 dplx = opt.def; in e1000_check_copper_options()
589 if ((num_AutoNeg > bd) && (speed != 0 || dplx != 0)) { in e1000_check_copper_options()
646 switch (speed + dplx) { in e1000_check_copper_options()
649 if ((num_Speed > bd) && (speed != 0 || dplx != 0)) in e1000_check_copper_options()
H A De1000.h340 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
H A De1000_main.c5010 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
5016 /* Make sure dplx is at most 1 bit and lsb of speed is not set in e1000_set_spd_dplx()
5019 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx()
5025 dplx != DUPLEX_FULL) in e1000_set_spd_dplx()
5028 switch (spd + dplx) { in e1000_set_spd_dplx()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/
H A De1000_param.c538 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()
H A De1000.h340 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx);
H A De1000_main.c5008 int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
5014 /* Make sure dplx is at most 1 bit and lsb of speed is not set in e1000_set_spd_dplx()
5017 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx()
5023 dplx != DUPLEX_FULL) in e1000_set_spd_dplx()
5026 switch (spd + dplx) { in e1000_set_spd_dplx()
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c274 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c274 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c245 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c245 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc.h244 int igc_set_spd_dplx(struct igc_adapter *adapter, u32 spd, u8 dplx);
H A Digc_main.c5126 int igc_set_spd_dplx(struct igc_adapter *adapter, u32 spd, u8 dplx) in igc_set_spd_dplx() argument
5132 /* Make sure dplx is at most 1 bit and lsb of speed is not set in igc_set_spd_dplx()
5135 if ((spd & 1) || (dplx & ~1)) in igc_set_spd_dplx()
5138 switch (spd + dplx) { in igc_set_spd_dplx()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c203 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
209 /* Make sure dplx is at most 1 bit and lsb of speed is not set in e1000_set_spd_dplx()
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c211 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx() argument
217 /* Make sure dplx is at most 1 bit and lsb of speed is not set in e1000_set_spd_dplx()
220 if ((spd & 1) || (dplx & ~1)) in e1000_set_spd_dplx()
225 (spd != SPEED_1000) && (dplx != DUPLEX_FULL)) { in e1000_set_spd_dplx()
229 switch (spd + dplx) { in e1000_set_spd_dplx()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_main.c9120 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) in igb_set_spd_dplx() argument
9127 /* Make sure dplx is at most 1 bit and lsb of speed is not set in igb_set_spd_dplx()
9130 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx()
9137 switch (spd + dplx) { in igb_set_spd_dplx()
9147 switch (spd + dplx) { in igb_set_spd_dplx()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_main.c9298 int igb_set_spd_dplx(struct igb_adapter *adapter, u32 spd, u8 dplx) in igb_set_spd_dplx() argument
9305 /* Make sure dplx is at most 1 bit and lsb of speed is not set in igb_set_spd_dplx()
9308 if ((spd & 1) || (dplx & ~1)) in igb_set_spd_dplx()
9315 switch (spd + dplx) { in igb_set_spd_dplx()
9325 switch (spd + dplx) { in igb_set_spd_dplx()

Completed in 53 milliseconds