/linux-6.1.9/include/trace/events/ |
D | ufs.h | 194 int dev_state, int link_state), 196 TP_ARGS(dev_name, err, usecs, dev_state, link_state), 203 __field(int, link_state) 211 __entry->link_state = link_state; 219 __print_symbolic(__entry->link_state, UFS_LINK_STATES), 226 int dev_state, int link_state), 227 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 231 int dev_state, int link_state), 232 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 236 int dev_state, int link_state), [all …]
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpmac.c | 129 struct dpmac_link_state *link_state) in dpmac_set_link_state() argument 139 cmd_params->options = cpu_to_le64(link_state->options); in dpmac_set_link_state() 140 cmd_params->rate = cpu_to_le32(link_state->rate); in dpmac_set_link_state() 141 dpmac_set_field(cmd_params->state, STATE, link_state->up); in dpmac_set_link_state() 143 link_state->state_valid); in dpmac_set_link_state() 144 cmd_params->supported = cpu_to_le64(link_state->supported); in dpmac_set_link_state() 145 cmd_params->advertising = cpu_to_le64(link_state->advertising); in dpmac_set_link_state()
|
D | dpaa2-eth-dcb.c | 11 if (!(priv->link_state.options & DPNI_LINK_OPT_PFC_PAUSE)) in dpaa2_eth_dcbnl_ieee_getpfc() 79 tx_pause = dpaa2_eth_tx_pause_enabled(priv->link_state.options); in dpaa2_eth_dcbnl_ieee_setpfc() 80 if (!dpaa2_eth_rx_pause_enabled(priv->link_state.options) || !tx_pause) in dpaa2_eth_dcbnl_ieee_setpfc() 83 link_cfg.rate = priv->link_state.rate; in dpaa2_eth_dcbnl_ieee_setpfc() 84 link_cfg.options = priv->link_state.options; in dpaa2_eth_dcbnl_ieee_setpfc()
|
D | dpaa2-ethtool.c | 107 if (!(priv->link_state.options & DPNI_LINK_OPT_HALF_DUPLEX)) in dpaa2_eth_get_link_ksettings() 109 link_settings->base.speed = priv->link_state.rate; in dpaa2_eth_get_link_ksettings() 130 u64 link_options = priv->link_state.options; in dpaa2_eth_get_pauseparam() 161 cfg.rate = priv->link_state.rate; in dpaa2_eth_set_pauseparam() 162 cfg.options = priv->link_state.options; in dpaa2_eth_set_pauseparam() 172 if (cfg.options == priv->link_state.options) in dpaa2_eth_set_pauseparam() 181 priv->link_state.options = cfg.options; in dpaa2_eth_set_pauseparam()
|
/linux-6.1.9/drivers/net/phy/ |
D | phylink.c | 1147 struct phylink_link_state link_state; in phylink_mac_initial_config() local 1151 link_state = pl->phy_state; in phylink_mac_initial_config() 1155 phylink_get_fixed_state(pl, &link_state); in phylink_mac_initial_config() 1159 link_state = pl->link_config; in phylink_mac_initial_config() 1160 if (link_state.interface == PHY_INTERFACE_MODE_SGMII) in phylink_mac_initial_config() 1161 link_state.pause = MLO_PAUSE_NONE; in phylink_mac_initial_config() 1168 link_state.link = false; in phylink_mac_initial_config() 1170 phylink_apply_manual_flow(pl, &link_state); in phylink_mac_initial_config() 1171 phylink_major_config(pl, force_restart, &link_state); in phylink_mac_initial_config() 1189 struct phylink_link_state link_state) in phylink_link_up() argument [all …]
|
/linux-6.1.9/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 182 u32 link_state; in handle_link_state_change() local 185 link_state = BDC_PST(uspc); in handle_link_state_change() 186 switch (link_state) { in handle_link_state_change() 226 dev_dbg(bdc->dev, "link state:%d\n", link_state); in handle_link_state_change() 470 u8 link_state; in bdc_udc_wakeup() local 483 link_state = BDC_PST(uspc); in bdc_udc_wakeup() 484 dev_dbg(bdc->dev, "link_state =%d portsc=%x", link_state, uspc); in bdc_udc_wakeup() 485 if (link_state != BDC_LINK_STATE_U3) { in bdc_udc_wakeup() 488 link_state); in bdc_udc_wakeup() 501 link_state = BDC_PST(uspc); in bdc_udc_wakeup() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/ |
D | tenxpress.c | 354 struct ef4_link_state old_state = efx->link_state; in tenxpress_phy_poll() 356 efx->link_state.up = sfx7101_link_ok(efx); in tenxpress_phy_poll() 357 efx->link_state.speed = 10000; in tenxpress_phy_poll() 358 efx->link_state.fd = true; in tenxpress_phy_poll() 359 efx->link_state.fc = ef4_mdio_get_pause(efx); in tenxpress_phy_poll() 361 sfx7101_check_bad_lp(efx, efx->link_state.up); in tenxpress_phy_poll() 363 return !ef4_link_state_equal(&efx->link_state, &old_state); in tenxpress_phy_poll()
|
D | qt202x_phy.c | 190 if (efx->link_state.up || in qt2025c_bug17190_workaround() 387 bool was_up = efx->link_state.up; in qt202x_phy_poll() 389 efx->link_state.up = qt202x_link_ok(efx); in qt202x_phy_poll() 390 efx->link_state.speed = 10000; in qt202x_phy_poll() 391 efx->link_state.fd = true; in qt202x_phy_poll() 392 efx->link_state.fc = efx->wanted_fc; in qt202x_phy_poll() 397 return efx->link_state.up != was_up; in qt202x_phy_poll()
|
D | txc43128_phy.c | 492 bool was_up = efx->link_state.up; in txc43128_phy_poll() 494 efx->link_state.up = txc43128_phy_read_link(efx); in txc43128_phy_poll() 495 efx->link_state.speed = 10000; in txc43128_phy_poll() 496 efx->link_state.fd = true; in txc43128_phy_poll() 497 efx->link_state.fc = efx->wanted_fc; in txc43128_phy_poll() 499 if (efx->link_state.up || (efx->loopback_mode != LOOPBACK_NONE)) { in txc43128_phy_poll() 509 return efx->link_state.up != was_up; in txc43128_phy_poll()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 282 struct efx_link_state *link_state, in efx_mcdi_phy_decode_link() argument 288 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link() 291 link_state->fc = EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link() 294 link_state->fc = EFX_FC_RX; in efx_mcdi_phy_decode_link() 300 link_state->fc = 0; in efx_mcdi_phy_decode_link() 304 link_state->up = !!(flags & (1 << MC_CMD_GET_LINK_OUT_LINK_UP_LBN)); in efx_mcdi_phy_decode_link() 305 link_state->fd = !!(flags & (1 << MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN)); in efx_mcdi_phy_decode_link() 306 link_state->speed = speed; in efx_mcdi_phy_decode_link() 402 struct efx_link_state old_state = efx->link_state; in efx_mcdi_phy_poll() 413 efx->link_state.up = false; in efx_mcdi_phy_poll() [all …]
|
D | sriov.c | 63 int link_state) in efx_sriov_set_vf_link_state() argument 69 link_state); in efx_sriov_set_vf_link_state()
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 283 struct efx_link_state *link_state, in efx_mcdi_phy_decode_link() argument 289 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link() 292 link_state->fc = EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link() 295 link_state->fc = EFX_FC_RX; in efx_mcdi_phy_decode_link() 301 link_state->fc = 0; in efx_mcdi_phy_decode_link() 305 link_state->up = !!(flags & (1 << MC_CMD_GET_LINK_OUT_LINK_UP_LBN)); in efx_mcdi_phy_decode_link() 306 link_state->fd = !!(flags & (1 << MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN)); in efx_mcdi_phy_decode_link() 307 link_state->speed = speed; in efx_mcdi_phy_decode_link() 403 struct efx_link_state old_state = efx->link_state; in efx_siena_mcdi_phy_poll() 414 efx->link_state.up = false; in efx_siena_mcdi_phy_poll() [all …]
|
D | sriov.h | 71 int link_state) in efx_sriov_set_vf_link_state() argument 77 link_state); in efx_sriov_set_vf_link_state()
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-hub.c | 770 u32 link_state) in xhci_set_link_state() argument 778 temp |= PORT_LINK_STROBE | link_state; in xhci_set_link_state() 1025 u32 link_state; in xhci_get_usb3_port_status() local 1031 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb3_port_status() 1043 if (portsc & PORT_PLC && (link_state != XDEV_RESUME)) in xhci_get_usb3_port_status() 1054 if (link_state == XDEV_U0) in xhci_get_usb3_port_status() 1060 link_state != XDEV_RESUME && in xhci_get_usb3_port_status() 1061 link_state != XDEV_RECOVERY) { in xhci_get_usb3_port_status() 1074 u32 link_state; in xhci_get_usb2_port_status() local 1079 link_state = portsc & PORT_PLS_MASK; in xhci_get_usb2_port_status() [all …]
|
/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/ |
D | emac-sgmii.h | 21 int (*link_change)(struct emac_adapter *adpt, bool link_state); 49 int emac_sgmii_link_change(struct emac_adapter *adpt, bool link_state);
|
/linux-6.1.9/drivers/usb/dwc3/ |
D | debug.h | 85 dwc3_gadget_link_string(enum dwc3_link_state link_state) in dwc3_gadget_link_string() argument 87 switch (link_state) { in dwc3_gadget_link_string() 126 dwc3_gadget_hs_link_string(enum dwc3_link_state link_state) in dwc3_gadget_hs_link_string() argument 128 switch (link_state) { in dwc3_gadget_hs_link_string()
|
/linux-6.1.9/drivers/gpu/drm/bridge/ |
D | megachips-stdpxxxx-ge-b850v3-fw.c | 173 s32 link_state; in ge_b850v3_lvds_bridge_detect() local 175 link_state = i2c_smbus_read_word_data(stdp4028_i2c, in ge_b850v3_lvds_bridge_detect() 178 if (link_state == STDP4028_CON_STATE_CONNECTED) in ge_b850v3_lvds_bridge_detect() 181 if (link_state == 0) in ge_b850v3_lvds_bridge_detect()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | dm.c | 29 if ((mac->link_state < MAC80211_LINKED) && in rtl92ce_dm_dynamic_txpower() 40 if (mac->link_state >= MAC80211_LINKED) { in rtl92ce_dm_dynamic_txpower()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 107 if (rtlpriv->mac80211.link_state >= MAC80211_LINKED) { in rtl92ee_dm_cck_packet_detection_thresh() 144 bfirstconnect = (mac->link_state >= MAC80211_LINKED) && in rtl92ee_dm_dig() 146 bfirstdisconnect = (mac->link_state < MAC80211_LINKED) && in rtl92ee_dm_dig() 153 if (mac->link_state >= MAC80211_LINKED) { in rtl92ee_dm_dig() 224 if (mac->link_state >= MAC80211_LINKED) { in rtl92ee_dm_dig() 263 dm_dig->media_connect_0 = ((mac->link_state >= MAC80211_LINKED) ? in rtl92ee_dm_dig() 334 if ((mac->link_state < MAC80211_LINKED) && in rtl92ee_dm_find_minimum_rssi() 340 if (mac->link_state >= MAC80211_LINKED) { in rtl92ee_dm_find_minimum_rssi() 590 if (rtlpriv->mac80211.link_state < MAC80211_LINKED) in rtl92ee_dm_dynamic_primary_cca_ckeck() 680 if (rtlpriv->mac80211.link_state < MAC80211_LINKED) { in rtl92ee_dm_dynamic_atc_switch() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | dm.c | 26 if ((mac->link_state < MAC80211_LINKED) && in rtl92cu_dm_dynamic_txpower() 37 if (mac->link_state >= MAC80211_LINKED) { in rtl92cu_dm_dynamic_txpower()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 202 if (mac->link_state > MAC80211_NOLINK) in rtl_ips_nic_off_wq_callback() 229 (mac->link_state == MAC80211_NOLINK) && in rtl_ips_nic_off_wq_callback() 315 if (mac->link_state != MAC80211_LINKED) in rtl_get_fwlps_doze() 335 if (mac->link_state != MAC80211_LINKED) in rtl_lps_set_psmode() 414 if (mac->link_state != MAC80211_LINKED) in rtl_lps_enter_core() 479 if (rtlpriv->mac80211.link_state != MAC80211_LINKED) in rtl_swlps_beacon() 551 if (mac->link_state != MAC80211_LINKED) in rtl_swlps_rf_awake() 589 if ((mac->link_state != MAC80211_LINKED) || (mac->cnt_after_linked < 5)) in rtl_swlps_rf_sleep() 977 if (mac->link_state != MAC80211_LINKED) in rtl_p2p_info()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | dm.c | 23 if (mac->link_state == MAC80211_LINKED && in rtl8723e_dm_initial_gain_min_pwdb() 313 if (mac->link_state >= MAC80211_LINKED) in rtl8723e_dm_ctrl_initgain_by_twoport() 355 if ((mac->link_state < MAC80211_LINKED) && in rtl8723e_dm_dynamic_txpower() 366 if (mac->link_state >= MAC80211_LINKED) { in rtl8723e_dm_dynamic_txpower() 473 if (mac->link_state != MAC80211_LINKED) { in rtl8723e_dm_check_edca_turbo() 575 if (mac->link_state == MAC80211_LINKED && in rtl8723e_dm_refresh_rate_adaptive_mask() 716 if (((mac->link_state == MAC80211_NOLINK)) && in rtl8723e_dm_dynamic_bb_powersaving() 723 if (mac->link_state == MAC80211_LINKED) { in rtl8723e_dm_dynamic_bb_powersaving()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 265 if ((mac->link_state < MAC80211_LINKED) && in rtl8723be_dm_find_minimum_rssi() 271 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_find_minimum_rssi() 389 bfirstconnect = (mac->link_state >= MAC80211_LINKED) && in rtl8723be_dm_dig() 391 bfirstdisconnect = (mac->link_state < MAC80211_LINKED) && in rtl8723be_dm_dig() 398 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_dig() 469 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_dig() 505 ((mac->link_state >= MAC80211_LINKED) ? true : false); in rtl8723be_dm_dig() 928 if (mac->link_state == MAC80211_LINKED && in rtl8723be_dm_refresh_rate_adaptive_mask() 1052 if (rtlpriv->mac80211.link_state >= MAC80211_LINKED) { in rtl8723be_dm_cck_packet_detection_thresh() 1116 if (rtlpriv->mac80211.link_state < MAC80211_LINKED) { in rtl8723be_dm_dynamic_atc_switch() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 60 if (mac->link_state != MAC80211_LINKED) { in _rtl92s_dm_check_edca_turbo() 224 if ((mac->link_state == MAC80211_LINKED) && in _rtl92s_dm_refresh_rateadaptive_mask() 305 if (mac->link_state >= MAC80211_LINKED) { in _rtl92s_dm_switch_baseband_mrc() 517 if (rtlpriv->mac80211.link_state >= MAC80211_LINKED || in _rtl92s_dm_ctrl_initgain_bytwoport() 577 if ((mac->link_state < MAC80211_LINKED) && in _rtl92s_dm_dynamic_txpower() 588 if (mac->link_state >= MAC80211_LINKED) { in _rtl92s_dm_dynamic_txpower()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_sriov.h | 52 int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state); 133 int __always_unused vf_id, int __always_unused link_state) in ice_set_vf_link_state() argument
|