Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 2655) sorted by relevance

12345678910>>...107

/linux-6.1.9/drivers/media/pci/tw5864/
Dtw5864-video.c180 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->h264_idr_pic_id = 0; in tw5864_enable_input()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp2_transition.c30 struct mod_hdcp_transition_input_hdcp2 *input, in mod_hdcp_hdcp2_transition() argument
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->no_stored_km_write != PASS) { in mod_hdcp_hdcp2_transition()
[all …]
Dhdcp1_transition.c30 struct mod_hdcp_transition_input_hdcp1 *input, in mod_hdcp_hdcp1_transition() argument
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->bcaps_read != PASS || in mod_hdcp_hdcp1_transition()
69 input->r0p_read != PASS) { in mod_hdcp_hdcp1_transition()
[all …]
Dhdcp2_execution.c226 struct mod_hdcp_transition_input_hdcp2 *input, in process_rxstatus() argument
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() argument
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() argument
295 &input->create_session, &status, in send_ake_init()
299 &input->ake_init_prepare, &status, in send_ake_init()
[all …]
Dhdcp1_execution.c150 struct mod_hdcp_transition_input_hdcp1 *input) in wait_for_active_rx() argument
160 &input->bksv_read, &status, in wait_for_active_rx()
164 &input->bcaps_read, &status, in wait_for_active_rx()
173 struct mod_hdcp_transition_input_hdcp1 *input) in exchange_ksvs() argument
183 &input->create_session, &status, in exchange_ksvs()
187 &input->an_write, &status, in exchange_ksvs()
191 &input->aksv_write, &status, in exchange_ksvs()
195 &input->bksv_read, &status, in exchange_ksvs()
199 &input->bksv_validation, &status, in exchange_ksvs()
204 &input->ainfo_write, &status, in exchange_ksvs()
[all …]
/linux-6.1.9/drivers/hid/
Dhid-letsketch.c83 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->phys = data->hdev->phys; in letsketch_alloc_input_dev()
94 input->uniq = data->hdev->uniq; in letsketch_alloc_input_dev()
95 input->open = letsketch_open; in letsketch_alloc_input_dev()
[all …]
Dhid-magicmouse.c125 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_RIGHT, state & 2); in magicmouse_emit_buttons()
212 struct input_dev *input = msc->input; in magicmouse_emit_touch() local
216 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_emit_touch()
217 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_emit_touch()
[all …]
Dhid-wiimote-modules.c64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys()
66 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys()
68 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys()
70 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys()
72 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], in wiimod_keys_in_keys()
74 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_TWO], in wiimod_keys_in_keys()
76 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_ONE], in wiimod_keys_in_keys()
78 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_B], in wiimod_keys_in_keys()
80 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_A], in wiimod_keys_in_keys()
82 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_MINUS], in wiimod_keys_in_keys()
[all …]
Dhid-steam.c118 struct input_dev __rcu *input; member
396 struct input_dev *input; in steam_input_register() local
400 input = rcu_dereference(steam->input); in steam_input_register()
402 if (input) { in steam_input_register()
407 input = input_allocate_device(); in steam_input_register()
408 if (!input) in steam_input_register()
411 input_set_drvdata(input, steam); in steam_input_register()
412 input->dev.parent = &hdev->dev; in steam_input_register()
413 input->open = steam_input_open; in steam_input_register()
414 input->close = steam_input_close; in steam_input_register()
[all …]
/linux-6.1.9/drivers/input/misc/
Dpcf50633-input.c33 struct pcf50633_input *input; in pcf50633_input_irq() local
36 input = data; in pcf50633_input_irq()
39 onkey_released = pcf50633_reg_read(input->pcf, PCF50633_REG_OOCSTAT) in pcf50633_input_irq()
43 input_report_key(input->input_dev, KEY_POWER, 1); in pcf50633_input_irq()
45 input_report_key(input->input_dev, KEY_POWER, 0); in pcf50633_input_irq()
47 input_sync(input->input_dev); in pcf50633_input_irq()
52 struct pcf50633_input *input; in pcf50633_input_probe() local
57 input = kzalloc(sizeof(*input), GFP_KERNEL); in pcf50633_input_probe()
58 if (!input) in pcf50633_input_probe()
63 kfree(input); in pcf50633_input_probe()
[all …]
Dcobalt_btns.c35 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
82 input = devm_input_allocate_device(&pdev->dev); in cobalt_buttons_probe()
[all …]
Dsgi_btns.c52 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
88 input = devm_input_allocate_device(&pdev->dev); in sgi_buttons_probe()
[all …]
Dhisi_powerkey.c31 struct input_dev *input = q; in hi65xx_power_press_isr() local
33 pm_wakeup_event(input->dev.parent, MAX_HELD_TIME); in hi65xx_power_press_isr()
34 input_report_key(input, KEY_POWER, 1); in hi65xx_power_press_isr()
35 input_sync(input); in hi65xx_power_press_isr()
42 struct input_dev *input = q; in hi65xx_power_release_isr() local
44 pm_wakeup_event(input->dev.parent, MAX_HELD_TIME); in hi65xx_power_release_isr()
45 input_report_key(input, KEY_POWER, 0); in hi65xx_power_release_isr()
46 input_sync(input); in hi65xx_power_release_isr()
53 struct input_dev *input = q; in hi65xx_restart_toggle_isr() local
54 int value = test_bit(KEY_RESTART, input->key); in hi65xx_restart_toggle_isr()
[all …]
Dmma8450.c86 static void mma8450_poll(struct input_dev *input) in mma8450_poll() argument
88 struct i2c_client *c = input_get_drvdata(input); in mma8450_poll()
108 input_report_abs(input, ABS_X, x); in mma8450_poll()
109 input_report_abs(input, ABS_Y, y); in mma8450_poll()
110 input_report_abs(input, ABS_Z, z); in mma8450_poll()
111 input_sync(input); in mma8450_poll()
115 static int mma8450_open(struct input_dev *input) in mma8450_open() argument
117 struct i2c_client *c = input_get_drvdata(input); in mma8450_open()
138 static void mma8450_close(struct input_dev *input) in mma8450_close() argument
140 struct i2c_client *c = input_get_drvdata(input); in mma8450_close()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Dipaq-micro-ts.c23 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 static int micro_ts_open(struct input_dev *input) in micro_ts_open() argument
[all …]
Dchipone_icn8318.c50 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->mutex); in icn8318_suspend()
157 if (input_device_enabled(data->input)) in icn8318_suspend()
158 icn8318_stop(data->input); in icn8318_suspend()
159 mutex_unlock(&data->input->mutex); in icn8318_suspend()
[all …]
/linux-6.1.9/drivers/media/pci/ddbridge/
Dddbridge-max.c70 struct ddb_input *input = fe->sec_priv; in max_send_master_cmd() local
71 struct ddb_port *port = input->port; in max_send_master_cmd()
73 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in max_send_master_cmd()
84 ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(dvb->input)); in max_send_master_cmd()
86 ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(dvb->input)); in max_send_master_cmd()
87 lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); in max_send_master_cmd()
92 static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input, in lnb_send_diseqc() argument
98 ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(input)); in lnb_send_diseqc()
100 ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(input)); in lnb_send_diseqc()
101 lnb_command(dev, link, input, LNB_CMD_DISEQC); in lnb_send_diseqc()
[all …]
/linux-6.1.9/drivers/input/keyboard/
Dopencores-kbd.c19 struct input_dev *input; member
28 struct input_dev *input = opencores_kbd->input; in opencores_kbd_isr() local
32 input_report_key(input, c & 0x7f, c & 0x80 ? 0 : 1); in opencores_kbd_isr()
33 input_sync(input); in opencores_kbd_isr()
40 struct input_dev *input; in opencores_kbd_probe() local
60 input = devm_input_allocate_device(&pdev->dev); in opencores_kbd_probe()
61 if (!input) { in opencores_kbd_probe()
66 opencores_kbd->input = input; in opencores_kbd_probe()
72 input->name = pdev->name; in opencores_kbd_probe()
73 input->phys = "opencores-kbd/input0"; in opencores_kbd_probe()
[all …]
Dgpio_keys_polled.c36 struct input_dev *input; member
44 static void gpio_keys_button_event(struct input_dev *input, in gpio_keys_button_event() argument
48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event()
53 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
62 input_event(input, type, button->code, state); in gpio_keys_button_event()
63 input_sync(input); in gpio_keys_button_event()
67 static void gpio_keys_polled_check_state(struct input_dev *input, in gpio_keys_polled_check_state() argument
75 dev_err(input->dev.parent, in gpio_keys_polled_check_state()
78 gpio_keys_button_event(input, button, state); in gpio_keys_polled_check_state()
[all …]
Dipaq-micro-keys.c25 struct input_dev *input; member
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
51 input_sync(keys->input); in micro_key_receive()
71 static int micro_key_open(struct input_dev *input) in micro_key_open() argument
73 struct ipaq_micro_keys *keys = input_get_drvdata(input); in micro_key_open()
80 static void micro_key_close(struct input_dev *input) in micro_key_close() argument
82 struct ipaq_micro_keys *keys = input_get_drvdata(input); in micro_key_close()
99 keys->input = devm_input_allocate_device(&pdev->dev); in micro_key_probe()
100 if (!keys->input) in micro_key_probe()
103 keys->input->keycodesize = sizeof(micro_keycodes[0]); in micro_key_probe()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_fdir.c667 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input, in ice_fdir_get_prgm_desc() argument
676 fdir_fltr_ctx.fdid = input->fltr_id; in ice_fdir_get_prgm_desc()
677 if (input->dest_ctl == ICE_FLTR_PRGM_DESC_DEST_DROP_PKT) { in ice_fdir_get_prgm_desc()
680 } else if (input->dest_ctl == in ice_fdir_get_prgm_desc()
685 if (input->dest_ctl == in ice_fdir_get_prgm_desc()
687 fdir_fltr_ctx.toq = input->q_region; in ice_fdir_get_prgm_desc()
689 fdir_fltr_ctx.qindex = input->q_index; in ice_fdir_get_prgm_desc()
691 fdir_fltr_ctx.cnt_ena = input->cnt_ena; in ice_fdir_get_prgm_desc()
692 fdir_fltr_ctx.cnt_index = input->cnt_index; in ice_fdir_get_prgm_desc()
693 fdir_fltr_ctx.fd_vsi = ice_get_hw_vsi_num(hw, input->dest_vsi); in ice_fdir_get_prgm_desc()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dtegra124-nyan-big.dts47 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
54 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
61 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
68 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
75 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
82 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
89 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
96 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
103 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
110 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
Dtegra124-nyan-blaze.dts45 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
52 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
59 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
66 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
73 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
80 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
87 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
94 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
101 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
108 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
/linux-6.1.9/drivers/input/mouse/
Dnavpoint.c33 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 static int navpoint_open(struct input_dev *input) in navpoint_open() argument
191 struct navpoint *navpoint = input_get_drvdata(input); in navpoint_open()
[all …]
/linux-6.1.9/drivers/input/joystick/
Dpsxpad-spi.c189 static int psxpad_spi_poll_open(struct input_dev *input) in psxpad_spi_poll_open() argument
191 struct psxpad *pad = input_get_drvdata(input); in psxpad_spi_poll_open()
198 static void psxpad_spi_poll_close(struct input_dev *input) in psxpad_spi_poll_close() argument
200 struct psxpad *pad = input_get_drvdata(input); in psxpad_spi_poll_close()
205 static void psxpad_spi_poll(struct input_dev *input) in psxpad_spi_poll() argument
207 struct psxpad *pad = input_get_drvdata(input); in psxpad_spi_poll()
229 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll()
230 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); in psxpad_spi_poll()
231 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); in psxpad_spi_poll()
232 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); in psxpad_spi_poll()
[all …]

12345678910>>...107