Searched refs:input (Results 1 - 25 of 1688) sorted by relevance

1234567891011>>

/linux-master/net/wireless/tests/
H A Dfragmentation.c14 static const u8 input[] = { local
24 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL);
28 ret = cfg80211_defragment_element((void *)input,
29 input, sizeof(input),
33 ret = cfg80211_defragment_element((void *)input,
34 input, sizeof(input),
38 KUNIT_EXPECT_MEMEQ(test, data, input + 3, 253);
44 static const u8 input[] local
87 static const u8 input[] = { local
136 static const u8 input[] = { local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-wm8775.c27 u32 input; local
31 input = 1;
34 /* All other cases just use the second input */
35 input = 2;
39 hdw->input_val, input);
41 sd->ops->audio->s_routing(sd, input, 0, 0);
/linux-master/drivers/input/misc/
H A Dcobalt_btns.c7 #include <linux/input.h>
35 static void handle_buttons(struct input_dev *input) argument
37 struct buttons_dev *bdev = input_get_drvdata(input);
46 input_event(input, EV_MSC, MSC_SCAN, i);
47 input_report_key(input, bdev->keymap[i], 1);
48 input_sync(input);
52 input_event(input, EV_MSC, MSC_SCAN, i);
53 input_report_key(input, bdev->keymap[i], 0);
54 input_sync(input);
64 struct input_dev *input; local
[all...]
H A Dsgi_btns.c7 #include <linux/input.h>
52 static void handle_buttons(struct input_dev *input) argument
54 struct buttons_dev *bdev = input_get_drvdata(input);
63 input_event(input, EV_MSC, MSC_SCAN, i);
64 input_report_key(input, bdev->keymap[i], 1);
65 input_sync(input);
69 input_event(input, EV_MSC, MSC_SCAN, i);
70 input_report_key(input, bdev->keymap[i], 0);
71 input_sync(input);
81 struct input_dev *input; local
[all...]
H A Dpcf50633-input.c16 #include <linux/input.h>
33 struct pcf50633_input *input; local
36 input = data;
39 onkey_released = pcf50633_reg_read(input->pcf, PCF50633_REG_OOCSTAT)
43 input_report_key(input->input_dev, KEY_POWER, 1);
45 input_report_key(input->input_dev, KEY_POWER, 0);
47 input_sync(input->input_dev);
52 struct pcf50633_input *input; local
57 input = kzalloc(sizeof(*input), GFP_KERNE
92 struct pcf50633_input *input = platform_get_drvdata(pdev); local
[all...]
H A Drb532_button.c8 #include <linux/input.h>
22 * pin is also used for uart input as alternate function, the
49 static void rb532_button_poll(struct input_dev *input) argument
51 input_report_key(input, RB532_BTN_KSYM, rb532_button_pressed());
52 input_sync(input);
57 struct input_dev *input; local
60 input = devm_input_allocate_device(&pdev->dev);
61 if (!input)
64 input->name = "rb532 button";
65 input
[all...]
H A Dhisi_powerkey.c23 #include <linux/input.h>
31 struct input_dev *input = q; local
33 pm_wakeup_event(input->dev.parent, MAX_HELD_TIME);
34 input_report_key(input, KEY_POWER, 1);
35 input_sync(input);
42 struct input_dev *input = q; local
44 pm_wakeup_event(input->dev.parent, MAX_HELD_TIME);
45 input_report_key(input, KEY_POWER, 0);
46 input_sync(input);
53 struct input_dev *input local
75 struct input_dev *input; local
[all...]
H A Dmma8450.c13 #include <linux/input.h>
86 static void mma8450_poll(struct input_dev *input) argument
88 struct i2c_client *c = input_get_drvdata(input);
108 input_report_abs(input, ABS_X, x);
109 input_report_abs(input, ABS_Y, y);
110 input_report_abs(input, ABS_Z, z);
111 input_sync(input);
115 static int mma8450_open(struct input_dev *input) argument
117 struct i2c_client *c = input_get_drvdata(input);
138 static void mma8450_close(struct input_dev *input) argument
151 struct input_dev *input; local
[all...]
/linux-master/net/mptcp/
H A Dcrypto.c34 __be64 input = cpu_to_be64(key); local
36 sha256((__force u8 *)&input, sizeof(input), (u8 *)mptcp_hashed_key);
46 u8 input[SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE]; local
58 memset(input, 0x36, SHA256_BLOCK_SIZE);
60 input[i] ^= key1be[i];
62 input[i + 8] ^= key2be[i];
64 memcpy(&input[SHA256_BLOCK_SIZE], msg, len);
66 /* emit sha256(K1 || msg) on the second input block, so we can
67 * reuse 'input' fo
[all...]
/linux-master/drivers/input/keyboard/
H A Dopencores-kbd.c9 #include <linux/input.h>
19 struct input_dev *input; member in struct:opencores_kbd
28 struct input_dev *input = opencores_kbd->input; local
32 input_report_key(input, c & 0x7f, c & 0x80 ? 0 : 1);
33 input_sync(input);
40 struct input_dev *input; local
53 input = devm_input_allocate_device(&pdev->dev);
54 if (!input) {
55 dev_err(&pdev->dev, "failed to allocate input devic
[all...]
H A Dipaq-micro-keys.c19 #include <linux/input.h>
25 struct input_dev *input; member in struct:ipaq_micro_keys
50 input_report_key(keys->input, keys->codes[key], down);
51 input_sync(keys->input);
71 static int micro_key_open(struct input_dev *input) argument
73 struct ipaq_micro_keys *keys = input_get_drvdata(input);
80 static void micro_key_close(struct input_dev *input) argument
82 struct ipaq_micro_keys *keys = input_get_drvdata(input);
99 keys->input = devm_input_allocate_device(&pdev->dev);
100 if (!keys->input)
142 struct input_dev *input = keys->input; local
[all...]
H A Dgpio_keys_polled.c8 * This file was based on: /drivers/input/misc/cobalt_btns.c
11 * also was based on: /drivers/input/keyboard/gpio_keys.c
18 #include <linux/input.h>
36 struct input_dev *input; member in struct:gpio_keys_polled_dev
44 static void gpio_keys_button_event(struct input_dev *input, argument
48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input);
53 input_event(input, type, button->code, button->value);
58 input_event(input, type, button->code, button->value);
62 input_event(input, type, button->code, state);
63 input_sync(input);
67 gpio_keys_polled_check_state(struct input_dev *input, const struct gpio_keys_button *button, struct gpio_keys_button_data *bdata) argument
87 gpio_keys_polled_poll(struct input_dev *input) argument
122 gpio_keys_polled_open(struct input_dev *input) argument
133 gpio_keys_polled_close(struct input_dev *input) argument
202 gpio_keys_polled_set_abs_params(struct input_dev *input, const struct gpio_keys_platform_data *pdata, unsigned int code) argument
234 struct input_dev *input; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp1_transition.c30 struct mod_hdcp_transition_input_hdcp1 *input,
39 if (input->bksv_read != PASS || input->bcaps_read != PASS) {
49 if (input->create_session != PASS) {
54 } else if (input->an_write != PASS ||
55 input->aksv_write != PASS ||
56 input->bksv_read != PASS ||
57 input->bksv_validation != PASS ||
58 input->ainfo_write == FAIL) {
68 if (input
28 mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input, struct mod_hdcp_output *output) argument
151 mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input, struct mod_hdcp_output *output) argument
[all...]
H A Dhdcp2_transition.c30 struct mod_hdcp_transition_input_hdcp2 *input,
39 if (input->hdcp2version_read != PASS ||
40 input->hdcp2_capable_check != PASS) {
50 if (input->create_session != PASS ||
51 input->ake_init_prepare != PASS) {
56 } else if (input->ake_init_write != PASS) {
65 if (input->ake_cert_available != PASS) {
81 } else if (input->ake_cert_read != PASS ||
82 input->ake_cert_validation != PASS) {
100 if (input
28 mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, struct mod_hdcp_output *output) argument
369 mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, struct mod_hdcp_output *output) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-letsketch.c19 * This interface sends raw event input reports in a custom format, but only
38 #include <linux/input.h>
83 struct input_dev *input; local
85 input = devm_input_allocate_device(&data->hdev->dev);
86 if (!input)
89 input->id.bustype = data->hdev->bus;
90 input->id.vendor = data->hdev->vendor;
91 input->id.product = data->hdev->product;
92 input->id.version = data->hdev->bus;
93 input
105 struct input_dev *input; local
131 struct input_dev *input; local
159 struct input_dev *input = data->input_tablet; local
170 struct input_dev *input; local
[all...]
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-max.h18 int ddb_fe_attach_mxl5xx(struct ddb_input *input);
19 int ddb_fe_attach_mci(struct ddb_input *input, u32 type);
/linux-master/tools/perf/arch/arm64/entry/syscalls/
H A Dmksyscalltbl15 input=$4
17 if ! test -r $input; then
18 echo "Could not read input file" >&2
36 echo "#include \"$input\""
42 $gcc -E -dM -x c -I $incpath/include/uapi $input \
/linux-master/tools/perf/arch/loongarch/entry/syscalls/
H A Dmksyscalltbl14 input=$4
16 if ! test -r $input; then
17 echo "Could not read input file" >&2
35 echo "#include \"$input\""
41 $gcc -E -dM -x c -I $incpath/include/uapi $input \
/linux-master/drivers/input/touchscreen/
H A Dipaq-micro-ts.c17 #include <linux/input.h>
23 struct input_dev *input; member in struct:touchscreen_data
32 input_report_abs(ts->input, ABS_X,
34 input_report_abs(ts->input, ABS_Y,
36 input_report_key(ts->input, BTN_TOUCH, 1);
37 input_sync(ts->input);
39 input_report_abs(ts->input, ABS_X, 0);
40 input_report_abs(ts->input, ABS_Y, 0);
41 input_report_key(ts->input, BTN_TOUCH, 0);
42 input_sync(ts->input);
63 micro_ts_open(struct input_dev *input) argument
72 micro_ts_close(struct input_dev *input) argument
134 struct input_dev *input = ts->input; local
[all...]
/linux-master/lib/kunit/
H A Dattributes.c40 int (*filter)(void *attr, const char *input, int *err);
90 static int int_filter(long val, const char *op, int input, int *err) argument
93 return (val <= input);
95 return (val >= input);
97 return (val != input);
99 return (val > input);
101 return (val < input);
103 return (val == input);
111 * by the input string. Note: the str_list includes the corresponding string
114 static int attr_enum_filter(void *attr, const char *input, in argument
148 attr_speed_filter(void *attr, const char *input, int *err) argument
157 attr_string_filter(void *attr, const char *input, int *err) argument
179 attr_bool_filter(void *attr, const char *input, int *err) argument
320 kunit_get_filter_count(char *input) argument
342 char *input = *filters; local
[all...]
/linux-master/arch/x86/hyperv/
H A Dhv_vtl.c73 struct hv_enable_vp_vtl *input; local
97 input = *this_cpu_ptr(hyperv_pcpu_input_arg);
98 memset(input, 0, sizeof(*input));
100 input->partition_id = HV_PARTITION_ID_SELF;
101 input->vp_index = target_vp_index;
102 input->target_vtl.target_vtl = HV_VTL_MGMT;
118 input->vp_context.rip = rip;
119 input->vp_context.rsp = rsp;
120 input
183 struct hv_get_vp_from_apic_id_in *input; local
[all...]
/linux-master/drivers/platform/x86/intel/
H A Dchtdc_ti_pwrbtn.c8 #include <linux/input.h>
22 struct input_dev *input = dev_id; local
23 struct device *dev = input->dev.parent;
29 input_report_key(input, KEY_POWER, !(state & SIRQ_PWRBTN_REL));
30 input_sync(input);
40 struct input_dev *input; local
46 input = devm_input_allocate_device(dev);
47 if (!input)
49 input->name = pdev->name;
50 input
[all...]
/linux-master/drivers/input/
H A Dtouchscreen.c10 #include <linux/input.h>
11 #include <linux/input/mt.h>
12 #include <linux/input/touchscreen.h>
54 * @input: input device that should be parsed
62 * input device accordingly. The function keeps previously set up default
65 void touchscreen_parse_properties(struct input_dev *input, bool multitouch, argument
68 struct device *dev = input->dev.parent;
74 input_alloc_absinfo(input);
75 if (!input
195 touchscreen_report_pos(struct input_dev *input, const struct touchscreen_properties *prop, unsigned int x, unsigned int y, bool multitouch) argument
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-routing.c20 /* Selects the audio input and output according to the current
25 u32 input, output = 0; local
27 /* Determine which input to use */
34 input = in->muxer_input;
38 input, output, 0);
40 input = in->audio_input;
45 input, output, 0);
48 /* Selects the video input and output according to the current
53 u32 input; local
62 input
[all...]
/linux-master/drivers/platform/x86/
H A Dadv_swbutton.c10 #include <linux/input.h>
20 struct input_dev *input; member in struct:adv_swbutton
35 input_report_key(button->input, KEY_PROG1, 0);
36 input_sync(button->input);
39 input_report_key(button->input, KEY_PROG1, 1);
40 input_sync(button->input);
50 struct input_dev *input; local
61 input = devm_input_allocate_device(&device->dev);
62 if (!input)
65 button->input
[all...]

Completed in 497 milliseconds

1234567891011>>