Home
last modified time | relevance | path

Searched refs:dev1 (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/input/mouse/
A Dlifebook.c135 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 …]
A Dalps.c205 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 …]
A Dalps.h313 void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dlag.c287 dev1->priv.eswitch); in mlx5_create_lag()
447 mlx5_nic_vport_disable_roce(dev1); in mlx5_disable_lag()
471 is_mdev_switchdev_mode(dev1) && in mlx5_shared_fdb_supported()
508 !mlx5_sriov_is_enabled(dev1); in mlx5_do_bond()
531 mlx5_nic_vport_enable_roce(dev1); in mlx5_do_bond()
564 struct mlx5_core_dev *dev1) in mlx5_lag_lock_eswitches() argument
568 if (dev1) in mlx5_lag_lock_eswitches()
569 mlx5_esw_lock(dev1->priv.eswitch); in mlx5_lag_lock_eswitches()
575 if (dev1) in mlx5_lag_unlock_eswitches()
981 struct mlx5_core_dev *dev1; in mlx5_lag_disable_change() local
[all …]
/linux/drivers/char/agp/
A Damd64-agp.c393 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 …]
/linux/drivers/thunderbolt/
A Dtest.c795 down = &dev1->ports[10]; in tb_test_path_not_connected()
1298 up = &dev1->ports[9]; in tb_test_tunnel_pcie()
1567 up = &dev1->ports[16]; in tb_test_tunnel_usb3()
1642 port = &dev1->ports[1]; in tb_test_tunnel_port_on_path()
1645 port = &dev1->ports[3]; in tb_test_tunnel_port_on_path()
1648 port = &dev1->ports[5]; in tb_test_tunnel_port_on_path()
1651 port = &dev1->ports[7]; in tb_test_tunnel_port_on_path()
1826 &dev1->ports[7]); in tb_test_tunnel_dma_chain()
1828 &dev1->ports[1]); in tb_test_tunnel_dma_chain()
1838 &dev1->ports[1]); in tb_test_tunnel_dma_chain()
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dethtool_lib.sh92 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))
A Dethtool.sh133 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))
/linux/drivers/ata/
A Dpata_optidma.c366 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()
A Dpata_ep93xx.c554 unsigned int dev1 = devmask & (1 << 1); in ep93xx_pata_wait_after_reset() local
572 if (dev1) { in ep93xx_pata_wait_after_reset()
603 if (dev1) in ep93xx_pata_wait_after_reset()
/linux/net/x25/
A Dx25_forward.c64 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()
A Dx25_proc.c143 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dqos_dscp_router.sh174 local dev1=$1; shift
187 eval "local -A dev1_t0s=($(dscp_fetch_stats $dev1 0))"
195 eval "local -A dev1_t1s=($(dscp_fetch_stats $dev1 0))"
216 check_err $? "DSCP $dscpi@$dev1: Expected to capture $expect3 packets, got $delta."
/linux/drivers/s390/net/
A Dctcm_main.h267 unsigned long dev1, dev2; in ctcm_less_than() local
272 dev1 = simple_strtoul(id1, &id1, 16); in ctcm_less_than()
275 return (dev1 < dev2); in ctcm_less_than()
/linux/drivers/nfc/
A Dnfcsim.c438 static struct nfcsim *dev1; variable
460 dev1 = nfcsim_device_new(link1, link0); in nfcsim_init()
461 if (IS_ERR(dev1)) { in nfcsim_init()
464 rc = PTR_ERR(dev1); in nfcsim_init()
491 nfcsim_device_free(dev1); in nfcsim_exit()
/linux/drivers/extcon/
A Dextcon-rt8973a.c262 unsigned int adc, dev1; in rt8973a_muic_get_cable_type() local
274 ret = regmap_read(info->regmap, RT8973A_REG_DEV1, &dev1); in rt8973a_muic_get_cable_type()
282 if (dev1 & RT8973A_REG_DEV1_USB_MASK) in rt8973a_muic_get_cable_type()
284 else if (dev1 & RT8973A_REG_DEV1_DCPORT_MASK) in rt8973a_muic_get_cable_type()
/linux/net/batman-adv/
A Dhard-interface.c112 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents() argument
117 int dev1_parent_iflink = dev_get_iflink(dev1); in batadv_mutual_parents()
122 dev1_parent_net = batadv_getlink_net(dev1, net1); in batadv_mutual_parents()
129 (dev2_parent_iflink == dev1->ifindex) && in batadv_mutual_parents()
/linux/drivers/acpi/
A Dacpi_lpss.c572 static void acpi_lpss_link_consumer(struct device *dev1, in acpi_lpss_link_consumer() argument
582 || acpi_lpss_dep(ACPI_COMPANION(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer()
583 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer()
588 static void acpi_lpss_link_supplier(struct device *dev1, in acpi_lpss_link_supplier() argument
598 || acpi_lpss_dep(ACPI_COMPANION(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier()
599 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.h538 struct mlx5_core_dev *dev1);
540 struct mlx5_core_dev *dev1);
743 static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { re… in mlx5_esw_lag_prereq() argument
A Deswitch.c1969 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) in mlx5_esw_lag_prereq() argument
1972 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE) || in mlx5_esw_lag_prereq()
1974 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()
1981 struct mlx5_core_dev *dev1) in mlx5_esw_multipath_prereq() argument
1984 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
/linux/drivers/staging/unisys/Documentation/
A Doverview.txt148 vbus1:dev1 -> ../../../devices/visorbus1/vbus1:dev1
152 vbus2:dev1 -> ../../../devices/visorbus2/vbus2:dev1
/linux/drivers/net/ethernet/marvell/
A Dskge.c3883 struct net_device *dev, *dev1; in skge_probe() local
3974 if (!dev1) { in skge_probe()
3979 err = register_netdev(dev1); in skge_probe()
3993 skge_show_addr(dev1); in skge_probe()
4000 unregister_netdev(dev1); in skge_probe()
4002 free_netdev(dev1); in skge_probe()
4029 dev1 = hw->dev[1]; in skge_remove()
4030 if (dev1) in skge_remove()
4031 unregister_netdev(dev1); in skge_remove()
4053 if (dev1) in skge_remove()
[all …]
/linux/include/net/
A Dx25.h175 struct net_device *dev1; member
/linux/drivers/usb/host/
A Dehci-sched.c301 static int __maybe_unused same_tt(struct usb_device *dev1, in same_tt() argument
304 if (!dev1->tt || !dev2->tt) in same_tt()
306 if (dev1->tt != dev2->tt) in same_tt()
308 if (dev1->tt->multi) in same_tt()
309 return dev1->ttport == dev2->ttport; in same_tt()
/linux/drivers/scsi/
A Dhpsa.c1500 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
1501 sizeof(dev1->scsi3addr)) != 0) in device_is_the_same()
1503 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
1504 sizeof(dev1->device_id)) != 0) in device_is_the_same()
1506 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same()
1508 if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 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()
1524 if (dev1->raid_level != dev2->raid_level) in device_updated()
1530 if (!is_logical_dev_addr_mode(dev1->scsi3addr)) in device_updated()
[all …]

Completed in 81 milliseconds

12