Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/Documentation/devicetree/bindings/timer/
Dcdns,ttc.yaml4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml#
14 const: cdns,ttc
48 compatible = "cdns,ttc";
/linux-5.19.10/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-5.19.10/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-5.19.10/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.h176 struct mlx5_ttc_table *ttc; member
/linux-5.19.10/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.c187 mlx5_ttc_get_default_dest(priv->fs.ttc, fs_esp2tt(type)); in rx_create()
252 mlx5_ttc_fwd_dest(priv->fs.ttc, fs_esp2tt(type), &dest); in rx_ft_get()
274 mlx5_ttc_fwd_default_dest(priv->fs.ttc, fs_esp2tt(type)); in rx_ft_put()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c743 priv->fs.ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_create_rep_ttc_table()
744 if (IS_ERR(priv->fs.ttc)) { in mlx5e_create_rep_ttc_table()
745 err = PTR_ERR(priv->fs.ttc); in mlx5e_create_rep_ttc_table()
765 rpriv->root_ft = mlx5_get_ttc_flow_table(priv->fs.ttc); in mlx5e_create_rep_root_ft()
878 mlx5_destroy_ttc_table(priv->fs.ttc); in mlx5e_init_rep_rx()
893 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.c418 struct mlx5_ttc_table *ttc; member
697 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
698 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init()
699 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init()
705 mlx5_get_ttc_flow_table(priv->fs.ttc)->id); in mlx5e_hairpin_rss_init()
719 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup()
964 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
/linux-5.19.10/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi747 compatible = "cdns,ttc";
757 compatible = "cdns,ttc";
767 compatible = "cdns,ttc";
777 compatible = "cdns,ttc";
/linux-5.19.10/arch/arm/boot/dts/
Dzynq-7000.dtsi371 compatible = "cdns,ttc";
379 compatible = "cdns,ttc";
/linux-5.19.10/
DMAINTAINERS3026 F: drivers/clocksource/timer-cadence-ttc.c