Lines Matching defs:taprio
273 struct tc_taprio_qopt_offload *taprio,
279 for (i = 0; i < taprio->num_entries; i++) {
280 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) {
285 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval,
307 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio,
334 for (i = 0; i < est_new->taprio.num_entries; i++) {
335 entry = &est_new->taprio.entries[i];
347 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) {
372 cfg.ns_period = est_new->taprio.cycle_time;
373 cfg.ns_start = est_new->taprio.base_time;
398 taprio_new = &est_new->taprio;
399 taprio_oper = &port->qos.est_oper->taprio;
404 /* in order to avoid timer reset get base_time form oper taprio */
453 if (est_new->taprio.cmd == TAPRIO_CMD_DESTROY) {
465 "Can't toggle estf timer, stop taprio first");
472 if (!est_new->taprio.base_time)
473 est_new->taprio.base_time = am65_cpts_ns_gettime(cpts);
479 am65_cpsw_est_set(ndev, est_new->taprio.cmd == TAPRIO_CMD_REPLACE);
505 struct tc_taprio_qopt_offload *taprio = type_data;
509 if (taprio->cycle_time_extension) {
515 struct_size(est_new, taprio.entries, taprio->num_entries),
520 am65_cpsw_cp_taprio(taprio, &est_new->taprio);
523 if (taprio->cmd == TAPRIO_CMD_REPLACE) {
567 struct tc_taprio_qopt_offload *taprio = type_data;
570 if (taprio->cmd != TAPRIO_CMD_REPLACE &&
571 taprio->cmd != TAPRIO_CMD_DESTROY)
584 "p0-rx-ptype-rrobin flag conflicts with taprio qdisc\n");