Searched refs:dpmac_state (Results 1 – 1 of 1) sorted by relevance
164 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_config() local169 dpmac_state->options |= DPMAC_LINK_OPT_AUTONEG; in dpaa2_mac_config()171 dpmac_state->options &= ~DPMAC_LINK_OPT_AUTONEG; in dpaa2_mac_config()174 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config()200 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_link_up() local203 dpmac_state->up = 1; in dpaa2_mac_link_up()205 dpmac_state->rate = speed; in dpaa2_mac_link_up()208 dpmac_state->options |= DPMAC_LINK_OPT_HALF_DUPLEX; in dpaa2_mac_link_up()210 dpmac_state->options &= ~DPMAC_LINK_OPT_HALF_DUPLEX; in dpaa2_mac_link_up()213 dpmac_state->options |= DPMAC_LINK_OPT_PAUSE; in dpaa2_mac_link_up()[all …]