/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | fs_ttc.c | 321 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 322 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 331 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 332 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 341 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 342 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 351 ttc->g[ttc->num_groups] = NULL; in mlx5_create_ttc_table_groups() 460 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() 470 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() 480 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() [all …]
|
A D | fs_ttc.h | 52 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-6.3-rc2/drivers/clocksource/ |
A D | timer-cadence-ttc.c | 86 struct ttc_timer ttc; member 94 struct ttc_timer ttc; member 141 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt() 330 ttccs->ttc.clk = clk; in ttc_setup_clocksource() 338 ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk); in ttc_setup_clocksource() 349 ttccs->ttc.base_addr = base; in ttc_setup_clocksource() 375 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource() 391 ttc->freq = ndata->new_rate; in ttc_rate_change_clockevent_cb() 413 ttcce->ttc.clk = clk; in ttc_setup_clockevent() 430 ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk); in ttc_setup_clockevent() [all …]
|
A D | Makefile | 43 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | fs_tt_redirect.c | 116 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 …]
|
A D | fs.h | 162 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
|
/linux-6.3-rc2/Documentation/devicetree/bindings/timer/ |
A D | cdns,ttc.yaml | 4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml# 14 const: cdns,ttc 48 compatible = "cdns,ttc";
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
A D | port_sel.c | 498 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()
|
A D | port_sel.h | 20 struct mlx5_ttc_table *ttc; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | fs_tcp.c | 152 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()
|
A D | ipsec_fs.c | 192 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in rx_create() local 198 default_dest = mlx5_ttc_get_default_dest(ttc, family2tt(family)); in rx_create() 277 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in rx_ft_get() local 299 mlx5_ttc_fwd_dest(ttc, family2tt(family), &dest); in rx_ft_get() 313 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in rx_ft_put() local 327 mlx5_ttc_fwd_default_dest(ttc, family2tt(family)); in rx_ft_put()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs.c | 60 struct mlx5_ttc_table *ttc; member 759 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule() 979 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule() 1273 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table() 1298 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table() 1299 if (IS_ERR(fs->ttc)) in mlx5e_create_ttc_table() 1300 return PTR_ERR(fs->ttc); in mlx5e_create_ttc_table() 1520 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc() 1523 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument 1526 fs->ttc = ttc; in mlx5e_fs_set_ttc() [all …]
|
A D | en_arfs.c | 118 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local 123 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable() 145 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local 154 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
|
A D | en_tc.c | 594 struct mlx5_ttc_table *ttc; member 869 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local 881 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init() 882 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init() 883 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init() 887 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init() 890 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init() 904 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup() 1213 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | zynq-7000.dtsi | 385 compatible = "cdns,ttc"; 393 compatible = "cdns,ttc";
|
/linux-6.3-rc2/arch/arm64/boot/dts/xilinx/ |
A D | zynqmp.dtsi | 787 compatible = "cdns,ttc"; 797 compatible = "cdns,ttc"; 807 compatible = "cdns,ttc"; 817 compatible = "cdns,ttc";
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 3037 F: drivers/clocksource/timer-cadence-ttc.c
|