Home
last modified time | relevance | path

Searched full:dev1 (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.12.1/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 …]
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 …]
Du32.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32…
17 "verifyCmd": "$TC filter show dev $DEV1 ingress",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
39 "verifyCmd": "$TC filter show dev $DEV1 ingress",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress",
58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti…
[all …]
Dbasic.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
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 basic match 'cm…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
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 basic match 'cm…
[all …]
Dflow.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
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 1 protocol ip flow map key ds…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
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 protocol ip flow map key ds…
[all …]
Droute.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 100 route from 1 to 10 cla…
17 "verifyCmd": "$TC filter ls 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: protocol ip prio 100 route fromif $DEV1 to …
39 "verifyCmd": "$TC filter ls 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: protocol ip prio 2 route to 10 classid 1:20…
[all …]
Dbpf.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode …
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
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 100 bpf bytecode …
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
43 "$TC qdisc del dev $DEV1 ingress"
59 "$TC qdisc add dev $DEV1 ingress"
61 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi…
[all …]
Dmatchall.json495 "$TC qdisc add dev $DEV1 clsact",
496 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok"
498 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall",
500 "verifyCmd": "$TC filter show dev $DEV1 ingress",
504 "$TC qdisc del dev $DEV1 clsact"
/linux-6.12.1/tools/testing/selftests/tc-testing/creating-testcases/
Dscapy-example.json17 "$TC qdisc del dev $DEV1 ingress",
23 "$TC qdisc add dev $DEV1 ingress"
25 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.6…
32 "verifyCmd": "$TC -s -j filter ls dev $DEV1 ingress prio 3",
47 "$TC qdisc del dev $DEV1 ingress"
65 "$TC qdisc del dev $DEV1 ingress",
71 "$TC qdisc add dev $DEV1 ingress"
73 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.6…
80 "verifyCmd": "$TC -s -j filter ls dev $DEV1 parent ffff:",
95 "$TC qdisc del dev $DEV1 ingress"
/linux-6.12.1/drivers/input/mouse/
Dlifebook.c135 struct input_dev *dev1 = psmouse->dev; in lifebook_process_byte() local
174 input_report_abs(dev1, ABS_X, in lifebook_process_byte()
176 input_report_abs(dev1, ABS_Y, in lifebook_process_byte()
179 input_report_abs(dev1, ABS_X, in lifebook_process_byte()
181 input_report_abs(dev1, ABS_Y, in lifebook_process_byte()
184 input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); in lifebook_process_byte()
185 input_sync(dev1); in lifebook_process_byte()
313 struct input_dev *dev1 = psmouse->dev; in lifebook_init() local
322 bitmap_zero(dev1->evbit, EV_CNT); in lifebook_init()
323 bitmap_zero(dev1->relbit, REL_CNT); in lifebook_init()
[all …]
Dalps.c205 struct input_dev *dev1);
207 struct input_dev *dev1);
209 struct input_dev *dev1);
211 struct input_dev *dev1);
221 static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, in alps_report_buttons() argument
231 dev = (dev2 && test_bit(BTN_LEFT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
234 dev = (dev2 && test_bit(BTN_RIGHT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
237 dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
2988 struct input_dev *dev1) in alps_set_abs_params_st() argument
2990 input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_st()
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/actions/
Dmirred.json672 "$TC qdisc add dev $DEV1 egress_block 21 clsact",
704 "$TC qdisc del dev $DEV1 egress_block 21 clsact",
727 "$TC qdisc add dev $DEV1 ingress_block 21 clsact",
759 "$TC qdisc del dev $DEV1 ingress_block 21 clsact",
782 "$TC qdisc add dev $DEV1 ingress_block 21 clsact",
814 "$TC qdisc del dev $DEV1 ingress_block 21 clsact",
837 "$TC qdisc add dev $DEV1 ingress_block 21 clsact",
869 "$TC qdisc del dev $DEV1 ingress_block 21 clsact",
892 "$TC qdisc add dev $DEV1 ingress_block 21 clsact",
896 … "cmdUnderTest": "$TC actions add action mirred ingress redirect index 1 blockid 21 dev $DEV1",
[all …]
Dgact.json705 "$TC qdisc add dev $DEV1 ingress",
707 … "$TC filter add dev $DEV1 protocol all ingress prio 1 handle 0x1234 matchall action gact index 1"
715 "$TC qdisc del dev $DEV1 ingress",
740 "$TC qdisc add dev $DEV1 ingress",
749 … "$TC filter add dev $DEV1 protocol all ingress prio 1 handle 0x1234 matchall action gact index 3"
757 "$TC qdisc del dev $DEV1 ingress",
Dct.json480 "$TC qdisc del dev $DEV1 ingress",
486 "$TC qdisc add dev $DEV1 ingress"
488 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 flower ct_state -trk action c…
506 "$TC qdisc del dev $DEV1 ingress"
/linux-6.12.1/tools/testing/selftests/drivers/net/virtio_net/
Dvirtio_net_common.sh11 # DEV1="$1"
14 # sudo tc qdisc add dev $DEV1 clsact
16 # sudo tc filter add dev $DEV1 ingress protocol all pref 1 matchall action mirred egress redirect d…
17 …c filter add dev $DEV2 ingress protocol all pref 1 matchall action mirred egress redirect dev $DEV1
18 # sudo ip link set $DEV1 up
/linux-6.12.1/drivers/thunderbolt/
Dtest.c555 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
559 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_daisy_chain_walk()
560 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
616 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk() local
620 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_simple_tree_walk()
621 alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_simple_tree_walk()
622 dev3 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_simple_tree_walk()
623 alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_simple_tree_walk()
694 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
699 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_complex_tree_walk()
[all …]
/linux-6.12.1/drivers/char/agp/
Damd64-agp.c393 struct pci_dev *dev1; in uli_agp_init() local
398 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); in uli_agp_init()
399 if (dev1 == NULL) { in uli_agp_init()
432 pci_write_config_dword(dev1, ULI_X86_64_HTT_FEA_REG, httfea); in uli_agp_init()
433 pci_write_config_dword(dev1, ULI_X86_64_ENU_SCR_REG, enuscr); in uli_agp_init()
436 pci_dev_put(dev1); in uli_agp_init()
455 struct pci_dev *dev1; in nforce3_agp_init() local
461 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); in nforce3_agp_init()
462 if (dev1 == NULL) { in nforce3_agp_init()
477 pci_read_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, &tmp); in nforce3_agp_init()
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py121 dev1 = self.args.NAMES["DEV1"];
130 … ip.link('add', ifname=dev1, kind='veth', peer={'ifname': dev0, 'net_ns_fd':'/proc/1/ns/net'})
137 dev1_idx = ip.link_lookup(ifname=dev1)[0]
168 cmds.append(self._replace_keywords('link add $DEV1 type veth peer name $DEV0'))
169 cmds.append(self._replace_keywords('link set $DEV1 netns {}'.format(ns)))
172 cmds.append(self._replace_keywords('netns exec {} $IP link set $DEV1 up'.format(ns)))
/linux-6.12.1/tools/testing/selftests/drivers/net/hw/
Dethtool_lib.sh92 dev1=$1; shift
97 local -a dev1_speeds=($(dev_speeds_get $dev1 $with_mode $adver))
107 local dev1=$1; shift
114 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
Dethtool.sh132 local dev1=$1; shift
136 local -a speeds_arr=($(common_speeds_get $dev1 $dev2 0 $adver))
141 local -a speeds_mode_arr=($(common_speeds_get $dev1 $dev2 1 $adver))
/linux-6.12.1/net/x25/
Dx25_forward.c64 new_frwd->dev1 = rt->dev; in x25_forward_call()
102 if (from->dev == frwd->dev1) { in x25_forward_data()
105 peer = frwd->dev1; in x25_forward_data()
151 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
/linux-6.12.1/drivers/ata/
Dpata_optidma.c366 struct pci_dev *dev1; in optiplus_with_udma() local
369 dev1 = pci_get_device(0x1045, 0xC701, NULL); in optiplus_with_udma()
370 if (dev1 == NULL) in optiplus_with_udma()
374 pci_read_config_byte(dev1, 0x08, &r); in optiplus_with_udma()
378 pci_read_config_byte(dev1, 0x5F, &r); in optiplus_with_udma()
389 pci_read_config_byte(dev1, 0x52, &r); in optiplus_with_udma()
395 pci_dev_put(dev1); in optiplus_with_udma()
/linux-6.12.1/drivers/nfc/
Dnfcsim.c429 static struct nfcsim *dev1; variable
451 dev1 = nfcsim_device_new(link1, link0); in nfcsim_init()
452 if (IS_ERR(dev1)) { in nfcsim_init()
455 rc = PTR_ERR(dev1); in nfcsim_init()
482 nfcsim_device_free(dev1); in nfcsim_exit()
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh161 local dev1=$1; shift
174 eval "local -A dev1_t0s=($(dscp_fetch_stats $dev1 0))"
182 eval "local -A dev1_t1s=($(dscp_fetch_stats $dev1 0))"
203 check_err $? "DSCP $dscpi@$dev1: Expected to capture $expect3 packets, got $delta."
/linux-6.12.1/drivers/s390/net/
Dctcm_main.h268 unsigned long dev1, dev2; in ctcm_less_than() local
273 dev1 = simple_strtoul(id1, &id1, 16); in ctcm_less_than()
276 return (dev1 < dev2); in ctcm_less_than()

123