dev1 585 drivers/acpi/acpi_lpss.c static void acpi_lpss_link_consumer(struct device *dev1, dev1 595 drivers/acpi/acpi_lpss.c || acpi_lpss_dep(ACPI_COMPANION(dev2), ACPI_HANDLE(dev1))) dev1 596 drivers/acpi/acpi_lpss.c device_link_add(dev2, dev1, link->flags); dev1 601 drivers/acpi/acpi_lpss.c static void acpi_lpss_link_supplier(struct device *dev1, dev1 611 drivers/acpi/acpi_lpss.c || acpi_lpss_dep(ACPI_COMPANION(dev1), ACPI_HANDLE(dev2))) dev1 612 drivers/acpi/acpi_lpss.c device_link_add(dev1, dev2, link->flags); dev1 1885 drivers/ata/libata-sff.c unsigned int dev1 = devmask & (1 << 1); dev1 1901 drivers/ata/libata-sff.c if (dev1) { dev1 1930 drivers/ata/libata-sff.c if (dev1) dev1 554 drivers/ata/pata_ep93xx.c unsigned int dev1 = devmask & (1 << 1); dev1 572 drivers/ata/pata_ep93xx.c if (dev1) { dev1 603 drivers/ata/pata_ep93xx.c if (dev1) dev1 365 drivers/ata/pata_optidma.c struct pci_dev *dev1; dev1 368 drivers/ata/pata_optidma.c dev1 = pci_get_device(0x1045, 0xC701, NULL); dev1 369 drivers/ata/pata_optidma.c if (dev1 == NULL) dev1 373 drivers/ata/pata_optidma.c pci_read_config_byte(dev1, 0x08, &r); dev1 377 drivers/ata/pata_optidma.c pci_read_config_byte(dev1, 0x5F, &r); dev1 388 drivers/ata/pata_optidma.c pci_read_config_byte(dev1, 0x52, &r); dev1 394 drivers/ata/pata_optidma.c pci_dev_put(dev1); dev1 393 drivers/char/agp/amd64-agp.c struct pci_dev *dev1; dev1 398 drivers/char/agp/amd64-agp.c dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); dev1 399 drivers/char/agp/amd64-agp.c if (dev1 == NULL) { dev1 432 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, ULI_X86_64_HTT_FEA_REG, httfea); dev1 433 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, ULI_X86_64_ENU_SCR_REG, enuscr); dev1 436 drivers/char/agp/amd64-agp.c pci_dev_put(dev1); dev1 455 drivers/char/agp/amd64-agp.c struct pci_dev *dev1; dev1 461 drivers/char/agp/amd64-agp.c dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); dev1 462 drivers/char/agp/amd64-agp.c if (dev1 == NULL) { dev1 477 drivers/char/agp/amd64-agp.c pci_read_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, &tmp); dev1 480 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, tmp); dev1 501 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE1, apbase); dev1 502 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APLIMIT1, aplimit); dev1 503 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE2, apbase); dev1 504 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APLIMIT2, aplimit); dev1 508 drivers/char/agp/amd64-agp.c pci_dev_put(dev1); dev1 262 drivers/extcon/extcon-rt8973a.c unsigned int adc, dev1; dev1 274 drivers/extcon/extcon-rt8973a.c ret = regmap_read(info->regmap, RT8973A_REG_DEV1, &dev1); dev1 282 drivers/extcon/extcon-rt8973a.c if (dev1 & RT8973A_REG_DEV1_USB_MASK) dev1 284 drivers/extcon/extcon-rt8973a.c else if (dev1 & RT8973A_REG_DEV1_DCPORT_MASK) dev1 965 drivers/ide/hpt366.c struct pci_dev *dev1 = pci_get_slot(dev->bus, dev1 967 drivers/ide/hpt366.c unsigned long io_base = pci_resource_start(dev1, 4); dev1 970 drivers/ide/hpt366.c pci_dev_put(dev1); dev1 651 drivers/ide/ide-probe.c void ide_undecoded_slave(ide_drive_t *dev1) dev1 653 drivers/ide/ide-probe.c ide_drive_t *dev0 = dev1->hwif->devices[0]; dev1 655 drivers/ide/ide-probe.c if ((dev1->dn & 1) == 0 || (dev0->dev_flags & IDE_DFLAG_PRESENT) == 0) dev1 660 drivers/ide/ide-probe.c (char *)&dev1->id[ATA_ID_PROD])) dev1 665 drivers/ide/ide-probe.c (char *)&dev1->id[ATA_ID_SERNO], ATA_ID_SERNO_LEN)) dev1 675 drivers/ide/ide-probe.c dev1->dev_flags &= ~IDE_DFLAG_PRESENT; dev1 533 drivers/ide/setup-pci.c int ide_pci_init_two(struct pci_dev *dev1, struct pci_dev *dev2, dev1 536 drivers/ide/setup-pci.c struct pci_dev *pdev[] = { dev1, dev2 }; dev1 570 drivers/ide/setup-pci.c host->dev[0] = &dev1->dev; dev1 205 drivers/input/mouse/alps.c struct input_dev *dev1); dev1 207 drivers/input/mouse/alps.c struct input_dev *dev1); dev1 209 drivers/input/mouse/alps.c struct input_dev *dev1); dev1 211 drivers/input/mouse/alps.c struct input_dev *dev1); dev1 221 drivers/input/mouse/alps.c static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, dev1 231 drivers/input/mouse/alps.c dev = (dev2 && test_bit(BTN_LEFT, dev2->key)) ? dev2 : dev1; dev1 234 drivers/input/mouse/alps.c dev = (dev2 && test_bit(BTN_RIGHT, dev2->key)) ? dev2 : dev1; dev1 237 drivers/input/mouse/alps.c dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; dev1 2982 drivers/input/mouse/alps.c struct input_dev *dev1) dev1 2984 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); dev1 2985 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_Y, 0, priv->y_max, 0, 0); dev1 2986 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); dev1 2990 drivers/input/mouse/alps.c struct input_dev *dev1) dev1 2992 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); dev1 2993 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); dev1 2995 drivers/input/mouse/alps.c input_abs_set_res(dev1, ABS_MT_POSITION_X, priv->x_res); dev1 2996 drivers/input/mouse/alps.c input_abs_set_res(dev1, ABS_MT_POSITION_Y, priv->y_res); dev1 2998 drivers/input/mouse/alps.c set_bit(BTN_TOOL_TRIPLETAP, dev1->keybit); dev1 2999 drivers/input/mouse/alps.c set_bit(BTN_TOOL_QUADTAP, dev1->keybit); dev1 3003 drivers/input/mouse/alps.c struct input_dev *dev1) dev1 3005 drivers/input/mouse/alps.c alps_set_abs_params_mt_common(priv, dev1); dev1 3006 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); dev1 3008 drivers/input/mouse/alps.c input_mt_init_slots(dev1, MAX_TOUCHES, dev1 3014 drivers/input/mouse/alps.c struct input_dev *dev1) dev1 3016 drivers/input/mouse/alps.c alps_set_abs_params_mt_common(priv, dev1); dev1 3017 drivers/input/mouse/alps.c set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); dev1 3019 drivers/input/mouse/alps.c input_mt_init_slots(dev1, MAX_TOUCHES, dev1 3023 drivers/input/mouse/alps.c set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); dev1 3027 drivers/input/mouse/alps.c struct input_dev *dev1) dev1 3029 drivers/input/mouse/alps.c alps_set_abs_params_mt_common(priv, dev1); dev1 3030 drivers/input/mouse/alps.c input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); dev1 3031 drivers/input/mouse/alps.c set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); dev1 3033 drivers/input/mouse/alps.c input_mt_init_slots(dev1, MAX_TOUCHES, dev1 3041 drivers/input/mouse/alps.c struct input_dev *dev1 = psmouse->dev; dev1 3052 drivers/input/mouse/alps.c __clear_bit(EV_REL, dev1->evbit); dev1 3053 drivers/input/mouse/alps.c __clear_bit(REL_X, dev1->relbit); dev1 3054 drivers/input/mouse/alps.c __clear_bit(REL_Y, dev1->relbit); dev1 3059 drivers/input/mouse/alps.c dev1->evbit[BIT_WORD(EV_KEY)] |= BIT_MASK(EV_KEY); dev1 3060 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH); dev1 3061 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_TOOL_FINGER)] |= BIT_MASK(BTN_TOOL_FINGER); dev1 3062 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_LEFT)] |= dev1 3065 drivers/input/mouse/alps.c dev1->evbit[BIT_WORD(EV_ABS)] |= BIT_MASK(EV_ABS); dev1 3067 drivers/input/mouse/alps.c priv->set_abs_params(priv, dev1); dev1 3070 drivers/input/mouse/alps.c dev1->evbit[BIT_WORD(EV_REL)] |= BIT_MASK(EV_REL); dev1 3071 drivers/input/mouse/alps.c dev1->relbit[BIT_WORD(REL_WHEEL)] |= BIT_MASK(REL_WHEEL); dev1 3075 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_FORWARD)] |= BIT_MASK(BTN_FORWARD); dev1 3076 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_BACK)] |= BIT_MASK(BTN_BACK); dev1 3080 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_0); dev1 3081 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_1)] |= BIT_MASK(BTN_1); dev1 3082 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_2)] |= BIT_MASK(BTN_2); dev1 3083 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_3)] |= BIT_MASK(BTN_3); dev1 3085 drivers/input/mouse/alps.c set_bit(INPUT_PROP_BUTTONPAD, dev1->propbit); dev1 3086 drivers/input/mouse/alps.c clear_bit(BTN_RIGHT, dev1->keybit); dev1 3088 drivers/input/mouse/alps.c dev1->keybit[BIT_WORD(BTN_MIDDLE)] |= BIT_MASK(BTN_MIDDLE); dev1 313 drivers/input/mouse/alps.h void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1); dev1 135 drivers/input/mouse/lifebook.c struct input_dev *dev1 = psmouse->dev; dev1 174 drivers/input/mouse/lifebook.c input_report_abs(dev1, ABS_X, dev1 176 drivers/input/mouse/lifebook.c input_report_abs(dev1, ABS_Y, dev1 179 drivers/input/mouse/lifebook.c input_report_abs(dev1, ABS_X, dev1 181 drivers/input/mouse/lifebook.c input_report_abs(dev1, ABS_Y, dev1 184 drivers/input/mouse/lifebook.c input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); dev1 185 drivers/input/mouse/lifebook.c input_sync(dev1); dev1 313 drivers/input/mouse/lifebook.c struct input_dev *dev1 = psmouse->dev; dev1 322 drivers/input/mouse/lifebook.c bitmap_zero(dev1->evbit, EV_CNT); dev1 323 drivers/input/mouse/lifebook.c bitmap_zero(dev1->relbit, REL_CNT); dev1 324 drivers/input/mouse/lifebook.c bitmap_zero(dev1->keybit, KEY_CNT); dev1 326 drivers/input/mouse/lifebook.c input_set_capability(dev1, EV_KEY, BTN_TOUCH); dev1 327 drivers/input/mouse/lifebook.c input_set_abs_params(dev1, ABS_X, 0, max_coord, 0, 0); dev1 328 drivers/input/mouse/lifebook.c input_set_abs_params(dev1, ABS_Y, 0, max_coord, 0, 0); dev1 3879 drivers/net/ethernet/marvell/skge.c struct net_device *dev, *dev1; dev1 3969 drivers/net/ethernet/marvell/skge.c dev1 = skge_devinit(hw, 1, using_dac); dev1 3970 drivers/net/ethernet/marvell/skge.c if (!dev1) { dev1 3975 drivers/net/ethernet/marvell/skge.c err = register_netdev(dev1); dev1 3989 drivers/net/ethernet/marvell/skge.c skge_show_addr(dev1); dev1 3996 drivers/net/ethernet/marvell/skge.c unregister_netdev(dev1); dev1 3998 drivers/net/ethernet/marvell/skge.c free_netdev(dev1); dev1 4020 drivers/net/ethernet/marvell/skge.c struct net_device *dev0, *dev1; dev1 4025 drivers/net/ethernet/marvell/skge.c dev1 = hw->dev[1]; dev1 4026 drivers/net/ethernet/marvell/skge.c if (dev1) dev1 4027 drivers/net/ethernet/marvell/skge.c unregister_netdev(dev1); dev1 4049 drivers/net/ethernet/marvell/skge.c if (dev1) dev1 4050 drivers/net/ethernet/marvell/skge.c free_netdev(dev1); dev1 4946 drivers/net/ethernet/marvell/sky2.c struct net_device *dev, *dev1; dev1 5080 drivers/net/ethernet/marvell/sky2.c dev1 = sky2_init_netdev(hw, 1, using_dac, wol_default); dev1 5081 drivers/net/ethernet/marvell/sky2.c if (!dev1) { dev1 5086 drivers/net/ethernet/marvell/sky2.c err = register_netdev(dev1); dev1 5096 drivers/net/ethernet/marvell/sky2.c sky2_show_addr(dev1); dev1 5108 drivers/net/ethernet/marvell/sky2.c unregister_netdev(dev1); dev1 5110 drivers/net/ethernet/marvell/sky2.c free_netdev(dev1); dev1 2590 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) dev1 2593 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE) || dev1 2595 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) dev1 2602 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_core_dev *dev1) dev1 2605 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); dev1 438 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_core_dev *dev1); dev1 440 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_core_dev *dev1); dev1 607 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { return true; } dev1 289 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev1 = ldev->pf[1].dev; dev1 294 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (!dev0 || !dev1) dev1 305 drivers/net/ethernet/mellanox/mlx5/core/lag.c !mlx5_sriov_is_enabled(dev1); dev1 309 drivers/net/ethernet/mellanox/mlx5/core/lag.c dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE; dev1 327 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_nic_vport_enable_roce(dev1); dev1 336 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_nic_vport_disable_roce(dev1); dev1 439 drivers/nfc/nfcsim.c static struct nfcsim *dev1; dev1 461 drivers/nfc/nfcsim.c dev1 = nfcsim_device_new(link1, link0); dev1 462 drivers/nfc/nfcsim.c if (IS_ERR(dev1)) { dev1 465 drivers/nfc/nfcsim.c rc = PTR_ERR(dev1); dev1 492 drivers/nfc/nfcsim.c nfcsim_device_free(dev1); dev1 6052 drivers/pci/pci.c bool pci_devs_are_dma_aliases(struct pci_dev *dev1, struct pci_dev *dev2) dev1 6054 drivers/pci/pci.c return (dev1->dma_alias_mask && dev1 6055 drivers/pci/pci.c test_bit(dev2->devfn, dev1->dma_alias_mask)) || dev1 6057 drivers/pci/pci.c test_bit(dev1->devfn, dev2->dma_alias_mask)); dev1 267 drivers/s390/net/ctcm_main.h unsigned long dev1, dev2; dev1 272 drivers/s390/net/ctcm_main.h dev1 = simple_strtoul(id1, &id1, 16); dev1 275 drivers/s390/net/ctcm_main.h return (dev1 < dev2); dev1 1476 drivers/scsi/hpsa.c static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, dev1 1483 drivers/scsi/hpsa.c if (memcmp(dev1->scsi3addr, dev2->scsi3addr, dev1 1484 drivers/scsi/hpsa.c sizeof(dev1->scsi3addr)) != 0) dev1 1486 drivers/scsi/hpsa.c if (memcmp(dev1->device_id, dev2->device_id, dev1 1487 drivers/scsi/hpsa.c sizeof(dev1->device_id)) != 0) dev1 1489 drivers/scsi/hpsa.c if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) dev1 1491 drivers/scsi/hpsa.c if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 0) dev1 1493 drivers/scsi/hpsa.c if (dev1->devtype != dev2->devtype) dev1 1495 drivers/scsi/hpsa.c if (dev1->bus != dev2->bus) dev1 1500 drivers/scsi/hpsa.c static inline int device_updated(struct hpsa_scsi_dev_t *dev1, dev1 1507 drivers/scsi/hpsa.c if (dev1->raid_level != dev2->raid_level) dev1 1509 drivers/scsi/hpsa.c if (dev1->offload_config != dev2->offload_config) dev1 1511 drivers/scsi/hpsa.c if (dev1->offload_to_be_enabled != dev2->offload_to_be_enabled) dev1 1513 drivers/scsi/hpsa.c if (!is_logical_dev_addr_mode(dev1->scsi3addr)) dev1 1514 drivers/scsi/hpsa.c if (dev1->queue_depth != dev2->queue_depth) dev1 1525 drivers/scsi/hpsa.c if (dev1->ioaccel_handle != dev2->ioaccel_handle) dev1 1539 drivers/scsi/smartpqi/smartpqi_init.c static inline bool pqi_device_equal(struct pqi_scsi_dev *dev1, dev1 1542 drivers/scsi/smartpqi/smartpqi_init.c if (dev1->is_physical_device != dev2->is_physical_device) dev1 1545 drivers/scsi/smartpqi/smartpqi_init.c if (dev1->is_physical_device) dev1 1546 drivers/scsi/smartpqi/smartpqi_init.c return dev1->wwid == dev2->wwid; dev1 1548 drivers/scsi/smartpqi/smartpqi_init.c return memcmp(dev1->volume_id, dev2->volume_id, dev1 1549 drivers/scsi/smartpqi/smartpqi_init.c sizeof(dev1->volume_id)) == 0; dev1 295 drivers/usb/host/ehci-sched.c static int __maybe_unused same_tt(struct usb_device *dev1, dev1 298 drivers/usb/host/ehci-sched.c if (!dev1->tt || !dev2->tt) dev1 300 drivers/usb/host/ehci-sched.c if (dev1->tt != dev2->tt) dev1 302 drivers/usb/host/ehci-sched.c if (dev1->tt->multi) dev1 303 drivers/usb/host/ehci-sched.c return dev1->ttport == dev2->ttport; dev1 3385 drivers/usb/host/fotg210-hcd.c static int same_tt(struct usb_device *dev1, struct usb_device *dev2) dev1 3387 drivers/usb/host/fotg210-hcd.c if (!dev1->tt || !dev2->tt) dev1 3389 drivers/usb/host/fotg210-hcd.c if (dev1->tt != dev2->tt) dev1 3391 drivers/usb/host/fotg210-hcd.c if (dev1->tt->multi) dev1 3392 drivers/usb/host/fotg210-hcd.c return dev1->ttport == dev2->ttport; dev1 1401 fs/btrfs/volumes.c struct btrfs_device *dev1, *dev2; dev1 1403 fs/btrfs/volumes.c dev1 = list_entry(a, struct btrfs_device, dev_list); dev1 1406 fs/btrfs/volumes.c if (dev1->devid < dev2->devid) dev1 1408 fs/btrfs/volumes.c else if (dev1->devid > dev2->devid) dev1 294 fs/ocfs2/inode.c inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); dev1 542 fs/ocfs2/inode.c inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); dev1 548 fs/ocfs2/namei.c fe->id1.dev1.i_rdev = cpu_to_le64(huge_encode_dev(dev)); dev1 709 fs/ocfs2/ocfs2_fs.h } dev1; dev1 2328 include/linux/pci.h bool pci_devs_are_dma_aliases(struct pci_dev *dev1, struct pci_dev *dev2); dev1 174 include/net/x25.h struct net_device *dev1; dev1 114 net/batman-adv/hard-interface.c static bool batadv_mutual_parents(const struct net_device *dev1, dev1 119 net/batman-adv/hard-interface.c int dev1_parent_iflink = dev_get_iflink(dev1); dev1 124 net/batman-adv/hard-interface.c dev1_parent_net = batadv_getlink_net(dev1, net1); dev1 131 net/batman-adv/hard-interface.c (dev2_parent_iflink == dev1->ifindex) && dev1 66 net/x25/x25_forward.c new_frwd->dev1 = rt->dev; dev1 106 net/x25/x25_forward.c if (from->dev == frwd->dev1) { dev1 109 net/x25/x25_forward.c peer = frwd->dev1; dev1 159 net/x25/x25_forward.c if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ dev1 143 net/x25/x25_proc.c f->lci, f->dev1->name, f->dev2->name);