Searched refs:media_types (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c4815 u32 sync_offset, media_types; bnx2x_link_status_update() local
4839 media_types = REG_RD(bp, sync_offset); bnx2x_link_status_update()
4842 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK) >> bnx2x_link_status_update()
4845 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY1_MASK) >> bnx2x_link_status_update()
4848 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY2_MASK) >> bnx2x_link_status_update()
4850 DP(NETIF_MSG_LINK, "media_types = 0x%x\n", media_types); bnx2x_link_status_update()
8137 u32 sync_offset = 0, phy_idx, media_types; bnx2x_get_edc_mode() local
8238 media_types = REG_RD(bp, sync_offset); bnx2x_get_edc_mode()
8242 media_types &= ~(PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK << bnx2x_get_edc_mode()
8244 media_types |= ((phy->media_type & bnx2x_get_edc_mode()
8250 REG_WR(bp, sync_offset, media_types); bnx2x_get_edc_mode()
12474 u32 phy_config_swapped, sync_offset, media_types; bnx2x_phy_probe() local
12521 media_types = REG_RD(bp, sync_offset); bnx2x_phy_probe()
12527 if ((media_types & (PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK << bnx2x_phy_probe()
12530 media_types |= ((phy->media_type & bnx2x_phy_probe()
12535 REG_WR(bp, sync_offset, media_types); bnx2x_phy_probe()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c585 * Set speed/duplex per media_types advertised/forced

Completed in 176 milliseconds