Home
last modified time | relevance | path

Searched refs:wdata (Results 1 – 25 of 41) sorted by relevance

12

/linux/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->queue.tail].size); in wiimote_queue_worker()
58 spin_lock_irqsave(&wdata->state.lock, flags); in wiimote_queue_worker()
59 wiimote_cmd_abort(wdata); in wiimote_queue_worker()
60 spin_unlock_irqrestore(&wdata->state.lock, flags); in wiimote_queue_worker()
[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()
90 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
156 wiimod_rumble_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_rumble_probe() argument
168 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
235 wiimod_battery_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_battery_probe() argument
269 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
339 wiimod_led_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_led_probe() argument
381 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
482 wiimod_accel_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_accel_probe() argument
523 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
734 wiimod_ir_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_ir_probe() argument
785 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
929 wiimod_nunchuk_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_nunchuk_probe() argument
982 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
1223 wiimod_classic_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_classic_probe() argument
1279 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
1468 wiimod_bboard_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_bboard_probe() argument
1552 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
1863 wiimod_pro_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_pro_probe() argument
1942 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
2109 wiimod_drums_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_drums_probe() argument
2173 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
2339 wiimod_guitar_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_guitar_probe() argument
2389 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
2558 wiimod_turntable_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_turntable_probe() argument
2613 wiimod_turntable_remove(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_turntable_remove() argument
2638 wiimod_builtin_mp_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_builtin_mp_probe() argument
2650 wiimod_builtin_mp_remove(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_builtin_mp_remove() argument
2674 wiimod_no_mp_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_no_mp_probe() argument
2686 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
2798 wiimod_mp_probe(const struct wiimod_ops * ops,struct wiimote_data * wdata) wiimod_mp_probe() argument
2840 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, __u8 rumble);
[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->state.lock, flags); in wiidebug_eeprom_read()
51 ret = wiimote_cmd_wait(wdata); in wiidebug_eeprom_read()
[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 *… 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.alternate_modes & BIT(i)) { in lg4ff_alternate_modes_show()
[all …]
/linux/drivers/firmware/efi/
H A Defibc.c41 efi_char16_t *wdata; in efibc_reboot_notifier_call() local
50 wdata = kmalloc_objs(efi_char16_t, MAX_DATA_LEN); 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()
/linux/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, 2, in set_auto_brightness()
[all …]
H A Dmsi-ec.c1207 u8 wdata; in charge_control_threshold_store()
1210 result = kstrtou8(buf, 10, &wdata); in charge_control_threshold_store()
1214 wdata += offset; in charge_control_threshold_store()
1215 if (wdata < conf.charge_control.range_min || in charge_control_threshold_store()
1216 wdata > conf.charge_control.range_max) in charge_control_threshold_store()
1219 result = ec_write(conf.charge_control.address, wdata); in charge_control_threshold_store()
1206 u8 wdata; charge_control_threshold_store() local
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-i2c-core.c164 u8 *wdata, in pvr2_i2c_basic_op() argument
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() argument
256 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_wm8775() argument
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() argument
282 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_cx25840() argument
297 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); in i2c_hack_cx25840()
[all …]
/linux/fs/smb/client/
H A Dsmb2pdu.c4971 struct cifs_io_subrequest *wdata = mid->callback_data; in smb2_writev_callback()
4972 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in smb2_writev_callback()
4977 .rreq_debug_id = wdata->rreq->debug_id, in smb2_writev_callback()
4978 .rreq_debug_index = wdata->subreq.debug_index, in smb2_writev_callback()
4980 unsigned int rreq_debug_id = wdata->rreq->debug_id; in smb2_writev_callback()
4981 unsigned int subreq_debug_index = wdata->subreq.debug_index; in smb2_writev_callback()
4985 WARN_ONCE(wdata->server != server, in smb2_writev_callback()
4986 "wdata server %p != mid server %p", in smb2_writev_callback()
4987 wdata->server, server); in smb2_writev_callback()
4996 trace_netfs_sreq(&wdata in smb2_writev_callback()
4946 struct cifs_io_subrequest *wdata = mid->callback_data; smb2_writev_callback() local
5077 smb2_async_writev(struct cifs_io_subrequest * wdata) smb2_async_writev() argument
[all...]
H A Dfile.c48 struct cifs_io_subrequest *wdata = in cifs_prepare_write() local
50 struct cifs_io_request *req = wdata->req; in cifs_prepare_write()
54 struct cifs_sb_info *cifs_sb = CIFS_SB(wdata->rreq->inode->i_sb); in cifs_prepare_write()
58 if (!wdata->have_xid) { in cifs_prepare_write()
59 wdata->xid = get_xid(); in cifs_prepare_write()
60 wdata->have_xid = true; in cifs_prepare_write()
64 wdata->server = server; in cifs_prepare_write()
82 &wdata->credits); in cifs_prepare_write()
88 wdata->credits.rreq_debug_id = subreq->rreq->debug_id; in cifs_prepare_write()
89 wdata in cifs_prepare_write()
113 struct cifs_io_subrequest *wdata = cifs_issue_write() local
2517 cifs_write_subrequest_terminated(struct cifs_io_subrequest * wdata,ssize_t result) cifs_write_subrequest_terminated() argument
[all...]
H A Dcifssmb.c1886 struct cifs_io_subrequest *wdata = mid->callback_data; in cifs_writev_callback() local
1887 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in cifs_writev_callback()
1892 .rreq_debug_id = wdata->rreq->debug_id, in cifs_writev_callback()
1893 .rreq_debug_index = wdata->subreq.debug_index, in cifs_writev_callback()
1913 if (written > wdata->subreq.len) in cifs_writev_callback()
1916 if (written < wdata->subreq.len) { in cifs_writev_callback()
1921 __set_bit(NETFS_SREQ_MADE_PROGRESS, &wdata->subreq.flags); in cifs_writev_callback()
1925 trace_netfs_sreq(&wdata->subreq, netfs_sreq_trace_io_req_submitted); in cifs_writev_callback()
1926 __set_bit(NETFS_SREQ_NEED_RETRY, &wdata->subreq.flags); in cifs_writev_callback()
1930 trace_netfs_sreq(&wdata in cifs_writev_callback()
1960 cifs_async_writev(struct cifs_io_subrequest * wdata) cifs_async_writev() argument
[all...]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dwow.c66 u32 wdata) in rtw_wow_pattern_write_cam() argument
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 |= BIT_WKFMCAM_BC | BIT_WKFMCAM_VALID; in rtw_wow_pattern_write_cam_ent()
[all …]
/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c45 u32 wdata; /* write data register */ member
156 plgpio->regs.wdata); in plgpio_direction_output()
159 plgpio->regs.wdata); in plgpio_direction_output()
200 plgpio_reg_set(plgpio->regmap, offset, plgpio->regs.wdata); in plgpio_set_value()
202 plgpio_reg_reset(plgpio->regmap, offset, plgpio->regs.wdata); in plgpio_set_value()
484 plgpio->regs.wdata = val; in plgpio_probe_dt()
650 regmap_read(plgpio->regmap, plgpio->regs.wdata + off, in plgpio_suspend()
651 &plgpio->csave_regs[i].wdata); in plgpio_suspend()
695 plgpio_prepare_reg(wdata, off, mask, tmp); in plgpio_resume()
700 regmap_write(plgpio->regmap, plgpio->regs.wdata + off, in plgpio_resume()
[all …]
/linux/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()
/linux/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()
/linux/sound/soc/sof/
H A Dipc3-topology.c810 struct sof_widget_data *wdata, size_t *size) in sof_get_control_data()
827 wdata[i].control = sm->dobj.private; in sof_get_control_data()
831 wdata[i].control = sbe->dobj.private; in sof_get_control_data()
835 wdata[i].control = se->dobj.private; in sof_get_control_data()
843 if (!wdata[i].control) { in sof_get_control_data()
848 cdata = wdata[i].control->ipc_control_data; in sof_get_control_data()
855 wdata[i].pdata = cdata->data->data; in sof_get_control_data()
856 wdata[i].pdata_size = cdata->data->size; in sof_get_control_data()
859 wdata[i].pdata = cdata->chanv; in sof_get_control_data()
861 * wdata[ in sof_get_control_data()
802 sof_get_control_data(struct snd_soc_component * scomp,struct snd_soc_dapm_widget * widget,struct sof_widget_data * wdata,size_t * size) sof_get_control_data() argument
887 struct sof_widget_data *wdata = NULL; sof_process_load() local
[all...]
/linux/drivers/acpi/
H A Dec.c153 const u8 *wdata; member
683 acpi_ec_write_data(ec, t->wdata[t->wi++]); in advance_transaction()
823 if (!ec || (!t) || (t->wlen && !t->wdata) || (t->rlen && !t->rdata)) in acpi_ec_transaction()
848 .wdata = NULL, .rdata = &d, in acpi_ec_burst_enable()
857 .wdata = NULL, .rdata = NULL, in acpi_ec_burst_disable()
869 .wdata = &address, .rdata = &d, in acpi_ec_read()
882 .wdata = &address, .rdata = &d, in acpi_ec_read_unlocked()
892 u8 wdata[2] = { address, data }; in acpi_ec_write() local
894 .wdata = wdata, .rdata = NULL, in acpi_ec_write()
902 u8 wdata[2] = { address, data }; in acpi_ec_write_unlocked() local
[all …]
/linux/drivers/misc/
H A Dxilinx_sdfec.c462 u32 wdata; in xsdfec_reg0_write() local
477 wdata = k | n; in xsdfec_reg0_write()
489 wdata); in xsdfec_reg0_write()
496 u32 wdata; in xsdfec_reg1_write() local
512 wdata = nm | no_packing | psize; in xsdfec_reg1_write()
523 wdata); in xsdfec_reg1_write()
531 u32 wdata; in xsdfec_reg2_write() local
563 wdata = (max_schedule | no_final_parity | special_qc | norm_type | in xsdfec_reg2_write()
576 wdata); in xsdfec_reg2_write()
583 u32 wdata; in xsdfec_reg3_write() local
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-i2c.c308 u8 index, u8 *wdata) in mxl111sf_i2c_send_data() argument
310 int ret = mxl111sf_ctrl_msg(state, wdata[0], in mxl111sf_i2c_send_data()
311 &wdata[1], 25, NULL, 0); in mxl111sf_i2c_send_data()
318 u8 index, u8 *wdata, u8 *rdata) in mxl111sf_i2c_get_data() argument
320 int ret = mxl111sf_ctrl_msg(state, wdata[0], in mxl111sf_i2c_get_data()
321 &wdata[1], 25, rdata, 24); in mxl111sf_i2c_get_data()
/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_mdio.c18 static int spl2sw_mdio_access(struct spl2sw_common *comm, u8 cmd, u8 addr, u8 regnum, u16 wdata) in spl2sw_mdio_access() argument
31 reg2 = FIELD_PREP(MAC_CPU_PHY_WT_DATA, wdata) | FIELD_PREP(MAC_CPU_PHY_CMD, cmd) | in spl2sw_mdio_access()
/linux/drivers/net/usb/
H A Dcx82310_eth.c55 u8 *wdata, int wlen, u8 *rdata, int rlen) in cx82310_cmd() argument
66 if (wdata) in cx82310_cmd()
67 memcpy(buf + 4, wdata, min_t(int, wlen, CMD_PACKET_SIZE - 4)); in cx82310_cmd()
/linux/sound/ppc/
H A Ddaca.c41 unsigned short wdata = 0x00; in daca_init_client() local
48 2, (unsigned char*)&wdata); in daca_init_client()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_buffer.c269 __le16 wdata; in st_lsm6dsx_update_watermark()
303 wdata = cpu_to_le16(fifo_watermark); in st_lsm6dsx_update_watermark()
306 &wdata, sizeof(wdata)); in st_lsm6dsx_update_watermark()
265 __le16 wdata; st_lsm6dsx_update_watermark() local
/linux/drivers/i2c/
H A Di2c-core-acpi.c27 u16 wdata; member
737 gsb->wdata = status; in i2c_acpi_space_handler()
742 gsb->wdata); in i2c_acpi_space_handler()

12