/linux-master/drivers/hid/ |
H A D | hid-mf.c | 23 #include <linux/input.h> 68 struct hid_input *input; local 84 hid_err(hid, "Missing input, this should never happen!\n"); 89 input = list_entry(input_ptr, struct hid_input, list); 95 dev = input->input;
|
H A D | hid-input.c | 62 * hid-input will convert this list into priorities: 67 * hid-input will then shift the priority by 8 bits to leave some space 73 * If drivers want to add fields before those, hid-input will 692 struct input_dev *input = hidinput->input; local 693 struct hid_device *device = input_get_drvdata(input); 750 set_bit(EV_REP, input->evbit); 889 set_bit(REL_WHEEL, input->relbit); 946 __set_bit(INPUT_PROP_POINTER, input->propbit); 948 __set_bit(INPUT_PROP_DIRECT, input 1465 hidinput_handle_scroll(struct hid_usage *usage, struct input_dev *input, __s32 value) argument 1497 hid_report_release_tool(struct hid_report *report, struct input_dev *input, unsigned int tool) argument 1515 hid_report_set_tool(struct hid_report *report, struct input_dev *input, unsigned int new_tool) argument 1527 struct input_dev *input; local [all...] |
H A D | hid-cougar.c | 73 struct input_dev *input; member in struct:cougar_shared 234 if (hidinput->registered && hidinput->input != NULL) { 235 cougar->shared->input = hidinput->input; 255 * Convert events from vendor intf to input key events 270 if (!shared->enabled || !shared->input) 277 input_event(shared->input, EV_KEY, 279 input_sync(shared->input);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_core_autosize.c | 50 struct test_struct___real input = { variable in typeref:struct:test_struct___real 89 struct test_struct___samesize *in = (void *)&input; 110 struct test_struct___downsize *in = (void *)&input; 141 struct test_struct___downsize *in = (void *)&input; 170 struct test_struct___signed *in = (void *)&input;
|
/linux-master/drivers/input/touchscreen/ |
H A D | cyttsp_core.c | 17 #include <linux/input.h> 18 #include <linux/input/mt.h> 19 #include <linux/input/touchscreen.h> 318 struct input_dev *input = ts->input; local 346 input_mt_slot(input, ids[i]); 347 input_mt_report_slot_state(input, MT_TOOL_FINGER, true); 348 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); 349 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); 350 input_report_abs(input, ABS_MT_TOUCH_MAJO [all...] |
H A D | ad7879.c | 25 #include <linux/input.h> 33 #include <linux/input/touchscreen.h> 109 struct input_dev *input; member in struct:ad7879 116 bool disabled; /* P: input->mutex */ 117 bool suspended; /* P: input->mutex */ 167 struct input_dev *input_dev = ts->input; 231 struct input_dev *input_dev = ts->input; 283 static int ad7879_open(struct input_dev *input) argument 285 struct ad7879 *ts = input_get_drvdata(input); 287 /* protected by input 294 ad7879_close(struct input_dev *input) argument [all...] |
H A D | ili210x.c | 7 #include <linux/input.h> 8 #include <linux/input/mt.h> 9 #include <linux/input/touchscreen.h> 61 struct input_dev *input; member in struct:ili210x 307 struct input_dev *input = priv->input; local 315 input_mt_slot(input, i); 316 if (input_mt_report_slot_state(input, MT_TOOL_FINGER, touch)) { 317 touchscreen_report_pos(input, &priv->prop, x, y, true); 319 input_report_abs(input, ABS_MT_PRESSUR 935 struct input_dev *input; local [all...] |
H A D | cyttsp5.c | 17 #include <linux/input/mt.h> 18 #include <linux/input/touchscreen.h> 205 struct input_dev *input; member in struct:cyttsp5 323 input_mt_slot(ts->input, t); 324 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); 328 touchscreen_report_pos(ts->input, &ts->prop, 331 input_report_abs(ts->input, ABS_MT_PRESSURE, 335 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, 337 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, 369 input_mt_sync_frame(ts->input); [all...] |
H A D | penmount.c | 8 * Based on ELO driver (drivers/input/touchscreen/elo.c) 17 #include <linux/input.h> 18 #include <linux/input/mt.h> 66 static void pm_mtevent(struct pm *pm, struct input_dev *input) argument 71 input_mt_slot(input, i); 72 input_mt_report_slot_state(input, MT_TOOL_FINGER, 75 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); 76 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); 80 input_mt_report_pointer_emulation(input, true); 81 input_sync(input); [all...] |
/linux-master/drivers/staging/nvec/ |
H A D | nvec_kbd.c | 13 #include <linux/input.h> 32 struct input_dev *input; member in struct:nvec_keys 75 input_report_key(keys_dev.input, code_tabs[_size][code], 77 input_sync(keys_dev.input); 145 keys_dev.input = idev;
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bpf_crypto.c | 9 static char *input; variable 105 input = malloc(sz); 107 input[i] = '1' + random() % 9; 108 input[sz - 1] = '\0'; 156 .data_in = input,
|
H A D | bench_local_storage_create.c | 146 static void *sk_producer(void *input) argument 148 struct thread *t = &threads[(long)(input)]; 173 static void *task_producer(void *input) argument 175 struct thread *t = &threads[(long)(input)]; 196 static void *producer(void *input) argument 199 return sk_producer(input); 201 return task_producer(input);
|
/linux-master/kernel/ |
H A D | sysctl-test.c | 254 char input[] = "9"; local 255 size_t len = sizeof(input) - 1; 260 memcpy(buffer, input, len); 264 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, len); 265 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, pos); 284 char input[] = "-9"; local 285 size_t len = sizeof(input) - 1; 290 memcpy(buffer, input, len); 294 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, len); 295 KUNIT_EXPECT_EQ(test, sizeof(input) [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | varhandlers.c | 182 int spk_set_num_var(int input, struct st_var_header *var, int how) argument 196 if (input < var_data->u.n.low || input > var_data->u.n.high) 198 var_data->u.n.default_val = input; 204 val = input; 207 val += input; 210 val -= input; 280 * if input is null uses the defaults. 284 int spk_set_mask_bits(const char *input, const int which, const int how) argument 293 cp = (u_char *)input; [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_sru.c | 193 * Compare the input and output rectangles areas (avoiding 195 * area is larger than 1.5^2 the input area upscale by two, 276 struct v4l2_mbus_framefmt *input; local 280 input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.state, 285 if (input->code == MEDIA_BUS_FMT_ARGB8888_1X32) 291 if (input->width != output->width) 307 struct v4l2_mbus_framefmt *input; local 310 input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.state, 316 * The maximum input width of the SRU is 288 input pixel 333 struct v4l2_mbus_framefmt *input; local [all...] |
/linux-master/drivers/input/rmi4/ |
H A D | rmi_f30.c | 8 #include <linux/input.h> 78 struct input_dev *input; member in struct:f30_data 115 "%s: call input report key (0x%04x) value (0x%02x)", 118 input_report_key(f30->input, key_code, key_down); 216 * ctrl2 -> dir == 0 -> input mode 228 struct input_dev *input = f30->input; local 253 input_set_capability(input, EV_KEY, button++); 258 input->keycode = f30->gpioled_key_map; 259 input [all...] |
/linux-master/drivers/input/misc/ |
H A D | bma150.c | 16 #include <linux/input.h> 125 struct input_dev *input; member in struct:bma150_data 324 input_report_abs(bma150->input, ABS_X, x); 325 input_report_abs(bma150->input, ABS_Y, y); 326 input_report_abs(bma150->input, ABS_Z, z); 327 input_sync(bma150->input); 337 static void bma150_poll(struct input_dev *input) argument 339 struct bma150_data *bma150 = input_get_drvdata(input); 344 static int bma150_open(struct input_dev *input) argument 346 struct bma150_data *bma150 = input_get_drvdata(input); 366 bma150_close(struct input_dev *input) argument [all...] |
H A D | apanel.c | 10 * buttons and generates input events. 20 #include <linux/input.h> 73 static void report_key(struct input_dev *input, unsigned keycode) argument 75 dev_dbg(input->dev.parent, "report key %#x\n", keycode); 76 input_report_key(input, keycode, 1); 77 input_sync(input); 79 input_report_key(input, keycode, 0); 80 input_sync(input); 285 pr_info(APANEL ": no input devices reported by BIOS\n");
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-cap.c | 184 if (dev->std_cap[dev->input] & V4L2_STD_525_60) 279 * if the output video matches the input video settings. 285 VIVID_INVALID_SIGNAL(dev->dv_timings_signal_mode[dev->input])) { 290 VIVID_INVALID_SIGNAL(dev->std_signal_mode[dev->input])) { 345 return dev->std_aspect_ratio[dev->input]; 348 return dev->dv_timings_aspect_ratio[dev->input]; 356 return (dev->std_cap[dev->input] & V4L2_STD_525_60) ? 373 struct v4l2_bt_timings *bt = &dev->dv_timings_cap[dev->input].bt; 378 switch (dev->input_type[dev->input]) { 391 if (dev->std_cap[dev->input] 1511 unsigned int input = dev->input; local [all...] |
/linux-master/drivers/input/keyboard/ |
H A D | omap4-keypad.c | 18 #include <linux/input.h> 19 #include <linux/input/matrix_keypad.h> 73 struct input_dev *input; member in struct:omap4_keypad 118 struct input_dev *input_dev = keypad_data->input; 179 struct device *dev = keypad_data->input->dev.parent; 204 static int omap4_keypad_open(struct input_dev *input) argument 206 struct omap4_keypad *keypad_data = input_get_drvdata(input); 207 struct device *dev = input->dev.parent; 254 static void omap4_keypad_close(struct input_dev *input) argument 256 struct omap4_keypad *keypad_data = input_get_drvdata(input); [all...] |
/linux-master/drivers/pinctrl/renesas/ |
H A D | pinctrl-rza1.c | 102 u16 input: 1; member in struct:rza1_swio_pin 259 { .port = 2, .pin = 7, .func = 4, .input = 0 }, 260 { .port = 2, .pin = 11, .func = 4, .input = 0 }, 261 { .port = 3, .pin = 7, .func = 3, .input = 0 }, 262 { .port = 3, .pin = 7, .func = 8, .input = 0 }, 263 { .port = 4, .pin = 7, .func = 5, .input = 0 }, 264 { .port = 4, .pin = 7, .func = 11, .input = 0 }, 265 { .port = 4, .pin = 15, .func = 6, .input = 0 }, 266 { .port = 5, .pin = 0, .func = 1, .input = 1 }, 267 { .port = 5, .pin = 1, .func = 1, .input 630 rza1_pin_set_direction(struct rza1_port *port, unsigned int pin, bool input) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | fujitsu-laptop.c | 47 #include <linux/input.h> 48 #include <linux/input/sparse-keymap.h> 123 struct input_dev *input; member in struct:fujitsu_bl 134 struct input_dev *input; member in struct:fujitsu_laptop 456 priv->input = devm_input_allocate_device(&device->dev); 457 if (!priv->input) 463 priv->input->name = acpi_device_name(device); 464 priv->input->phys = priv->phys; 465 priv->input->id.bustype = BUS_HOST; 466 priv->input [all...] |
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_7_ppt.c | 1506 static int smu_v13_0_7_od_restore_table_single(struct smu_context *smu, long input) argument 1516 switch (input) { 1552 dev_info(adev->dev, "Invalid table index: %ld\n", input); 1561 long input[], 1582 dev_info(adev->dev, "invalid number of input parameters %d\n", size); 1586 switch (input[i]) { 1592 if (input[i + 1] < minimum || 1593 input[i + 1] > maximum) { 1595 input[i + 1], minimum, maximum); 1599 od_table->OverDriveTable.GfxclkFmin = input[ 1559 smu_v13_0_7_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, long input[], uint32_t size) argument 2437 smu_v13_0_7_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) argument [all...] |
/linux-master/lib/ |
H A D | xxhash.c | 94 static uint32_t xxh32_round(uint32_t seed, const uint32_t input) argument 96 seed += input * PRIME32_2; 102 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) argument 104 const uint8_t *p = (const uint8_t *)input; 156 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) argument 158 acc += input * PRIME64_2; 172 uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) argument 174 const uint8_t *p = (const uint8_t *)input; 270 int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) argument 272 const uint8_t *p = (const uint8_t *)input; 377 xxh64_update(struct xxh64_state *state, const void *input, const size_t len) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_v4l2.c | 739 /* Merrifield / Moorefield legacy input system */ 742 /* Moorefield / Cherryview new input system */ 902 static void atomisp_init_sensor(struct atomisp_input_subdev *input) argument 917 try_sd_state = __v4l2_subdev_state_alloc(input->camera, 922 input->try_sd_state = try_sd_state; 924 act_sd_state = v4l2_subdev_lock_and_get_active_state(input->camera); 927 err = v4l2_subdev_call(input->camera, pad, enum_mbus_code, 930 input->code = mbus_code_enum.code; 934 err = v4l2_subdev_call(input->camera, pad, get_selection, 939 input 1013 struct atomisp_input_subdev *input; local [all...] |