Lines Matching refs:fc_conf
76 struct rte_eth_fc_conf *fc_conf);
78 struct rte_eth_fc_conf *fc_conf);
1199 axgbe_flow_ctrl_get(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in axgbe_flow_ctrl_get() argument
1221 fc_conf->high_water = (1024 + (fc.low_water[0] << 9)) / 1024; in axgbe_flow_ctrl_get()
1222 fc_conf->low_water = (1024 + (fc.high_water[0] << 9)) / 1024; in axgbe_flow_ctrl_get()
1223 fc_conf->pause_time = fc.pause_time[0]; in axgbe_flow_ctrl_get()
1224 fc_conf->send_xon = fc.send_xon; in axgbe_flow_ctrl_get()
1225 fc_conf->mode = fc.mode; in axgbe_flow_ctrl_get()
1231 axgbe_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) in axgbe_flow_ctrl_set() argument
1238 pdata->pause_autoneg = fc_conf->autoneg; in axgbe_flow_ctrl_set()
1240 fc.send_xon = fc_conf->send_xon; in axgbe_flow_ctrl_set()
1242 AXGMAC_FLOW_CONTROL_VALUE(1024 * fc_conf->high_water)); in axgbe_flow_ctrl_set()
1244 AXGMAC_FLOW_CONTROL_VALUE(1024 * fc_conf->low_water)); in axgbe_flow_ctrl_set()
1245 AXGMAC_SET_BITS(reg_val, MAC_Q0TFCR, PT, fc_conf->pause_time); in axgbe_flow_ctrl_set()
1247 fc.mode = fc_conf->mode; in axgbe_flow_ctrl_set()