Home
last modified time | relevance | path

Searched full:tc (Results 1 – 25 of 1237) sorted by relevance

12345678910>>...50

/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_tc.c37 enum intel_display_power_domain (*cold_off_domain)(struct intel_tc_port *tc);
38 u32 (*hpd_live_status)(struct intel_tc_port *tc);
39 bool (*is_ready)(struct intel_tc_port *tc);
40 bool (*is_owned)(struct intel_tc_port *tc);
41 void (*get_hw_state)(struct intel_tc_port *tc);
42 bool (*connect)(struct intel_tc_port *tc, int required_lanes);
43 void (*disconnect)(struct intel_tc_port *tc);
44 void (*init)(struct intel_tc_port *tc);
70 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc);
71 static bool tc_phy_is_ready(struct intel_tc_port *tc);
[all …]
/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/actions/
Dgact.json14 "$TC actions flush action gact",
20 "cmdUnderTest": "$TC actions add action pass index 8",
22 "verifyCmd": "$TC actions list action gact",
26 "$TC actions flush action gact"
41 "$TC actions flush action gact",
47 "cmdUnderTest": "$TC actions add action pipe index 6",
49 "verifyCmd": "$TC actions list action gact",
53 "$TC actions flush action gact"
68 "$TC actions flush action gact",
74 "cmdUnderTest": "$TC actions add action reclassify index 5",
[all …]
Dpolice.json14 "$TC actions flush action police",
20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
22 "verifyCmd": "$TC actions ls action police",
26 "$TC actions flush action police"
41 "$TC actions flush action police",
46 "$TC actions add action police rate 4Mbit burst 120k index 9"
48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
50 "verifyCmd": "$TC actions ls action police",
54 "$TC actions flush action police"
69 "$TC actions flush action police",
[all …]
Dmpls.json14 "$TC actions flush action mpls",
20 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8",
22 "verifyCmd": "$TC actions list action mpls",
26 "$TC actions flush action mpls"
41 "$TC actions flush action mpls",
47 "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8",
49 "verifyCmd": "$TC actions get action mpls index 8",
53 "$TC actions flush action mpls"
68 "$TC actions flush action mpls",
74 "cmdUnderTest": "$TC actions add action mpls dec_ttl drop index 8",
[all …]
Dskbedit.json14 "$TC actions flush action skbedit",
20 "cmdUnderTest": "$TC actions add action skbedit mark 1",
22 "verifyCmd": "$TC actions list action skbedit",
26 "$TC actions flush action skbedit"
41 "$TC actions flush action skbedit",
47 "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1",
49 "verifyCmd": "$TC actions get action skbedit index 1",
53 "$TC actions flush action skbedit"
68 "$TC actions flush action skbedit",
74 "cmdUnderTest": "$TC actions add action skbedit mark 666777888999",
[all …]
Dskbmod.json14 "$TC actions flush action skbmod",
20 "cmdUnderTest": "$TC actions add action skbmod set dmac 11:22:33:44:55:66 index 5",
22 "verifyCmd": "$TC actions ls action skbmod",
26 "$TC actions flush action skbmod"
41 "$TC actions flush action skbmod",
47 "cmdUnderTest": "$TC actions add action skbmod set smac 77:88:99:AA:BB:CC index 7",
49 "verifyCmd": "$TC actions get action skbmod index 7",
53 "$TC actions flush action skbmod"
68 "$TC actions flush action skbmod",
74 "cmdUnderTest": "$TC actions add action skbmod set smac 00:44:55:44:55",
[all …]
Dvlan.json14 "$TC actions flush action vlan",
20 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
22 "verifyCmd": "$TC actions list action vlan",
26 "$TC actions flush action vlan"
41 "$TC actions flush action vlan",
47 "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
49 "verifyCmd": "$TC actions get action vlan index 8",
53 "$TC actions flush action vlan"
68 "$TC actions flush action vlan",
74 "cmdUnderTest": "$TC actions add action vlan pop drop index 8",
[all …]
Dmirred.json14 "$TC actions flush action mirred",
20 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
22 "verifyCmd": "$TC actions list action mirred",
26 "$TC actions flush action mirred"
41 "$TC actions flush action mirred",
47 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
49 "verifyCmd": "$TC actions list action mirred",
53 "$TC actions flush action mirred",
54 "$TC actions flush action gact"
69 "$TC actions flush action mirred",
[all …]
Dsample.json14 "$TC actions flush action sample",
20 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
22 "verifyCmd": "$TC actions get action sample index 2",
26 "$TC actions flush action sample"
41 "$TC actions flush action sample",
47 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
49 "verifyCmd": "$TC actions get action sample index 2",
53 "$TC actions flush action sample"
68 "$TC actions flush action sample",
74 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
[all …]
Dcsum.json14 "$TC actions flush action csum",
20 "cmdUnderTest": "$TC actions add action csum iph index 800",
22 "verifyCmd": "$TC actions get action csum index 800",
26 "$TC actions flush action csum"
41 "$TC actions flush action csum",
47 "cmdUnderTest": "$TC actions add action csum ip4h index 7",
49 "verifyCmd": "$TC actions get action csum index 7",
53 "$TC actions flush action csum"
68 "$TC actions flush action csum",
74 "cmdUnderTest": "$TC actions add action csum ipv4h index 1122",
[all …]
Dpedit.json14 "$TC actions flush action pedit",
20 "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10",
22 "verifyCmd": "$TC actions ls action pedit",
26 "$TC actions flush action pedit"
41 "$TC actions flush action pedit",
46 "$TC actions add action pedit ex munge ip ttl set 10 pass index 90"
48 …"cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 co…
50 "verifyCmd": "$TC actions ls action pedit",
54 "$TC actions flush action pedit"
70 "$TC actions flush action pedit",
[all …]
Dife.json14 "$TC actions flush action ife",
20 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2",
22 "verifyCmd": "$TC actions get action ife index 2",
26 "$TC actions flush action ife"
41 "$TC actions flush action ife",
47 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2",
49 "verifyCmd": "$TC actions get action ife index 2",
53 "$TC actions flush action ife"
68 "$TC actions flush action ife",
74 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2",
[all …]
Dnat.json14 "$TC actions flush action nat",
20 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1",
22 "verifyCmd": "$TC actions ls action nat",
26 "$TC actions flush action nat"
41 "$TC actions flush action nat",
47 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77",
49 "verifyCmd": "$TC actions get action nat index 77",
53 "$TC actions flush action nat"
68 "$TC actions flush action nat",
74 …"cmdUnderTest": "$TC actions add action nat ingress 192.168.10.10 192.168.20.20 continue index 100…
[all …]
Dtunnel_key.json14 "$TC actions flush action tunnel_key",
20 … "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2 id 1",
22 "verifyCmd": "$TC actions list action tunnel_key",
26 "$TC actions flush action tunnel_key"
41 "$TC actions flush action tunnel_key",
47 "cmdUnderTest": "$TC actions add action tunnel_key set dst_ip 20.20.20.2 id 100",
49 "verifyCmd": "$TC actions list action tunnel_key",
54 "$TC actions flush action tunnel_key",
73 "$TC actions flush action tunnel_key",
79 "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 id 100",
[all …]
Dctinfo.json14 "$TC action flush action ctinfo",
20 "cmdUnderTest": "$TC action add action ctinfo index 10",
22 "verifyCmd": "$TC action get action ctinfo index 10",
26 "$TC action flush action ctinfo"
41 "$TC actions flush action ctinfo",
47 "cmdUnderTest": "$TC action add action ctinfo dscp 0xfc000000 0x01000000 index 100",
49 "verifyCmd": "$TC action ls action ctinfo",
53 "$TC actions flush action ctinfo"
68 "$TC action flush action ctinfo",
74 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1",
[all …]
Dsimple.json14 "$TC actions flush action simple",
20 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
22 "verifyCmd": "$TC actions list action simple",
26 "$TC actions flush action simple"
41 "$TC actions flush action simple",
47 "cmdUnderTest": "$TC actions change action simple sdata \"Not changed\" index 60",
49 "verifyCmd": "$TC actions list action simple",
53 "$TC actions flush action simple"
68 "$TC actions flush action simple",
73 "$TC actions add action simple sdata \"Aruba\" index 4"
[all …]
Dconnmark.json14 "$TC actions flush action connmark",
20 "cmdUnderTest": "$TC actions add action connmark",
22 "verifyCmd": "$TC actions list action connmark",
26 "$TC actions flush action connmark"
41 "$TC actions flush action connmark",
47 "cmdUnderTest": "$TC actions add action connmark pass index 1",
49 "verifyCmd": "$TC actions get action connmark index 1",
53 "$TC actions flush action connmark"
68 "$TC actions flush action connmark",
74 "cmdUnderTest": "$TC actions add action connmark drop index 100",
[all …]
/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/filters/
Dfw.json13 "$TC qdisc add dev $DEV1 ingress"
15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress"
59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
[all …]
Dmatchall.json13 "$TC qdisc add dev $DUMMY ingress"
15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
21 "$TC qdisc del dev $DUMMY ingress"
35 "$TC qdisc add dev $DUMMY root handle 1: prio"
37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
43 "$TC qdisc del dev $DUMMY root handle 1: prio"
57 "$TC qdisc add dev $DUMMY ingress"
59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
[all …]
Dcgroup.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
17 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
39 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress"
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
[all …]
/linux-6.14.4/drivers/ntb/test/
Dntb_tool.c208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
301 wake_up(&tc->link_wq); in tool_link_event()
306 struct tool_ctx *tc = ctx; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
[all …]
/linux-6.14.4/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc qdisc add dev $swp2 egress_block 22 clsact
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
68 tc qdisc del dev $swp1 clsact
70 tc qdisc add dev $swp1 egress_block 22 clsact
[all …]
/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/infra/
Dactions.json13 "$TC qdisc add dev $DUMMY ingress",
14 "$TC action add action pedit munge offset 0 u8 clear index 1"
16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
22 "$TC qdisc del dev $DUMMY ingress"
36 "$TC qdisc add dev $DUMMY ingress",
37 "$TC action add action mpls pop protocol ipv4 index 1"
39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
45 "$TC qdisc del dev $DUMMY ingress"
[all …]
/linux-6.14.4/drivers/gpu/drm/bridge/
Dtc358767.c409 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout() argument
416 return regmap_read_poll_timeout(tc->regmap, addr, val, in tc_poll_timeout()
421 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy() argument
423 return tc_poll_timeout(tc, DP0_AUXSTATUS, AUX_BUSY, 0, 100, 100000); in tc_aux_wait_busy()
426 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data() argument
434 ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count); in tc_aux_write_data()
441 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data() argument
446 ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count); in tc_aux_read_data()
470 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer() local
476 ret = tc_aux_wait_busy(tc); in tc_aux_transfer()
[all …]
/linux-6.14.4/tools/perf/util/
Dtsc.c18 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc() argument
22 t = ns - tc->time_zero; in perf_time_to_tsc()
23 quot = t / tc->time_mult; in perf_time_to_tsc()
24 rem = t % tc->time_mult; in perf_time_to_tsc()
25 return (quot << tc->time_shift) + in perf_time_to_tsc()
26 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
29 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
33 if (tc->cap_user_time_short) in tsc_to_perf_time()
34 cyc = tc->time_cycles + in tsc_to_perf_time()
35 ((cyc - tc->time_cycles) & tc->time_mask); in tsc_to_perf_time()
[all …]

12345678910>>...50