/openbmc/linux/drivers/input/mouse/ |
H A D | lifebook.c | 135 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() 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() 324 bitmap_zero(dev1->keybit, KEY_CNT); in lifebook_init() [all …]
|
H A D | alps.c | 205 struct input_dev *dev1); 207 struct input_dev *dev1); 209 struct input_dev *dev1); 211 struct input_dev *dev1); 2982 struct input_dev *dev1) in alps_set_abs_params_st() argument 2990 struct input_dev *dev1) in alps_set_abs_params_mt_common() argument 3003 struct input_dev *dev1) in alps_set_abs_params_semi_mt() argument 3014 struct input_dev *dev1) in alps_set_abs_params_v7() argument 3027 struct input_dev *dev1) in alps_set_abs_params_ss4_v2() argument 3052 __clear_bit(EV_REL, dev1->evbit); in alps_init() [all …]
|
H A D | alps.h | 313 void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1);
|
/openbmc/linux/drivers/char/agp/ |
H A D | amd64-agp.c | 393 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() 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() 480 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, tmp); in nforce3_agp_init() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_lib.sh | 92 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))
|
H A D | ethtool.sh | 133 local dev1=$1; shift 137 local -a speeds_arr=($(common_speeds_get $dev1 $dev2 0 $adver)) 142 local -a speeds_mode_arr=($(common_speeds_get $dev1 $dev2 1 $adver))
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | test.c | 853 down = &dev1->ports[10]; in tb_test_path_not_connected() 1356 up = &dev1->ports[9]; in tb_test_tunnel_pcie() 1690 up = &dev1->ports[16]; in tb_test_tunnel_usb3() 1765 port = &dev1->ports[1]; in tb_test_tunnel_port_on_path() 1768 port = &dev1->ports[3]; in tb_test_tunnel_port_on_path() 1771 port = &dev1->ports[5]; in tb_test_tunnel_port_on_path() 1774 port = &dev1->ports[7]; in tb_test_tunnel_port_on_path() 1949 &dev1->ports[7]); in tb_test_tunnel_dma_chain() 1951 &dev1->ports[1]); in tb_test_tunnel_dma_chain() 1961 &dev1->ports[1]); in tb_test_tunnel_dma_chain() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_optidma.c | 366 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()
|
H A D | pata_ep93xx.c | 555 unsigned int dev1 = devmask & (1 << 1); in ep93xx_pata_wait_after_reset() local 573 if (dev1) { in ep93xx_pata_wait_after_reset() 604 if (dev1) in ep93xx_pata_wait_after_reset()
|
/openbmc/linux/net/x25/ |
H A D | x25_forward.c | 64 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()
|
H A D | x25_proc.c | 142 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
|
/openbmc/u-boot/test/dm/ |
H A D | rtc.c | 149 struct udevice *dev1, *dev2; in dm_test_rtc_dual() local 153 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev1)); in dm_test_rtc_dual() 154 ut_assertok(dm_rtc_get(dev1, &now1)); in dm_test_rtc_dual() 158 ut_assertok(i2c_emul_find(dev1, &emul1)); in dm_test_rtc_dual() 170 ut_assertok(dm_rtc_get(dev1, &cmp)); in dm_test_rtc_dual()
|
H A D | core.c | 881 struct udevice *parent, *dev1, *dev2; in dm_test_inactive_child() local 893 UCLASS_TEST, &dev1)); in dm_test_inactive_child() 895 "test_child", 0, ofnode_null(), &dev1)); in dm_test_inactive_child() 899 ut_asserteq_ptr(dev1, dev2); in dm_test_inactive_child() 901 ut_assertok(device_probe(dev1)); in dm_test_inactive_child()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_dscp_router.sh | 161 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."
|
/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_main.h | 268 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()
|
/openbmc/linux/drivers/nfc/ |
H A D | nfcsim.c | 429 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()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-rt8973a.c | 261 unsigned int adc, dev1; in rt8973a_muic_get_cable_type() local 273 ret = regmap_read(info->regmap, RT8973A_REG_DEV1, &dev1); in rt8973a_muic_get_cable_type() 281 if (dev1 & RT8973A_REG_DEV1_USB_MASK) in rt8973a_muic_get_cable_type() 283 else if (dev1 & RT8973A_REG_DEV1_DCPORT_MASK) in rt8973a_muic_get_cable_type()
|
/openbmc/qemu/tests/qtest/ |
H A D | vhost-user-blk-test.c | 675 QVirtioPCIDevice *dev1 = obj; in pci_hotplug() local 677 QTestState *qts = dev1->pdev->bus->qts; in pci_hotplug() 679 if (dev1->pdev->bus->not_hotpluggable) { in pci_hotplug() 689 dev = virtio_pci_new(dev1->pdev->bus, in pci_hotplug() 704 QVirtioDevice *dev1 = &pdev1->vdev; in multiqueue() local 722 features = qvirtio_get_features(dev1); in multiqueue() 728 qvirtio_set_features(dev1, features); in multiqueue()
|
H A D | virtio-blk-test.c | 699 QVirtioPCIDevice *dev1 = obj; in pci_hotplug() local 701 QTestState *qts = dev1->pdev->bus->qts; in pci_hotplug() 703 if (dev1->pdev->bus->not_hotpluggable) { in pci_hotplug() 713 dev = virtio_pci_new(dev1->pdev->bus, in pci_hotplug()
|
/openbmc/linux/net/batman-adv/ |
H A D | hard-interface.c | 114 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents() argument 119 int dev1_parent_iflink = dev_get_iflink(dev1); in batadv_mutual_parents() 124 dev1_parent_net = batadv_getlink_net(dev1, net1); in batadv_mutual_parents() 131 (dev2_parent_iflink == dev1->ifindex) && in batadv_mutual_parents()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_vio.c | 662 SpaprVioDevice const *dev1, *dev2; in type_init() local 664 dev1 = (SpaprVioDevice *)*(DeviceState **)p1; in type_init() 667 if (dev1->reg < dev2->reg) { in type_init() 670 if (dev1->reg == dev2->reg) { in type_init()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_lpss.c | 603 static void acpi_lpss_link_consumer(struct device *dev1, in acpi_lpss_link_consumer() argument 613 || acpi_lpss_dep(ACPI_COMPANION(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer() 614 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer() 619 static void acpi_lpss_link_supplier(struct device *dev1, in acpi_lpss_link_supplier() argument 629 || acpi_lpss_dep(ACPI_COMPANION(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier() 630 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier()
|
/openbmc/linux/drivers/ata/pata_parport/ |
H A D | pata_parport.c | 90 unsigned int dev1 = devmask & (1 << 1); in pata_parport_wait_after_reset() local 102 if (!dev1) in pata_parport_wait_after_reset() 111 if (dev1) { in pata_parport_wait_after_reset() 141 if (dev1) in pata_parport_wait_after_reset()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | netns-name.sh | 8 DEV2=dummy-dev1
|
/openbmc/linux/include/net/ |
H A D | x25.h | 175 struct net_device *dev1; member
|