Home
last modified time | relevance | path

Searched refs:dsp (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/drivers/isdn/mISDN/
H A Ddsp_cmx.c148 dsp_cmx_debug(struct dsp *dsp) in dsp_cmx_debug() argument
152 struct dsp *odsp; in dsp_cmx_debug()
161 if (dsp == odsp) in dsp_cmx_debug()
173 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
174 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
175 member->dsp->pcm_bank_rx, member->dsp->hfc_conf, in dsp_cmx_debug()
176 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
177 (member->dsp == dsp) ? " *this*" : ""); in dsp_cmx_debug()
209 dsp_cmx_add_conf_member(struct dsp *dsp, struct dsp_conf *conf) in dsp_cmx_add_conf_member() argument
213 if (!conf || !dsp) { in dsp_cmx_add_conf_member()
[all …]
H A Ddsp_core.c189 dsp_rx_off_member(struct dsp *dsp) in dsp_rx_off_member() argument
196 if (!dsp->features_rx_off) in dsp_rx_off_member()
200 if (!dsp->rx_disabled) in dsp_rx_off_member()
203 else if (dsp->dtmf.software) in dsp_rx_off_member()
206 else if (dsp->echo.software) in dsp_rx_off_member()
209 else if (dsp->conf && dsp->conf->software) in dsp_rx_off_member()
214 if (rx_off == dsp->rx_is_off) in dsp_rx_off_member()
217 if (!dsp->ch.peer) { in dsp_rx_off_member()
225 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_rx_off_member()
230 dsp->rx_is_off = rx_off; in dsp_rx_off_member()
[all …]
H A Ddsp_dtmf.c40 void dsp_dtmf_goertzel_init(struct dsp *dsp) in dsp_dtmf_goertzel_init() argument
42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init()
43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init()
44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init()
45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init()
50 void dsp_dtmf_hardware(struct dsp *dsp) in dsp_dtmf_hardware() argument
54 if (!dsp->dtmf.enable) in dsp_dtmf_hardware()
57 if (!dsp->features.hfc_dtmf) in dsp_dtmf_hardware()
61 if (dsp->tx_volume) { in dsp_dtmf_hardware()
65 __func__, dsp->name); in dsp_dtmf_hardware()
[all …]
H A Ddsp.h92 struct dsp;
95 struct dsp *dsp; member
170 struct dsp { struct
245 extern void dsp_cmx_debug(struct dsp *dsp); argument
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
247 extern int dsp_cmx_conf(struct dsp *dsp, u32 conf_id);
248 extern void dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb);
249 extern void dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb);
251 extern void dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb);
252 extern int dsp_cmx_del_conf_member(struct dsp *dsp);
[all …]
H A Ddsp_blowfish.c364 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_encrypt() argument
366 int i = 0, j = dsp->bf_crypt_pos; in dsp_bf_encrypt()
367 u8 *bf_data_in = dsp->bf_data_in; in dsp_bf_encrypt()
368 u8 *bf_crypt_out = dsp->bf_crypt_out; in dsp_bf_encrypt()
369 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
370 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
443 dsp->bf_crypt_pos = j; in dsp_bf_encrypt()
453 dsp_bf_decrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_decrypt() argument
456 u8 j = dsp->bf_decrypt_in_pos; in dsp_bf_decrypt()
457 u8 k = dsp->bf_decrypt_out_pos; in dsp_bf_decrypt()
[all …]
H A Ddsp_hwec.c34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument
40 if (!dsp) { in dsp_hwec_enable()
85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable()
92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument
96 if (!dsp) { in dsp_hwec_disable()
105 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_disable()
H A Ddsp_tones.c375 void dsp_tone_copy(struct dsp *dsp, u8 *data, int len) in dsp_tone_copy() argument
379 struct dsp_tone *tone = &dsp->tone; in dsp_tone_copy()
438 dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len) in dsp_tone_hw_message() argument
447 if (dsp->ch.peer) { in dsp_tone_hw_message()
448 if (dsp->ch.recv(dsp->ch.peer, nskb)) in dsp_tone_hw_message()
462 struct dsp *dsp = timer_container_of(dsp, t, tone.tl); in dsp_tone_timeout() local
463 struct dsp_tone *tone = &dsp->tone; in dsp_tone_timeout()
477 dsp_tone_hw_message(dsp, NULL, 0); in dsp_tone_timeout()
479 dsp_tone_hw_message(dsp, pat->data[index], *(pat->siz[index])); in dsp_tone_timeout()
496 dsp_tone(struct dsp *dsp, int tone) in dsp_tone() argument
[all …]
H A Ddsp_hwec.h7 extern void dsp_hwec_enable(struct dsp *dsp, const char *arg);
8 extern void dsp_hwec_disable(struct dsp *dsp);
/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c325 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version);
326 unsigned int (*parse_sizes)(struct cs_dsp *dsp,
330 int (*setup_algs)(struct cs_dsp *dsp);
334 void (*show_fw_status)(struct cs_dsp *dsp);
335 void (*stop_watchdog)(struct cs_dsp *dsp);
337 int (*enable_memory)(struct cs_dsp *dsp);
338 void (*disable_memory)(struct cs_dsp *dsp);
339 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions);
341 int (*enable_core)(struct cs_dsp *dsp);
342 void (*disable_core)(struct cs_dsp *dsp);
[all …]
/linux/sound/soc/codecs/
H A Dwm_adsp.c48 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
51 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
152 struct wm_adsp *dsp; member
169 struct wm_adsp *dsp; member
201 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
202 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
324 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
326 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
337 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
340 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put()
[all …]
H A Dcs-amp-lib.c75 static int cs_amp_write_cal_coeff(struct cs_dsp *dsp, in cs_amp_write_cal_coeff()
83 KUNIT_STATIC_STUB_REDIRECT(cs_amp_write_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_write_cal_coeff()
86 mutex_lock(&dsp->pwr_lock); in cs_amp_write_cal_coeff()
87 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_write_cal_coeff()
89 mutex_unlock(&dsp->pwr_lock); in cs_amp_write_cal_coeff()
92 dev_err(dsp->dev, "Failed to write to '%s': %d\n", ctl_name, ret); in cs_amp_write_cal_coeff()
102 static int cs_amp_read_cal_coeff(struct cs_dsp *dsp, in cs_amp_read_cal_coeff()
110 KUNIT_STATIC_STUB_REDIRECT(cs_amp_read_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_read_cal_coeff()
115 scoped_guard(mutex, &dsp->pwr_lock) { in cs_amp_read_cal_coeff()
116 cs_ctl = cs_dsp_get_ctl(dsp, ctl_nam in cs_amp_read_cal_coeff()
70 cs_amp_write_cal_coeff(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const char * ctl_name,u32 val) cs_amp_write_cal_coeff() argument
97 cs_amp_read_cal_coeff(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const char * ctl_name,u32 * val) cs_amp_read_cal_coeff() argument
125 _cs_amp_write_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const struct cirrus_amp_cal_data * data) _cs_amp_write_cal_coeffs() argument
158 _cs_amp_read_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,struct cirrus_amp_cal_data * data) _cs_amp_read_cal_coeffs() argument
205 cs_amp_write_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const struct cirrus_amp_cal_data * data) cs_amp_write_cal_coeffs() argument
224 cs_amp_read_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,struct cirrus_amp_cal_data * data) cs_amp_read_cal_coeffs() argument
243 cs_amp_write_ambient_temp(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,u32 temp) cs_amp_write_ambient_temp() argument
[all...]
H A Dcs35l56.c717 ret = wm_adsp_run(&cs35l56->dsp); in cs35l56_dsp_download_and_power_up()
721 ret = cs_amp_write_cal_coeffs(&cs35l56->dsp.cs_dsp, in cs35l56_dsp_download_and_power_up()
725 wm_adsp_stop(&cs35l56->dsp); in cs35l56_dsp_download_and_power_up()
742 cs35l56->dsp.bin_mandatory = (load_firmware && cs35l56->fallback_fw_suffix); in cs35l56_reinit_patch()
744 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware); in cs35l56_reinit_patch()
745 if ((ret == -ENOENT) && cs35l56->dsp.bin_mandatory) { in cs35l56_reinit_patch()
746 cs35l56->dsp.fwf_suffix = cs35l56->fallback_fw_suffix; in cs35l56_reinit_patch()
748 cs35l56->dsp.bin_mandatory = false; in cs35l56_reinit_patch()
749 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware);
869 kfree(cs35l56->dsp in cs35l56_dsp_work()
1197 cs35l56_control_add_nop(struct wm_adsp * dsp,struct cs_dsp_coeff_ctl * cs_ctl) cs35l56_control_add_nop() argument
1204 struct wm_adsp *dsp; cs35l56_dsp_init() local
[all...]
H A Dcs35l45.c53 if (!cs35l45->dsp.cs_dsp.running) { in cs35l45_set_cspl_mbox_cmd()
124 if (cs35l45->dsp.cs_dsp.booted) in cs35l45_dsp_preload_ev()
129 if (cs35l45->dsp.cs_dsp.running) in cs35l45_dsp_preload_ev()
137 if (cs35l45->dsp.preloaded) in cs35l45_dsp_preload_ev()
140 if (cs35l45->dsp.cs_dsp.running) { in cs35l45_dsp_preload_ev()
884 return wm_adsp2_component_probe(&cs35l45->dsp, component); in cs35l45_component_probe()
891 wm_adsp2_component_remove(&cs35l45->dsp, component); in cs35l45_component_remove()
984 if (!cs35l45->dsp.preloaded || !cs35l45->dsp.cs_dsp.running) in cs35l45_runtime_suspend()
1002 if (!cs35l45->dsp.preloaded || !cs35l45->dsp.cs_dsp.running) in cs35l45_runtime_resume()
1348 struct wm_adsp *dsp = &cs35l45->dsp; in cs35l45_dsp_init() local
[all …]
H A Dcs35l41.c193 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev()
198 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev()
201 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev()
223 if (!cs35l41->dsp.cs_dsp.running) in cs35l41_dsp_audio_ev()
522 1, &cs35l41->dsp.cs_dsp); in cs35l41_main_amp_event()
526 0, &cs35l41->dsp.cs_dsp); in cs35l41_main_amp_event()
946 return wm_adsp2_component_probe(&cs35l41->dsp, component); in cs35l41_component_probe()
953 wm_adsp2_component_remove(&cs35l41->dsp, component); in cs35l41_component_remove()
1084 struct wm_adsp *dsp; in cs35l41_dsp_init() local
1088 dsp = &cs35l41->dsp; in cs35l41_dsp_init()
[all …]
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_bin_error.c93 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_load_with_unknown_blocks()
99 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, payload_size_bytes), in bin_load_with_unknown_blocks()
113 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", NULL, NULL, "misc"), in bin_err_wrong_magic()
115 cs_dsp_power_down(priv->dsp); in bin_err_wrong_magic()
121 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
126 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
131 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
136 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
141 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
146 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
[all …]
H A Dcs_dsp_test_wmfw_error.c95 cs_dsp_power_up(priv->dsp, wmfw, "wmfw", NULL, NULL, "misc"), in wmfw_load_with_unknown_blocks()
97 cs_dsp_power_down(priv->dsp); in wmfw_load_with_unknown_blocks()
100 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_load_with_unknown_blocks()
106 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, payload_size_bytes), in wmfw_load_with_unknown_blocks()
122 cs_dsp_power_up(priv->dsp, wmfw, "wmfw", NULL, NULL, "misc"), in wmfw_err_wrong_magic()
124 cs_dsp_power_down(priv->dsp); in wmfw_err_wrong_magic()
128 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_err_wrong_magic()
133 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_err_wrong_magic()
138 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_err_wrong_magic()
143 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_err_wrong_magic()
[all …]
H A Dcs_dsp_test_control_cache.c149 struct cs_dsp *dsp = priv->dsp; in cs_dsp_ctl_v2_cache_alloc() local
166 regmap_raw_write(dsp->regmap, reg, reg_vals, alg_size_bytes); in cs_dsp_ctl_v2_cache_alloc()
185 KUNIT_ASSERT_EQ(test, cs_dsp_power_up(dsp, wmfw, "mock_fw", NULL, NULL, "misc"), 0); in cs_dsp_ctl_v2_cache_alloc()
187 KUNIT_EXPECT_EQ(test, list_count_nodes(&dsp->ctl_list), num_ctls); in cs_dsp_ctl_v2_cache_alloc()
190 list_for_each_entry(ctl, &dsp->ctl_list, list) in cs_dsp_ctl_v2_cache_alloc()
203 struct cs_dsp *dsp = priv->dsp; in cs_dsp_ctl_cache_init() local
223 regmap_raw_write(dsp->regmap, reg, reg_vals, param->len_bytes); in cs_dsp_ctl_cache_init()
238 KUNIT_ASSERT_EQ(test, cs_dsp_power_up(dsp, wmfw, "mock_fw", NULL, NULL, "misc"), 0); in cs_dsp_ctl_cache_init()
240 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_init()
262 struct cs_dsp *dsp = priv->dsp; in cs_dsp_ctl_cache_init_write_only() local
[all …]
H A Dcs_dsp_test_wmfw.c76 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_write_xm_header_unpacked()
85 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in wmfw_write_xm_header_unpacked()
135 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_write_one_payload()
141 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, payload_size_bytes), in wmfw_write_one_payload()
198 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_write_multiple_oneblock_payloads()
204 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in wmfw_write_multiple_oneblock_payloads()
265 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_write_multiple_oneblock_payloads_reverse()
271 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in wmfw_write_multiple_oneblock_payloads_reverse()
342 cs_dsp_power_up(priv->dsp, wmfw, "mock_wmfw", NULL, NULL, "misc"), in wmfw_write_multiple_payloads_sparse_unordered()
347 regmap_get_val_bytes(priv->dsp->regmap); in wmfw_write_multiple_payloads_sparse_unordered()
[all …]
H A Dcs_dsp_test_bin.c146 cs_dsp_power_up(priv->dsp, priv->local->wmfw, "mock_wmfw", in bin_patch_one_word()
155 regmap_raw_read(priv->dsp->regmap, reg_addr, in bin_patch_one_word()
195 cs_dsp_power_up(priv->dsp, priv->local->wmfw, "mock_wmfw", in bin_patch_one_multiword()
203 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in bin_patch_one_multiword()
247 cs_dsp_power_up(priv->dsp, priv->local->wmfw, "mock_wmfw", in bin_patch_multi_oneword()
255 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in bin_patch_multi_oneword()
305 cs_dsp_power_up(priv->dsp, priv->local->wmfw, "mock_wmfw", in bin_patch_multi_oneword_unordered()
313 regmap_raw_read(priv->dsp->regmap, reg_addr, readback, in bin_patch_multi_oneword_unordered()
365 cs_dsp_power_up(priv->dsp, priv->local->wmfw, "mock_wmfw", in bin_patch_multi_oneword_sparse_unordered()
375 regmap_raw_read(priv->dsp->regmap, reg_addr, &reg_val, in bin_patch_multi_oneword_sparse_unordered()
[all …]
/linux/arch/mips/include/asm/
H A Ddsp.h41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
58 mthi1(tsk->thread.dsp.dspr[0]); \
59 mtlo1(tsk->thread.dsp.dspr[1]); \
60 mthi2(tsk->thread.dsp.dspr[2]); \
[all …]
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2hk.dtsi92 compatible = "ti,keystone-dsp-gpio";
100 compatible = "ti,keystone-dsp-gpio";
108 compatible = "ti,keystone-dsp-gpio";
116 compatible = "ti,keystone-dsp-gpio";
124 compatible = "ti,keystone-dsp-gpio";
132 compatible = "ti,keystone-dsp-gpio";
140 compatible = "ti,keystone-dsp-gpio";
148 compatible = "ti,keystone-dsp-gpio";
156 dsp0: dsp@10800000 {
157 compatible = "ti,k2hk-dsp";
[all …]
/linux/sound/pci/mixart/
H A Dmixart_hwdep.c90 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() argument
96 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf()
107 memcpy( &elf_programheader, dsp->data + pos, sizeof(elf_programheader) ); in mixart_load_elf()
112 dsp->data + be32_to_cpu( elf_programheader.p_offset ), in mixart_load_elf()
337 static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) in mixart_dsp_load() argument
373 if (((u32*)(dsp->data))[0] == 0xffffffff) in mixart_dsp_load()
375 if (dsp->size % 4) in mixart_dsp_load()
384 writel_be( dsp->size, MIXART_MEM( mgr, MIXART_PSEUDOREG_MXLX_SIZE_OFFSET )); in mixart_dsp_load()
387 memcpy_toio( MIXART_MEM( mgr, MIXART_MOTHERBOARD_XLX_BASE_ADDRESS), dsp->data, dsp->size); in mixart_dsp_load()
426 err = mixart_load_elf( mgr, dsp ); in mixart_dsp_load()
[all …]
/linux/drivers/input/misc/
H A Dcs40l50-vibra.c85 struct cs40l50_vibra_dsp dsp; member
164 base_index = vib->dsp.banks[effect->type].base_index; in cs40l50_effect_index_set()
165 max_index = vib->dsp.banks[effect->type].max_index; in cs40l50_effect_index_set()
201 effect->gpio_reg = vib->dsp.gpio_base_reg + (gpio_num * 8) - gpio_edge; in cs40l50_effect_gpio_mapping_set()
226 error = regmap_read(vib->regmap, vib->dsp.owt_size_reg, &size); in cs40l50_upload_owt()
247 error = regmap_read(vib->regmap, vib->dsp.owt_offset_reg, &offset); in cs40l50_upload_owt()
251 error = regmap_bulk_write(vib->regmap, vib->dsp.owt_base_reg + in cs40l50_upload_owt()
257 error = vib->dsp.write(vib->dev, vib->regmap, vib->dsp.push_owt_cmd); in cs40l50_upload_owt()
362 vib->dsp.write(vib->dev, vib->regmap, start_effect->index); in cs40l50_start_worker()
383 vib->dsp.write(vib->dev, vib->regmap, vib->dsp.stop_cmd); in cs40l50_stop_worker()
[all …]
/linux/arch/um/drivers/
H A Dhostaudio_kern.c32 static char *dsp = HOSTAUDIO_DEV_DSP; variable
43 module_param(dsp, charp, 0644);
44 MODULE_PARM_DESC(dsp, DSP_HELP);
52 dsp = name; in set_dsp()
185 printk(KERN_DEBUG "hostaudio: open called (host: %s)\n", dsp); in hostaudio_open()
200 ret = os_open_file(dsp, of_set_rw(OPENFLAGS(), r, w), 0); in hostaudio_open()
268 "err = %d\n", dsp, -ret); in hostmixer_open_mixdev()
326 dsp, mixer); in hostaudio_init_module()
/linux/drivers/scsi/
H A D53c700.c578 struct scsi_cmnd *SCp, __u32 dsp) in save_for_reselection() argument
585 slot->resume_offset = dsp; in save_for_reselection()
796 struct scsi_cmnd *SCp, __u32 dsp, __u32 dsps) in process_extended_message() argument
798 __u32 resume_offset = dsp, temp = dsp + 8; in process_extended_message()
876 struct scsi_cmnd *SCp, __u32 dsp, __u32 dsps) in process_message() argument
879 __u32 temp = dsp + 8, resume_offset = dsp; in process_message()
898 dsp, dsps); in process_message()
963 process_script_interrupt(__u32 dsps, __u32 dsp, struct scsi_cmnd *SCp, in process_script_interrupt() argument
1100 save_for_reselection(hostdata, SCp, dsp); in process_script_interrupt()
1204 …host->host_no, reselection_id, lun, dsp, dsp - hostdata->pScript, hostdata->state, hostdata->comma… in process_script_interrupt()
[all …]

1234567