Home
last modified time | relevance | path

Searched refs:tcvr_type (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/sun/
Dsunbmac.c270 if (bp->tcvr_type == internal) { in write_tcvr_bit()
278 } else if (bp->tcvr_type == external) { in write_tcvr_bit()
295 if (bp->tcvr_type == internal) { in read_tcvr_bit()
302 } else if (bp->tcvr_type == external) { in read_tcvr_bit()
318 if (bp->tcvr_type == internal) { in read_tcvr_bit2()
324 } else if (bp->tcvr_type == external) { in read_tcvr_bit2()
355 switch(bp->tcvr_type) { in bigmac_tcvr_write()
372 ((bp->tcvr_type == internal) ? in bigmac_tcvr_write()
394 switch(bp->tcvr_type) { in bigmac_tcvr_read()
411 ((bp->tcvr_type == internal) ? in bigmac_tcvr_read()
[all …]
Dsunhme.c400 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read()
402 retval |= BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read()
403 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read()
404 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read()
405 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read()
462 if (hp->tcvr_type == none) { in happy_meal_tcvr_read()
574 if (hp->tcvr_type == external) in display_link_mode()
596 if (hp->tcvr_type == external) in display_forced_link_mode()
1000 if (hp->tcvr_type == external) { in happy_meal_tcvr_reset()
1003 hp->tcvr_type = internal; in happy_meal_tcvr_reset()
[all …]
Dsunbmac.h306 enum bigmac_transceiver tcvr_type; member
Dsunhme.h435 enum happy_transceiver tcvr_type; /* Kind of transceiver in use */ member
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1675 u32 media_type, tcvr_state, tcvr_type; in qed_fill_link_capability() local
1681 if (qed_mcp_get_transceiver_data(hwfn, ptt, &tcvr_state, &tcvr_type)) in qed_fill_link_capability()
1682 tcvr_type = ETH_TRANSCEIVER_STATE_UNPLUGGED; in qed_fill_link_capability()
1692 media_type, tcvr_state, tcvr_type, speed_mask, board_cfg); in qed_fill_link_capability()
1729 if (tcvr_type == ETH_TRANSCEIVER_TYPE_1000BASET) in qed_fill_link_capability()
1731 if (tcvr_type == ETH_TRANSCEIVER_TYPE_10G_BASET) in qed_fill_link_capability()
1742 if ((tcvr_type == ETH_TRANSCEIVER_TYPE_1G_LX) || in qed_fill_link_capability()
1743 (tcvr_type == ETH_TRANSCEIVER_TYPE_1G_SX)) in qed_fill_link_capability()
1748 if (tcvr_type == ETH_TRANSCEIVER_TYPE_10G_SR) in qed_fill_link_capability()
1750 if (tcvr_type == ETH_TRANSCEIVER_TYPE_10G_LR) in qed_fill_link_capability()
[all …]