Searched refs:tcvr_type (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 270 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 …]
|
H A D | sunhme.c | 337 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read() 339 retval |= BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read() 340 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read() 341 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read() 342 (void) BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); in happy_meal_bb_read() 398 if (hp->tcvr_type == none) { in happy_meal_tcvr_read() 513 hp->tcvr_type == external ? "external" : "internal", in display_link_mode() 524 hp->tcvr_type == external ? "external" : "internal", in display_forced_link_mode() 999 if (hp->tcvr_type == external) { in happy_meal_tcvr_reset() 1001 hp->tcvr_type = internal; in happy_meal_tcvr_reset() [all …]
|
H A D | sunbmac.h | 306 enum bigmac_transceiver tcvr_type; member
|
H A D | sunhme.h | 435 enum happy_transceiver tcvr_type; /* Kind of transceiver in use */ member
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_main.c | 1840 u32 media_type, tcvr_state, tcvr_type; in qed_fill_link_capability() local 1846 if (qed_mcp_get_transceiver_data(hwfn, ptt, &tcvr_state, &tcvr_type)) in qed_fill_link_capability() 1847 tcvr_type = ETH_TRANSCEIVER_STATE_UNPLUGGED; in qed_fill_link_capability() 1857 media_type, tcvr_state, tcvr_type, speed_mask, board_cfg); in qed_fill_link_capability() 1875 switch (tcvr_type) { in qed_fill_link_capability() 1892 switch (tcvr_type) { in qed_fill_link_capability() 1917 switch (tcvr_type) { in qed_fill_link_capability() 1938 switch (tcvr_type) { in qed_fill_link_capability() 1950 switch (tcvr_type) { in qed_fill_link_capability() 1977 switch (tcvr_type) { in qed_fill_link_capability() [all …]
|