Lines Matching refs:queue_id

385 static int eth_sam_gmac_setup_qav(Gmac *gmac, int queue_id, bool enable);
862 static int eth_sam_gmac_setup_qav(Gmac *gmac, int queue_id, bool enable) in eth_sam_gmac_setup_qav() argument
865 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_setup_qav()
869 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_setup_qav()
886 static int eth_sam_gmac_get_qav_status(Gmac *gmac, int queue_id, bool *enabled) in eth_sam_gmac_get_qav_status() argument
889 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_get_qav_status()
893 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_get_qav_status()
902 static int eth_sam_gmac_setup_qav_idle_slope(Gmac *gmac, int queue_id, in eth_sam_gmac_setup_qav_idle_slope() argument
908 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_setup_qav_idle_slope()
914 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_setup_qav_idle_slope()
947 static int eth_sam_gmac_get_qav_idle_slope(Gmac *gmac, int queue_id, in eth_sam_gmac_get_qav_idle_slope() argument
951 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_get_qav_idle_slope()
955 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_get_qav_idle_slope()
967 static int eth_sam_gmac_get_qav_delta_bandwidth(Gmac *gmac, int queue_id, in eth_sam_gmac_get_qav_delta_bandwidth() argument
974 ret = eth_sam_gmac_get_qav_idle_slope(gmac, queue_id, &idle_slope); in eth_sam_gmac_get_qav_delta_bandwidth()
994 static int eth_sam_gmac_setup_qav_delta_bandwidth(Gmac *gmac, int queue_id, in eth_sam_gmac_setup_qav_delta_bandwidth() argument
1001 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_setup_qav_delta_bandwidth()
1009 return eth_sam_gmac_setup_qav_idle_slope(gmac, queue_id, idle_slope); in eth_sam_gmac_setup_qav_delta_bandwidth()
1947 int queue_id; in eth_sam_gmac_set_qav_param() local
1951 queue_id = config->qav_param.queue_id + 1; in eth_sam_gmac_set_qav_param()
1958 return eth_sam_gmac_setup_qav(gmac, queue_id, enable); in eth_sam_gmac_set_qav_param()
1962 return eth_sam_gmac_setup_qav_delta_bandwidth(gmac, queue_id, in eth_sam_gmac_set_qav_param()
1970 return eth_sam_gmac_setup_qav_idle_slope(gmac, queue_id, in eth_sam_gmac_set_qav_param()
2031 int queue_id; in eth_sam_gmac_get_qav_param() local
2037 queue_id = config->qav_param.queue_id + 1; in eth_sam_gmac_get_qav_param()
2044 return eth_sam_gmac_get_qav_status(gmac, queue_id, enabled); in eth_sam_gmac_get_qav_param()
2047 return eth_sam_gmac_get_qav_idle_slope(gmac, queue_id, in eth_sam_gmac_get_qav_param()
2051 return eth_sam_gmac_get_qav_idle_slope(gmac, queue_id, in eth_sam_gmac_get_qav_param()
2055 return eth_sam_gmac_get_qav_delta_bandwidth(gmac, queue_id, in eth_sam_gmac_get_qav_param()
2059 config->qav_param.traffic_class = queue_id; in eth_sam_gmac_get_qav_param()