Home
last modified time | relevance | path

Searched refs:dpmac_state (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-mac.c179 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_config() local
183 dpmac_state->options |= DPMAC_LINK_OPT_AUTONEG; in dpaa2_mac_config()
185 dpmac_state->options &= ~DPMAC_LINK_OPT_AUTONEG; in dpaa2_mac_config()
188 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config()
204 dpmac_state->up = 1; in dpaa2_mac_link_up()
206 dpmac_state->rate = speed; in dpaa2_mac_link_up()
214 dpmac_state->options |= DPMAC_LINK_OPT_PAUSE; in dpaa2_mac_link_up()
216 dpmac_state->options &= ~DPMAC_LINK_OPT_PAUSE; in dpaa2_mac_link_up()
224 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_up()
238 dpmac_state->up = 0; in dpaa2_mac_link_down()
[all …]

Completed in 3 milliseconds