/Linux-v4.19/drivers/staging/octeon/ |
D | ethernet-rgmii.c | 64 cvmx_helper_link_info_t link_info; in cvm_oct_check_preamble_errors() local 67 link_info.u64 = priv->link_info; in cvm_oct_check_preamble_errors() 75 if (link_info.s.speed == 10 && priv->last_speed == 10) { in cvm_oct_check_preamble_errors() 104 if (priv->last_speed != link_info.s.speed) in cvm_oct_check_preamble_errors() 106 priv->last_speed = link_info.s.speed; in cvm_oct_check_preamble_errors() 114 cvmx_helper_link_info_t link_info; in cvm_oct_rgmii_poll() local 117 link_info = cvmx_helper_link_get(priv->port); in cvm_oct_rgmii_poll() 118 if (priv->link_info != link_info.u64 && in cvm_oct_rgmii_poll() 119 cvmx_helper_link_set(priv->port, link_info)) in cvm_oct_rgmii_poll() 120 link_info.u64 = priv->link_info; in cvm_oct_rgmii_poll() [all …]
|
D | ethernet-mdio.c | 89 cvmx_helper_link_info_t link_info; in cvm_oct_adjust_link() local 91 link_info.u64 = 0; in cvm_oct_adjust_link() 92 link_info.s.link_up = dev->phydev->link ? 1 : 0; in cvm_oct_adjust_link() 93 link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; in cvm_oct_adjust_link() 94 link_info.s.speed = dev->phydev->speed; in cvm_oct_adjust_link() 95 priv->link_info = link_info.u64; in cvm_oct_adjust_link() 105 cvmx_helper_link_set(priv->port, link_info); in cvm_oct_adjust_link() 106 cvm_oct_note_carrier(priv, link_info); in cvm_oct_adjust_link() 114 cvmx_helper_link_info_t link_info; in cvm_oct_common_stop() local 128 link_info.u64 = 0; in cvm_oct_common_stop() [all …]
|
D | ethernet.c | 474 cvmx_helper_link_info_t link_info; in cvm_oct_common_open() local 497 link_info = cvmx_helper_link_get(priv->port); in cvm_oct_common_open() 498 if (!link_info.s.link_up) in cvm_oct_common_open() 510 cvmx_helper_link_info_t link_info; in cvm_oct_link_poll() local 512 link_info = cvmx_helper_link_get(priv->port); in cvm_oct_link_poll() 513 if (link_info.u64 == priv->link_info) in cvm_oct_link_poll() 516 if (cvmx_helper_link_set(priv->port, link_info)) in cvm_oct_link_poll() 517 link_info.u64 = priv->link_info; in cvm_oct_link_poll() 519 priv->link_info = link_info.u64; in cvm_oct_link_poll() 521 if (link_info.s.link_up) { in cvm_oct_link_poll() [all …]
|
D | octeon-ethernet.h | 41 u64 link_info; member
|
/Linux-v4.19/drivers/thunderbolt/ |
D | tb_msgs.h | 178 u16 link_info; member 200 u16 link_info; member 206 u16 link_info; member 218 u16 link_info; member 261 u16 link_info; member 272 u16 link_info; member 299 u16 link_info; member 305 u16 link_info; member 351 u16 link_info; member 364 u16 link_info; member
|
D | icm.c | 426 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths() 591 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected() 592 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_connected() 594 authorized = pkg->link_info & ICM_LINK_INFO_APPROVED; in icm_fr_device_connected() 597 boot = pkg->link_info & ICM_LINK_INFO_BOOT; in icm_fr_device_connected() 599 if (pkg->link_info & ICM_LINK_INFO_REJECTED) { in icm_fr_device_connected() 711 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_disconnected() 712 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_disconnected() 741 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_xdomain_connected() 742 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_xdomain_connected() [all …]
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1084 static void bnxt_fw_to_ethtool_advertised_spds(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_advertised_spds() argument 1087 u16 fw_speeds = link_info->advertising; in bnxt_fw_to_ethtool_advertised_spds() 1090 if (link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL) in bnxt_fw_to_ethtool_advertised_spds() 1091 fw_pause = link_info->auto_pause_setting; in bnxt_fw_to_ethtool_advertised_spds() 1096 static void bnxt_fw_to_ethtool_lp_adv(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_lp_adv() argument 1099 u16 fw_speeds = link_info->lp_auto_link_speeds; in bnxt_fw_to_ethtool_lp_adv() 1102 if (link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL) in bnxt_fw_to_ethtool_lp_adv() 1103 fw_pause = link_info->lp_pause; in bnxt_fw_to_ethtool_lp_adv() 1109 static void bnxt_fw_to_ethtool_support_spds(struct bnxt_link_info *link_info, in bnxt_fw_to_ethtool_support_spds() argument 1112 u16 fw_speeds = link_info->support_speeds; in bnxt_fw_to_ethtool_support_spds() [all …]
|
D | bnxt.c | 1716 struct bnxt_link_info *link_info = &bp->link_info; in bnxt_async_event_process() local 1722 if (!(link_info->autoneg & BNXT_AUTONEG_SPEED) && in bnxt_async_event_process() 1724 u16 fw_speed = link_info->force_link_speed; in bnxt_async_event_process() 6294 if (bp->link_info.link_up) in bnxt_tx_enable() 6300 if (bp->link_info.link_up) { in bnxt_report_link() 6307 if (bp->link_info.duplex == BNXT_LINK_DUPLEX_FULL) in bnxt_report_link() 6311 if (bp->link_info.pause == BNXT_LINK_PAUSE_BOTH) in bnxt_report_link() 6313 else if (bp->link_info.pause == BNXT_LINK_PAUSE_TX) in bnxt_report_link() 6315 else if (bp->link_info.pause == BNXT_LINK_PAUSE_RX) in bnxt_report_link() 6319 speed = bnxt_fw_to_ethtool_speed(bp->link_info.link_speed); in bnxt_report_link() [all …]
|
/Linux-v4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-rgmii.c | 295 cvmx_helper_link_info_t link_info) in __cvmx_helper_rgmii_link_set() argument 366 else if (!link_info.s.link_up) in __cvmx_helper_rgmii_link_set() 370 new_gmx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_rgmii_link_set() 373 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set() 376 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set() 385 if (link_info.s.speed == 10) { in __cvmx_helper_rgmii_link_set() 389 } else if (link_info.s.speed == 100) { in __cvmx_helper_rgmii_link_set() 400 if ((link_info.s.speed == 10) || (link_info.s.speed == 100)) { in __cvmx_helper_rgmii_link_set()
|
D | cvmx-helper-sgmii.c | 204 link_info) in __cvmx_helper_sgmii_hardware_init_link_speed() 243 pcsx_miscx_ctl_reg.s.gmxeno = !link_info.s.link_up; in __cvmx_helper_sgmii_hardware_init_link_speed() 246 if (link_info.s.link_up) in __cvmx_helper_sgmii_hardware_init_link_speed() 247 gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; in __cvmx_helper_sgmii_hardware_init_link_speed() 250 switch (link_info.s.speed) { in __cvmx_helper_sgmii_hardware_init_link_speed() 508 cvmx_helper_link_info_t link_info) in __cvmx_helper_sgmii_link_set() argument 514 link_info); in __cvmx_helper_sgmii_link_set()
|
D | cvmx-helper.c | 1204 int cvmx_helper_link_set(int ipd_port, cvmx_helper_link_info_t link_info) in cvmx_helper_link_set() argument 1218 result = __cvmx_helper_xaui_link_set(ipd_port, link_info); in cvmx_helper_link_set() 1226 result = __cvmx_helper_rgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set() 1229 result = __cvmx_helper_spi_link_set(ipd_port, link_info); in cvmx_helper_link_set() 1233 result = __cvmx_helper_sgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 1944 rtlpriv->link_info.bcn_rx_inperiod++; in rtl_beacon_statistic() 2101 rtlpriv->link_info.num_rx_in4period[idx] = in rtl_watchdog_wq_callback() 2102 rtlpriv->link_info.num_rx_in4period[idx + 1]; in rtl_watchdog_wq_callback() 2103 rtlpriv->link_info.num_tx_in4period[idx] = in rtl_watchdog_wq_callback() 2104 rtlpriv->link_info.num_tx_in4period[idx + 1]; in rtl_watchdog_wq_callback() 2106 rtlpriv->link_info.num_rx_in4period[3] = in rtl_watchdog_wq_callback() 2107 rtlpriv->link_info.num_rx_inperiod; in rtl_watchdog_wq_callback() 2108 rtlpriv->link_info.num_tx_in4period[3] = in rtl_watchdog_wq_callback() 2109 rtlpriv->link_info.num_tx_inperiod; in rtl_watchdog_wq_callback() 2112 rtlpriv->link_info.num_rx_in4period[idx]; in rtl_watchdog_wq_callback() [all …]
|
D | pci.c | 619 rtlpriv->link_info.tidtx_inperiod[tid]++; in _rtl_pci_tx_isr() 644 if (((rtlpriv->link_info.num_rx_inperiod + in _rtl_pci_tx_isr() 645 rtlpriv->link_info.num_tx_inperiod) > 8) || in _rtl_pci_tx_isr() 646 rtlpriv->link_info.num_rx_inperiod > 2) in _rtl_pci_tx_isr() 864 rtlpriv->link_info.num_rx_inperiod++; in _rtl_pci_rx_interrupt() 896 if (((rtlpriv->link_info.num_rx_inperiod + in _rtl_pci_rx_interrupt() 897 rtlpriv->link_info.num_tx_inperiod) > 8) || in _rtl_pci_rx_interrupt() 898 rtlpriv->link_info.num_rx_inperiod > 2) in _rtl_pci_rx_interrupt() 982 rtlpriv->link_info.num_tx_inperiod++; in _rtl_pci_interrupt() 990 rtlpriv->link_info.num_tx_inperiod++; in _rtl_pci_interrupt() [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | base.c | 1867 rtlpriv->link_info.bcn_rx_inperiod++; in rtl_beacon_statistic() 2002 rtlpriv->link_info.num_rx_in4period[idx] = in rtl_watchdog_wq_callback() 2003 rtlpriv->link_info.num_rx_in4period[idx + 1]; in rtl_watchdog_wq_callback() 2004 rtlpriv->link_info.num_tx_in4period[idx] = in rtl_watchdog_wq_callback() 2005 rtlpriv->link_info.num_tx_in4period[idx + 1]; in rtl_watchdog_wq_callback() 2007 rtlpriv->link_info.num_rx_in4period[3] = in rtl_watchdog_wq_callback() 2008 rtlpriv->link_info.num_rx_inperiod; in rtl_watchdog_wq_callback() 2009 rtlpriv->link_info.num_tx_in4period[3] = in rtl_watchdog_wq_callback() 2010 rtlpriv->link_info.num_tx_inperiod; in rtl_watchdog_wq_callback() 2013 rtlpriv->link_info.num_rx_in4period[idx]; in rtl_watchdog_wq_callback() [all …]
|
D | pci.c | 624 rtlpriv->link_info.tidtx_inperiod[tid]++; in _rtl_pci_tx_isr() 646 if (((rtlpriv->link_info.num_rx_inperiod + in _rtl_pci_tx_isr() 647 rtlpriv->link_info.num_tx_inperiod) > 8) || in _rtl_pci_tx_isr() 648 (rtlpriv->link_info.num_rx_inperiod > 2)) in _rtl_pci_tx_isr() 868 rtlpriv->link_info.num_rx_inperiod++; in _rtl_pci_rx_interrupt() 903 if (((rtlpriv->link_info.num_rx_inperiod + in _rtl_pci_rx_interrupt() 904 rtlpriv->link_info.num_tx_inperiod) > 8) || in _rtl_pci_rx_interrupt() 905 (rtlpriv->link_info.num_rx_inperiod > 2)) in _rtl_pci_rx_interrupt() 993 rtlpriv->link_info.num_tx_inperiod++; in _rtl_pci_interrupt() 1001 rtlpriv->link_info.num_tx_inperiod++; in _rtl_pci_interrupt() [all …]
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-helper-spi.h | 82 cvmx_helper_link_info_t link_info);
|
D | cvmx-helper-sgmii.h | 85 cvmx_helper_link_info_t link_info);
|
D | cvmx-helper-xaui.h | 85 cvmx_helper_link_info_t link_info);
|
D | cvmx-helper-rgmii.h | 91 cvmx_helper_link_info_t link_info);
|
D | cvmx-helper.h | 182 cvmx_helper_link_info_t link_info);
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_bt_coexist.c | 46 if (rtlpriv->link_info.busytraffic) { in _rtl8723_dm_bt_check_wifi_state() 50 if (rtlpriv->link_info.tx_busy_traffic) in _rtl8723_dm_bt_check_wifi_state() 57 if (rtlpriv->link_info.rx_busy_traffic) in _rtl8723_dm_bt_check_wifi_state() 534 if (rtlpriv->link_info.tx_busy_traffic) in rtl8723e_dm_bt_is_wifi_up_link()
|
/Linux-v4.19/tools/perf/util/ |
D | namespaces.c | 35 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new()
|
D | namespaces.h | 23 struct perf_ns_link_info link_info[]; member
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 344 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings() 345 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_get_link_ksettings() 671 hw_link_info = &pi->phy.link_info; in ice_nway_reset() 672 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_nway_reset() 697 ((pi->phy.link_info.an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_pauseparam() 730 hw_link_info = &pi->phy.link_info; in ice_set_pauseparam() 731 link_up = hw_link_info->link_info & ICE_AQ_LINK_UP; in ice_set_pauseparam()
|
D | ice_common.c | 168 hw_link_info = &pi->phy.link_info; in ice_get_media_type() 239 hw_link_info = &pi->phy.link_info; in ice_aq_get_link_info() 261 hw_link_info->link_info = link_data.link_info; in ice_aq_get_link_info() 1364 if (phy_info->link_info.link_info & ICE_AQ_MEDIA_AVAILABLE) { in ice_update_link_info() 1370 memcpy(phy_info->link_info.module_type, &pcaps->module_type, in ice_update_link_info() 1371 sizeof(phy_info->link_info.module_type)); in ice_update_link_info() 1503 *link_up = phy_info->link_info.link_info & ICE_AQ_LINK_UP; in ice_get_link_status()
|