Lines Matching refs:fetch_cnt
621 int fetch_cnt, in am65_cpsw_est_set_sched_cmds() argument
627 if (fetch_cnt > AM65_CPSW_FETCH_CNT_MAX) { in am65_cpsw_est_set_sched_cmds()
628 fetch_cnt -= AM65_CPSW_FETCH_CNT_MAX; in am65_cpsw_est_set_sched_cmds()
631 cmd_fetch_cnt = fetch_cnt; in am65_cpsw_est_set_sched_cmds()
636 fetch_cnt = 0; in am65_cpsw_est_set_sched_cmds()
644 } while (fetch_cnt); in am65_cpsw_est_set_sched_cmds()
654 u32 fetch_cnt; in am65_cpsw_est_calc_cmd_num() local
662 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
665 cmd_cnt = DIV_ROUND_UP(fetch_cnt, AM65_CPSW_FETCH_CNT_MAX); in am65_cpsw_est_calc_cmd_num()
671 if (!fetch_cnt) in am65_cpsw_est_calc_cmd_num()
701 u32 fetch_cnt, fetch_allow, all_fetch_allow = 0; in am65_cpsw_est_set_sched_list() local
714 fetch_cnt = am65_est_cmd_ns_to_cnt(entry->interval, in am65_cpsw_est_set_sched_list()
721 ram_addr = am65_cpsw_est_set_sched_cmds(ram_addr, fetch_cnt, in am65_cpsw_est_set_sched_list()
724 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()