| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | fs_ttc.c | 44 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc) in mlx5_get_ttc_flow_table() argument 46 return ttc->t; in mlx5_get_ttc_flow_table() 49 static void mlx5_cleanup_ttc_rules(struct mlx5_ttc_table *ttc) in mlx5_cleanup_ttc_rules() argument 54 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules() 55 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules() 56 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules() 61 if (!IS_ERR_OR_NULL(ttc->tunnel_rules[i])) { in mlx5_cleanup_ttc_rules() 62 mlx5_del_flow_rules(ttc->tunnel_rules[i]); in mlx5_cleanup_ttc_rules() 63 ttc->tunnel_rules[i] = NULL; in mlx5_cleanup_ttc_rules() 252 bool mlx5_ttc_has_esp_flow_group(struct mlx5_ttc_table *ttc) in mlx5_ttc_has_esp_flow_group() argument [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-cadence-ttc.c | 87 struct ttc_timer ttc; member 95 struct ttc_timer ttc; member 142 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt() 160 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read() 183 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event() 200 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown() 218 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic() 221 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic() 228 struct ttc_timer *timer = &ttce->ttc; in ttc_resume() 241 struct ttc_timer *ttc = to_ttc_timer(nb); in ttc_rate_change_clocksource_cb() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H 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() 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 …]
|
| H A D | fs.h | 181 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | cdns,ttc.yaml | 4 $id: http://devicetree.org/schemas/timer/cdns,ttc.yaml# 7 title: Cadence TTC - Triple Timer Counter 14 const: cdns,ttc 59 compatible = "cdns,ttc"; 67 compatible = "cdns,ttc";
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H 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() 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()
|
| H A D | ipsec_fs.c | 590 ipsec_rx_decrypted_pkt_def_dest(struct mlx5_ttc_table *ttc, u32 family) in ipsec_rx_decrypted_pkt_def_dest() argument 594 if (!mlx5_ttc_has_esp_flow_group(ttc)) in ipsec_rx_decrypted_pkt_def_dest() 595 return mlx5_ttc_get_default_dest(ttc, family2tt(family)); in ipsec_rx_decrypted_pkt_def_dest() 597 dest.ft = mlx5_get_ttc_flow_table(ttc); in ipsec_rx_decrypted_pkt_def_dest() 616 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in handle_ipsec_rx_bringup() local 619 old_dest = ipsec_rx_decrypted_pkt_def_dest(ttc, family); in handle_ipsec_rx_bringup() 632 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in handle_ipsec_rx_cleanup() local 637 new_dest = ipsec_rx_decrypted_pkt_def_dest(ttc, family); in handle_ipsec_rx_cleanup() 690 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local 693 mlx5_ttc_destroy_ipsec_rules(ttc); in ipsec_rx_ft_disconnect() [all …]
|
| H A D | psp.c | 453 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_create() local 461 fs_prot->default_dest = mlx5_ttc_get_default_dest(ttc, fs_psp2tt(type)); in accel_psp_fs_rx_create() 479 struct mlx5_ttc_table *ttc; in accel_psp_fs_rx_ft_get() local 485 ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_ft_get() 502 mlx5_ttc_fwd_dest(ttc, fs_psp2tt(type), &dest); in accel_psp_fs_rx_ft_get() 511 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_ft_put() local 522 mlx5_ttc_fwd_default_dest(ttc, fs_psp2tt(type)); in accel_psp_fs_rx_ft_put()
|
| H A D | ipsec.h | 184 struct mlx5_ttc_table *ttc; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | port_sel.c | 509 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params() 525 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table() 526 return PTR_ERR_OR_ZERO(port_sel->outer.ttc); in mlx5_lag_create_ttc_table() 541 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table() 542 return PTR_ERR_OR_ZERO(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table() 570 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create() 649 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy() 651 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
|
| H A D | port_sel.h | 20 struct mlx5_ttc_table *ttc; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_arfs.c | 124 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local 128 /* Modify ttc rules destination back to their default */ in arfs_disable() 129 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable() 132 "%s: modify ttc[%d] default destination failed, err(%d)\n", in arfs_disable() 161 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local 169 /* Modify ttc rules destination to point on the aRFS FTs */ in mlx5e_arfs_enable() 170 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable() 172 fs_err(fs, "%s: modify ttc[%d] dest to arfs, failed err(%d)\n", in mlx5e_arfs_enable() 233 * but can't since TTC default is not setup yet ! in arfs_add_default_rule()
|
| H A D | en_fs.c | 60 struct mlx5_ttc_table *ttc; member 761 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule() 997 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule() 1291 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table() 1314 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table() 1315 return PTR_ERR_OR_ZERO(fs->ttc); in mlx5e_create_ttc_table() 1339 fs_err(fs, "Failed to create inner ttc table, err=%d\n", err); in mlx5e_create_flow_steering() 1345 fs_err(fs, "Failed to create ttc table, err=%d\n", err); in mlx5e_create_flow_steering() 1535 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc() 1538 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument [all …]
|
| H A D | en_rep.c | 976 /* The inner_ttc in the ttc params is intentionally not set */ in mlx5e_create_rep_ttc_table() 980 /* To give uplik rep TTC a lower level for chaining from root ft */ in mlx5e_create_rep_ttc_table() 986 netdev_err(priv->netdev, "Failed to create rep ttc table, err=%d\n", in mlx5e_create_rep_ttc_table() 1003 * their own ttc in mlx5e_create_rep_root_ft() 1009 /* uplink root ft will be used to auto chain, to ethtool or ttc tables */ in mlx5e_create_rep_root_ft()
|
| H A D | en_tc.c | 580 struct mlx5_ttc_table *ttc; member 859 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local 871 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init() 872 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init() 873 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init() 877 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init() 878 netdev_dbg(priv->netdev, "add hairpin: using %d channels rss ttc table id %x\n", in mlx5e_hairpin_rss_init() 880 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init() 894 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup() 1202 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
|
| H A D | fs_core.c | 116 /* Vlan, mac, ttc, inner ttc, {UDP/ANY/aRFS/accel/{esp, esp_err}}, IPsec policy,
|
| /linux/tools/docs/ |
| H A D | sphinx-pre-install | 692 "/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc", 693 "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", 694 "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc", 764 noto_sans_redhat = "google-noto-sans-cjk-ttc-fonts" 797 "/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc", 798 "/usr/share/fonts/google-noto-sans-cjk-fonts/NotoSansCJK-Regular.ttc", 942 noto_sans = "google-noto-sans-cjk-ttc-fonts" 948 "/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc", 986 self.check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc"], 1021 "/usr/share/fonts/noto-cjk/NotoSerifCJK-Regular.ttc",
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-7000.dtsi | 413 compatible = "cdns,ttc"; 421 compatible = "cdns,ttc";
|
| /linux/drivers/video/fbdev/mmp/hw/ |
| H A D | mmp_ctrl.h | 334 #define LCD_SPU_DBG_ISA (0x0148) /* TTC */ 355 #define LCD_SPU_DBG_DMATOP (0x0164) /* TTC */
|
| /linux/drivers/net/ethernet/8390/ |
| H A D | etherh.c | 21 * 21-12-2000 TTC EtherH/EtherM integration
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_tc.c | 1705 drm_printf(p, "\tTC Port %s: mode: %s, pin assignment: %c, max lanes: %d\n", in intel_tc_info()
|
| /linux/ |
| H A D | MAINTAINERS | 3786 F: drivers/clocksource/timer-cadence-ttc.c
|