Home
last modified time | relevance | path

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

/Linux-v5.15/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.h50 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc);
54 void mlx5_destroy_ttc_table(struct mlx5_ttc_table *ttc);
59 int mlx5_ttc_fwd_dest(struct mlx5_ttc_table *ttc, enum mlx5_traffic_types type,
62 mlx5_ttc_get_default_dest(struct mlx5_ttc_table *ttc,
64 int mlx5_ttc_fwd_default_dest(struct mlx5_ttc_table *ttc,
/Linux-v5.15/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 …]
DMakefile42 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
/Linux-v5.15/sound/soc/pxa/
DMakefile34 snd-soc-ttc-dkb-objs := ttc-dkb.o
52 obj-$(CONFIG_SND_SOC_TTC_DKB) += snd-soc-ttc-dkb.o
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c127 dest = mlx5_ttc_get_default_dest(priv->fs.ttc, fs_udp2tt(type)); in fs_udp_add_default_rule()
262 err = mlx5_ttc_fwd_default_dest(priv->fs.ttc, fs_udp2tt(i)); in fs_udp_disable()
284 err = mlx5_ttc_fwd_dest(priv->fs.ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
404 dest = mlx5_ttc_get_default_dest(priv->fs.ttc, MLX5_TT_ANY); in fs_any_add_default_rule()
517 err = mlx5_ttc_fwd_default_dest(priv->fs.ttc, MLX5_TT_ANY); in fs_any_disable()
536 err = mlx5_ttc_fwd_dest(priv->fs.ttc, MLX5_TT_ANY, &dest); in fs_any_enable()
Dfs.h175 struct mlx5_ttc_table *ttc; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c164 dest = mlx5_ttc_get_default_dest(priv->fs.ttc, fs_accel2tt(type)); in accel_fs_tcp_add_default_rule()
310 err = mlx5_ttc_fwd_default_dest(priv->fs.ttc, fs_accel2tt(i)); in accel_fs_tcp_disable()
332 err = mlx5_ttc_fwd_dest(priv->fs.ttc, fs_accel2tt(i), &dest); in accel_fs_tcp_enable()
Dipsec_fs.c269 mlx5_ttc_get_default_dest(priv->fs.ttc, fs_esp2tt(type)); in rx_create()
305 mlx5_ttc_fwd_dest(priv->fs.ttc, fs_esp2tt(type), &dest); in rx_ft_get()
324 mlx5_ttc_fwd_default_dest(priv->fs.ttc, fs_esp2tt(type)); in rx_ft_put()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c701 priv->fs.ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_create_rep_ttc_table()
702 if (IS_ERR(priv->fs.ttc)) { in mlx5e_create_rep_ttc_table()
703 err = PTR_ERR(priv->fs.ttc); in mlx5e_create_rep_ttc_table()
723 rpriv->root_ft = mlx5_get_ttc_flow_table(priv->fs.ttc); in mlx5e_create_rep_root_ft()
837 mlx5_destroy_ttc_table(priv->fs.ttc); in mlx5e_init_rep_rx()
852 mlx5_destroy_ttc_table(priv->fs.ttc); in mlx5e_cleanup_rep_rx()
Den_fs.c721 dest.ft = mlx5_get_ttc_flow_table(priv->fs.ttc); in mlx5e_add_promisc_rule()
942 dest.ft = mlx5_get_ttc_flow_table(priv->fs.ttc); in mlx5e_add_l2_flow_rule()
1237 mlx5_destroy_ttc_table(priv->fs.ttc); in mlx5e_destroy_ttc_table()
1260 priv->fs.ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_create_ttc_table()
1261 if (IS_ERR(priv->fs.ttc)) in mlx5e_create_ttc_table()
1262 return PTR_ERR(priv->fs.ttc); in mlx5e_create_ttc_table()
Den_arfs.c123 err = mlx5_ttc_fwd_default_dest(priv->fs.ttc, arfs_get_tt(i)); in arfs_disable()
152 err = mlx5_ttc_fwd_dest(priv->fs.ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
Den_tc.c345 struct mlx5_ttc_table *ttc; member
624 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
625 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init()
626 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init()
632 mlx5_get_ttc_flow_table(priv->fs.ttc)->id); in mlx5e_hairpin_rss_init()
646 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup()
891 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
/Linux-v5.15/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi755 compatible = "cdns,ttc";
765 compatible = "cdns,ttc";
775 compatible = "cdns,ttc";
785 compatible = "cdns,ttc";
/Linux-v5.15/arch/arm/boot/dts/
Dzynq-7000.dtsi373 compatible = "cdns,ttc";
381 compatible = "cdns,ttc";
/Linux-v5.15/
DMAINTAINERS2846 F: drivers/clocksource/timer-cadence-ttc.c