Searched refs:link_state (Results 1 - 25 of 237) sorted by relevance

12345678910

/linux-master/include/trace/events/
H A Dufs.h194 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;
215 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d",
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),
[all...]
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii.h21 int (*link_change)(struct emac_adapter *adpt, bool link_state);
49 int emac_sgmii_link_change(struct emac_adapter *adpt, bool link_state);
/linux-master/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_ethtool.c30 return ((priv->rtllib->link_state == MAC80211_LINKED) ||
31 (priv->rtllib->link_state == MAC80211_LINKED_SCANNING));
/linux-master/drivers/net/ethernet/sfc/
H A Dsriov.h22 int link_state);
H A Dsriov.c63 int link_state)
69 link_state);
62 efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, int link_state) argument
H A Def10_sriov.h52 int link_state);
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpmac.c122 * @link_state: Link state configuration
129 struct dpmac_link_state *link_state)
139 cmd_params->options = cpu_to_le64(link_state->options);
140 cmd_params->rate = cpu_to_le32(link_state->rate);
141 dpmac_set_field(cmd_params->state, STATE, link_state->up);
143 link_state->state_valid);
144 cmd_params->supported = cpu_to_le64(link_state->supported);
145 cmd_params->advertising = cpu_to_le64(link_state->advertising);
126 dpmac_set_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpmac_link_state *link_state) argument
H A Ddpaa2-eth-dcb.c11 if (!(priv->link_state.options & DPNI_LINK_OPT_PFC_PAUSE))
79 tx_pause = dpaa2_eth_tx_pause_enabled(priv->link_state.options);
80 if (!dpaa2_eth_rx_pause_enabled(priv->link_state.options) || !tx_pause)
83 link_cfg.rate = priv->link_state.rate;
84 link_cfg.options = priv->link_state.options;
/linux-master/include/linux/qed/
H A Dqed_iov_if.h24 int link_state);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsriov.h71 int link_state)
77 link_state);
70 efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, int link_state) argument
H A Dmcdi_port_common.c283 struct efx_link_state *link_state,
289 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX;
292 link_state->fc = EFX_FC_TX | EFX_FC_RX;
295 link_state->fc = EFX_FC_RX;
301 link_state->fc = 0;
305 link_state->up = !!(flags & (1 << MC_CMD_GET_LINK_OUT_LINK_UP_LBN));
306 link_state->fd = !!(flags & (1 << MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN));
307 link_state->speed = speed;
403 struct efx_link_state old_state = efx->link_state;
414 efx->link_state
282 efx_mcdi_phy_decode_link(struct efx_nic *efx, struct efx_link_state *link_state, u32 speed, u32 flags, u32 fcntl) argument
[all...]
/linux-master/drivers/scsi/qedi/
H A Dqedi_sysfs.c25 if (atomic_read(&qedi->link_state) == QEDI_LINK_UP)
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Ddm.c29 if ((mac->link_state < MAC80211_LINKED) &&
40 if (mac->link_state >= MAC80211_LINKED) {
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Ddm.c26 if ((mac->link_state < MAC80211_LINKED) &&
37 if (mac->link_state >= MAC80211_LINKED) {
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dtenxpress.c354 struct ef4_link_state old_state = efx->link_state;
356 efx->link_state.up = sfx7101_link_ok(efx);
357 efx->link_state.speed = 10000;
358 efx->link_state.fd = true;
359 efx->link_state.fc = ef4_mdio_get_pause(efx);
361 sfx7101_check_bad_lp(efx, efx->link_state.up);
363 return !ef4_link_state_equal(&efx->link_state, &old_state);
H A Dqt202x_phy.c190 if (efx->link_state.up ||
387 bool was_up = efx->link_state.up;
389 efx->link_state.up = qt202x_link_ok(efx);
390 efx->link_state.speed = 10000;
391 efx->link_state.fd = true;
392 efx->link_state.fc = efx->wanted_fc;
397 return efx->link_state.up != was_up;
H A Dtxc43128_phy.c492 bool was_up = efx->link_state.up;
494 efx->link_state.up = txc43128_phy_read_link(efx);
495 efx->link_state.speed = 10000;
496 efx->link_state.fd = true;
497 efx->link_state.fc = efx->wanted_fc;
499 if (efx->link_state.up || (efx->loopback_mode != LOOPBACK_NONE)) {
509 return efx->link_state.up != was_up;
/linux-master/drivers/net/phy/
H A Dphylink.c1327 struct phylink_link_state link_state; local
1331 link_state = pl->phy_state;
1335 phylink_get_fixed_state(pl, &link_state);
1339 link_state = pl->link_config;
1340 if (link_state.interface == PHY_INTERFACE_MODE_SGMII)
1341 link_state.pause = MLO_PAUSE_NONE;
1348 link_state.link = false;
1350 phylink_apply_manual_flow(pl, &link_state);
1351 phylink_major_config(pl, force_restart, &link_state);
1369 struct phylink_link_state link_state)
1368 phylink_link_up(struct phylink *pl, struct phylink_link_state link_state) argument
1438 struct phylink_link_state link_state; local
2392 struct phylink_link_state link_state; local
[all...]
/linux-master/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c182 u32 link_state; local
185 link_state = BDC_PST(uspc);
186 switch (link_state) {
226 dev_dbg(bdc->dev, "link state:%d\n", link_state);
470 u8 link_state; local
483 link_state = BDC_PST(uspc);
484 dev_dbg(bdc->dev, "link_state =%d portsc=%x", link_state, uspc);
485 if (link_state != BDC_LINK_STATE_U3) {
488 link_state);
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.h67 int link_state);
/linux-master/drivers/scsi/snic/
H A Dsnic_attrs.c55 static DEVICE_ATTR(link_state, S_IRUGO, snic_show_link_state, NULL);
/linux-master/drivers/usb/dwc3/
H A Ddebug.h84 * @link_state: link state code
87 dwc3_gadget_link_string(enum dwc3_link_state link_state) argument
89 switch (link_state) {
125 * @link_state: link state code
128 dwc3_gadget_hs_link_string(enum dwc3_link_state link_state) argument
130 switch (link_state) {
/linux-master/include/linux/
H A Dmii_timestamper.h32 * @link_state: Allows the device to respond to changes in the link
58 void (*link_state)(struct mii_timestamper *mii_ts, member in struct:mii_timestamper
/linux-master/drivers/gpu/drm/bridge/
H A Dmegachips-stdpxxxx-ge-b850v3-fw.c134 s32 link_state; local
136 link_state = i2c_smbus_read_word_data(stdp4028_i2c,
139 if (link_state == STDP4028_CON_STATE_CONNECTED)
142 if (link_state == 0)
/linux-master/drivers/scsi/fnic/
H A Dfnic_attrs.c36 static DEVICE_ATTR(link_state, S_IRUGO, fnic_show_link_state, NULL);

Completed in 190 milliseconds

12345678910