/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 185 static int hinic_get_link_mode_index(enum hinic_link_mode link_mode) in hinic_get_link_mode_index() argument 190 if (link_mode == hw_to_ethtool_link_mode_table[i].hw_link_mode) in hinic_get_link_mode_index() 201 enum hinic_link_mode link_mode; in hinic_add_ethtool_link_mode() local 204 for (link_mode = 0; link_mode < HINIC_LINK_MODE_NUMBERS; link_mode++) { in hinic_add_ethtool_link_mode() 205 if (hw_link_mode & ((u32)1 << link_mode)) { in hinic_add_ethtool_link_mode() 206 idx = hinic_get_link_mode_index(link_mode); in hinic_add_ethtool_link_mode() 261 struct hinic_link_mode_cmd link_mode = { 0 }; in hinic_get_link_ksettings() local 300 err = hinic_get_link_mode(nic_dev->hwdev, &link_mode); in hinic_get_link_ksettings() 301 if (err || link_mode.supported == HINIC_SUPPORTED_UNKNOWN || in hinic_get_link_ksettings() 302 link_mode.advertised == HINIC_SUPPORTED_UNKNOWN) in hinic_get_link_ksettings() [all …]
|
D | hinic_port.c | 1077 struct hinic_link_mode_cmd *link_mode) in hinic_get_link_mode() argument 1082 if (!hwdev || !link_mode) in hinic_get_link_mode() 1085 link_mode->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_link_mode() 1086 out_size = sizeof(*link_mode); in hinic_get_link_mode() 1089 link_mode, sizeof(*link_mode), in hinic_get_link_mode() 1090 link_mode, &out_size); in hinic_get_link_mode() 1091 if (err || !out_size || link_mode->status) { in hinic_get_link_mode() 1094 err, link_mode->status, out_size); in hinic_get_link_mode()
|
D | hinic_port.h | 839 struct hinic_link_mode_cmd *link_mode);
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | hci_sock.h | 121 __u32 link_mode; member 137 __u32 link_mode; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82599.c | 776 u32 pma_pmd_1g, link_mode, links_reg, i; in ixgbe_setup_mac_link_82599() local 805 link_mode = autoc & IXGBE_AUTOC_LMS_MASK; in ixgbe_setup_mac_link_82599() 808 if (link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR || in ixgbe_setup_mac_link_82599() 809 link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN || in ixgbe_setup_mac_link_82599() 810 link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII) { in ixgbe_setup_mac_link_82599() 823 (link_mode == IXGBE_AUTOC_LMS_1G_LINK_NO_AN || in ixgbe_setup_mac_link_82599() 824 link_mode == IXGBE_AUTOC_LMS_1G_AN)) { in ixgbe_setup_mac_link_82599() 832 (link_mode == IXGBE_AUTOC_LMS_10G_SERIAL)) { in ixgbe_setup_mac_link_82599() 852 if (link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR || in ixgbe_setup_mac_link_82599() 853 link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN || in ixgbe_setup_mac_link_82599() [all …]
|
D | ixgbe_82598.c | 590 u32 link_mode = autoc & IXGBE_AUTOC_LMS_MASK; in ixgbe_setup_mac_link_82598() local 600 else if (link_mode == IXGBE_AUTOC_LMS_KX4_AN || in ixgbe_setup_mac_link_82598() 601 link_mode == IXGBE_AUTOC_LMS_KX4_AN_1G_AN) { in ixgbe_setup_mac_link_82598()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | port.h | 136 #define MLX5E_PROT_MASK(link_mode) (1 << link_mode) argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 174 u64 link_mode; member 180 u64 link_mode; member 200 u32 link_mode; member 633 caps->supp_link_modes = resp.param.cap.link_mode; in prestera_hw_port_cap_get() 657 *link_mode_bitmap = resp.param.cap.link_mode; in prestera_hw_port_remote_cap_get() 825 .link_mode = mode, in prestera_hw_port_link_mode_set() 848 *mode = resp.param.link_mode; in prestera_hw_port_link_mode_get() 882 .link_mode = link_modes, in prestera_hw_port_autoneg_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 392 enum mlx5e_fec_supported_link_mode link_mode) in mlx5e_fec_admin_field() argument 394 switch (link_mode) { in mlx5e_fec_admin_field() 433 enum mlx5e_fec_supported_link_mode link_mode) in mlx5e_get_fec_cap_field() argument 435 switch (link_mode) { in mlx5e_get_fec_cap_field()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_conn.c | 231 if (lmp_rswitch_capable(hdev) && !(hdev->link_mode & HCI_LM_MASTER)) in hci_acl_create_connection() 1582 u32 link_mode = 0; in get_link_mode() local 1585 link_mode |= HCI_LM_MASTER; in get_link_mode() 1588 link_mode |= HCI_LM_ENCRYPT; in get_link_mode() 1591 link_mode |= HCI_LM_AUTH; in get_link_mode() 1594 link_mode |= HCI_LM_SECURE; in get_link_mode() 1597 link_mode |= HCI_LM_FIPS; in get_link_mode() 1599 return link_mode; in get_link_mode() 1637 (ci + n)->link_mode = get_link_mode(c); in hci_get_conn_list() 1673 ci.link_mode = get_link_mode(conn); in hci_get_conn_info()
|
D | hci_core.c | 2072 hdev->link_mode = ((__u16) dr.dev_opt) & in hci_dev_cmd() 2194 di.link_mode = hdev->link_mode; in hci_get_dev_info() 3599 hdev->link_mode = (HCI_LM_ACCEPT); in hci_alloc_dev()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | sungem_phy.c | 551 int link_mode; in bcm54xx_read_link() local 556 link_mode = ((val & MII_BCM5400_AUXSTATUS_LINKMODE_MASK) >> in bcm54xx_read_link() 558 phy->duplex = phy_BCM5400_link_table[link_mode][0] ? in bcm54xx_read_link() 560 phy->speed = phy_BCM5400_link_table[link_mode][2] ? in bcm54xx_read_link() 562 (phy_BCM5400_link_table[link_mode][1] ? in bcm54xx_read_link()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ethtool.c | 1616 mlxsw_sp2_set_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode, in mlxsw_sp2_set_bit_ethtool() argument 1621 for (i = 0; i < link_mode->m_ethtool_len; i++) in mlxsw_sp2_set_bit_ethtool() 1622 __set_bit(link_mode->mask_ethtool[i], mode); in mlxsw_sp2_set_bit_ethtool() 1691 mlxsw_sp2_test_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode, in mlxsw_sp2_test_bit_ethtool() argument 1697 for (i = 0; i < link_mode->m_ethtool_len; i++) { in mlxsw_sp2_test_bit_ethtool() 1698 if (test_bit(link_mode->mask_ethtool[i], mode)) in mlxsw_sp2_test_bit_ethtool() 1702 return cnt == link_mode->m_ethtool_len; in mlxsw_sp2_test_bit_ethtool()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 1165 u8 link_mode = MHL_DST_LM_PATH_ENABLED; in sii8620_start_video() local 1168 link_mode |= MHL_DST_LM_CLK_MODE_PACKED_PIXEL; in sii8620_start_video() 1170 link_mode |= MHL_DST_LM_CLK_MODE_NORMAL; in sii8620_start_video() 1172 sii8620_mt_write_stat(ctx, MHL_DST_REG(LINK_MODE), link_mode); in sii8620_start_video() 1683 u8 link_mode; in sii8620_status_changed_path() local 1686 link_mode = MHL_DST_LM_CLK_MODE_PACKED_PIXEL; in sii8620_status_changed_path() 1688 link_mode = MHL_DST_LM_CLK_MODE_NORMAL; in sii8620_status_changed_path() 1691 link_mode |= MHL_DST_LM_PATH_ENABLED; in sii8620_status_changed_path() 1694 link_mode); in sii8620_status_changed_path()
|
/kernel/linux/linux-5.10/net/core/ |
D | link_watch.c | 60 switch(dev->link_mode) { in rfc2863_policy()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_port.h | 75 #define MLX4_PROT_MASK(link_mode) (1<<link_mode) argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.h | 294 int link_mode; member
|
D | ps3_gelic_net.c | 118 card->link_mode = mode; in gelic_card_set_link_mode() 1228 if (card->link_mode & GELIC_LV1_ETHER_AUTO_NEG) { in gelic_ether_get_link_ksettings() 1679 card->link_mode = GELIC_LV1_ETHER_AUTO_NEG; in ps3_gelic_driver_probe()
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | hif_api_general.h | 137 u8 link_mode:2; member
|
D | main.c | 374 wdev->keyset, wdev->hw_caps.link_mode); in wfx_probe() 390 if (wdev->hw_caps.link_mode == SEC_LINK_ENFORCED) { in wfx_probe()
|
/kernel/linux/linux-5.10/net/ncsi/ |
D | ncsi-pkt.h | 231 __be32 link_mode; /* Link setting */ member
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-net | 136 authentication is performed (e.g: 802.1x). 'link_mode' attribute 209 What: /sys/class/net/<iface>/link_mode
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 560 u32 link_mode = 0; in igb_get_invariants_82575() local 629 link_mode = ctrl_ext & E1000_CTRL_EXT_LINK_MODE_MASK; in igb_get_invariants_82575() 630 switch (link_mode) { in igb_get_invariants_82575() 652 if (link_mode == E1000_CTRL_EXT_LINK_MODE_SGMII) { in igb_get_invariants_82575()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
D | cassini.c | 178 static int link_mode; variable 186 module_param(link_mode, int, 0); 187 MODULE_PARM_DESC(link_mode, "default link mode"); 5028 if (link_mode >= 0 && link_mode < 6) in cas_init_one() 5029 cp->link_cntl = link_modes[link_mode]; in cas_init_one()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | phy_device.c | 2550 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode() argument 2552 linkmode_clear_bit(link_mode, phydev->supported); in phy_remove_link_mode()
|