Home
last modified time | relevance | path

Searched refs:dev2 (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/input/mouse/
H A Dlifebook.c23 struct input_dev *dev2; /* Relative device */ member
136 struct input_dev *dev2 = priv ? priv->dev2 : NULL; in lifebook_process_byte() local
169 if (!dev2) in lifebook_process_byte()
188 if (dev2) { in lifebook_process_byte()
190 psmouse_report_standard_motion(dev2, packet); in lifebook_process_byte()
192 psmouse_report_standard_buttons(dev2, packet[0]); in lifebook_process_byte()
193 input_sync(dev2); in lifebook_process_byte()
247 input_unregister_device(priv->dev2); in lifebook_disconnect()
272 struct input_dev *dev2; in lifebook_create_relative_device() local
277 dev2 = input_allocate_device(); in lifebook_create_relative_device()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_lib.sh93 dev2=$1; shift
98 local -a dev2_speeds=($(dev_speeds_get $dev2 $with_mode $adver))
108 local dev2=$1; shift
114 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
H A Dethtool.sh133 local dev2=$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/drivers/ata/
H A Dpata_optidma.c206 int dev2 = 2 * adev->devno; in optiplus_mode_setup() local
218 udslave &= ~(0x03 << dev2); in optiplus_mode_setup()
219 udslave |= (udma << dev2); in optiplus_mode_setup()
222 udcfg &= ~(0x30 << dev2); in optiplus_mode_setup()
223 udcfg |= (udma << dev2); in optiplus_mode_setup()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_dscp_router.sh162 local dev2=$1; shift
175 eval "local -A dev2_t0s=($(dscp_fetch_stats $dev2 0))"
183 eval "local -A dev2_t1s=($(dscp_fetch_stats $dev2 0))"
199 check_err $? "DSCP $dscpi@$dev2: Expected to capture $expect2 packets, got $delta."
/linux/net/x25/
H A Dx25_forward.c64 new_frwd->dev2 = from->dev; in x25_forward_call()
102 peer = frwd->dev2; in x25_forward_data()
150 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
H A Dx25_proc.c135 seq_printf(seq, "lci dev1 dev2\n"); in x25_seq_forward_show()
142 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
/linux/drivers/thunderbolt/
H A Dtest.c576 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
581 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
584 dst_port = &dev2->ports[13]; in tb_test_path_daisy_chain_walk()
715 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
721 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_complex_tree_walk()
722 dev3 = alloc_dev_with_dpin(test, dev2, 0x50301, true); in tb_test_path_complex_tree_walk()
762 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_path_max_length_walk() local
821 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_max_length_walk()
822 dev3 = alloc_dev_default(test, dev2, 0x30301, true); in tb_test_path_max_length_walk()
865 struct tb_switch *host, *dev1, *dev2; in tb_test_path_not_connected() local
[all …]
/linux/drivers/acpi/x86/
H A Dlpss.c567 struct device *dev2; in acpi_lpss_link_consumer() local
569 dev2 = acpi_lpss_find_device(link->consumer_hid, link->consumer_uid); in acpi_lpss_link_consumer()
570 if (!dev2) in acpi_lpss_link_consumer()
574 || acpi_device_dep(ACPI_HANDLE(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer()
575 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer()
577 put_device(dev2); in acpi_lpss_link_consumer()
583 struct device *dev2; in acpi_lpss_link_supplier() local
585 dev2 = acpi_lpss_find_device(link->supplier_hid, link->supplier_uid); in acpi_lpss_link_supplier()
586 if (!dev2) in acpi_lpss_link_supplier()
590 || acpi_device_dep(ACPI_HANDLE(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier()
[all …]
/linux/drivers/s390/net/
H A Dctcm_main.h268 unsigned long dev1, dev2; in ctcm_less_than() local
274 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
276 return (dev1 < dev2); in ctcm_less_than()
/linux/arch/x86/pci/
H A Dirq.c1402 struct pci_dev *dev2 = NULL; in pcibios_lookup_irq() local
1514 for_each_pci_dev(dev2) { in pcibios_lookup_irq()
1515 pci_read_config_byte(dev2, PCI_INTERRUPT_PIN, &dpin); in pcibios_lookup_irq()
1520 info = pirq_get_info(dev2, &pin); in pcibios_lookup_irq()
1528 if (dev2->irq && dev2->irq != irq && \ in pcibios_lookup_irq()
1530 ((1 << dev2->irq) & mask))) { in pcibios_lookup_irq()
1532 dev_info(&dev2->dev, "IRQ routing conflict: " in pcibios_lookup_irq()
1534 dev2->irq, irq); in pcibios_lookup_irq()
1538 dev2->irq = irq; in pcibios_lookup_irq()
1540 if (dev != dev2) in pcibios_lookup_irq()
[all …]
/linux/drivers/input/joystick/
H A Ddb9.c36 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0);
37 MODULE_PARM_DESC(dev2, "Describes second attached device (<parport#>,<type>)");
357 struct input_dev *dev2 = db9->dev[1]; in db9_timer() local
365 input_report_abs(dev2, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer()
366 input_report_abs(dev2, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
367 input_report_key(dev2, BTN_TRIGGER, ~data & DB9_FIRE1); in db9_timer()
/linux/net/batman-adv/
H A Dhard-interface.c129 const struct net_device *dev2, in batadv_mutual_parents() argument
133 int dev2_parent_iflink = dev_get_iflink(dev2); in batadv_mutual_parents()
138 dev2_parent_net = batadv_getlink_net(dev2, net2); in batadv_mutual_parents()
143 return (dev1_parent_iflink == dev2->ifindex) && in batadv_mutual_parents()
/linux/include/net/
H A Dx25.h176 struct net_device *dev2; member
/linux/include/linux/
H A Dplatform_device.h272 const struct device *dev2);
H A Ddevice.h1278 void device_set_of_node_from_dev(struct device *dev, const struct device *dev2); in dev_of_node()
/linux/Documentation/process/
H A Dsecurity-bugs.rst234 Developer Two <dev2@example.org> (maintainer:example driver)
242 Developer Two <dev2@example.org> (maintainer:example subsystem)
253 dev1@example.com, dev2@example.org
260 dev1@example.com, dev2@example.org, dev3@example.com, dev4@example.org
/linux/Documentation/translations/pt_BR/process/
H A Dsecurity-bugs.rst148 Developer Two <dev2@example.org> (maintainer:example driver)
156 Developer Two <dev2@example.org> (maintainer:example subsystem)
168 dev1@example.com, dev2@example.org
175 dev1@example.com, dev2@example.org, dev3@example.com, dev4@example.org
/linux/drivers/usb/host/
H A Dehci-sched.c301 struct usb_device *dev2) in same_tt() argument
303 if (!dev1->tt || !dev2->tt) in same_tt()
305 if (dev1->tt != dev2->tt) in same_tt()
308 return dev1->ttport == dev2->ttport; in same_tt()
/linux/include/linux/mlx5/
H A Ddriver.h1235 const struct mlx5_core_dev *dev2) in mlx5_core_is_ecpf()
1237 return dev1->coredev_type == dev2->coredev_type; in mlx5_core_is_ecpf()
1229 mlx5_core_same_coredev_type(const struct mlx5_core_dev * dev1,const struct mlx5_core_dev * dev2) mlx5_core_same_coredev_type() argument
/linux/drivers/gpu/drm/xe/
H A Dxe_svm.c893 struct device *dev2 = xe_peer_to_dev(peer2); in xe_svm_init()
895 if (dev1 == dev2) in xe_svm_init()
898 return pci_p2pdma_distance(to_pci_dev(dev1), dev2, true) >= 0; in xe_svm_init()
874 struct device *dev2 = xe_peer_to_dev(peer2); xe_has_interconnect() local
/linux/drivers/pci/
H A Dpci.c6434 bool pci_devs_are_dma_aliases(struct pci_dev *dev1, struct pci_dev *dev2) in pci_real_dma_dev()
6437 test_bit(dev2->devfn, dev1->dma_alias_mask)) || in pci_real_dma_dev()
6438 (dev2->dma_alias_mask &&
6439 test_bit(dev1->devfn, dev2->dma_alias_mask)) || in pcibios_default_alignment()
6440 pci_real_dma_dev(dev1) == dev2 || in pcibios_default_alignment()
6441 pci_real_dma_dev(dev2) == dev1; in pcibios_default_alignment()
6391 pci_devs_are_dma_aliases(struct pci_dev * dev1,struct pci_dev * dev2) pci_devs_are_dma_aliases() argument
/linux/drivers/scsi/
H A Dhpsa.c1488 struct hpsa_scsi_dev_t *dev2) in device_is_the_same() argument
1494 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
1497 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
1500 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same()
1502 if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 0) in device_is_the_same()
1504 if (dev1->devtype != dev2->devtype) in device_is_the_same()
1506 if (dev1->bus != dev2->bus) in device_is_the_same()
1512 struct hpsa_scsi_dev_t *dev2) in device_updated() argument
1518 if (dev1->raid_level != dev2->raid_level) in device_updated()
1520 if (dev1->offload_config != dev2 in device_updated()
[all...]
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c3374 same_tt(struct usb_device * dev1,struct usb_device * dev2) same_tt() argument
/linux/Documentation/input/devices/
H A Djoystick-parport.rst565 can use db9.dev2 and db9.dev3 as additional command line parameters for two

12