Lines Matching refs:mac_dev
121 struct mac_device *mac_dev; in dpaa_get_pauseparam() local
125 mac_dev = priv->mac_dev; in dpaa_get_pauseparam()
130 epause->autoneg = mac_dev->autoneg_pause; in dpaa_get_pauseparam()
131 epause->rx_pause = mac_dev->rx_pause_active; in dpaa_get_pauseparam()
132 epause->tx_pause = mac_dev->tx_pause_active; in dpaa_get_pauseparam()
138 struct mac_device *mac_dev; in dpaa_set_pauseparam() local
145 mac_dev = priv->mac_dev; in dpaa_set_pauseparam()
160 mac_dev->autoneg_pause = !!epause->autoneg; in dpaa_set_pauseparam()
161 mac_dev->rx_pause_req = !!epause->rx_pause; in dpaa_set_pauseparam()
162 mac_dev->tx_pause_req = !!epause->tx_pause; in dpaa_set_pauseparam()
170 fman_get_pause_cfg(mac_dev, &rx_pause, &tx_pause); in dpaa_set_pauseparam()
171 err = fman_set_mac_active_pause(mac_dev, rx_pause, tx_pause); in dpaa_set_pauseparam()
392 struct mac_device *mac_dev; in dpaa_set_hash() local
397 mac_dev = priv->mac_dev; in dpaa_set_hash()
398 rxport = mac_dev->port[0]; in dpaa_set_hash()