Home
last modified time | relevance | path

Searched refs:input (Results 276 - 300 of 3326) sorted by relevance

1...<<11121314151617181920>>...134

/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-chicony.c17 #include <linux/input.h>
29 struct input_dev *input; in ch_report_wireless() local
34 input = report->field[0]->hidinput->input; in ch_report_wireless()
35 if (!input) { in ch_report_wireless()
36 hid_warn(hdev, "can't find wireless radio control's input"); in ch_report_wireless()
40 input_report_key(input, KEY_RFKILL, 1); in ch_report_wireless()
41 input_sync(input); in ch_report_wireless()
42 input_report_key(input, KEY_RFKILL, 0); in ch_report_wireless()
43 input_sync(input); in ch_report_wireless()
[all...]
H A Dhid-gyration.c16 #include <linux/input.h>
31 set_bit(EV_REP, hi->input->evbit); in gyration_input_mapping()
63 struct input_dev *input = field->hidinput->input; in gyration_event() local
64 input_event(input, usage->type, usage->code, 1); in gyration_event()
65 input_sync(input); in gyration_event()
66 input_event(input, usage->type, usage->code, 0); in gyration_event()
67 input_sync(input); in gyration_event()
H A Dhid-microsoft.c16 #include <linux/input.h>
83 struct input_dev *input = hi->input; in ms_ergonomy_kb_quirk() local
110 set_bit(KEY_KPLEFTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
111 set_bit(KEY_KPRIGHTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
128 set_bit(EV_REP, input->evbit); in ms_ergonomy_kb_quirk()
130 set_bit(KEY_F14, input->keybit); in ms_ergonomy_kb_quirk()
131 set_bit(KEY_F15, input->keybit); in ms_ergonomy_kb_quirk()
132 set_bit(KEY_F16, input->keybit); in ms_ergonomy_kb_quirk()
133 set_bit(KEY_F17, input in ms_ergonomy_kb_quirk()
227 struct input_dev *input; ms_event() local
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dcpufreq_ondemand.c207 unsigned int input; in store_io_is_busy() local
210 ret = sscanf(buf, "%u", &input); in store_io_is_busy()
213 dbs_data->io_is_busy = !!input; in store_io_is_busy()
225 unsigned int input; in store_up_threshold() local
227 ret = sscanf(buf, "%u", &input); in store_up_threshold()
229 if (ret != 1 || input > MAX_FREQUENCY_UP_THRESHOLD || in store_up_threshold()
230 input < MIN_FREQUENCY_UP_THRESHOLD) { in store_up_threshold()
234 dbs_data->up_threshold = input; in store_up_threshold()
243 unsigned int input; in store_sampling_down_factor() local
245 ret = sscanf(buf, "%u", &input); in store_sampling_down_factor()
270 unsigned int input; store_ignore_nice_load() local
297 unsigned int input; store_powersave_bias() local
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-google-hammer.c36 struct input_dev *input; member
113 * While input layer dedupes the events, we do not want in cbas_ec_notify()
120 input_report_switch(cbas_ec.input, in cbas_ec_notify()
123 input_sync(cbas_ec.input); in cbas_ec_notify()
155 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in cbas_ec_resume()
156 input_sync(cbas_ec.input); in cbas_ec_resume()
167 static void cbas_ec_set_input(struct input_dev *input) in cbas_ec_set_input() argument
171 cbas_ec.input = input; in cbas_ec_set_input()
178 struct input_dev *input; in __cbas_ec_probe() local
[all...]
H A Dhid-gyration.c16 #include <linux/input.h>
31 set_bit(EV_REP, hi->input->evbit); in gyration_input_mapping()
63 struct input_dev *input = field->hidinput->input; in gyration_event() local
64 input_event(input, usage->type, usage->code, 1); in gyration_event()
65 input_sync(input); in gyration_event()
66 input_event(input, usage->type, usage->code, 0); in gyration_event()
67 input_sync(input); in gyration_event()
H A Dhid-microsoft.c16 #include <linux/input.h>
83 struct input_dev *input = hi->input; in ms_ergonomy_kb_quirk() local
110 set_bit(KEY_KPLEFTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
111 set_bit(KEY_KPRIGHTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
128 set_bit(EV_REP, input->evbit); in ms_ergonomy_kb_quirk()
130 set_bit(KEY_F14, input->keybit); in ms_ergonomy_kb_quirk()
131 set_bit(KEY_F15, input->keybit); in ms_ergonomy_kb_quirk()
132 set_bit(KEY_F16, input->keybit); in ms_ergonomy_kb_quirk()
133 set_bit(KEY_F17, input in ms_ergonomy_kb_quirk()
227 struct input_dev *input; ms_event() local
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dcpufreq_ondemand.c209 unsigned int input; in io_is_busy_store() local
212 ret = sscanf(buf, "%u", &input); in io_is_busy_store()
215 dbs_data->io_is_busy = !!input; in io_is_busy_store()
227 unsigned int input; in up_threshold_store() local
229 ret = sscanf(buf, "%u", &input); in up_threshold_store()
231 if (ret != 1 || input > MAX_FREQUENCY_UP_THRESHOLD || in up_threshold_store()
232 input < MIN_FREQUENCY_UP_THRESHOLD) { in up_threshold_store()
236 dbs_data->up_threshold = input; in up_threshold_store()
245 unsigned int input; in sampling_down_factor_store() local
247 ret = sscanf(buf, "%u", &input); in sampling_down_factor_store()
272 unsigned int input; ignore_nice_load_store() local
299 unsigned int input; powersave_bias_store() local
[all...]
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
H A Dattest_tdd_data_transfer.c24 static size_t AttestGetMallocLen(const char* input) in AttestGetMallocLen() argument
27 for (size_t inputIndex = 0; inputIndex < strlen(input); inputIndex++) { in AttestGetMallocLen()
28 if (*(input + inputIndex) == '\0') { in AttestGetMallocLen()
32 if (*(input + inputIndex) == ',') { in AttestGetMallocLen()
48 int32_t AttestSeriaToBinary(const char* input, uint8_t** buf, size_t len) in AttestSeriaToBinary() argument
53 size_t mollocLen = AttestGetMallocLen(input); in AttestSeriaToBinary()
63 char *indexInput = (char *)input; in AttestSeriaToBinary()
64 size_t inputLen = strlen(input); in AttestSeriaToBinary()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dscpi-hwmon.c23 char input[20]; member
190 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
192 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
197 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
199 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
204 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
206 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dtopstar-laptop.c20 #include <linux/input.h>
21 #include <linux/input/sparse-keymap.h>
30 struct input_dev *input; member
138 if (!sparse_keymap_report_event(topstar->input, event, 1, true)) in topstar_input_notify()
144 struct input_dev *input; in topstar_input_init() local
147 input = input_allocate_device(); in topstar_input_init()
148 if (!input) in topstar_input_init()
151 input->name = "Topstar Laptop extra buttons"; in topstar_input_init()
152 input->phys = TOPSTAR_LAPTOP_CLASS "/input0"; in topstar_input_init()
153 input in topstar_input_init()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dtopstar-laptop.c20 #include <linux/input.h>
21 #include <linux/input/sparse-keymap.h>
30 struct input_dev *input; member
138 if (!sparse_keymap_report_event(topstar->input, event, 1, true)) in topstar_input_notify()
144 struct input_dev *input; in topstar_input_init() local
147 input = input_allocate_device(); in topstar_input_init()
148 if (!input) in topstar_input_init()
151 input->name = "Topstar Laptop extra buttons"; in topstar_input_init()
152 input->phys = TOPSTAR_LAPTOP_CLASS "/input0"; in topstar_input_init()
153 input in topstar_input_init()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dscpi-hwmon.c23 char input[20]; member
188 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
190 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
195 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
197 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
202 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
204 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dxxhash.h85 * xxh32() - calculate the 32-bit hash of the input with a given seed.
87 * @input: The data to hash.
95 uint32_t xxh32(const void *input, size_t length, uint32_t seed);
98 * xxh64() - calculate the 64-bit hash of the input with a given seed.
100 * @input: The data to hash.
108 uint64_t xxh64(const void *input, size_t length, uint64_t seed);
111 * xxhash() - calculate wordsize hash of the input with a given seed
112 * @input: The data to hash.
123 static inline unsigned long xxhash(const void *input, size_t length, in xxhash() argument
127 return xxh64(input, lengt in xxhash()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dxxhash.h85 * xxh32() - calculate the 32-bit hash of the input with a given seed.
87 * @input: The data to hash.
95 uint32_t xxh32(const void *input, size_t length, uint32_t seed);
98 * xxh64() - calculate the 64-bit hash of the input with a given seed.
100 * @input: The data to hash.
108 uint64_t xxh64(const void *input, size_t length, uint64_t seed);
111 * xxhash() - calculate wordsize hash of the input with a given seed
112 * @input: The data to hash.
123 static inline unsigned long xxhash(const void *input, size_t length, in xxhash() argument
127 return xxh64(input, lengt in xxhash()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dm52790.c27 u16 input; member
43 u8 sw1 = (state->input | state->output) & 0xff; in m52790_write()
44 u8 sw2 = (state->input | state->output) >> 8; in m52790_write()
58 u32 input, u32 output, u32 config) in m52790_s_routing()
62 state->input = input; in m52790_s_routing()
76 reg->val = state->input | state->output; in m52790_g_register()
86 state->input = reg->val & 0x0303; in m52790_s_register()
98 (state->input | state->output) & 0xff); in m52790_log_status()
100 (state->input | stat in m52790_log_status()
57 m52790_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, u32 config) m52790_s_routing() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dpcap_ts.c17 #include <linux/input.h>
22 struct input_dev *input; member
56 input_report_abs(pcap_ts->input, ABS_PRESSURE, 0); in pcap_ts_read_xy()
57 input_report_key(pcap_ts->input, BTN_TOUCH, 0); in pcap_ts_read_xy()
63 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x); in pcap_ts_read_xy()
64 input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y); in pcap_ts_read_xy()
65 input_report_key(pcap_ts->input, BTN_TOUCH, 1); in pcap_ts_read_xy()
66 input_report_abs(pcap_ts->input, ABS_PRESSURE, in pcap_ts_read_xy()
74 input_sync(pcap_ts->input); in pcap_ts_read_xy()
77 dev_warn(&pcap_ts->input in pcap_ts_read_xy()
[all...]
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A Drmi_f3a.c8 #include <linux/input.h>
32 struct input_dev *input; member
50 "%s: call input report key (0x%04x) value (0x%02x)", in rmi_f3a_report_button()
52 input_report_key(f3a->input, key_code, key_down); in rmi_f3a_report_button()
118 /* gpio exist && direction input */ in rmi_f3a_is_valid_button()
127 struct input_dev *input = f3a->input; in rmi_f3a_map_gpios() local
153 input_set_capability(input, EV_KEY, button++); in rmi_f3a_map_gpios()
157 input->keycode = f3a->gpio_key_map; in rmi_f3a_map_gpios()
158 input in rmi_f3a_map_gpios()
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dpcap_ts.c17 #include <linux/input.h>
22 struct input_dev *input; member
56 input_report_abs(pcap_ts->input, ABS_PRESSURE, 0); in pcap_ts_read_xy()
57 input_report_key(pcap_ts->input, BTN_TOUCH, 0); in pcap_ts_read_xy()
63 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x); in pcap_ts_read_xy()
64 input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y); in pcap_ts_read_xy()
65 input_report_key(pcap_ts->input, BTN_TOUCH, 1); in pcap_ts_read_xy()
66 input_report_abs(pcap_ts->input, ABS_PRESSURE, in pcap_ts_read_xy()
74 input_sync(pcap_ts->input); in pcap_ts_read_xy()
77 dev_warn(&pcap_ts->input in pcap_ts_read_xy()
[all...]
/kernel/linux/linux-6.6/drivers/input/rmi4/
H A Drmi_f3a.c8 #include <linux/input.h>
32 struct input_dev *input; member
50 "%s: call input report key (0x%04x) value (0x%02x)", in rmi_f3a_report_button()
52 input_report_key(f3a->input, key_code, key_down); in rmi_f3a_report_button()
118 /* gpio exist && direction input */ in rmi_f3a_is_valid_button()
127 struct input_dev *input = f3a->input; in rmi_f3a_map_gpios() local
153 input_set_capability(input, EV_KEY, button++); in rmi_f3a_map_gpios()
157 input->keycode = f3a->gpio_key_map; in rmi_f3a_map_gpios()
158 input in rmi_f3a_map_gpios()
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dqt2160.c16 #include <linux/input.h>
56 struct input_dev *input; member
161 struct input_dev *input = qt2160->input; in qt2160_get_key_matrix() local
187 input_report_key(input, qt2160->keycodes[i], keyval); in qt2160_get_key_matrix()
193 input_sync(input); in qt2160_get_key_matrix()
345 struct input_dev *input; in qt2160_probe() local
363 input = input_allocate_device(); in qt2160_probe()
364 if (!qt2160 || !input) { in qt2160_probe()
371 qt2160->input in qt2160_probe()
[all...]
H A Dpmic8xxx-keypad.c10 #include <linux/input.h>
16 #include <linux/input/matrix_keypad.h>
81 * @input - input device pointer for keypad
94 struct input_dev *input; member
240 input_event(kp->input, EV_MSC, MSC_SCAN, code); in __pmic8xxx_kp_scan_matrix()
241 input_report_key(kp->input, in __pmic8xxx_kp_scan_matrix()
245 input_sync(kp->input); in __pmic8xxx_kp_scan_matrix()
520 repeat = !of_property_read_bool(np, "linux,input-no-autorepeat"); in pmic8xxx_kp_probe()
540 kp->input in pmic8xxx_kp_probe()
[all...]
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
H A Dremote.c122 static void print_input(struct remote_input *input) in print_input() argument
124 if (input->type == INPUT_TYPE_MOUSE) { in print_input()
125 unsigned char buttons = input->mouse_buttons; in print_input()
127 input->data.mouse.x, input->data.mouse.y, in print_input()
136 input->data.keyboard.key_code, in print_input()
137 input->data.keyboard.key_code, in print_input()
138 input->data.keyboard.key_flag, in print_input()
139 input->data.keyboard.key_down in print_input()
144 static void send_mouse_event(struct input_dev *dev, struct remote_input *input) in send_mouse_event() argument
156 send_keyboard_event(struct input_dev *dev, struct remote_input *input) send_keyboard_event() argument
174 struct remote_input input; ibmasm_handle_mouse_interrupt() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/ibmasm/
H A Dremote.c122 static void print_input(struct remote_input *input) in print_input() argument
124 if (input->type == INPUT_TYPE_MOUSE) { in print_input()
125 unsigned char buttons = input->mouse_buttons; in print_input()
127 input->data.mouse.x, input->data.mouse.y, in print_input()
136 input->data.keyboard.key_code, in print_input()
137 input->data.keyboard.key_code, in print_input()
138 input->data.keyboard.key_flag, in print_input()
139 input->data.keyboard.key_down in print_input()
144 static void send_mouse_event(struct input_dev *dev, struct remote_input *input) in send_mouse_event() argument
156 send_keyboard_event(struct input_dev *dev, struct remote_input *input) send_keyboard_event() argument
174 struct remote_input input; ibmasm_handle_mouse_interrupt() local
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dpmic8xxx-keypad.c10 #include <linux/input.h>
16 #include <linux/input/matrix_keypad.h>
81 * @input: input device pointer for keypad
94 struct input_dev *input; member
240 input_event(kp->input, EV_MSC, MSC_SCAN, code); in __pmic8xxx_kp_scan_matrix()
241 input_report_key(kp->input, in __pmic8xxx_kp_scan_matrix()
245 input_sync(kp->input); in __pmic8xxx_kp_scan_matrix()
520 repeat = !of_property_read_bool(np, "linux,input-no-autorepeat"); in pmic8xxx_kp_probe()
540 kp->input in pmic8xxx_kp_probe()
[all...]

Completed in 12 milliseconds

1...<<11121314151617181920>>...134