Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c402 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups()
415 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups()
416 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups()
425 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups()
435 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups()
445 ttc->g[ttc->num_groups] = NULL; in mlx5_create_ttc_table_groups()
563 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups()
576 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups()
586 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups()
596 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups()
[all …]
A 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/drivers/clocksource/
A Dtimer-cadence-ttc.c87 struct ttc_timer ttc; member
95 struct ttc_timer ttc; member
142 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt()
341 ttccs->ttc.clk = clk; in ttc_setup_clocksource()
349 ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk); in ttc_setup_clocksource()
360 ttccs->ttc.base_addr = base; in ttc_setup_clocksource()
386 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
402 ttc->freq = ndata->new_rate; in ttc_rate_change_clockevent_cb()
424 ttcce->ttc.clk = clk; in ttc_setup_clockevent()
441 ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk); in ttc_setup_clockevent()
[all …]
A DMakefile43 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
/linux/Documentation/devicetree/bindings/timer/
A Dcdns,ttc.yaml4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml#
14 const: cdns,ttc
59 compatible = "cdns,ttc";
67 compatible = "cdns,ttc";
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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()
260 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_disable() local
265 err = mlx5_ttc_fwd_default_dest(ttc, fs_udp2tt(i)); in fs_udp_disable()
278 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_enable() local
288 err = mlx5_ttc_fwd_dest(ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
398 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_add_default_rule() local
407 dest = mlx5_ttc_get_default_dest(ttc, MLX5_TT_ANY); in fs_any_add_default_rule()
519 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_disable() local
523 err = mlx5_ttc_fwd_default_dest(ttc, MLX5_TT_ANY); in fs_any_disable()
[all …]
A Dfs.h174 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A 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 return PTR_ERR_OR_ZERO(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
520 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
521 return PTR_ERR_OR_ZERO(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
549 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
626 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
628 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
A Dport_sel.h20 struct mlx5_ttc_table *ttc; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A 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()
305 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_disable() local
310 err = mlx5_ttc_fwd_default_dest(ttc, fs_accel2tt(i)); in accel_fs_tcp_disable()
325 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_enable() local
334 err = mlx5_ttc_fwd_dest(ttc, fs_accel2tt(i), &dest); in accel_fs_tcp_enable()
A Dipsec.h174 struct mlx5_ttc_table *ttc; member
A Dipsec_fs.c575 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local
577 mlx5_ttc_fwd_default_dest(ttc, family2tt(family)); in ipsec_rx_ft_disconnect()
619 attr->ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_create_attr_set()
639 *dest = mlx5_ttc_get_default_dest(attr->ttc, family2tt(attr->family)); in ipsec_rx_status_pass_dest_get()
663 mlx5_ttc_fwd_dest(attr->ttc, family2tt(attr->family), &dest); in ipsec_rx_ft_connect()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs.c60 struct mlx5_ttc_table *ttc; member
757 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule()
976 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule()
1270 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table()
1293 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table()
1294 return PTR_ERR_OR_ZERO(fs->ttc); in mlx5e_create_ttc_table()
1514 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc()
1517 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument
1520 fs->ttc = ttc; in mlx5e_fs_set_ttc()
1522 fs->inner_ttc = ttc; in mlx5e_fs_set_ttc()
A Den_arfs.c124 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local
129 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable()
161 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local
170 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
A Den_tc.c579 struct mlx5_ttc_table *ttc; member
855 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local
867 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
868 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init()
869 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init()
873 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init()
876 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init()
890 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup()
1198 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
/linux/arch/arm/boot/dts/xilinx/
A Dzynq-7000.dtsi387 compatible = "cdns,ttc";
395 compatible = "cdns,ttc";
/linux/arch/arm64/boot/dts/xilinx/
A Dzynqmp.dtsi1003 compatible = "cdns,ttc";
1015 compatible = "cdns,ttc";
1027 compatible = "cdns,ttc";
1039 compatible = "cdns,ttc";
/linux/
A DMAINTAINERS3296 F: drivers/clocksource/timer-cadence-ttc.c

Completed in 74 milliseconds