Searched refs:input (Results 176 - 200 of 1699) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-lg-g15.c59 struct input_dev *input; member in struct:lg_g15_data
481 input_report_key(g15->input, KEY_KBD_LCD_MENU1, data[8] & 0x80);
485 input_report_key(g15->input, KEY_KBD_LCD_MENU2 + i, val);
496 input_report_key(g15->input, KEY_MACRO1 + i, val);
501 input_report_key(g15->input, KEY_MACRO7 + i, val);
506 input_report_key(g15->input, KEY_MACRO13 + i, val);
509 input_report_key(g15->input, KEY_MACRO18, data[8] & 0x40);
514 input_report_key(g15->input, KEY_MACRO_PRESET1 + i, val);
517 input_report_key(g15->input, KEY_MACRO_RECORD_START, data[7] & 0x40);
525 input_sync(g15->input);
721 lg_g15_init_input_dev(struct hid_device *hdev, struct input_dev *input, const char *name) argument
758 struct input_dev *input; local
[all...]
H A Dhid-microsoft.c16 #include <linux/input.h>
83 struct input_dev *input = hi->input; local
110 set_bit(KEY_KPLEFTPAREN, input->keybit);
111 set_bit(KEY_KPRIGHTPAREN, input->keybit);
128 set_bit(EV_REP, input->evbit);
130 set_bit(KEY_F14, input->keybit);
131 set_bit(KEY_F15, input->keybit);
132 set_bit(KEY_F16, input->keybit);
133 set_bit(KEY_F17, input
227 struct input_dev *input; local
[all...]
H A Dhid-a4tech.c16 #include <linux/input.h>
77 struct input_dev *input; local
82 input = field->hidinput->input;
91 input_event(input, EV_REL, value ? REL_HWHEEL :
93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES :
105 input_event(input, usage->type, REL_HWHEEL, value);
106 input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120);
/linux-master/drivers/accel/habanalabs/gaudi/
H A Dgaudi_coresight.c393 struct hl_debug_params_stm *input; local
408 input = params->input;
410 if (!input)
416 WREG32(base_reg + 0xD00, lower_32_bits(input->he_mask));
418 WREG32(base_reg + 0xD00, upper_32_bits(input->he_mask));
421 WREG32(base_reg + 0xE00, lower_32_bits(input->sp_mask));
422 WREG32(base_reg + 0xEF4, input->id);
426 frequency = input->frequency;
438 WREG32(base_reg + 0xE80, 0x23 | (input
471 struct hl_debug_params_etf *input; local
581 struct hl_debug_params_etr *input; local
720 struct hl_debug_params_bmon *input; local
783 struct hl_debug_params_spmu *input = params->input; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c221 dev_err(ice_hw_to_dev(hw), "Missing input index for flow_type %d\n",
662 /* This flow_type already has a changed input set.
663 * If it matches the requested input set then we are
673 dev_err(dev, "Failed to add filter. Flow director filters on each port must have the same input set.\n");
678 dev_err(dev, "aRFS using perfect flow type %d, cannot change input set\n",
775 dev_err(dev, "Failed to add filter. Flow director filters on each port must have the same input set.\n");
1486 * @input: filter structure
1493 ice_fdir_write_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, bool add, argument
1517 ice_fdir_get_prgm_desc(hw, input, &desc, add);
1518 err = ice_fdir_get_gen_prgm_pkt(hw, input, pk
1563 ice_fdir_write_all_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, bool add) argument
1715 ice_fdir_update_list_entry(struct ice_pf *pf, struct ice_fdir_fltr *input, int fltr_idx) argument
1830 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, struct ice_fdir_fltr *input) argument
1983 struct ice_fdir_fltr *input; local
[all...]
H A Dice_virtchnl_fdir.c11 container_of(p, struct virtchnl_fdir_fltr_conf, input)
32 struct ice_fdir_fltr input; member in struct:virtchnl_fdir_fltr_conf
296 dev_dbg(dev, "Empty input set for VF %d\n", vf->vf_id);
322 enum ice_fltr_ptype flow = conf->input.flow_type;
562 a = &existing_conf->input;
563 b = &conf->input;
727 * Config the input set type and value for virtual channel add msg buffer
735 struct ice_fdir_fltr *input = &conf->input; local
748 flow = input
805 struct ice_fdir_fltr *input = &conf->input; local
1027 struct ice_fdir_fltr *input = &conf->input; local
1191 struct ice_fdir_fltr *input = &conf->input; local
1215 struct ice_fdir_fltr *input = &conf->input; local
1264 struct ice_fdir_fltr *input = &conf->input; local
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_f3a.c8 #include <linux/input.h>
32 struct input_dev *input; member in struct:f3a_data
50 "%s: call input report key (0x%04x) value (0x%02x)",
52 input_report_key(f3a->input, key_code, key_down);
118 /* gpio exist && direction input */
127 struct input_dev *input = f3a->input; local
153 input_set_capability(input, EV_KEY, button++);
157 input->keycode = f3a->gpio_key_map;
158 input
[all...]
/linux-master/drivers/input/touchscreen/
H A Dpcap_ts.c17 #include <linux/input.h>
22 struct input_dev *input; member in struct:pcap_ts
56 input_report_abs(pcap_ts->input, ABS_PRESSURE, 0);
57 input_report_key(pcap_ts->input, BTN_TOUCH, 0);
63 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x);
64 input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y);
65 input_report_key(pcap_ts->input, BTN_TOUCH, 1);
66 input_report_abs(pcap_ts->input, ABS_PRESSURE,
74 input_sync(pcap_ts->input);
77 dev_warn(&pcap_ts->input
[all...]
H A Djornada720_ts.c3 * drivers/input/touchscreen/jornada720_ts.c
15 #include <linux/input.h>
68 struct input_dev *input = jornada_ts->dev; local
73 input_report_key(input, BTN_TOUCH, 0);
74 input_sync(input);
85 input_report_key(input, BTN_TOUCH, 1);
86 input_report_abs(input, ABS_X, x);
87 input_report_abs(input, ABS_Y, y);
88 input_sync(input);
H A Dcolibri-vf50-ts.c15 #include <linux/input.h>
263 struct input_dev *input; local
302 input = devm_input_allocate_device(dev);
303 if (!input) {
304 dev_err(dev, "Failed to allocate TS input device\n");
308 input->name = DRIVER_NAME;
309 input->id.bustype = BUS_HOST;
310 input->dev.parent = dev;
311 input->open = vf50_ts_open;
312 input
[all...]
H A Diqs5xx.c21 #include <linux/input.h>
22 #include <linux/input/mt.h>
23 #include <linux/input/touchscreen.h>
125 struct input_dev *input; member in struct:iqs5xx_private
471 static int iqs5xx_open(struct input_dev *input) argument
473 struct iqs5xx_private *iqs5xx = input_get_drvdata(input);
478 static void iqs5xx_close(struct input_dev *input) argument
480 struct iqs5xx_private *iqs5xx = input_get_drvdata(input);
489 struct input_dev *input = iqs5xx->input; local
641 struct input_dev *input = iqs5xx->input; local
986 struct input_dev *input = iqs5xx->input; local
1005 struct input_dev *input = iqs5xx->input; local
[all...]
/linux-master/net/wireless/tests/
H A Dscan.c350 static const u8 input[] = { local
366 input, sizeof(input),
384 KUNIT_EXPECT_EQ(test, ies->len, sizeof(input));
385 KUNIT_EXPECT_MEMEQ(test, ies->data, input, sizeof(input));
460 struct sk_buff *input = kunit_zalloc_skb(test, 1024, GFP_KERNEL); local
552 KUNIT_ASSERT_NOT_NULL(test, input);
559 skb_put_u8(input, WLAN_EID_SSID);
560 skb_put_u8(input,
781 struct sk_buff *input = kunit_zalloc_skb(test, 1024, GFP_KERNEL); local
[all...]
/linux-master/drivers/misc/ibmasm/
H A Dremote.c122 static void print_input(struct remote_input *input) argument
124 if (input->type == INPUT_TYPE_MOUSE) {
125 unsigned char buttons = input->mouse_buttons;
127 input->data.mouse.x, input->data.mouse.y,
136 input->data.keyboard.key_code,
137 input->data.keyboard.key_code,
138 input->data.keyboard.key_flag,
139 input->data.keyboard.key_down
144 static void send_mouse_event(struct input_dev *dev, struct remote_input *input) argument
156 send_keyboard_event(struct input_dev *dev, struct remote_input *input) argument
174 struct remote_input input; local
[all...]
/linux-master/drivers/input/keyboard/
H A Dpinephone-keyboard.c9 #include <linux/input.h>
10 #include <linux/input/matrix_keypad.h>
147 struct input_dev *input; member in struct:pinephone_keyboard
209 unsigned short *keymap = ppkb->input->keycode;
259 input_event(ppkb->input, EV_MSC, MSC_SCAN, code);
260 input_report_key(ppkb->input, keymap[code], value);
265 input_sync(ppkb->input);
302 static int ppkb_open(struct input_dev *input) argument
304 struct i2c_client *client = input_get_drvdata(input);
314 static void ppkb_close(struct input_dev *input) argument
[all...]
/linux-master/drivers/accel/habanalabs/goya/
H A Dgoya_coresight.c231 struct hl_debug_params_stm *input; local
246 input = params->input;
248 if (!input)
254 WREG32(base_reg + 0xD00, lower_32_bits(input->he_mask));
255 WREG32(base_reg + 0xD20, lower_32_bits(input->sp_mask));
257 WREG32(base_reg + 0xD00, upper_32_bits(input->he_mask));
258 WREG32(base_reg + 0xD20, upper_32_bits(input->sp_mask));
264 WREG32(base_reg + 0xEF4, input->id);
268 frequency = input
304 struct hl_debug_params_etf *input; local
388 struct hl_debug_params_etr *input; local
506 struct hl_debug_params_bmon *input; local
594 struct hl_debug_params_spmu *input = params->input; local
[all...]
/linux-master/tools/wmi/
H A Ddell-smbios-example.c36 buffer->std.input[0], buffer->std.input[1],
37 buffer->std.input[2], buffer->std.input[3],
101 buffer->std.input[0] = *location;
137 buffer->std.input[0] = location;
138 buffer->std.input[1] = 1;
179 buffer->std.input[0] = 2;
/linux-master/tools/iio/
H A Diio_generic_buffer.c84 static void print1byte(uint8_t input, struct iio_channel_info *info) argument
90 input >>= info->shift;
91 input &= info->mask;
93 int8_t val = (int8_t)(input << (8 - info->bits_used)) >>
97 printf("%05f ", ((float)input + info->offset) * info->scale);
101 static void print2byte(uint16_t input, struct iio_channel_info *info) argument
105 input = be16toh(input);
107 input = le16toh(input);
124 print4byte(uint32_t input, struct iio_channel_info *info) argument
147 print8byte(uint64_t input, struct iio_channel_info *info) argument
[all...]
/linux-master/mm/damon/
H A Ddbgfs-test.h110 char *input, *expect; local
120 input = valid_inputs[i];
123 rc = set_init_regions(ctx, input, strnlen(input, 256));
133 input = invalid_inputs[i];
134 pr_info("input: %s\n", input);
135 rc = set_init_regions(ctx, input, strnlen(input, 256));
/linux-master/include/linux/platform_data/
H A Dkeypad-nomadik-ske.h13 #include <linux/input/matrix_keypad.h>
/linux-master/drivers/input/misc/
H A Dcma3000_d0x.h13 #include <linux/input.h>
/linux-master/tools/perf/util/
H A Dzlib.c16 int gzip_decompress_to_file(const char *input, int output_fd) argument
32 input_fd = open(input, O_RDONLY);
83 bool gzip_is_compressed(const char *input) argument
85 int fd = open(input, O_RDONLY);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dfor_each_hash_map_elem.c24 int input; member in struct:callback_ctx
44 data->output = data->input;
69 data.input = 100;
87 data.input = 10;
/linux-master/arch/s390/include/asm/
H A Dalternative.h102 /* Alternative inline assembly with input. */
103 #define alternative_input(oldinstr, newinstr, feature, input...) \
105 : : input)
108 #define alternative_io(oldinstr, altinstr, facility, output, input...) \
110 : output : input)
/linux-master/include/linux/usb/
H A Dinput.h10 #include <linux/input.h>
/linux-master/arch/x86/hyperv/
H A Dirqdomain.c18 struct hv_input_map_device_interrupt *input; local
27 input = *this_cpu_ptr(hyperv_pcpu_input_arg);
30 intr_desc = &input->interrupt_descriptor;
31 memset(input, 0, sizeof(*input));
32 input->partition_id = hv_current_partition_id;
33 input->device_id = device_id.as_uint64;
61 input, output);
75 struct hv_input_unmap_device_interrupt *input; local
80 input
[all...]

Completed in 253 milliseconds

1234567891011>>