Home
last modified time | relevance | path

Searched refs:taprio (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c271 struct tc_taprio_qopt_offload *taprio, in am65_cpsw_est_calc_cmd_num()
277 for (i = 0; i < taprio->num_entries; i++) { in am65_cpsw_est_calc_cmd_num()
278 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) { in am65_cpsw_est_calc_cmd_num()
283 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
305 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
332 for (i = 0; i < est_new->taprio.num_entries; i++) { in am65_cpsw_est_set_sched_list()
333 entry = &est_new->taprio.entries[i]; in am65_cpsw_est_set_sched_list()
345 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
370 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
371 cfg.ns_start = est_new->taprio in am65_cpsw_timer_set()
270 am65_cpsw_est_calc_cmd_num(struct net_device *ndev, struct tc_taprio_qopt_offload *taprio, int link_speed) am65_cpsw_est_calc_cmd_num() argument
506 struct tc_taprio_qopt_offload *taprio = type_data; am65_cpsw_set_taprio() local
[all...]
H A Dam65-cpsw-qos.h14 struct tc_taprio_qopt_offload taprio; member
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c273 struct tc_taprio_qopt_offload *taprio, in am65_cpsw_est_calc_cmd_num()
279 for (i = 0; i < taprio->num_entries; i++) { in am65_cpsw_est_calc_cmd_num()
280 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) { in am65_cpsw_est_calc_cmd_num()
285 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
307 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
334 for (i = 0; i < est_new->taprio.num_entries; i++) { in am65_cpsw_est_set_sched_list()
335 entry = &est_new->taprio.entries[i]; in am65_cpsw_est_set_sched_list()
347 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
372 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
373 cfg.ns_start = est_new->taprio in am65_cpsw_timer_set()
272 am65_cpsw_est_calc_cmd_num(struct net_device *ndev, struct tc_taprio_qopt_offload *taprio, int link_speed) am65_cpsw_est_calc_cmd_num() argument
505 struct tc_taprio_qopt_offload *taprio = type_data; am65_cpsw_set_taprio() local
567 struct tc_taprio_qopt_offload *taprio = type_data; am65_cpsw_setup_taprio() local
[all...]
H A Dam65-cpsw-qos.h16 struct tc_taprio_qopt_offload taprio; member
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1080 * of a cyclic tc-taprio schedule. If a gate is always open, the duration is
1083 static void vsc9959_tas_min_gate_lengths(struct tc_taprio_qopt_offload *taprio, in vsc9959_tas_min_gate_lengths() argument
1097 /* If we don't have taprio, consider all gates as permanently open */ in vsc9959_tas_min_gate_lengths()
1098 if (!taprio) in vsc9959_tas_min_gate_lengths()
1101 n = taprio->num_entries; in vsc9959_tas_min_gate_lengths()
1111 entry = &taprio->entries[i % n]; in vsc9959_tas_min_gate_lengths()
1199 static u32 vsc9959_tas_tc_max_sdu(struct tc_taprio_qopt_offload *taprio, int tc) in vsc9959_tas_tc_max_sdu() argument
1201 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu()
1204 return taprio in vsc9959_tas_tc_max_sdu()
1217 struct tc_taprio_qopt_offload *taprio; vsc9959_tas_guard_bands_update() local
1417 vsc9959_qos_port_tas_set(struct ocelot *ocelot, int port, struct tc_taprio_qopt_offload *taprio) vsc9959_qos_port_tas_set() argument
1535 struct tc_taprio_qopt_offload *taprio; vsc9959_tas_clock_adjust() local
[all...]
H A Dfelix.c1789 if (ocelot_port->taprio && ocelot->ops->tas_guard_bands_update) in felix_change_mtu()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc.c22 struct tc_taprio_qopt_offload *taprio) in lan966x_tc_setup_qdisc_taprio()
24 switch (taprio->cmd) { in lan966x_tc_setup_qdisc_taprio()
26 return lan966x_taprio_add(port, taprio); in lan966x_tc_setup_qdisc_taprio()
21 lan966x_tc_setup_qdisc_taprio(struct lan966x_port *port, struct tc_taprio_qopt_offload *taprio) lan966x_tc_setup_qdisc_taprio() argument
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1192 struct tc_taprio_qopt_offload *taprio) in vsc9959_qos_port_tas_set()
1198 if (!taprio->enable) { in vsc9959_qos_port_tas_set()
1208 if (taprio->cycle_time > NSEC_PER_SEC || in vsc9959_qos_port_tas_set()
1209 taprio->cycle_time_extension >= NSEC_PER_SEC) in vsc9959_qos_port_tas_set()
1212 if (taprio->num_entries > VSC9959_TAS_GCL_ENTRY_MAX) in vsc9959_qos_port_tas_set()
1237 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_qos_port_tas_set()
1238 taprio->cycle_time, &base_ts); in vsc9959_qos_port_tas_set()
1244 QSYS_PARAM_CFG_REG_3_LIST_LENGTH(taprio->num_entries), in vsc9959_qos_port_tas_set()
1246 ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4); in vsc9959_qos_port_tas_set()
1247 ocelot_write(ocelot, taprio in vsc9959_qos_port_tas_set()
1191 vsc9959_qos_port_tas_set(struct ocelot *ocelot, int port, struct tc_taprio_qopt_offload *taprio) vsc9959_qos_port_tas_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/
H A Dhellcreek.c1743 struct tc_taprio_qopt_offload *taprio) in hellcreek_port_set_schedule()
1764 hellcreek_port->current_schedule = taprio_offload_get(taprio); in hellcreek_port_set_schedule()
1885 struct tc_taprio_qopt_offload *taprio = type_data; in hellcreek_port_setup_tc() local
1887 switch (taprio->cmd) { in hellcreek_port_setup_tc()
1889 if (!hellcreek_validate_schedule(hellcreek, taprio)) in hellcreek_port_setup_tc()
1892 return hellcreek_port_set_schedule(ds, port, taprio); in hellcreek_port_setup_tc()
1742 hellcreek_port_set_schedule(struct dsa_switch *ds, int port, struct tc_taprio_qopt_offload *taprio) hellcreek_port_set_schedule() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c144 struct tc_taprio_qopt_offload *taprio = type_data; in enetc_setup_tc_taprio() local
158 tx_ring->prio = taprio->enable ? i : 0; in enetc_setup_tc_taprio()
162 err = enetc_setup_taprio(ndev, taprio); in enetc_setup_tc_taprio()
166 tx_ring->prio = taprio->enable ? 0 : i; in enetc_setup_tc_taprio()
/kernel/linux/linux-6.6/include/soc/mscc/
H A Docelot.h777 struct tc_taprio_qopt_offload *taprio; member

Completed in 18 milliseconds