Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/input/mouse/
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()
184 input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); 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()
[all …]
Dalps.c205 struct input_dev *dev1);
207 struct input_dev *dev1);
209 struct input_dev *dev1);
211 struct input_dev *dev1);
221 static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, in alps_report_buttons() argument
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->key)) ? dev2 : dev1; in alps_report_buttons()
2982 struct input_dev *dev1) in alps_set_abs_params_st() argument
2984 input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_st()
[all …]
Dalps.h313 void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1);
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c234 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in mlx5_create_lag() local
256 dev1->priv.eswitch); in mlx5_create_lag()
383 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in mlx5_disable_lag() local
397 mlx5_nic_vport_disable_roce(dev1); in mlx5_disable_lag()
410 if (!(dev1->priv.flags & MLX5_PRIV_FLAGS_DISABLE_ALL_ADEV)) in mlx5_disable_lag()
411 mlx5_eswitch_reload_reps(dev1->priv.eswitch); in mlx5_disable_lag()
418 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in mlx5_shared_fdb_supported() local
421 is_mdev_switchdev_mode(dev1) && in mlx5_shared_fdb_supported()
423 mlx5_eswitch_vport_match_metadata_enabled(dev1->priv.eswitch) && in mlx5_shared_fdb_supported()
426 MLX5_CAP_GEN(dev1, lag_native_fdb_selection) && in mlx5_shared_fdb_supported()
[all …]
Deswitch.h522 struct mlx5_core_dev *dev1);
524 struct mlx5_core_dev *dev1);
727 static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { re… in mlx5_esw_lag_prereq() argument
Deswitch.c1956 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) in mlx5_esw_lag_prereq() argument
1959 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE) || in mlx5_esw_lag_prereq()
1961 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()
1968 struct mlx5_core_dev *dev1) in mlx5_esw_multipath_prereq() argument
1971 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
/Linux-v5.15/drivers/char/agp/
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()
433 pci_write_config_dword(dev1, ULI_X86_64_ENU_SCR_REG, enuscr); 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()
[all …]
/Linux-v5.15/tools/testing/selftests/net/forwarding/
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))
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-v5.15/drivers/thunderbolt/
Dtest.c497 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
501 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_daisy_chain_walk()
502 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
558 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk() local
562 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_simple_tree_walk()
563 alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_simple_tree_walk()
564 dev3 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_simple_tree_walk()
565 alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_simple_tree_walk()
636 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
641 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_complex_tree_walk()
[all …]
/Linux-v5.15/drivers/ata/
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()
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-v5.15/net/x25/
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()
Dx25_proc.c143 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
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-v5.15/drivers/s390/net/
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-v5.15/drivers/nfc/
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-v5.15/drivers/extcon/
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-v5.15/net/batman-adv/
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-v5.15/drivers/acpi/
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-v5.15/include/net/
Dx25.h175 struct net_device *dev1; member
/Linux-v5.15/drivers/staging/unisys/Documentation/
Doverview.txt148 vbus1:dev1 -> ../../../devices/visorbus1/vbus1:dev1
152 vbus2:dev1 -> ../../../devices/visorbus2/vbus2:dev1
/Linux-v5.15/drivers/net/ethernet/marvell/
Dskge.c3881 struct net_device *dev, *dev1; in skge_probe() local
3971 dev1 = skge_devinit(hw, 1, using_dac); in skge_probe()
3972 if (!dev1) { in skge_probe()
3977 err = register_netdev(dev1); in skge_probe()
3991 skge_show_addr(dev1); in skge_probe()
3998 unregister_netdev(dev1); in skge_probe()
4000 free_netdev(dev1); in skge_probe()
4022 struct net_device *dev0, *dev1; in skge_remove() local
4027 dev1 = hw->dev[1]; in skge_remove()
4028 if (dev1) in skge_remove()
[all …]
/Linux-v5.15/drivers/usb/host/
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-v5.15/drivers/scsi/
Dhpsa.c1489 static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, in device_is_the_same() argument
1496 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
1497 sizeof(dev1->scsi3addr)) != 0) in device_is_the_same()
1499 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
1500 sizeof(dev1->device_id)) != 0) in device_is_the_same()
1502 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same()
1504 if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 0) in device_is_the_same()
1506 if (dev1->devtype != dev2->devtype) in device_is_the_same()
1508 if (dev1->bus != dev2->bus) in device_is_the_same()
1513 static inline int device_updated(struct hpsa_scsi_dev_t *dev1, in device_updated() argument
[all …]

12