Home
last modified time | relevance | path

Searched refs:dev1 (Results 1 - 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/input/mouse/
H 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()
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 in lifebook_init()
[all...]
H A 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()
2984 input_set_abs_params(dev1, ABS_ in alps_set_abs_params_st()
2981 alps_set_abs_params_st(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_st() argument
2989 alps_set_abs_params_mt_common(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_mt_common() argument
3002 alps_set_abs_params_semi_mt(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_semi_mt() argument
3013 alps_set_abs_params_v7(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_v7() argument
3026 alps_set_abs_params_ss4_v2(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_ss4_v2() argument
3041 struct input_dev *dev1 = psmouse->dev; alps_init() local
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H 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()
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 in lifebook_init()
[all...]
H A 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()
2984 input_set_abs_params(dev1, ABS_ in alps_set_abs_params_st()
2981 alps_set_abs_params_st(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_st() argument
2989 alps_set_abs_params_mt_common(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_mt_common() argument
3002 alps_set_abs_params_semi_mt(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_semi_mt() argument
3013 alps_set_abs_params_v7(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_v7() argument
3026 alps_set_abs_params_ss4_v2(struct alps_data *priv, struct input_dev *dev1) alps_set_abs_params_ss4_v2() argument
3041 struct input_dev *dev1 = psmouse->dev; alps_init() local
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtest.c428 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
432 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_daisy_chain_walk()
433 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
489 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk() local
493 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_simple_tree_walk()
494 alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_simple_tree_walk()
495 dev3 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_simple_tree_walk()
496 alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_simple_tree_walk()
567 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
572 dev1 in tb_test_path_complex_tree_walk()
614 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; tb_test_path_max_length_walk() local
717 struct tb_switch *host, *dev1, *dev2; tb_test_path_not_connected() local
909 struct tb_switch *host, *dev1, *dev2, *dev3; tb_test_path_not_bonded_lane1_chain() local
989 struct tb_switch *host, *dev1, *dev2, *dev3; tb_test_path_not_bonded_lane1_chain_reverse() local
1080 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; tb_test_path_mixed_chain() local
1172 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; tb_test_path_mixed_chain_reverse() local
1209 struct tb_switch *host, *dev1, *dev2; tb_test_tunnel_pcie() local
1302 struct tb_switch *host, *dev1, *dev4; tb_test_tunnel_dp_chain() local
1348 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; tb_test_tunnel_dp_tree() local
1398 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; tb_test_tunnel_dp_max_length() local
1478 struct tb_switch *host, *dev1, *dev2; tb_test_tunnel_usb3() local
1533 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; tb_test_tunnel_port_on_path() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dethtool_lib.sh58 dev1=$1; shift
63 local -a dev1_speeds=($(dev_speeds_get $dev1 $with_mode $adver))
73 local dev1=$1; shift
80 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
H 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))
/kernel/linux/linux-5.10/drivers/char/agp/
H 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()
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_APSIZ in nforce3_agp_init()
[all...]
/kernel/linux/linux-6.6/drivers/char/agp/
H 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()
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_APSIZ in nforce3_agp_init()
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtest.c555 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
559 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_daisy_chain_walk()
560 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
616 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk() local
620 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_simple_tree_walk()
621 alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_simple_tree_walk()
622 dev3 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_simple_tree_walk()
623 alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_simple_tree_walk()
694 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
699 dev1 in tb_test_path_complex_tree_walk()
741 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; tb_test_path_max_length_walk() local
844 struct tb_switch *host, *dev1, *dev2; tb_test_path_not_connected() local
1036 struct tb_switch *host, *dev1, *dev2, *dev3; tb_test_path_not_bonded_lane1_chain() local
1116 struct tb_switch *host, *dev1, *dev2, *dev3; tb_test_path_not_bonded_lane1_chain_reverse() local
1207 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; tb_test_path_mixed_chain() local
1299 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; tb_test_path_mixed_chain_reverse() local
1336 struct tb_switch *host, *dev1, *dev2; tb_test_tunnel_pcie() local
1429 struct tb_switch *host, *dev1, *dev4; tb_test_tunnel_dp_chain() local
1475 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; tb_test_tunnel_dp_tree() local
1525 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; tb_test_tunnel_dp_max_length() local
1605 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; tb_test_tunnel_3dp() local
1670 struct tb_switch *host, *dev1, *dev2; tb_test_tunnel_usb3() local
1725 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; tb_test_tunnel_port_on_path() local
1908 struct tb_switch *host, *dev1, *dev2; tb_test_tunnel_dma_chain() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H 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))
H 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))
/kernel/linux/linux-5.10/net/x25/
H A Dx25_forward.c66 new_frwd->dev1 = rt->dev; in x25_forward_call()
106 if (from->dev == frwd->dev1) { in x25_forward_data()
109 peer = frwd->dev1; in x25_forward_data()
155 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
/kernel/linux/linux-6.6/net/x25/
H 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()
/kernel/linux/linux-5.10/drivers/ata/
H A Dpata_optidma.c365 struct pci_dev *dev1; in optiplus_with_udma() local
368 dev1 = pci_get_device(0x1045, 0xC701, NULL); in optiplus_with_udma()
369 if (dev1 == NULL) in optiplus_with_udma()
373 pci_read_config_byte(dev1, 0x08, &r); in optiplus_with_udma()
377 pci_read_config_byte(dev1, 0x5F, &r); in optiplus_with_udma()
388 pci_read_config_byte(dev1, 0x52, &r); in optiplus_with_udma()
394 pci_dev_put(dev1); in optiplus_with_udma()
/kernel/linux/linux-6.6/drivers/ata/
H 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()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H 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."
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_dscp_router.sh161 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."
/kernel/linux/linux-5.10/drivers/s390/net/
H 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()
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dctcm_main.h268 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmpesw.c72 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in enable_mpesw() local
103 err = mlx5_eswitch_reload_reps(dev1->priv.eswitch); in enable_mpesw()
116 mlx5_eswitch_reload_reps(dev1->priv.eswitch); in enable_mpesw()
/kernel/linux/linux-5.10/drivers/nfc/
H A Dnfcsim.c434 static struct nfcsim *dev1; variable
456 dev1 = nfcsim_device_new(link1, link0); in nfcsim_init()
457 if (IS_ERR(dev1)) { in nfcsim_init()
460 rc = PTR_ERR(dev1); in nfcsim_init()
487 nfcsim_device_free(dev1); in nfcsim_exit()
/kernel/linux/linux-6.6/drivers/nfc/
H A Dnfcsim.c429 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dlag.c276 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in mlx5_do_bond() local
292 !mlx5_sriov_is_enabled(dev1); in mlx5_do_bond()
296 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE; in mlx5_do_bond()
314 mlx5_nic_vport_enable_roce(dev1); in mlx5_do_bond()
323 mlx5_nic_vport_disable_roce(dev1); in mlx5_do_bond()
/kernel/linux/linux-5.10/drivers/extcon/
H 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()

Completed in 20 milliseconds

123