Home
last modified time | relevance | path

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

12345678910>>...56

/openbmc/linux/drivers/gpu/drm/i915/display/
H A 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 …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dmpls.json11 "$TC actions flush action mpls",
17 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8",
19 "verifyCmd": "$TC actions list action mpls",
23 "$TC actions flush action mpls"
35 "$TC actions flush action mpls",
41 "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8",
43 "verifyCmd": "$TC actions get action mpls index 8",
47 "$TC actions flush action mpls"
59 "$TC actions flush action mpls",
65 "cmdUnderTest": "$TC actions add action mpls dec_ttl drop index 8",
[all …]
H A Dgact.json11 "$TC actions flush action gact",
17 "cmdUnderTest": "$TC actions add action pass index 8",
19 "verifyCmd": "$TC actions list action gact",
23 "$TC actions flush action gact"
35 "$TC actions flush action gact",
41 "cmdUnderTest": "$TC actions add action pipe index 6",
43 "verifyCmd": "$TC actions list action gact",
47 "$TC actions flush action gact"
59 "$TC actions flush action gact",
65 "cmdUnderTest": "$TC actions add action reclassify index 5",
[all …]
H A Dskbedit.json11 "$TC actions flush action skbedit",
17 "cmdUnderTest": "$TC actions add action skbedit mark 1",
19 "verifyCmd": "$TC actions list action skbedit",
23 "$TC actions flush action skbedit"
35 "$TC actions flush action skbedit",
41 "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1",
43 "verifyCmd": "$TC actions get action skbedit index 1",
47 "$TC actions flush action skbedit"
59 "$TC actions flush action skbedit",
65 "cmdUnderTest": "$TC actions add action skbedit mark 666777888999",
[all …]
H A Dpolice.json11 "$TC actions flush action police",
17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
19 "verifyCmd": "$TC actions ls action police",
23 "$TC actions flush action police"
35 "$TC actions flush action police",
40 "$TC actions add action police rate 4Mbit burst 120k index 9"
42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
44 "verifyCmd": "$TC actions ls action police",
48 "$TC actions flush action police"
60 "$TC actions flush action police",
[all …]
H A Dskbmod.json11 "$TC actions flush action skbmod",
17 "cmdUnderTest": "$TC actions add action skbmod set dmac 11:22:33:44:55:66 index 5",
19 "verifyCmd": "$TC actions ls action skbmod",
23 "$TC actions flush action skbmod"
35 "$TC actions flush action skbmod",
41 "cmdUnderTest": "$TC actions add action skbmod set smac 77:88:99:AA:BB:CC index 7",
43 "verifyCmd": "$TC actions get action skbmod index 7",
47 "$TC actions flush action skbmod"
59 "$TC actions flush action skbmod",
65 "cmdUnderTest": "$TC actions add action skbmod set smac 00:44:55:44:55",
[all …]
H A Dvlan.json11 "$TC actions flush action vlan",
17 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
19 "verifyCmd": "$TC actions list action vlan",
23 "$TC actions flush action vlan"
35 "$TC actions flush action vlan",
41 "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
43 "verifyCmd": "$TC actions get action vlan index 8",
47 "$TC actions flush action vlan"
59 "$TC actions flush action vlan",
65 "cmdUnderTest": "$TC actions add action vlan pop drop index 8",
[all …]
H A Dpedit.json11 "$TC actions flush action pedit",
17 "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10",
19 "verifyCmd": "$TC actions ls action pedit",
23 "$TC actions flush action pedit"
35 "$TC actions flush action pedit",
40 "$TC actions add action pedit ex munge ip ttl set 10 pass index 90"
42 …"cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 co…
44 "verifyCmd": "$TC actions ls action pedit",
48 "$TC actions flush action pedit"
61 "$TC actions flush action pedit",
[all …]
H A Dsample.json11 "$TC actions flush action sample",
17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
19 "verifyCmd": "$TC actions get action sample index 2",
23 "$TC actions flush action sample"
35 "$TC actions flush action sample",
41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
43 "verifyCmd": "$TC actions get action sample index 2",
47 "$TC actions flush action sample"
59 "$TC actions flush action sample",
65 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
[all …]
H A Dife.json11 "$TC actions flush action ife",
17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2",
19 "verifyCmd": "$TC actions get action ife index 2",
23 "$TC actions flush action ife"
35 "$TC actions flush action ife",
41 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2",
43 "verifyCmd": "$TC actions get action ife index 2",
47 "$TC actions flush action ife"
59 "$TC actions flush action ife",
65 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2",
[all …]
H A Dnat.json11 "$TC actions flush action nat",
17 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1",
19 "verifyCmd": "$TC actions ls action nat",
23 "$TC actions flush action nat"
35 "$TC actions flush action nat",
41 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77",
43 "verifyCmd": "$TC actions get action nat index 77",
47 "$TC actions flush action nat"
59 "$TC actions flush action nat",
65 …"cmdUnderTest": "$TC actions add action nat ingress 192.168.10.10 192.168.20.20 continue index 100…
[all …]
H A Dmirred.json11 "$TC actions flush action mirred",
17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
19 "verifyCmd": "$TC actions list action mirred",
23 "$TC actions flush action mirred"
35 "$TC actions flush action mirred",
41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
43 "verifyCmd": "$TC actions list action mirred",
47 "$TC actions flush action mirred",
48 "$TC actions flush action gact"
60 "$TC actions flush action mirred",
[all …]
H A Dctinfo.json11 "$TC action flush action ctinfo",
17 "cmdUnderTest": "$TC action add action ctinfo index 10",
19 "verifyCmd": "$TC action get action ctinfo index 10",
23 "$TC action flush action ctinfo"
35 "$TC actions flush action ctinfo",
41 "cmdUnderTest": "$TC action add action ctinfo dscp 0xfc000000 0x01000000 index 100",
43 "verifyCmd": "$TC action ls action ctinfo",
47 "$TC actions flush action ctinfo"
59 "$TC action flush action ctinfo",
65 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1",
[all …]
H A Dcsum.json11 "$TC actions flush action csum",
17 "cmdUnderTest": "$TC actions add action csum iph index 800",
19 "verifyCmd": "$TC actions get action csum index 800",
23 "$TC actions flush action csum"
35 "$TC actions flush action csum",
41 "cmdUnderTest": "$TC actions add action csum ip4h index 7",
43 "verifyCmd": "$TC actions get action csum index 7",
47 "$TC actions flush action csum"
59 "$TC actions flush action csum",
65 "cmdUnderTest": "$TC actions add action csum ipv4h index 1122",
[all …]
H A Dconnmark.json11 "$TC actions flush action connmark",
17 "cmdUnderTest": "$TC actions add action connmark",
19 "verifyCmd": "$TC actions list action connmark",
23 "$TC actions flush action connmark"
35 "$TC actions flush action connmark",
41 "cmdUnderTest": "$TC actions add action connmark pass index 1",
43 "verifyCmd": "$TC actions get action connmark index 1",
47 "$TC actions flush action connmark"
59 "$TC actions flush action connmark",
65 "cmdUnderTest": "$TC actions add action connmark drop index 100",
[all …]
H A Dtunnel_key.json11 "$TC actions flush action tunnel_key",
17 … "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2 id 1",
19 "verifyCmd": "$TC actions list action tunnel_key",
23 "$TC actions flush action tunnel_key"
35 "$TC actions flush action tunnel_key",
41 "cmdUnderTest": "$TC actions add action tunnel_key set dst_ip 20.20.20.2 id 100",
43 "verifyCmd": "$TC actions list action tunnel_key",
48 "$TC actions flush action tunnel_key",
64 "$TC actions flush action tunnel_key",
70 "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 id 100",
[all …]
H A Dsimple.json11 "$TC actions flush action simple",
17 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
19 "verifyCmd": "$TC actions list action simple",
23 "$TC actions flush action simple"
35 "$TC actions flush action simple",
41 "cmdUnderTest": "$TC actions change action simple sdata \"Not changed\" index 60",
43 "verifyCmd": "$TC actions list action simple",
47 "$TC actions flush action simple"
59 "$TC actions flush action simple",
64 "$TC actions add action simple sdata \"Aruba\" index 4"
[all …]
H A Dct.json11 "$TC actions flush action ct",
17 "cmdUnderTest": "$TC actions add action ct index 42",
19 "verifyCmd": "$TC actions list action ct",
23 "$TC actions flush action ct"
35 "$TC actions flush action ct",
41 "cmdUnderTest": "$TC actions add action ct index 42 cookie deadbeef",
43 "verifyCmd": "$TC actions list action ct",
47 "$TC actions flush action ct"
59 "$TC actions flush action ct",
65 "cmdUnderTest": "$TC actions add action ct clear index 42",
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A 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"
162 "$TC qdisc add dev $DEV1 ingress"
164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
[all …]
H A 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 …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A Dactions.json11 "$TC qdisc add dev $DUMMY ingress",
12 "$TC action add action pedit munge offset 0 u8 clear index 1"
14 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
16 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
20 "$TC qdisc del dev $DUMMY ingress",
22 "$TC actions flush action pedit"
34 "$TC qdisc add dev $DUMMY ingress",
35 "$TC action add action mpls pop protocol ipv4 index 1"
37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
39 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
[all …]
/openbmc/linux/drivers/ntb/test/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c331 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout() argument
338 return regmap_read_poll_timeout(tc->regmap, addr, val, in tc_poll_timeout()
343 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy() argument
345 return tc_poll_timeout(tc, DP0_AUXSTATUS, AUX_BUSY, 0, 100, 100000); in tc_aux_wait_busy()
348 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data() argument
356 ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count); in tc_aux_write_data()
363 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data() argument
368 ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count); in tc_aux_read_data()
392 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer() local
398 ret = tc_aux_wait_busy(tc); in tc_aux_transfer()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A 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 …]
/openbmc/linux/tools/perf/util/
H A 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>>...56