/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-magicmouse.c | 16 #include <linux/input/mt.h> 106 * @input: Input device through which we report events. 112 * @tracking_ids: Mapping of current touch input data to @touches. 115 struct input_dev *input; member 157 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons() 158 test_bit(BTN_RIGHT, msc->input->key) << 1 | in magicmouse_emit_buttons() 159 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons() 182 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 185 input_report_key(msc->input, BTN_LEFT, state & 1); in magicmouse_emit_buttons() 186 input_report_key(msc->input, BTN_RIGH in magicmouse_emit_buttons() 194 struct input_dev *input = msc->input; magicmouse_emit_touch() local 312 struct input_dev *input = msc->input; magicmouse_raw_event() local 411 magicmouse_setup_input(struct input_dev *input, struct hid_device *hdev) magicmouse_setup_input() argument [all...] |
H A D | hid-wiimote-modules.c | 22 * wdata->input is a shared input device. It is always initialized prior to 24 * WIIMOD_FLAG_INPUT, then the input device will get registered after all 27 * called. This guarantees that no input interaction is done, anymore. However, 28 * the wiimote core keeps a reference to the input device so it is freed only 30 * input devices. 35 #include <linux/input.h> 45 * It uses the shared input device. 64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys() 66 input_report_key(wdata->input, wiimod_keys_ma in wiimod_keys_in_keys() [all...] |
H A D | hid-steam.c | 17 * This driver will disable the lizard mode when the input device is opened 18 * and re-enable it when the input device is closed, so as not to break user 22 * the hidraw interface directly to create input devices (XTest, uinput...). 26 * - this input device will be removed, to avoid double input of the same 28 * When the client is closed, this input device will be created again. 37 #include <linux/input.h> 118 struct input_dev __rcu *input; member 396 struct input_dev *input; in steam_input_register() local 400 input in steam_input_register() 483 struct input_dev *input; steam_input_unregister() local 927 steam_do_input_event(struct steam_device *steam, struct input_dev *input, u8 *data) steam_do_input_event() argument 1032 struct input_dev *input; steam_raw_event() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_transition.c | 30 struct mod_hdcp_transition_input_hdcp2 *input, in mod_hdcp_hdcp2_transition() 39 if (input->hdcp2version_read != PASS || in mod_hdcp_hdcp2_transition() 40 input->hdcp2_capable_check != PASS) { in mod_hdcp_hdcp2_transition() 50 if (input->create_session != PASS || in mod_hdcp_hdcp2_transition() 51 input->ake_init_prepare != PASS) { in mod_hdcp_hdcp2_transition() 56 } else if (input->ake_init_write != PASS) { in mod_hdcp_hdcp2_transition() 65 if (input->ake_cert_available != PASS) { in mod_hdcp_hdcp2_transition() 81 } else if (input->ake_cert_read != PASS || in mod_hdcp_hdcp2_transition() 82 input->ake_cert_validation != PASS) { in mod_hdcp_hdcp2_transition() 100 if (input in mod_hdcp_hdcp2_transition() 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) mod_hdcp_hdcp2_transition() 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) mod_hdcp_hdcp2_dp_transition() argument [all...] |
H A D | hdcp1_transition.c | 30 struct mod_hdcp_transition_input_hdcp1 *input, in mod_hdcp_hdcp1_transition() 39 if (input->bksv_read != PASS || input->bcaps_read != PASS) { in mod_hdcp_hdcp1_transition() 49 if (input->create_session != PASS) { in mod_hdcp_hdcp1_transition() 54 } else if (input->an_write != PASS || in mod_hdcp_hdcp1_transition() 55 input->aksv_write != PASS || in mod_hdcp_hdcp1_transition() 56 input->bksv_read != PASS || in mod_hdcp_hdcp1_transition() 57 input->bksv_validation != PASS || in mod_hdcp_hdcp1_transition() 58 input->ainfo_write == FAIL) { in mod_hdcp_hdcp1_transition() 68 if (input in mod_hdcp_hdcp1_transition() 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) mod_hdcp_hdcp1_transition() 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) mod_hdcp_hdcp1_dp_transition() argument [all...] |
H A D | hdcp2_execution.c | 218 struct mod_hdcp_transition_input_hdcp2 *input, in process_rxstatus() 222 &input->rxstatus_read, status, in process_rxstatus() 226 &input->reauth_request_check, status, in process_rxstatus() 231 &input->link_integrity_check_dp, status, in process_rxstatus() 254 struct mod_hdcp_transition_input_hdcp2 *input) in known_hdcp2_capable_rx() 264 &input->hdcp2version_read, &status, in known_hdcp2_capable_rx() 268 &input->hdcp2_capable_check, &status, in known_hdcp2_capable_rx() 277 struct mod_hdcp_transition_input_hdcp2 *input) in send_ake_init() 287 &input->create_session, &status, in send_ake_init() 291 &input in send_ake_init() 216 process_rxstatus(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, enum mod_hdcp_status *status) process_rxstatus() argument 252 known_hdcp2_capable_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) known_hdcp2_capable_rx() argument 275 send_ake_init(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_ake_init() argument 302 validate_ake_cert(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_ake_cert() argument 332 send_no_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_no_stored_km() argument 351 read_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) read_h_prime() argument 377 read_pairing_info_and_validate_h_prime( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) read_pairing_info_and_validate_h_prime() argument 407 send_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_stored_km() argument 426 validate_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_h_prime() argument 455 locality_check(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) locality_check() argument 493 exchange_ks_and_test_for_repeater(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) exchange_ks_and_test_for_repeater() argument 516 enable_encryption(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) enable_encryption() argument 553 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) authenticated() argument 573 wait_for_rx_id_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) wait_for_rx_id_list() argument 596 verify_rx_id_list_and_send_ack(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) verify_rx_id_list_and_send_ack() argument 632 send_stream_management(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_stream_management() argument 667 validate_stream_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_stream_ready() argument 709 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) determine_rx_hdcp_capable_dp() argument 732 send_content_stream_type_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_content_stream_type_dp() argument 754 mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) mod_hdcp_hdcp2_execution() argument 818 mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) mod_hdcp_hdcp2_dp_execution() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_transition.c | 30 struct mod_hdcp_transition_input_hdcp2 *input, in mod_hdcp_hdcp2_transition() 39 if (input->hdcp2version_read != PASS || in mod_hdcp_hdcp2_transition() 40 input->hdcp2_capable_check != PASS) { in mod_hdcp_hdcp2_transition() 50 if (input->create_session != PASS || in mod_hdcp_hdcp2_transition() 51 input->ake_init_prepare != PASS) { in mod_hdcp_hdcp2_transition() 56 } else if (input->ake_init_write != PASS) { in mod_hdcp_hdcp2_transition() 65 if (input->ake_cert_available != PASS) { in mod_hdcp_hdcp2_transition() 81 } else if (input->ake_cert_read != PASS || in mod_hdcp_hdcp2_transition() 82 input->ake_cert_validation != PASS) { in mod_hdcp_hdcp2_transition() 100 if (input in mod_hdcp_hdcp2_transition() 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) mod_hdcp_hdcp2_transition() 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) mod_hdcp_hdcp2_dp_transition() argument [all...] |
H A D | hdcp1_transition.c | 30 struct mod_hdcp_transition_input_hdcp1 *input, in mod_hdcp_hdcp1_transition() 39 if (input->bksv_read != PASS || input->bcaps_read != PASS) { in mod_hdcp_hdcp1_transition() 49 if (input->create_session != PASS) { in mod_hdcp_hdcp1_transition() 54 } else if (input->an_write != PASS || in mod_hdcp_hdcp1_transition() 55 input->aksv_write != PASS || in mod_hdcp_hdcp1_transition() 56 input->bksv_read != PASS || in mod_hdcp_hdcp1_transition() 57 input->bksv_validation != PASS || in mod_hdcp_hdcp1_transition() 58 input->ainfo_write == FAIL) { in mod_hdcp_hdcp1_transition() 68 if (input in mod_hdcp_hdcp1_transition() 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) mod_hdcp_hdcp1_transition() 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) mod_hdcp_hdcp1_dp_transition() argument [all...] |
H A D | hdcp2_execution.c | 226 struct mod_hdcp_transition_input_hdcp2 *input, in process_rxstatus() 230 &input->rxstatus_read, status, in process_rxstatus() 234 &input->reauth_request_check, status, in process_rxstatus() 239 &input->link_integrity_check_dp, status, in process_rxstatus() 262 struct mod_hdcp_transition_input_hdcp2 *input) in known_hdcp2_capable_rx() 272 &input->hdcp2version_read, &status, in known_hdcp2_capable_rx() 276 &input->hdcp2_capable_check, &status, in known_hdcp2_capable_rx() 285 struct mod_hdcp_transition_input_hdcp2 *input) in send_ake_init() 295 &input->create_session, &status, in send_ake_init() 299 &input in send_ake_init() 224 process_rxstatus(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, enum mod_hdcp_status *status) process_rxstatus() argument 260 known_hdcp2_capable_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) known_hdcp2_capable_rx() argument 283 send_ake_init(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_ake_init() argument 310 validate_ake_cert(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_ake_cert() argument 340 send_no_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_no_stored_km() argument 359 read_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) read_h_prime() argument 385 read_pairing_info_and_validate_h_prime( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) read_pairing_info_and_validate_h_prime() argument 415 send_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_stored_km() argument 434 validate_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_h_prime() argument 463 locality_check(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) locality_check() argument 501 exchange_ks_and_test_for_repeater(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) exchange_ks_and_test_for_repeater() argument 524 enable_encryption(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) enable_encryption() argument 561 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) authenticated() argument 578 wait_for_rx_id_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) wait_for_rx_id_list() argument 601 verify_rx_id_list_and_send_ack(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) verify_rx_id_list_and_send_ack() argument 637 send_stream_management(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_stream_management() argument 672 validate_stream_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) validate_stream_ready() argument 714 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) determine_rx_hdcp_capable_dp() argument 737 send_content_stream_type_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) send_content_stream_type_dp() argument 759 mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) mod_hdcp_hdcp2_execution() argument 823 mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) mod_hdcp_hdcp2_dp_execution() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/hyperv/ |
H A D | hv_vtl.c | 72 struct hv_enable_vp_vtl *input; in hv_vtl_bringup_vcpu() local 96 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_vtl_bringup_vcpu() 97 memset(input, 0, sizeof(*input)); in hv_vtl_bringup_vcpu() 99 input->partition_id = HV_PARTITION_ID_SELF; in hv_vtl_bringup_vcpu() 100 input->vp_index = target_vp_index; in hv_vtl_bringup_vcpu() 101 input->target_vtl.target_vtl = HV_VTL_MGMT; in hv_vtl_bringup_vcpu() 117 input->vp_context.rip = rip; in hv_vtl_bringup_vcpu() 118 input->vp_context.rsp = rsp; in hv_vtl_bringup_vcpu() 119 input in hv_vtl_bringup_vcpu() 182 struct hv_get_vp_from_apic_id_in *input; hv_vtl_apicid_to_vp_id() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-magicmouse.c | 16 #include <linux/input/mt.h> 116 * @input: Input device through which we report events. 122 * @tracking_ids: Mapping of current touch input data to @touches. 125 struct input_dev *input; member 175 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons() 176 test_bit(BTN_RIGHT, msc->input->key) << 1 | in magicmouse_emit_buttons() 177 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons() 200 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 203 input_report_key(msc->input, BTN_LEFT, state & 1); in magicmouse_emit_buttons() 204 input_report_key(msc->input, BTN_RIGH in magicmouse_emit_buttons() 212 struct input_dev *input = msc->input; magicmouse_emit_touch() local 377 struct input_dev *input = msc->input; magicmouse_raw_event() local 522 magicmouse_setup_input(struct input_dev *input, struct hid_device *hdev) magicmouse_setup_input() argument [all...] |
H A D | hid-steam.c | 18 * This driver will disable the lizard mode when the input device is opened 19 * and re-enable it when the input device is closed, so as not to break user 23 * the hidraw interface directly to create input devices (XTest, uinput...). 27 * - this input device will be removed, to avoid double input of the same 29 * When the client is closed, this input device will be created again. 38 #include <linux/input.h> 128 struct input_dev __rcu *input; member 479 struct input_dev *input; in steam_input_register() local 483 input in steam_input_register() 609 struct input_dev *input; steam_input_unregister() local 1077 steam_do_input_event(struct steam_device *steam, struct input_dev *input, u8 *data) steam_do_input_event() argument 1244 steam_do_deck_input_event(struct steam_device *steam, struct input_dev *input, u8 *data) steam_do_deck_input_event() argument 1348 struct input_dev *input; steam_raw_event() local [all...] |
H A D | hid-letsketch.c | 19 * This interface sends raw event input reports in a custom format, but only 38 #include <linux/input.h> 83 struct input_dev *input; in letsketch_alloc_input_dev() local 85 input = devm_input_allocate_device(&data->hdev->dev); in letsketch_alloc_input_dev() 86 if (!input) in letsketch_alloc_input_dev() 89 input->id.bustype = data->hdev->bus; in letsketch_alloc_input_dev() 90 input->id.vendor = data->hdev->vendor; in letsketch_alloc_input_dev() 91 input->id.product = data->hdev->product; in letsketch_alloc_input_dev() 92 input->id.version = data->hdev->bus; in letsketch_alloc_input_dev() 93 input in letsketch_alloc_input_dev() 105 struct input_dev *input; letsketch_setup_input_tablet() local 131 struct input_dev *input; letsketch_setup_input_tablet_pad() local 159 struct input_dev *input = data->input_tablet; letsketch_inrange_timeout() local 170 struct input_dev *input; letsketch_raw_event() local [all...] |
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | attributes.c | 40 int (*filter)(void *attr, const char *input, int *err); 80 static int int_filter(long val, const char *op, int input, int *err) in int_filter() argument 83 return (val <= input); in int_filter() 85 return (val >= input); in int_filter() 87 return (val != input); in int_filter() 89 return (val > input); in int_filter() 91 return (val < input); in int_filter() 93 return (val == input); in int_filter() 101 * by the input string. Note: the str_list includes the corresponding string 104 static int attr_enum_filter(void *attr, const char *input, in argument 138 attr_speed_filter(void *attr, const char *input, int *err) attr_speed_filter() argument 147 attr_string_filter(void *attr, const char *input, int *err) attr_string_filter() argument 260 kunit_get_filter_count(char *input) kunit_get_filter_count() argument 282 char *input = *filters; kunit_next_attr_filter() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/tw5864/ |
H A D | tw5864-video.c | 180 static void tw5864_frame_interval_set(struct tw5864_input *input); 208 static int tw5864_input_std_get(struct tw5864_input *input, in tw5864_input_std_get() argument 211 struct tw5864_dev *dev = input->root; in tw5864_input_std_get() 212 u8 std_reg = tw_indir_readb(TW5864_INDIR_VIN_E(input->nr)); in tw5864_input_std_get() 225 static int tw5864_enable_input(struct tw5864_input *input) in tw5864_enable_input() argument 227 struct tw5864_dev *dev = input->root; in tw5864_enable_input() 228 int nr = input->nr; in tw5864_enable_input() 240 input->frame_seqno = 0; in tw5864_enable_input() 241 input->frame_gop_seqno = 0; in tw5864_enable_input() 242 input in tw5864_enable_input() 370 tw5864_request_encoded_frame(struct tw5864_input *input) tw5864_request_encoded_frame() argument 414 tw5864_disable_input(struct tw5864_input *input) tw5864_disable_input() argument 429 struct tw5864_input *input = vb2_get_drv_priv(q); tw5864_start_streaming() local 449 struct tw5864_input *input = vb2_get_drv_priv(q); tw5864_stop_streaming() local 479 struct tw5864_input *input = tw5864_s_ctrl() local 533 struct tw5864_input *input = video_drvdata(file); tw5864_fmt_vid_cap() local 558 struct tw5864_input *input = video_drvdata(file); tw5864_enum_input() local 602 struct tw5864_input *input = video_drvdata(file); tw5864_querycap() local 613 struct tw5864_input *input = video_drvdata(file); tw5864_querystd() local 627 struct tw5864_input *input = video_drvdata(file); tw5864_g_std() local 635 struct tw5864_input *input = video_drvdata(file); tw5864_s_std() local 669 tw5864_frame_interval_set(struct tw5864_input *input) tw5864_frame_interval_set() argument 708 tw5864_frameinterval_get(struct tw5864_input *input, struct v4l2_fract *frameinterval) tw5864_frameinterval_get() argument 735 struct tw5864_input *input = video_drvdata(file); tw5864_enum_framesizes() local 752 struct tw5864_input *input = video_drvdata(file); tw5864_enum_frameintervals() local 784 struct tw5864_input *input = video_drvdata(file); tw5864_g_parm() local 804 struct tw5864_input *input = video_drvdata(file); tw5864_s_parm() local 850 struct tw5864_input *input = video_drvdata(file); tw5864_g_reg() local 872 struct tw5864_input *input = video_drvdata(file); tw5864_s_reg() local 1098 tw5864_video_input_init(struct tw5864_input *input, int video_nr) tw5864_video_input_init() argument 1217 tw5864_prepare_frame_headers(struct tw5864_input *input) tw5864_prepare_frame_headers() argument 1301 struct tw5864_input *input = frame->input; tw5864_is_motion_triggered() local 1366 struct tw5864_input *input = frame->input; tw5864_handle_frame() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | ipaq-micro-ts.c | 17 #include <linux/input.h> 23 struct input_dev *input; member 32 input_report_abs(ts->input, ABS_X, in micro_ts_receive() 34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive() 36 input_report_key(ts->input, BTN_TOUCH, 1); in micro_ts_receive() 37 input_sync(ts->input); in micro_ts_receive() 39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive() 40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive() 41 input_report_key(ts->input, BTN_TOUCH, 0); in micro_ts_receive() 42 input_sync(ts->input); in micro_ts_receive() 63 micro_ts_open(struct input_dev *input) micro_ts_open() argument 72 micro_ts_close(struct input_dev *input) micro_ts_close() argument 134 struct input_dev *input = ts->input; micro_ts_resume() local [all...] |
H A D | chipone_icn8318.c | 14 #include <linux/input.h> 15 #include <linux/input/mt.h> 16 #include <linux/input/touchscreen.h> 50 struct input_dev *input; member 115 input_mt_slot(data->input, touch->slot); in icn8318_irq() 116 input_mt_report_slot_state(data->input, MT_TOOL_FINGER, act); in icn8318_irq() 120 touchscreen_report_pos(data->input, &data->prop, in icn8318_irq() 125 input_mt_sync_frame(data->input); in icn8318_irq() 126 input_sync(data->input); in icn8318_irq() 156 mutex_lock(&data->input in icn8318_suspend() 184 struct input_dev *input; icn8318_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | ipaq-micro-ts.c | 17 #include <linux/input.h> 23 struct input_dev *input; member 32 input_report_abs(ts->input, ABS_X, in micro_ts_receive() 34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive() 36 input_report_key(ts->input, BTN_TOUCH, 1); in micro_ts_receive() 37 input_sync(ts->input); in micro_ts_receive() 39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive() 40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive() 41 input_report_key(ts->input, BTN_TOUCH, 0); in micro_ts_receive() 42 input_sync(ts->input); in micro_ts_receive() 63 micro_ts_open(struct input_dev *input) micro_ts_open() argument 72 micro_ts_close(struct input_dev *input) micro_ts_close() argument 134 struct input_dev *input = ts->input; micro_ts_resume() local [all...] |
H A D | chipone_icn8318.c | 14 #include <linux/input.h> 15 #include <linux/input/mt.h> 16 #include <linux/input/touchscreen.h> 50 struct input_dev *input; member 115 input_mt_slot(data->input, touch->slot); in icn8318_irq() 116 input_mt_report_slot_state(data->input, MT_TOOL_FINGER, act); in icn8318_irq() 120 touchscreen_report_pos(data->input, &data->prop, in icn8318_irq() 125 input_mt_sync_frame(data->input); in icn8318_irq() 126 input_sync(data->input); in icn8318_irq() 155 mutex_lock(&data->input in icn8318_suspend() 181 struct input_dev *input; icn8318_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/tw5864/ |
H A D | tw5864-video.c | 180 static void tw5864_frame_interval_set(struct tw5864_input *input); 208 static int tw5864_input_std_get(struct tw5864_input *input, in tw5864_input_std_get() argument 211 struct tw5864_dev *dev = input->root; in tw5864_input_std_get() 212 u8 std_reg = tw_indir_readb(TW5864_INDIR_VIN_E(input->nr)); in tw5864_input_std_get() 225 static int tw5864_enable_input(struct tw5864_input *input) in tw5864_enable_input() argument 227 struct tw5864_dev *dev = input->root; in tw5864_enable_input() 228 int nr = input->nr; in tw5864_enable_input() 240 input->frame_seqno = 0; in tw5864_enable_input() 241 input->frame_gop_seqno = 0; in tw5864_enable_input() 242 input in tw5864_enable_input() 370 tw5864_request_encoded_frame(struct tw5864_input *input) tw5864_request_encoded_frame() argument 414 tw5864_disable_input(struct tw5864_input *input) tw5864_disable_input() argument 429 struct tw5864_input *input = vb2_get_drv_priv(q); tw5864_start_streaming() local 449 struct tw5864_input *input = vb2_get_drv_priv(q); tw5864_stop_streaming() local 479 struct tw5864_input *input = tw5864_s_ctrl() local 533 struct tw5864_input *input = video_drvdata(file); tw5864_fmt_vid_cap() local 558 struct tw5864_input *input = video_drvdata(file); tw5864_enum_input() local 602 struct tw5864_input *input = video_drvdata(file); tw5864_querycap() local 612 struct tw5864_input *input = video_drvdata(file); tw5864_querystd() local 626 struct tw5864_input *input = video_drvdata(file); tw5864_g_std() local 634 struct tw5864_input *input = video_drvdata(file); tw5864_s_std() local 668 tw5864_frame_interval_set(struct tw5864_input *input) tw5864_frame_interval_set() argument 707 tw5864_frameinterval_get(struct tw5864_input *input, struct v4l2_fract *frameinterval) tw5864_frameinterval_get() argument 734 struct tw5864_input *input = video_drvdata(file); tw5864_enum_framesizes() local 751 struct tw5864_input *input = video_drvdata(file); tw5864_enum_frameintervals() local 783 struct tw5864_input *input = video_drvdata(file); tw5864_g_parm() local 803 struct tw5864_input *input = video_drvdata(file); tw5864_s_parm() local 849 struct tw5864_input *input = video_drvdata(file); tw5864_g_reg() local 871 struct tw5864_input *input = video_drvdata(file); tw5864_s_reg() local 1097 tw5864_video_input_init(struct tw5864_input *input, int video_nr) tw5864_video_input_init() argument 1216 tw5864_prepare_frame_headers(struct tw5864_input *input) tw5864_prepare_frame_headers() argument 1300 struct tw5864_input *input = frame->input; tw5864_is_motion_triggered() local 1365 struct tw5864_input *input = frame->input; tw5864_handle_frame() local [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | cobalt_btns.c | 7 #include <linux/input.h> 35 static void handle_buttons(struct input_dev *input) in handle_buttons() argument 37 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() 46 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 47 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 48 input_sync(input); in handle_buttons() 52 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 53 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 54 input_sync(input); in handle_buttons() 64 struct input_dev *input; in cobalt_buttons_probe() local [all...] |
H A D | sgi_btns.c | 7 #include <linux/input.h> 52 static void handle_buttons(struct input_dev *input) in handle_buttons() argument 54 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() 63 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 64 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 65 input_sync(input); in handle_buttons() 69 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 70 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 71 input_sync(input); in handle_buttons() 81 struct input_dev *input; in sgi_buttons_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | cobalt_btns.c | 7 #include <linux/input.h> 35 static void handle_buttons(struct input_dev *input) in handle_buttons() argument 37 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() 46 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 47 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 48 input_sync(input); in handle_buttons() 52 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 53 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 54 input_sync(input); in handle_buttons() 64 struct input_dev *input; in cobalt_buttons_probe() local [all...] |
H A D | sgi_btns.c | 7 #include <linux/input.h> 52 static void handle_buttons(struct input_dev *input) in handle_buttons() argument 54 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() 63 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 64 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 65 input_sync(input); in handle_buttons() 69 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 70 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 71 input_sync(input); in handle_buttons() 81 struct input_dev *input; in sgi_buttons_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | navpoint.c | 14 #include <linux/input.h> 15 #include <linux/input/navpoint.h> 33 struct input_dev *input; member 96 input_report_key(navpoint->input, BTN_TOUCH, finger); in navpoint_packet() 97 input_report_abs(navpoint->input, ABS_X, x); in navpoint_packet() 98 input_report_abs(navpoint->input, ABS_Y, y); in navpoint_packet() 99 input_report_abs(navpoint->input, ABS_PRESSURE, z); in navpoint_packet() 100 input_report_key(navpoint->input, BTN_TOOL_FINGER, finger); in navpoint_packet() 101 input_report_key(navpoint->input, BTN_LEFT, gesture); in navpoint_packet() 102 input_sync(navpoint->input); in navpoint_packet() 189 navpoint_open(struct input_dev *input) navpoint_open() argument 198 navpoint_close(struct input_dev *input) navpoint_close() argument 210 struct input_dev *input; navpoint_probe() local 322 struct input_dev *input = navpoint->input; navpoint_suspend() local 336 struct input_dev *input = navpoint->input; navpoint_resume() local [all...] |