/linux/drivers/input/mouse/ |
H A D | lifebook.c | 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() 193 input_sync(dev2); in lifebook_process_byte() 272 struct input_dev *dev2; in lifebook_create_relative_device() local 278 if (!priv || !dev2) in lifebook_create_relative_device() 281 priv->dev2 = dev2; in lifebook_create_relative_device() 285 dev2->phys = priv->phys; in lifebook_create_relative_device() 288 dev2->id.vendor = 0x0002; in lifebook_create_relative_device() 290 dev2->id.version = 0x0000; in lifebook_create_relative_device() [all …]
|
H A D | alps.c | 221 static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, in alps_report_buttons() argument 228 * other device (dev2) then this event should be also in alps_report_buttons() 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 in alps_report_buttons() 253 struct input_dev *dev2 = priv->dev2; alps_process_packet_v1_v2() local 729 struct input_dev *dev2 = priv->dev2; alps_process_touchpad_packet_v3_v5() local 828 struct input_dev *dev2 = priv->dev2; alps_process_packet_v6() local 1092 struct input_dev *dev2 = priv->dev2; alps_process_trackstick_packet_v7() local 1319 struct input_dev *dev2 = priv->dev2; alps_process_packet_ss4_v2() local 1471 struct input_dev *dev, *dev2 = NULL; alps_report_bare_ps2_packet() local 3092 struct input_dev *dev2; alps_init() local [all...] |
H A D | alps.h | 288 struct input_dev *dev2; member
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_lib.sh | 93 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 D | ethtool.sh | 133 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 D | pata_optidma.c | 206 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/net/x25/ |
H A D | x25_forward.c | 65 new_frwd->dev2 = from->dev; in x25_forward_call() 103 peer = frwd->dev2; in x25_forward_data() 151 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
|
H A D | x25_proc.c | 142 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_dscp_router.sh | 162 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/drivers/thunderbolt/ |
H A D | test.c | 555 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local 563 dst_port = &dev2->ports[13]; in tb_test_path_daisy_chain_walk() 854 up = &dev2->ports[9]; in tb_test_path_not_connected() 1371 up = &dev2->ports[9]; in tb_test_tunnel_pcie() 1502 in = &dev2->ports[13]; in tb_test_tunnel_dp_tree() 1636 out1 = &dev2->ports[13]; in tb_test_tunnel_3dp() 1705 up = &dev2->ports[16]; in tb_test_tunnel_usb3() 1750 in = &dev2->ports[13]; in tb_test_tunnel_port_on_path() 1935 port = &dev2->ports[3]; in tb_test_tunnel_dma_chain() 1947 &dev2->ports[1]); in tb_test_tunnel_dma_chain() [all …]
|
/linux/drivers/acpi/x86/ |
H A D | lpss.c | 570 struct device *dev2; in acpi_lpss_link_consumer() local 572 dev2 = acpi_lpss_find_device(link->consumer_hid, link->consumer_uid); in acpi_lpss_link_consumer() 573 if (!dev2) in acpi_lpss_link_consumer() 577 || acpi_device_dep(ACPI_HANDLE(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer() 578 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer() 580 put_device(dev2); in acpi_lpss_link_consumer() 586 struct device *dev2; in acpi_lpss_link_supplier() local 589 if (!dev2) in acpi_lpss_link_supplier() 593 || acpi_device_dep(ACPI_HANDLE(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier() 594 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier() [all …]
|
/linux/drivers/s390/net/ |
H A D | ctcm_main.h | 268 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 D | irq.c | 1402 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 D | db9.c | 36 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 D | hard-interface.c | 116 const struct net_device *dev2, in batadv_mutual_parents() argument 120 int dev2_parent_iflink = dev_get_iflink(dev2); in batadv_mutual_parents() 125 dev2_parent_net = batadv_getlink_net(dev2, net2); in batadv_mutual_parents() 130 return (dev1_parent_iflink == dev2->ifindex) && in batadv_mutual_parents()
|
/linux/include/net/ |
H A D | x25.h | 176 struct net_device *dev2; member
|
/linux/drivers/usb/host/ |
H A D | ehci-sched.c | 302 struct usb_device *dev2) in same_tt() argument 304 if (!dev1->tt || !dev2->tt) in same_tt() 306 if (dev1->tt != dev2->tt) in same_tt() 309 return dev1->ttport == dev2->ttport; in same_tt()
|
/linux/drivers/scsi/ |
H A D | hpsa.c | 1494 struct hpsa_scsi_dev_t *dev2) in device_is_the_same() argument 1500 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same() 1503 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same() 1506 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same() 1510 if (dev1->devtype != dev2->devtype) in device_is_the_same() 1512 if (dev1->bus != dev2->bus) in device_is_the_same() 1518 struct hpsa_scsi_dev_t *dev2) in device_updated() argument 1524 if (dev1->raid_level != dev2->raid_level) in device_updated() 1526 if (dev1->offload_config != dev2->offload_config) in device_updated() 1531 if (dev1->queue_depth != dev2->queue_depth) in device_updated() [all …]
|
/linux/drivers/pci/ |
H A D | pci.c | 6465 bool pci_devs_are_dma_aliases(struct pci_dev *dev1, struct pci_dev *dev2) in pci_ignore_hotplug() 6468 test_bit(dev2->devfn, dev1->dma_alias_mask)) || in pci_ignore_hotplug() 6469 (dev2->dma_alias_mask && 6470 test_bit(dev1->devfn, dev2->dma_alias_mask)) || 6471 pci_real_dma_dev(dev1) == dev2 || 6472 pci_real_dma_dev(dev2) == dev1; 6438 pci_devs_are_dma_aliases(struct pci_dev * dev1,struct pci_dev * dev2) pci_devs_are_dma_aliases() argument
|
/linux/include/linux/ |
H A D | device.h | 1149 void device_set_of_node_from_dev(struct device *dev, const struct device *dev2); in dev_of_node()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 3374 static int same_tt(struct usb_device *dev1, struct usb_device *dev2) in same_tt() argument 3376 if (!dev1->tt || !dev2->tt) in same_tt() 3378 if (dev1->tt != dev2->tt) in same_tt() 3381 return dev1->ttport == dev2->ttport; in same_tt()
|
/linux/Documentation/input/devices/ |
H A D | joystick-parport.rst | 565 can use db9.dev2 and db9.dev3 as additional command line parameters for two
|
/linux/drivers/base/ |
H A D | core.c | 5125 * @dev2: device whose device-tree node is being reused 5130 void device_set_of_node_from_dev(struct device *dev, const struct device *dev2) in device_set_of_node_from_dev() 5133 dev->of_node = of_node_get(dev2->of_node); 5127 device_set_of_node_from_dev(struct device * dev,const struct device * dev2) device_set_of_node_from_dev() argument
|
/linux/fs/btrfs/ |
H A D | volumes.c | 1229 const struct btrfs_device *dev1, *dev2; in devid_cmp() 1232 dev2 = list_entry(b, struct btrfs_device, dev_list); in devid_cmp() 1234 if (dev1->devid < dev2->devid) in devid_cmp() 1236 else if (dev1->devid > dev2->devid) in devid_cmp() 1227 const struct btrfs_device *dev1, *dev2; devid_cmp() local
|
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 1947 static inline bool pqi_device_equal(struct pqi_scsi_dev *dev1, struct pqi_scsi_dev *dev2) in pqi_device_equal() 1949 if (dev1->is_physical_device != dev2->is_physical_device) in pqi_device_equal() 1953 return memcmp(dev1->wwid, dev2->wwid, sizeof(dev1->wwid)) == 0; 1955 return memcmp(dev1->volume_id, dev2->volume_id, sizeof(dev1->volume_id)) == 0; 1941 pqi_device_equal(struct pqi_scsi_dev * dev1,struct pqi_scsi_dev * dev2) pqi_device_equal() argument
|