Home
last modified time | relevance | path

Searched refs:wdata (Results 1 - 25 of 98) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-wiimote-modules.c22 * wdata->input is a shared input device. It is always initialized prior to
62 static void wiimod_keys_in_keys(struct wiimote_data *wdata, const __u8 *keys) in wiimod_keys_in_keys() argument
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_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 in wiimod_keys_in_keys()
89 wiimod_keys_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_keys_probe() argument
122 struct wiimote_data *wdata = container_of(work, struct wiimote_data, wiimod_rumble_worker() local
133 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_rumble_play() local
155 wiimod_rumble_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_rumble_probe() argument
167 wiimod_rumble_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_rumble_remove() argument
203 struct wiimote_data *wdata = power_supply_get_drvdata(psy); wiimod_battery_get_property() local
234 wiimod_battery_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_battery_probe() argument
268 wiimod_battery_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_battery_remove() argument
297 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_led_get() local
318 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_led_set() local
338 wiimod_led_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_led_probe() argument
380 wiimod_led_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_led_remove() argument
425 wiimod_accel_in_accel(struct wiimote_data *wdata, const __u8 *accel) wiimod_accel_in_accel() argument
461 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_accel_open() local
473 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_accel_close() local
481 wiimod_accel_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_accel_probe() argument
522 wiimod_accel_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_accel_remove() argument
550 wiimod_ir_in_ir(struct wiimote_data *wdata, const __u8 *ir, bool packed, unsigned int id) wiimod_ir_in_ir() argument
607 wiimod_ir_change(struct wiimote_data *wdata, __u16 mode) wiimod_ir_change() argument
721 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_ir_open() local
728 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_ir_close() local
733 wiimod_ir_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_ir_probe() argument
784 wiimod_ir_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_ir_remove() argument
820 wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_nunchuk_in_ext() argument
906 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_nunchuk_open() local
919 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_nunchuk_close() local
928 wiimod_nunchuk_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_nunchuk_probe() argument
981 wiimod_nunchuk_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_nunchuk_remove() argument
1044 wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_classic_in_ext() argument
1200 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_classic_open() local
1213 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_classic_close() local
1222 wiimod_classic_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_classic_probe() argument
1278 wiimod_classic_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_classic_remove() argument
1309 wiimod_bboard_in_keys(struct wiimote_data *wdata, const __u8 *keys) wiimod_bboard_in_keys() argument
1316 wiimod_bboard_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_bboard_in_ext() argument
1391 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_bboard_open() local
1404 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_bboard_close() local
1417 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_bboard_calib_show() local
1467 wiimod_bboard_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_bboard_probe() argument
1551 wiimod_bboard_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_bboard_remove() argument
1623 wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_pro_in_ext() argument
1766 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_open() local
1779 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_close() local
1791 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_play() local
1817 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_pro_calib_show() local
1833 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_pro_calib_store() local
1862 wiimod_pro_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_pro_probe() argument
1941 wiimod_pro_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_pro_remove() argument
1977 wiimod_drums_report_pressure(struct wiimote_data *wdata, __u8 none, __u8 which, __u8 pressure, __u8 onoff, __u8 *store, __u16 code, __u8 which_code) wiimod_drums_report_pressure() argument
1994 wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_drums_in_ext() argument
2086 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_drums_open() local
2099 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_drums_close() local
2108 wiimod_drums_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_drums_probe() argument
2172 wiimod_drums_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_drums_remove() argument
2223 wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_guitar_in_ext() argument
2316 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_guitar_open() local
2329 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_guitar_close() local
2338 wiimod_guitar_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_guitar_probe() argument
2388 wiimod_guitar_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_guitar_remove() argument
2413 wiimod_builtin_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_builtin_mp_probe() argument
2425 wiimod_builtin_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_builtin_mp_remove() argument
2449 wiimod_no_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_no_mp_probe() argument
2461 wiimod_no_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_no_mp_remove() argument
2488 wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext) wiimod_mp_in_mp() argument
2549 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_mp_open() local
2563 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_mp_close() local
2573 wiimod_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_mp_probe() argument
2615 wiimod_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_mp_remove() argument
[all...]
H A Dhid-wiimote-core.c45 struct wiimote_data *wdata = container_of(queue, struct wiimote_data, in wiimote_queue_worker() local
50 spin_lock_irqsave(&wdata->queue.lock, flags); in wiimote_queue_worker()
52 while (wdata->queue.head != wdata->queue.tail) { in wiimote_queue_worker()
53 spin_unlock_irqrestore(&wdata->queue.lock, flags); in wiimote_queue_worker()
54 ret = wiimote_hid_send(wdata->hdev, in wiimote_queue_worker()
55 wdata->queue.outq[wdata->queue.tail].data, in wiimote_queue_worker()
56 wdata->queue.outq[wdata in wiimote_queue_worker()
70 wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, size_t count) wiimote_queue() argument
124 wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) wiiproto_keep_rumble() argument
130 wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) wiiproto_req_rumble() argument
150 wiiproto_req_leds(struct wiimote_data *wdata, int leds) wiiproto_req_leds() argument
194 select_drm(struct wiimote_data *wdata) select_drm() argument
240 wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm) wiiproto_req_drm() argument
258 wiiproto_req_status(struct wiimote_data *wdata) wiiproto_req_status() argument
269 wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) wiiproto_req_accel() argument
283 wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags) wiiproto_req_ir1() argument
294 wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags) wiiproto_req_ir2() argument
311 wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, const __u8 *buf, __u8 size) wiiproto_req_wmem() argument
336 wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, __u16 size) wiiproto_req_rmem() argument
362 wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, const __u8 *wmem, __u8 size) wiimote_cmd_write() argument
381 wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, __u8 size) wiimote_cmd_read() argument
411 wiimote_cmd_init_ext(struct wiimote_data *wdata) wiimote_cmd_init_ext() argument
432 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem) wiimote_cmd_read_ext() argument
466 wiimote_cmd_init_mp(struct wiimote_data *wdata) wiimote_cmd_init_mp() argument
487 wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype) wiimote_cmd_map_mp() argument
510 wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem) wiimote_cmd_read_mp() argument
530 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata) wiimote_cmd_read_mp_mapped() argument
620 wiimote_modules_load(struct wiimote_data *wdata, unsigned int devtype) wiimote_modules_load() argument
685 wiimote_modules_unload(struct wiimote_data *wdata) wiimote_modules_unload() argument
720 wiimote_ext_load(struct wiimote_data *wdata, unsigned int ext) wiimote_ext_load() argument
739 wiimote_ext_unload(struct wiimote_data *wdata) wiimote_ext_unload() argument
755 wiimote_mp_load(struct wiimote_data *wdata) wiimote_mp_load() argument
774 wiimote_mp_unload(struct wiimote_data *wdata) wiimote_mp_unload() argument
809 wiimote_init_set_type(struct wiimote_data *wdata, __u8 exttype) wiimote_init_set_type() argument
863 wiimote_init_detect(struct wiimote_data *wdata) wiimote_init_detect() argument
909 wiimote_init_poll_mp(struct wiimote_data *wdata) wiimote_init_poll_mp() argument
942 wiimote_init_check(struct wiimote_data *wdata) wiimote_init_check() argument
1095 wiimote_init_hotplug(struct wiimote_data *wdata) wiimote_init_hotplug() argument
1205 struct wiimote_data *wdata = container_of(work, struct wiimote_data, wiimote_init_worker() local
1221 __wiimote_schedule(struct wiimote_data *wdata) __wiimote_schedule() argument
1227 wiimote_schedule(struct wiimote_data *wdata) wiimote_schedule() argument
1238 struct wiimote_data *wdata = from_timer(wdata, t, timer); wiimote_init_timeout() local
1245 handler_keys(struct wiimote_data *wdata, const __u8 *payload) handler_keys() argument
1266 handler_accel(struct wiimote_data *wdata, const __u8 *payload) handler_accel() argument
1299 handler_ext(struct wiimote_data *wdata, const __u8 *payload, size_t len) handler_ext() argument
1387 handler_ir(struct wiimote_data *wdata, const __u8 *payload, bool packed, unsigned int id) handler_ir() argument
1410 handler_status_K(struct wiimote_data *wdata, const __u8 *payload) handler_status_K() argument
1420 handler_status(struct wiimote_data *wdata, const __u8 *payload) handler_status() argument
1448 handler_generic_K(struct wiimote_data *wdata, const __u8 *payload) handler_generic_K() argument
1453 handler_data(struct wiimote_data *wdata, const __u8 *payload) handler_data() argument
1474 handler_return(struct wiimote_data *wdata, const __u8 *payload) handler_return() argument
1490 handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KA() argument
1496 handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KE() argument
1502 handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAI() argument
1512 handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KEE() argument
1518 handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KIE() argument
1528 handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAE() argument
1535 handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAIE() argument
1546 handler_drm_E(struct wiimote_data *wdata, const __u8 *payload) handler_drm_E() argument
1551 handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload) handler_drm_SKAI1() argument
1563 handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload) handler_drm_SKAI2() argument
1620 struct wiimote_data *wdata = hid_get_drvdata(hdev); wiimote_hid_event() local
1649 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_ext_show() local
1682 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_ext_store() local
1700 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_dev_show() local
1731 struct wiimote_data *wdata; wiimote_create() local
1755 wiimote_destroy(struct wiimote_data *wdata) wiimote_destroy() argument
1785 struct wiimote_data *wdata; wiimote_hid_probe() local
1856 struct wiimote_data *wdata = hid_get_drvdata(hdev); wiimote_hid_remove() local
[all...]
H A Dhid-wiimote.h193 struct wiimote_data *wdata);
195 struct wiimote_data *wdata);
197 void (*in_keys) (struct wiimote_data *wdata, const __u8 *keys);
198 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
199 void (*in_ir) (struct wiimote_data *wdata, const __u8 *ir, bool packed,
201 void (*in_mp) (struct wiimote_data *wdata, const __u8 *mp);
202 void (*in_ext) (struct wiimote_data *wdata, const __u8 *ext);
263 void __wiimote_schedule(struct wiimote_data *wdata);
265 extern void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm);
266 extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u
297 wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, __u32 opt) wiimote_cmd_pending() argument
304 wiimote_cmd_complete(struct wiimote_data *wdata) wiimote_cmd_complete() argument
311 wiimote_cmd_abort(struct wiimote_data *wdata) wiimote_cmd_abort() argument
320 wiimote_cmd_acquire(struct wiimote_data *wdata) wiimote_cmd_acquire() argument
325 wiimote_cmd_acquire_noint(struct wiimote_data *wdata) wiimote_cmd_acquire_noint() argument
331 wiimote_cmd_set(struct wiimote_data *wdata, int cmd, __u32 opt) wiimote_cmd_set() argument
339 wiimote_cmd_release(struct wiimote_data *wdata) wiimote_cmd_release() argument
344 wiimote_cmd_wait(struct wiimote_data *wdata) wiimote_cmd_wait() argument
363 wiimote_cmd_wait_noint(struct wiimote_data *wdata) wiimote_cmd_wait_noint() argument
[all...]
H A Dhid-wiimote-debug.c18 struct wiimote_data *wdata; member
27 struct wiimote_data *wdata = dbg->wdata; in wiidebug_eeprom_read() local
40 ret = wiimote_cmd_acquire(wdata); in wiidebug_eeprom_read()
44 spin_lock_irqsave(&wdata->state.lock, flags); in wiidebug_eeprom_read()
45 wdata->state.cmd_read_size = s; in wiidebug_eeprom_read()
46 wdata->state.cmd_read_buf = buf; in wiidebug_eeprom_read()
47 wiimote_cmd_set(wdata, WIIPROTO_REQ_RMEM, *off & 0xffff); in wiidebug_eeprom_read()
48 wiiproto_req_reeprom(wdata, *off, s); in wiidebug_eeprom_read()
49 spin_unlock_irqrestore(&wdata in wiidebug_eeprom_read()
172 wiidebug_init(struct wiimote_data *wdata) wiidebug_init() argument
207 wiidebug_deinit(struct wiimote_data *wdata) wiidebug_deinit() argument
[all...]
H A Dhid-lg4ff.c85 struct lg4ff_wheel_data wdata; member
311 switch (entry->wdata.product_id) { in lg4ff_adjust_input_event()
315 new_value = lg4ff_adjust_dfp_x_axis(value, entry->wdata.range); in lg4ff_adjust_input_event()
336 if (entry->wdata.combine) { in lg4ff_raw_event()
337 switch (entry->wdata.product_id) { in lg4ff_raw_event()
377 static void lg4ff_init_wheel_data(struct lg4ff_wheel_data * const wdata, const struct lg4ff_wheel *wheel, in lg4ff_init_wheel_data() argument
402 memcpy(wdata, &t_wdata, sizeof(t_wdata)); in lg4ff_init_wheel_data()
515 switch (entry->wdata.product_id) { in lg4ff_set_autocenter_default()
818 if (!entry->wdata.real_name) { in lg4ff_alternate_modes_show()
824 if (entry->wdata in lg4ff_alternate_modes_show()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-wiimote-core.c45 struct wiimote_data *wdata = container_of(queue, struct wiimote_data, in wiimote_queue_worker() local
50 spin_lock_irqsave(&wdata->queue.lock, flags); in wiimote_queue_worker()
52 while (wdata->queue.head != wdata->queue.tail) { in wiimote_queue_worker()
53 spin_unlock_irqrestore(&wdata->queue.lock, flags); in wiimote_queue_worker()
54 ret = wiimote_hid_send(wdata->hdev, in wiimote_queue_worker()
55 wdata->queue.outq[wdata->queue.tail].data, in wiimote_queue_worker()
56 wdata->queue.outq[wdata in wiimote_queue_worker()
70 wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, size_t count) wiimote_queue() argument
124 wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) wiiproto_keep_rumble() argument
130 wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) wiiproto_req_rumble() argument
150 wiiproto_req_leds(struct wiimote_data *wdata, int leds) wiiproto_req_leds() argument
194 select_drm(struct wiimote_data *wdata) select_drm() argument
240 wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm) wiiproto_req_drm() argument
258 wiiproto_req_status(struct wiimote_data *wdata) wiiproto_req_status() argument
269 wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) wiiproto_req_accel() argument
283 wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags) wiiproto_req_ir1() argument
294 wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags) wiiproto_req_ir2() argument
311 wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, const __u8 *buf, __u8 size) wiiproto_req_wmem() argument
336 wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, __u16 size) wiiproto_req_rmem() argument
362 wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, const __u8 *wmem, __u8 size) wiimote_cmd_write() argument
381 wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, __u8 size) wiimote_cmd_read() argument
411 wiimote_cmd_init_ext(struct wiimote_data *wdata) wiimote_cmd_init_ext() argument
432 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem) wiimote_cmd_read_ext() argument
469 wiimote_cmd_init_mp(struct wiimote_data *wdata) wiimote_cmd_init_mp() argument
490 wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype) wiimote_cmd_map_mp() argument
514 wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem) wiimote_cmd_read_mp() argument
534 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata) wiimote_cmd_read_mp_mapped() argument
624 wiimote_modules_load(struct wiimote_data *wdata, unsigned int devtype) wiimote_modules_load() argument
689 wiimote_modules_unload(struct wiimote_data *wdata) wiimote_modules_unload() argument
724 wiimote_ext_load(struct wiimote_data *wdata, unsigned int ext) wiimote_ext_load() argument
743 wiimote_ext_unload(struct wiimote_data *wdata) wiimote_ext_unload() argument
759 wiimote_mp_load(struct wiimote_data *wdata) wiimote_mp_load() argument
778 wiimote_mp_unload(struct wiimote_data *wdata) wiimote_mp_unload() argument
813 wiimote_init_set_type(struct wiimote_data *wdata, __u8 exttype) wiimote_init_set_type() argument
867 wiimote_init_detect(struct wiimote_data *wdata) wiimote_init_detect() argument
913 wiimote_init_poll_mp(struct wiimote_data *wdata) wiimote_init_poll_mp() argument
946 wiimote_init_check(struct wiimote_data *wdata) wiimote_init_check() argument
1100 wiimote_init_hotplug(struct wiimote_data *wdata) wiimote_init_hotplug() argument
1210 struct wiimote_data *wdata = container_of(work, struct wiimote_data, wiimote_init_worker() local
1226 __wiimote_schedule(struct wiimote_data *wdata) __wiimote_schedule() argument
1232 wiimote_schedule(struct wiimote_data *wdata) wiimote_schedule() argument
1243 struct wiimote_data *wdata = from_timer(wdata, t, timer); wiimote_init_timeout() local
1250 handler_keys(struct wiimote_data *wdata, const __u8 *payload) handler_keys() argument
1271 handler_accel(struct wiimote_data *wdata, const __u8 *payload) handler_accel() argument
1304 handler_ext(struct wiimote_data *wdata, const __u8 *payload, size_t len) handler_ext() argument
1392 handler_ir(struct wiimote_data *wdata, const __u8 *payload, bool packed, unsigned int id) handler_ir() argument
1415 handler_status_K(struct wiimote_data *wdata, const __u8 *payload) handler_status_K() argument
1425 handler_status(struct wiimote_data *wdata, const __u8 *payload) handler_status() argument
1453 handler_generic_K(struct wiimote_data *wdata, const __u8 *payload) handler_generic_K() argument
1458 handler_data(struct wiimote_data *wdata, const __u8 *payload) handler_data() argument
1479 handler_return(struct wiimote_data *wdata, const __u8 *payload) handler_return() argument
1495 handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KA() argument
1501 handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KE() argument
1507 handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAI() argument
1517 handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KEE() argument
1523 handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KIE() argument
1533 handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAE() argument
1540 handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload) handler_drm_KAIE() argument
1551 handler_drm_E(struct wiimote_data *wdata, const __u8 *payload) handler_drm_E() argument
1556 handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload) handler_drm_SKAI1() argument
1568 handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload) handler_drm_SKAI2() argument
1625 struct wiimote_data *wdata = hid_get_drvdata(hdev); wiimote_hid_event() local
1654 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_ext_show() local
1689 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_ext_store() local
1707 struct wiimote_data *wdata = dev_to_wii(dev); wiimote_dev_show() local
1738 struct wiimote_data *wdata; wiimote_create() local
1762 wiimote_destroy(struct wiimote_data *wdata) wiimote_destroy() argument
1792 struct wiimote_data *wdata; wiimote_hid_probe() local
1863 struct wiimote_data *wdata = hid_get_drvdata(hdev); wiimote_hid_remove() local
[all...]
H A Dhid-wiimote-modules.c22 * wdata->input is a shared input device. It is always initialized prior to
62 static void wiimod_keys_in_keys(struct wiimote_data *wdata, const __u8 *keys) in wiimod_keys_in_keys() argument
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_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 in wiimod_keys_in_keys()
89 wiimod_keys_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_keys_probe() argument
122 struct wiimote_data *wdata = container_of(work, struct wiimote_data, wiimod_rumble_worker() local
133 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_rumble_play() local
155 wiimod_rumble_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_rumble_probe() argument
167 wiimod_rumble_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_rumble_remove() argument
203 struct wiimote_data *wdata = power_supply_get_drvdata(psy); wiimod_battery_get_property() local
234 wiimod_battery_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_battery_probe() argument
268 wiimod_battery_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_battery_remove() argument
297 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_led_get() local
318 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_led_set() local
338 wiimod_led_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_led_probe() argument
380 wiimod_led_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_led_remove() argument
425 wiimod_accel_in_accel(struct wiimote_data *wdata, const __u8 *accel) wiimod_accel_in_accel() argument
461 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_accel_open() local
473 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_accel_close() local
481 wiimod_accel_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_accel_probe() argument
522 wiimod_accel_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_accel_remove() argument
550 wiimod_ir_in_ir(struct wiimote_data *wdata, const __u8 *ir, bool packed, unsigned int id) wiimod_ir_in_ir() argument
607 wiimod_ir_change(struct wiimote_data *wdata, __u16 mode) wiimod_ir_change() argument
721 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_ir_open() local
728 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_ir_close() local
733 wiimod_ir_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_ir_probe() argument
784 wiimod_ir_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_ir_remove() argument
820 wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_nunchuk_in_ext() argument
906 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_nunchuk_open() local
919 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_nunchuk_close() local
928 wiimod_nunchuk_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_nunchuk_probe() argument
981 wiimod_nunchuk_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_nunchuk_remove() argument
1044 wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_classic_in_ext() argument
1200 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_classic_open() local
1213 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_classic_close() local
1222 wiimod_classic_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_classic_probe() argument
1278 wiimod_classic_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_classic_remove() argument
1309 wiimod_bboard_in_keys(struct wiimote_data *wdata, const __u8 *keys) wiimod_bboard_in_keys() argument
1316 wiimod_bboard_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_bboard_in_ext() argument
1391 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_bboard_open() local
1404 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_bboard_close() local
1417 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_bboard_calib_show() local
1467 wiimod_bboard_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_bboard_probe() argument
1551 wiimod_bboard_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_bboard_remove() argument
1623 wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_pro_in_ext() argument
1766 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_open() local
1779 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_close() local
1791 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_pro_play() local
1817 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_pro_calib_show() local
1833 struct wiimote_data *wdata = dev_to_wii(dev); wiimod_pro_calib_store() local
1862 wiimod_pro_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_pro_probe() argument
1941 wiimod_pro_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_pro_remove() argument
1977 wiimod_drums_report_pressure(struct wiimote_data *wdata, __u8 none, __u8 which, __u8 pressure, __u8 onoff, __u8 *store, __u16 code, __u8 which_code) wiimod_drums_report_pressure() argument
1994 wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_drums_in_ext() argument
2086 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_drums_open() local
2099 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_drums_close() local
2108 wiimod_drums_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_drums_probe() argument
2172 wiimod_drums_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_drums_remove() argument
2223 wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_guitar_in_ext() argument
2316 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_guitar_open() local
2329 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_guitar_close() local
2338 wiimod_guitar_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_guitar_probe() argument
2388 wiimod_guitar_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_guitar_remove() argument
2439 wiimod_turntable_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_turntable_in_ext() argument
2535 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_turntable_open() local
2548 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_turntable_close() local
2557 wiimod_turntable_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_turntable_probe() argument
2612 wiimod_turntable_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_turntable_remove() argument
2637 wiimod_builtin_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_builtin_mp_probe() argument
2649 wiimod_builtin_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_builtin_mp_remove() argument
2673 wiimod_no_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_no_mp_probe() argument
2685 wiimod_no_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_no_mp_remove() argument
2712 wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext) wiimod_mp_in_mp() argument
2773 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_mp_open() local
2787 struct wiimote_data *wdata = input_get_drvdata(dev); wiimod_mp_close() local
2797 wiimod_mp_probe(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_mp_probe() argument
2839 wiimod_mp_remove(const struct wiimod_ops *ops, struct wiimote_data *wdata) wiimod_mp_remove() argument
[all...]
H A Dhid-wiimote.h194 struct wiimote_data *wdata);
196 struct wiimote_data *wdata);
198 void (*in_keys) (struct wiimote_data *wdata, const __u8 *keys);
199 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
200 void (*in_ir) (struct wiimote_data *wdata, const __u8 *ir, bool packed,
202 void (*in_mp) (struct wiimote_data *wdata, const __u8 *mp);
203 void (*in_ext) (struct wiimote_data *wdata, const __u8 *ext);
264 void __wiimote_schedule(struct wiimote_data *wdata);
266 extern void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm);
267 extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u
298 wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, __u32 opt) wiimote_cmd_pending() argument
305 wiimote_cmd_complete(struct wiimote_data *wdata) wiimote_cmd_complete() argument
312 wiimote_cmd_abort(struct wiimote_data *wdata) wiimote_cmd_abort() argument
321 wiimote_cmd_acquire(struct wiimote_data *wdata) wiimote_cmd_acquire() argument
326 wiimote_cmd_acquire_noint(struct wiimote_data *wdata) wiimote_cmd_acquire_noint() argument
332 wiimote_cmd_set(struct wiimote_data *wdata, int cmd, __u32 opt) wiimote_cmd_set() argument
340 wiimote_cmd_release(struct wiimote_data *wdata) wiimote_cmd_release() argument
345 wiimote_cmd_wait(struct wiimote_data *wdata) wiimote_cmd_wait() argument
364 wiimote_cmd_wait_noint(struct wiimote_data *wdata) wiimote_cmd_wait_noint() argument
[all...]
H A Dhid-wiimote-debug.c18 struct wiimote_data *wdata; member
27 struct wiimote_data *wdata = dbg->wdata; in wiidebug_eeprom_read() local
40 ret = wiimote_cmd_acquire(wdata); in wiidebug_eeprom_read()
44 spin_lock_irqsave(&wdata->state.lock, flags); in wiidebug_eeprom_read()
45 wdata->state.cmd_read_size = s; in wiidebug_eeprom_read()
46 wdata->state.cmd_read_buf = buf; in wiidebug_eeprom_read()
47 wiimote_cmd_set(wdata, WIIPROTO_REQ_RMEM, *off & 0xffff); in wiidebug_eeprom_read()
48 wiiproto_req_reeprom(wdata, *off, s); in wiidebug_eeprom_read()
49 spin_unlock_irqrestore(&wdata in wiidebug_eeprom_read()
172 wiidebug_init(struct wiimote_data *wdata) wiidebug_init() argument
197 wiidebug_deinit(struct wiimote_data *wdata) wiidebug_deinit() argument
[all...]
H A Dhid-lg4ff.c85 struct lg4ff_wheel_data wdata; member
311 switch (entry->wdata.product_id) { in lg4ff_adjust_input_event()
315 new_value = lg4ff_adjust_dfp_x_axis(value, entry->wdata.range); in lg4ff_adjust_input_event()
336 if (entry->wdata.combine) { in lg4ff_raw_event()
337 switch (entry->wdata.product_id) { in lg4ff_raw_event()
377 static void lg4ff_init_wheel_data(struct lg4ff_wheel_data * const wdata, const struct lg4ff_wheel *wheel, in lg4ff_init_wheel_data() argument
402 memcpy(wdata, &t_wdata, sizeof(t_wdata)); in lg4ff_init_wheel_data()
515 switch (entry->wdata.product_id) { in lg4ff_set_autocenter_default()
818 if (!entry->wdata.real_name) { in lg4ff_alternate_modes_show()
824 if (entry->wdata in lg4ff_alternate_modes_show()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Defibc.c41 efi_char16_t *wdata; in efibc_reboot_notifier_call() local
50 wdata = kmalloc(MAX_DATA_LEN * sizeof(efi_char16_t), GFP_KERNEL); in efibc_reboot_notifier_call()
51 if (!wdata) in efibc_reboot_notifier_call()
55 wdata[l] = str[l]; in efibc_reboot_notifier_call()
56 wdata[l] = L'\0'; in efibc_reboot_notifier_call()
58 efibc_set_variable(L"LoaderEntryOneShot", wdata, l); in efibc_reboot_notifier_call()
60 kfree(wdata); in efibc_reboot_notifier_call()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dfile.c2419 struct cifs_writedata *wdata = container_of(refcount, in cifs_writedata_release() local
2422 if (wdata->mr) { in cifs_writedata_release()
2423 smbd_deregister_mr(wdata->mr); in cifs_writedata_release()
2424 wdata->mr = NULL; in cifs_writedata_release()
2428 if (wdata->cfile) in cifs_writedata_release()
2429 cifsFileInfo_put(wdata->cfile); in cifs_writedata_release()
2431 kfree(wdata); in cifs_writedata_release()
2439 cifs_writev_requeue(struct cifs_writedata *wdata) in cifs_writev_requeue() argument
2442 struct inode *inode = d_inode(wdata->cfile->dentry); in cifs_writev_requeue()
2444 unsigned int rest_len = wdata in cifs_writev_requeue()
2523 struct cifs_writedata *wdata = container_of(work, cifs_writev_complete() local
2550 struct cifs_writedata *wdata; cifs_writedata_alloc() local
2743 struct cifs_writedata *wdata; cifs_write_back_from_locked_folio() local
3263 struct cifs_writedata *wdata = container_of(refcount, cifs_uncached_writedata_release() local
3275 struct cifs_writedata *wdata = container_of(work, cifs_uncached_writev_complete() local
3293 cifs_resend_wdata(struct cifs_writedata *wdata, struct list_head *wdata_list, struct cifs_aio_ctx *ctx) cifs_resend_wdata() argument
3410 struct cifs_writedata *wdata; cifs_write_from_iter() local
3518 struct cifs_writedata *wdata, *tmp; collect_uncached_write_data() local
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dfile.c2199 struct cifs_writedata *wdata; in wdata_alloc_and_fillpages() local
2201 wdata = cifs_writedata_alloc((unsigned int)tofind, in wdata_alloc_and_fillpages()
2203 if (!wdata) in wdata_alloc_and_fillpages()
2207 PAGECACHE_TAG_DIRTY, tofind, wdata->pages); in wdata_alloc_and_fillpages()
2208 return wdata; in wdata_alloc_and_fillpages()
2212 wdata_prepare_pages(struct cifs_writedata *wdata, unsigned int found_pages, in wdata_prepare_pages() argument
2221 page = wdata->pages[i]; in wdata_prepare_pages()
2272 wdata->pages[i] = page; in wdata_prepare_pages()
2279 *index = wdata->pages[0]->index + 1; in wdata_prepare_pages()
2283 put_page(wdata in wdata_prepare_pages()
2291 wdata_send_pages(struct cifs_writedata *wdata, unsigned int nr_pages, struct address_space *mapping, struct writeback_control *wbc) wdata_send_pages() argument
2327 struct cifs_writedata *wdata; cifs_writepages() local
2753 struct cifs_writedata *wdata = container_of(refcount, cifs_uncached_writedata_release() local
2767 struct cifs_writedata *wdata = container_of(work, cifs_uncached_writev_complete() local
2785 wdata_fill_from_iovec(struct cifs_writedata *wdata, struct iov_iter *from, size_t *len, unsigned long *num_pages) wdata_fill_from_iovec() argument
2827 cifs_resend_wdata(struct cifs_writedata *wdata, struct list_head *wdata_list, struct cifs_aio_ctx *ctx) cifs_resend_wdata() argument
2905 struct cifs_writedata *wdata; cifs_write_from_iter() local
3064 struct cifs_writedata *wdata, *tmp; collect_uncached_write_data() local
[all...]
H A Dsmb2pdu.c4176 struct cifs_writedata *wdata = mid->callback_data; in smb2_writev_callback() local
4177 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); in smb2_writev_callback()
4178 struct TCP_Server_Info *server = wdata->server; in smb2_writev_callback()
4183 WARN_ONCE(wdata->server != mid->server, in smb2_writev_callback()
4184 "wdata server %p != mid server %p", in smb2_writev_callback()
4185 wdata->server, mid->server); in smb2_writev_callback()
4191 wdata->result = smb2_check_receive(mid, server, 0); in smb2_writev_callback()
4192 if (wdata->result != 0) in smb2_writev_callback()
4202 if (written > wdata->bytes) in smb2_writev_callback()
4205 if (written < wdata in smb2_writev_callback()
4257 smb2_async_writev(struct cifs_writedata *wdata, void (*release)(struct kref *kref)) smb2_async_writev() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmsi-laptop.c158 u8 wdata = 0, rdata; in get_lcd_level() local
161 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_lcd_level()
171 u8 wdata = 4, rdata; in get_auto_brightness() local
174 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_auto_brightness()
184 u8 wdata[2], rdata; in set_auto_brightness() local
187 wdata[0] = 4; in set_auto_brightness()
189 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, 1, in set_auto_brightness()
194 wdata[0] = 0x84; in set_auto_brightness()
195 wdata[1] = (rdata & 0xF7) | (enable ? 8 : 0); in set_auto_brightness()
197 return ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, in set_auto_brightness()
204 u8 wdata = 0, rdata; set_device_state() local
235 u8 wdata = 0, rdata; get_wireless_state() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H A Dpvrusb2-i2c-core.c164 u8 *wdata, in pvr2_i2c_basic_op()
170 if (!wdata) wlen = 0; in pvr2_i2c_basic_op()
172 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); in pvr2_i2c_basic_op()
174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); in pvr2_i2c_basic_op()
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_24xxx_ir()
256 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_wm8775()
262 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); in i2c_hack_wm8775()
269 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_black_hole()
282 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_cx25840()
297 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wle in i2c_hack_cx25840()
162 pvr2_i2c_basic_op(struct pvr2_hdw *hdw, u8 i2c_addr, u8 *wdata, u16 wlen, u8 *rdata, u16 rlen) pvr2_i2c_basic_op() argument
185 i2c_24xxx_ir(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_24xxx_ir() argument
255 i2c_hack_wm8775(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_hack_wm8775() argument
268 i2c_black_hole(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_black_hole() argument
281 i2c_hack_cx25840(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_hack_cx25840() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H A Dpvrusb2-i2c-core.c164 u8 *wdata, in pvr2_i2c_basic_op()
170 if (!wdata) wlen = 0; in pvr2_i2c_basic_op()
172 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); in pvr2_i2c_basic_op()
174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); in pvr2_i2c_basic_op()
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_24xxx_ir()
256 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_wm8775()
262 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); in i2c_hack_wm8775()
269 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_black_hole()
282 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_cx25840()
297 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wle in i2c_hack_cx25840()
162 pvr2_i2c_basic_op(struct pvr2_hdw *hdw, u8 i2c_addr, u8 *wdata, u16 wlen, u8 *rdata, u16 rlen) pvr2_i2c_basic_op() argument
185 i2c_24xxx_ir(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_24xxx_ir() argument
255 i2c_hack_wm8775(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_hack_wm8775() argument
268 i2c_black_hole(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_black_hole() argument
281 i2c_hack_cx25840(struct pvr2_hdw *hdw, u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) i2c_hack_cx25840() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dwow.c38 u32 wdata) in rtw_wow_pattern_write_cam()
40 rtw_write32(rtwdev, REG_WKFMCAM_RWD, wdata); in rtw_wow_pattern_write_cam()
53 u32 wdata; in rtw_wow_pattern_write_cam_ent() local
57 wdata = rtw_pattern->mask[i * 4]; in rtw_wow_pattern_write_cam_ent()
58 wdata |= rtw_pattern->mask[i * 4 + 1] << 8; in rtw_wow_pattern_write_cam_ent()
59 wdata |= rtw_pattern->mask[i * 4 + 2] << 16; in rtw_wow_pattern_write_cam_ent()
60 wdata |= rtw_pattern->mask[i * 4 + 3] << 24; in rtw_wow_pattern_write_cam_ent()
61 rtw_wow_pattern_write_cam(rtwdev, addr, wdata); in rtw_wow_pattern_write_cam_ent()
64 wdata = rtw_pattern->crc; in rtw_wow_pattern_write_cam_ent()
69 wdata | in rtw_wow_pattern_write_cam_ent()
37 rtw_wow_pattern_write_cam(struct rtw_dev *rtwdev, u8 addr, u32 wdata) rtw_wow_pattern_write_cam() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dwow.c66 u32 wdata) in rtw_wow_pattern_write_cam()
68 rtw_write32(rtwdev, REG_WKFMCAM_RWD, wdata); in rtw_wow_pattern_write_cam()
81 u32 wdata; in rtw_wow_pattern_write_cam_ent() local
85 wdata = rtw_pattern->mask[i * 4]; in rtw_wow_pattern_write_cam_ent()
86 wdata |= rtw_pattern->mask[i * 4 + 1] << 8; in rtw_wow_pattern_write_cam_ent()
87 wdata |= rtw_pattern->mask[i * 4 + 2] << 16; in rtw_wow_pattern_write_cam_ent()
88 wdata |= rtw_pattern->mask[i * 4 + 3] << 24; in rtw_wow_pattern_write_cam_ent()
89 rtw_wow_pattern_write_cam(rtwdev, addr, wdata); in rtw_wow_pattern_write_cam_ent()
92 wdata = rtw_pattern->crc; in rtw_wow_pattern_write_cam_ent()
97 wdata | in rtw_wow_pattern_write_cam_ent()
65 rtw_wow_pattern_write_cam(struct rtw_dev *rtwdev, u8 addr, u32 wdata) rtw_wow_pattern_write_cam() argument
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dmsi-laptop.c160 u8 wdata = 0, rdata; in get_lcd_level() local
163 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_lcd_level()
173 u8 wdata = 4, rdata; in get_auto_brightness() local
176 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_auto_brightness()
186 u8 wdata[2], rdata; in set_auto_brightness() local
189 wdata[0] = 4; in set_auto_brightness()
191 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, 1, in set_auto_brightness()
196 wdata[0] = 0x84; in set_auto_brightness()
197 wdata[1] = (rdata & 0xF7) | (enable ? 8 : 0); in set_auto_brightness()
199 return ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, in set_auto_brightness()
206 u8 wdata = 0, rdata; set_device_state() local
237 u8 wdata = 0, rdata; get_wireless_state() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c43 u32 wdata; /* write data register */ member
149 plgpio->regs.wdata); in plgpio_direction_output()
152 plgpio->regs.wdata); in plgpio_direction_output()
192 plgpio_reg_set(plgpio->base, offset, plgpio->regs.wdata); in plgpio_set_value()
194 plgpio_reg_reset(plgpio->base, offset, plgpio->regs.wdata); in plgpio_set_value()
470 if (!of_property_read_u32(np, "st-plgpio,wdata-reg", &val)) { in plgpio_probe_dt()
471 plgpio->regs.wdata = val; in plgpio_probe_dt()
473 dev_err(&pdev->dev, "DT: Invalid wdata reg\n"); in plgpio_probe_dt()
622 plgpio->csave_regs[i].wdata = readl_relaxed(plgpio->regs.wdata in plgpio_suspend()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
H A Dcx25821-i2c.c71 u32 wdata, addr, ctrl; in i2c_sendbytes() local
97 wdata = msg->buf[0]; in i2c_sendbytes()
107 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
124 wdata = msg->buf[cnt]; in i2c_sendbytes()
133 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
H A Dcx23885-i2c.c72 u32 wdata, addr, ctrl; in i2c_sendbytes() local
97 wdata = msg->buf[0]; in i2c_sendbytes()
106 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
119 wdata = msg->buf[cnt]; in i2c_sendbytes()
128 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/
H A Dcx23885-i2c.c72 u32 wdata, addr, ctrl; in i2c_sendbytes() local
97 wdata = msg->buf[0]; in i2c_sendbytes()
106 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
119 wdata = msg->buf[cnt]; in i2c_sendbytes()
128 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
/kernel/linux/linux-6.6/drivers/media/pci/cx25821/
H A Dcx25821-i2c.c71 u32 wdata, addr, ctrl; in i2c_sendbytes() local
97 wdata = msg->buf[0]; in i2c_sendbytes()
107 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
124 wdata = msg->buf[cnt]; in i2c_sendbytes()
133 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()

Completed in 34 milliseconds

1234