Home
last modified time | relevance | path

Searched refs:ttc (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c37 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc) in mlx5_get_ttc_flow_table() argument
39 return ttc->t; in mlx5_get_ttc_flow_table()
42 static void mlx5_cleanup_ttc_rules(struct mlx5_ttc_table *ttc) in mlx5_cleanup_ttc_rules() argument
47 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules()
48 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules()
49 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules()
54 if (!IS_ERR_OR_NULL(ttc->tunnel_rules[i])) { in mlx5_cleanup_ttc_rules()
55 mlx5_del_flow_rules(ttc->tunnel_rules[i]); in mlx5_cleanup_ttc_rules()
56 ttc->tunnel_rules[i] = NULL; in mlx5_cleanup_ttc_rules()
237 struct mlx5_ttc_table *ttc) in mlx5_generate_ttc_table_rules() argument
[all …]
Dfs_ttc.h52 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc);
56 void mlx5_destroy_ttc_table(struct mlx5_ttc_table *ttc);
61 int mlx5_ttc_fwd_dest(struct mlx5_ttc_table *ttc, enum mlx5_traffic_types type,
64 mlx5_ttc_get_default_dest(struct mlx5_ttc_table *ttc,
66 int mlx5_ttc_fwd_default_dest(struct mlx5_ttc_table *ttc,
/Linux-v6.1/drivers/clocksource/
Dtimer-cadence-ttc.c86 struct ttc_timer ttc; member
94 struct ttc_timer ttc; member
141 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt()
158 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read()
181 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event()
195 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown()
207 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic()
210 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
217 struct ttc_timer *timer = &ttce->ttc; in ttc_resume()
230 struct ttc_timer *ttc = to_ttc_timer(nb); in ttc_rate_change_clocksource_cb() local
[all …]
DMakefile43 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c116 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_add_default_rule() local
126 dest = mlx5_ttc_get_default_dest(ttc, fs_udp2tt(type)); in fs_udp_add_default_rule()
259 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_disable() local
264 err = mlx5_ttc_fwd_default_dest(ttc, fs_udp2tt(i)); in fs_udp_disable()
277 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_enable() local
287 err = mlx5_ttc_fwd_dest(ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
397 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_add_default_rule() local
406 dest = mlx5_ttc_get_default_dest(ttc, MLX5_TT_ANY); in fs_any_add_default_rule()
517 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_disable() local
521 err = mlx5_ttc_fwd_default_dest(ttc, MLX5_TT_ANY); in fs_any_disable()
[all …]
Dfs.h159 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c498 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params()
509 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
510 if (IS_ERR(port_sel->outer.ttc)) in mlx5_lag_create_ttc_table()
511 return PTR_ERR(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
523 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
524 if (IS_ERR(port_sel->inner.ttc)) in mlx5_lag_create_inner_ttc_table()
525 return PTR_ERR(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
555 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
632 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
634 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
Dport_sel.h20 struct mlx5_ttc_table *ttc; member
/Linux-v6.1/sound/soc/pxa/
DMakefile33 snd-soc-ttc-dkb-objs := ttc-dkb.o
50 obj-$(CONFIG_SND_SOC_TTC_DKB) += snd-soc-ttc-dkb.o
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c152 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_add_default_rule() local
161 dest = mlx5_ttc_get_default_dest(ttc, fs_accel2tt(type)); in accel_fs_tcp_add_default_rule()
304 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_disable() local
309 err = mlx5_ttc_fwd_default_dest(ttc, fs_accel2tt(i)); in accel_fs_tcp_disable()
324 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_enable() local
333 err = mlx5_ttc_fwd_dest(ttc, fs_accel2tt(i), &dest); in accel_fs_tcp_enable()
Dipsec_fs.c178 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(priv->fs, false); in rx_create() local
188 mlx5_ttc_get_default_dest(ttc, fs_esp2tt(type)); in rx_create()
234 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(priv->fs, false); in rx_ft_get() local
254 mlx5_ttc_fwd_dest(ttc, fs_esp2tt(type), &dest); in rx_ft_get()
265 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(priv->fs, false); in rx_ft_put() local
277 mlx5_ttc_fwd_default_dest(ttc, fs_esp2tt(type)); in rx_ft_put()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c59 struct mlx5_ttc_table *ttc; member
752 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule()
972 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule()
1266 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table()
1291 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table()
1292 if (IS_ERR(fs->ttc)) in mlx5e_create_ttc_table()
1293 return PTR_ERR(fs->ttc); in mlx5e_create_ttc_table()
1500 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc()
1503 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument
1506 fs->ttc = ttc; in mlx5e_fs_set_ttc()
[all …]
Den_arfs.c119 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local
124 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable()
146 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local
155 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
Den_tc.c547 struct mlx5_ttc_table *ttc; member
816 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local
828 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
829 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init()
830 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init()
834 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init()
837 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init()
851 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup()
1099 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
/Linux-v6.1/arch/arm/boot/dts/
Dzynq-7000.dtsi371 compatible = "cdns,ttc";
379 compatible = "cdns,ttc";
/Linux-v6.1/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi747 compatible = "cdns,ttc";
757 compatible = "cdns,ttc";
767 compatible = "cdns,ttc";
777 compatible = "cdns,ttc";
/Linux-v6.1/
DMAINTAINERS3121 F: drivers/clocksource/timer-cadence-ttc.c