/drivers/input/mouse/ |
D | lifebook.c | 24 struct input_dev *dev2; /* Relative device */ member 120 struct input_dev *dev2 = priv ? priv->dev2 : NULL; in lifebook_process_byte() local 153 if (!dev2) in lifebook_process_byte() 171 if (dev2) { in lifebook_process_byte() 173 input_report_rel(dev2, REL_X, in lifebook_process_byte() 175 input_report_rel(dev2, REL_Y, in lifebook_process_byte() 178 input_report_key(dev2, BTN_LEFT, packet[0] & 0x01); in lifebook_process_byte() 179 input_report_key(dev2, BTN_RIGHT, packet[0] & 0x02); in lifebook_process_byte() 180 input_sync(dev2); in lifebook_process_byte() 232 input_unregister_device(priv->dev2); in lifebook_disconnect() [all …]
|
D | alps.c | 87 struct input_dev *dev2 = priv->dev2; in alps_process_packet() local 92 input_report_key(dev2, BTN_LEFT, packet[0] & 1); in alps_process_packet() 93 input_report_key(dev2, BTN_RIGHT, packet[0] & 2); in alps_process_packet() 94 input_report_key(dev2, BTN_MIDDLE, packet[0] & 4); in alps_process_packet() 95 input_report_rel(dev2, REL_X, in alps_process_packet() 97 input_report_rel(dev2, REL_Y, in alps_process_packet() 99 input_sync(dev2); in alps_process_packet() 139 input_report_rel(dev2, REL_X, (x > 383 ? (x - 768) : x)); in alps_process_packet() 140 input_report_rel(dev2, REL_Y, -(y > 255 ? (y - 512) : y)); in alps_process_packet() 142 input_sync(dev2); in alps_process_packet() [all …]
|
D | alps.h | 22 struct input_dev *dev2; /* Relative device */ member
|
/drivers/ide/ |
D | pdc202xx_new.c | 452 struct pci_dev *dev2; in pdc20270_get_dev2() local 454 dev2 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn) + 1, in pdc20270_get_dev2() 457 if (dev2 && in pdc20270_get_dev2() 458 dev2->vendor == dev->vendor && in pdc20270_get_dev2() 459 dev2->device == dev->device) { in pdc20270_get_dev2() 461 if (dev2->irq != dev->irq) { in pdc20270_get_dev2() 462 dev2->irq = dev->irq; in pdc20270_get_dev2() 467 return dev2; in pdc20270_get_dev2() 516 struct pci_dev *dev2; in pdc202new_init_one() local 521 dev2 = pdc20270_get_dev2(dev); in pdc202new_init_one() [all …]
|
D | hpt366.c | 1355 static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) in hpt374_init() argument 1357 if (dev2->irq != dev->irq) { in hpt374_init() 1359 dev2->irq = dev->irq; in hpt374_init() 1361 "fixed\n", pci_name(dev2)); in hpt374_init() 1380 static int __devinit hpt36x_init(struct pci_dev *dev, struct pci_dev *dev2) in hpt36x_init() argument 1393 pci_read_config_byte(dev2, PCI_INTERRUPT_PIN, &pin2); in hpt36x_init() 1395 if (pin1 != pin2 && dev->irq == dev2->irq) { in hpt36x_init() 1499 struct pci_dev *dev2 = NULL; in hpt366_init_one() local 1551 dev2 = pci_get_slot(dev->bus, dev->devfn + 1); in hpt366_init_one() 1553 dyn_info = kzalloc(sizeof(*dyn_info) * (dev2 ? 2 : 1), GFP_KERNEL); in hpt366_init_one() [all …]
|
D | cy82c693.c | 303 struct pci_dev *dev2; in cy82c693_init_one() local 310 dev2 = pci_get_slot(dev->bus, dev->devfn + 1); in cy82c693_init_one() 311 ret = ide_pci_init_two(dev, dev2, &cy82c693_chipset, NULL); in cy82c693_init_one() 313 pci_dev_put(dev2); in cy82c693_init_one() 321 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in cy82c693_remove() local 324 pci_dev_put(dev2); in cy82c693_remove()
|
D | setup-pci.c | 581 int ide_pci_init_two(struct pci_dev *dev1, struct pci_dev *dev2, in ide_pci_init_two() argument 584 struct pci_dev *pdev[] = { dev1, dev2 }; in ide_pci_init_two() 604 host->dev[1] = &dev2->dev; in ide_pci_init_two() 636 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in ide_pci_remove() local 653 if (dev2) in ide_pci_remove() 654 pci_release_selected_regions(dev2, bars); in ide_pci_remove() 657 if (dev2) in ide_pci_remove() 658 pci_disable_device(dev2); in ide_pci_remove()
|
/drivers/ata/ |
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()
|
/drivers/s390/net/ |
D | ctcm_main.h | 258 unsigned long dev1, dev2; in ctcm_less_than() local 264 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than() 266 return (dev1 < dev2); in ctcm_less_than()
|
/drivers/input/joystick/ |
D | db9.c | 54 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 55 MODULE_PARM_DESC(dev2, "Describes second attached device (<parport#>,<type>)"); 370 struct input_dev *dev2 = db9->dev[1]; in db9_timer() local 378 input_report_abs(dev2, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 379 input_report_abs(dev2, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 380 input_report_key(dev2, BTN_TRIGGER, ~data & DB9_FIRE1); in db9_timer()
|
/drivers/block/ |
D | cciss_scsi.c | 495 struct cciss_scsi_dev_t *dev2) in device_is_the_same() argument 497 return dev1->devtype == dev2->devtype && in device_is_the_same() 498 memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same() 500 memcmp(dev1->device_id, dev2->device_id, in device_is_the_same() 502 memcmp(dev1->vendor, dev2->vendor, in device_is_the_same() 504 memcmp(dev1->model, dev2->model, in device_is_the_same() 506 memcmp(dev1->revision, dev2->revision, in device_is_the_same()
|
/drivers/gpu/drm/i915/ |
D | intel_bios.h | 155 u8 dev2[33]; member
|
/drivers/usb/host/ |
D | ehci-sched.c | 160 static int same_tt (struct usb_device *dev1, struct usb_device *dev2) in same_tt() argument 162 if (!dev1->tt || !dev2->tt) in same_tt() 164 if (dev1->tt != dev2->tt) in same_tt() 167 return dev1->ttport == dev2->ttport; in same_tt()
|