Home
last modified time | relevance | path

Searched full:ttc (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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 …]
H 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,
/openbmc/linux/drivers/clocksource/
H 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()
159 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read()
182 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event()
196 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown()
208 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic()
211 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
218 struct ttc_timer *timer = &ttce->ttc; in ttc_resume()
231 struct ttc_timer *ttc = to_ttc_timer(nb); in ttc_rate_change_clocksource_cb() local
[all …]
H A DKconfig184 bool "Cadence TTC timer driver" if COMPILE_TEST
187 Enables support for the Cadence TTC driver.
H A DMakefile43 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H 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
264 /* Modify ttc rules destination to point back to the indir TIRs */ in fs_udp_disable()
265 err = mlx5_ttc_fwd_default_dest(ttc, fs_udp2tt(i)); in fs_udp_disable()
267 fs_err(fs, "%s: modify ttc[%d] default destination failed, err(%d)\n", in fs_udp_disable()
278 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_enable() local
287 /* Modify ttc rules destination to point on the accel_fs FTs */ in fs_udp_enable()
288 err = mlx5_ttc_fwd_dest(ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
290 fs_err(fs, "%s: modify ttc[%d] destination to accel failed, err(%d)\n", in fs_udp_enable()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Dcdns,ttc.yaml4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml#
7 title: Cadence TTC - Triple Timer Counter
14 const: cdns,ttc
48 compatible = "cdns,ttc";
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H 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
309 /* Modify ttc rules destination to point back to the indir TIRs */ in accel_fs_tcp_disable()
310 err = mlx5_ttc_fwd_default_dest(ttc, fs_accel2tt(i)); in accel_fs_tcp_disable()
313 "%s: modify ttc[%d] default destination failed, err(%d)\n", in accel_fs_tcp_disable()
325 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_enable() local
333 /* Modify ttc rules destination to point on the accel_fs FTs */ in accel_fs_tcp_enable()
334 err = mlx5_ttc_fwd_dest(ttc, fs_accel2tt(i), &dest); in accel_fs_tcp_enable()
336 fs_err(fs, "%s: modify ttc[%d] destination to accel failed, err(%d)\n", in accel_fs_tcp_enable()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c502 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params()
513 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
514 if (IS_ERR(port_sel->outer.ttc)) in mlx5_lag_create_ttc_table()
515 return PTR_ERR(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
527 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
528 if (IS_ERR(port_sel->inner.ttc)) in mlx5_lag_create_inner_ttc_table()
529 return PTR_ERR(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
559 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
636 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
638 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
H A Dport_sel.h20 struct mlx5_ttc_table *ttc; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c123 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local
127 /* Modify ttc rules destination back to their default */ in arfs_disable()
128 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable()
131 "%s: modify ttc[%d] default destination failed, err(%d)\n", in arfs_disable()
160 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local
168 /* Modify ttc rules destination to point on the aRFS FTs */ in mlx5e_arfs_enable()
169 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
171 fs_err(fs, "%s: modify ttc[%d] dest to arfs, failed err(%d)\n", in mlx5e_arfs_enable()
232 * but can't since TTC default is not setup yet ! in arfs_add_default_rule()
H 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()
978 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule()
1272 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table()
1297 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table()
1298 if (IS_ERR(fs->ttc)) in mlx5e_create_ttc_table()
1299 return PTR_ERR(fs->ttc); in mlx5e_create_ttc_table()
1325 fs_err(fs, "Failed to create inner ttc table, err=%d\n", err); in mlx5e_create_flow_steering()
1331 fs_err(fs, "Failed to create ttc table, err=%d\n", err); in mlx5e_create_flow_steering()
1521 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc()
[all …]
H A Den_rep.c909 /* The inner_ttc in the ttc params is intentionally not set */ in mlx5e_create_rep_ttc_table()
913 /* To give uplik rep TTC a lower level for chaining from root ft */ in mlx5e_create_rep_ttc_table()
919 netdev_err(priv->netdev, "Failed to create rep ttc table, err=%d\n", in mlx5e_create_rep_ttc_table()
936 * their own ttc in mlx5e_create_rep_root_ft()
942 /* uplink root ft will be used to auto chain, to ethtool or ttc tables */ in mlx5e_create_rep_root_ft()
/openbmc/linux/scripts/
H A Dsphinx-pre-install381 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc",
382 "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc",
383 "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"],
450 check_missing_file(["/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc"],
451 "google-noto-sans-cjk-ttc-fonts", 2);
545 $noto_sans = "google-noto-sans-cjk-ttc-fonts";
550 check_missing_file(["/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc",
582 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc"],
608 "/usr/share/fonts/noto-cjk/NotoSerifCJK-Regular.ttc"],
/openbmc/u-boot/drivers/timer/
H A DKconfig93 bool "Cadence TTC (Triple Timer Counter)"
96 Enables support for the cadence ttc driver. This driver is present
H A DMakefile12 obj-$(CONFIG_CADENCE_TTC_TIMER) += cadence-ttc.o
H A Dcadence-ttc.c102 { .compatible = "cdns,ttc" },
/openbmc/qemu/include/hw/timer/
H A Dcadence_ttc.h2 * Xilinx Zynq cadence TTC model
/openbmc/qemu/docs/system/arm/
H A Dxlnx-zynq.rst22 - TTC x2
/openbmc/u-boot/arch/arm/dts/
H A Dzynqmp-r5.dts58 compatible = "cdns,ttc";
H A Dzynq-7000.dtsi342 compatible = "cdns,ttc";
350 compatible = "cdns,ttc";
H A Dzynqmp.dtsi776 compatible = "cdns,ttc";
785 compatible = "cdns,ttc";
794 compatible = "cdns,ttc";
803 compatible = "cdns,ttc";
/openbmc/qemu/include/hw/arm/
H A Dxlnx-zynqmp.h136 CadenceTTCState ttc[XLNX_ZYNQMP_NUM_TTC]; member
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_dma.c50 * The transmit threshold can be programmed by setting the TTC bits in the DMA
/openbmc/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp.dtsi847 compatible = "cdns,ttc";
859 compatible = "cdns,ttc";
871 compatible = "cdns,ttc";
883 compatible = "cdns,ttc";

12