Home
last modified time | relevance | path

Searched defs:cdev (Results 1 – 22 of 22) sorted by relevance

/sound/soc/sof/
Dsof-client.c29 struct sof_client_dev *cdev; member
41 struct sof_client_dev *cdev; member
49 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_client_auxdev_release() local
55 static int sof_client_dev_add_data(struct sof_client_dev *cdev, const void *data, in sof_client_dev_add_data()
174 struct sof_client_dev *cdev; in sof_client_dev_register() local
228 struct sof_client_dev *cdev; in sof_client_dev_unregister() local
249 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg, in sof_client_ipc_tx_message()
271 struct sof_client_dev *cdev; in sof_suspend_clients() local
294 struct sof_client_dev *cdev; in sof_resume_clients() local
314 struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev) in sof_client_get_debugfs_root()
[all …]
Dsof-client-ipc-msg-injector.c35 struct sof_client_dev *cdev = inode->i_private; in sof_msg_inject_dfs_open() local
55 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_dfs_read() local
76 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_ipc4_dfs_read() local
122 static int sof_msg_inject_send_message(struct sof_client_dev *cdev) in sof_msg_inject_send_message()
151 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_dfs_write() local
181 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_ipc4_dfs_write() local
254 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe() local
309 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove() local
Dsof-client-probes.c93 static int sof_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in sof_probes_init()
123 static int sof_probes_deinit(struct sof_client_dev *cdev) in sof_probes_deinit()
134 static int sof_probes_info(struct sof_client_dev *cdev, unsigned int cmd, in sof_probes_info()
186 static int sof_probes_points_info(struct sof_client_dev *cdev, in sof_probes_points_info()
207 static int sof_probes_points_add(struct sof_client_dev *cdev, in sof_probes_points_add()
238 static int sof_probes_points_remove(struct sof_client_dev *cdev, in sof_probes_points_remove()
263 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_startup() local
289 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_shutdown() local
327 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_set_params() local
356 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_trigger() local
[all …]
Dsof-client-ipc-flood-test.c38 struct sof_client_dev *cdev = inode->i_private; in sof_ipc_flood_dfs_open() local
59 static int sof_debug_ipc_flood_test(struct sof_client_dev *cdev, in sof_debug_ipc_flood_test()
157 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_write() local
247 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_read() local
299 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_probe() local
359 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_remove() local
Dsof-client.h30 #define sof_client_dev_to_sof_dev(cdev) ((cdev)->sdev) argument
/sound/soc/intel/catpt/
Ddsp.c29 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev) in catpt_dma_request_config_chan()
62 static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy()
99 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_todsp()
107 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_fromdsp()
115 int catpt_dmac_probe(struct catpt_dev *cdev) in catpt_dmac_probe()
143 void catpt_dmac_remove(struct catpt_dev *cdev) in catpt_dmac_remove()
154 static void catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_set_srampge()
189 void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_update_srampge()
217 int catpt_dsp_stall(struct catpt_dev *cdev, bool stall) in catpt_dsp_stall()
229 static int catpt_dsp_reset(struct catpt_dev *cdev, bool reset) in catpt_dsp_reset()
[all …]
Dregisters.h133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask)) argument
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask)) argument
135 #define catpt_dram_size(cdev) (catpt_num_dram(cdev) * CATPT_MEMBLOCK_SIZE) argument
136 #define catpt_iram_size(cdev) (catpt_num_iram(cdev) * CATPT_MEMBLOCK_SIZE) argument
140 #define catpt_shim_addr(cdev) \ argument
142 #define catpt_dma_addr(cdev, dma) \ argument
144 #define catpt_ssp_addr(cdev, ssp) \ argument
146 #define catpt_inbox_addr(cdev) \ argument
148 #define catpt_outbox_addr(cdev) \ argument
151 #define catpt_writel_ssp(cdev, ssp, reg, val) \ argument
[all …]
Dipc.c55 static void catpt_dsp_send_tx(struct catpt_dev *cdev, in catpt_dsp_send_tx()
67 static int catpt_wait_msg_completion(struct catpt_dev *cdev, int timeout) in catpt_wait_msg_completion()
85 static int catpt_dsp_do_send_msg(struct catpt_dev *cdev, in catpt_dsp_do_send_msg()
124 int catpt_dsp_send_msg_timeout(struct catpt_dev *cdev, in catpt_dsp_send_msg_timeout()
138 int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request, in catpt_dsp_send_msg()
146 catpt_dsp_notify_stream(struct catpt_dev *cdev, union catpt_notify_msg msg) in catpt_dsp_notify_stream()
183 static void catpt_dsp_copy_rx(struct catpt_dev *cdev, u32 header) in catpt_dsp_copy_rx()
195 static void catpt_dsp_process_response(struct catpt_dev *cdev, u32 header) in catpt_dsp_process_response()
243 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_thread() local
266 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_handler() local
Dpcm.c101 catpt_stream_find(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_stream_find()
117 static u32 catpt_stream_read_position(struct catpt_dev *cdev, in catpt_stream_read_position()
127 static u32 catpt_stream_volume(struct catpt_dev *cdev, in catpt_stream_volume()
140 static u32 catpt_mixer_volume(struct catpt_dev *cdev, in catpt_mixer_volume()
264 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_startup() local
310 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_shutdown() local
334 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_apply_usettings() local
382 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_params() local
431 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_free() local
448 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_prepare() local
[all …]
Ddevice.c33 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_suspend() local
77 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_resume() local
136 static int catpt_register_board(struct catpt_dev *cdev) in catpt_register_board()
161 static int catpt_probe_components(struct catpt_dev *cdev) in catpt_probe_components()
212 static void catpt_dev_init(struct catpt_dev *cdev, struct device *dev, in catpt_dev_init()
240 struct catpt_dev *cdev; in catpt_acpi_probe() local
298 struct catpt_dev *cdev = platform_get_drvdata(pdev); in catpt_acpi_remove() local
Dloader.c89 int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_streams_context()
115 int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_module_states()
145 int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_memdumps()
179 catpt_restore_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_streams_context()
205 static int catpt_restore_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_memdumps()
238 static int catpt_restore_fwimage(struct catpt_dev *cdev, in catpt_restore_fwimage()
289 static int catpt_load_block(struct catpt_dev *cdev, in catpt_load_block()
328 static int catpt_restore_basefw(struct catpt_dev *cdev, in catpt_restore_basefw()
371 static int catpt_restore_module(struct catpt_dev *cdev, in catpt_restore_module()
412 static int catpt_load_module(struct catpt_dev *cdev, in catpt_load_module()
[all …]
Dmessages.c13 int catpt_ipc_get_fw_version(struct catpt_dev *cdev, in catpt_ipc_get_fw_version()
45 int catpt_ipc_alloc_stream(struct catpt_dev *cdev, in catpt_ipc_alloc_stream()
106 int catpt_ipc_free_stream(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_ipc_free_stream()
124 int catpt_ipc_set_device_format(struct catpt_dev *cdev, in catpt_ipc_set_device_format()
142 int catpt_ipc_enter_dxstate(struct catpt_dev *cdev, enum catpt_dx_state state, in catpt_ipc_enter_dxstate()
162 int catpt_ipc_get_mixer_stream_info(struct catpt_dev *cdev, in catpt_ipc_get_mixer_stream_info()
180 int catpt_ipc_reset_stream(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_ipc_reset_stream()
197 int catpt_ipc_pause_stream(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_ipc_pause_stream()
214 int catpt_ipc_resume_stream(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_ipc_resume_stream()
238 int catpt_ipc_set_volume(struct catpt_dev *cdev, u8 stream_hw_id, in catpt_ipc_set_volume()
[all …]
Dsysfs.c14 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_version_show() local
38 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_info_show() local
/sound/usb/caiaq/
Daudio.c30 #define MAKE_CHECKBYTE(cdev,stream,i) \ argument
51 activate_substream(struct snd_usb_caiaqdev *cdev, in activate_substream()
65 deactivate_substream(struct snd_usb_caiaqdev *cdev, in deactivate_substream()
89 static int stream_start(struct snd_usb_caiaqdev *cdev) in stream_start()
120 static void stream_stop(struct snd_usb_caiaqdev *cdev) in stream_stop()
143 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_open() local
155 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_close() local
172 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_hw_free() local
189 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_pcm_prepare() local
273 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_trigger() local
[all …]
Dinput.c190 static inline void snd_caiaq_input_report_abs(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_report_abs()
198 static void snd_caiaq_input_read_analog(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_analog()
232 static void snd_caiaq_input_read_erp(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_erp()
290 static void snd_caiaq_input_read_io(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_io()
327 static void snd_usb_caiaq_tks4_dispatch(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_tks4_dispatch()
473 static void snd_usb_caiaq_maschine_dispatch(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_maschine_dispatch()
492 struct snd_usb_caiaqdev *cdev = urb->context; in snd_usb_caiaq_ep4_reply_dispatch() local
534 struct snd_usb_caiaqdev *cdev = input_get_drvdata(idev); in snd_usb_caiaq_input_open() local
553 struct snd_usb_caiaqdev *cdev = input_get_drvdata(idev); in snd_usb_caiaq_input_close() local
567 void snd_usb_caiaq_input_dispatch(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_input_dispatch()
[all …]
Dmidi.c28 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_input_trigger() local
44 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_close() local
52 static void snd_usb_caiaq_midi_send(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_midi_send()
80 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_trigger() local
106 void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_midi_handle_input()
152 struct snd_usb_caiaqdev *cdev = urb->context; in snd_usb_caiaq_midi_output_done() local
Ddevice.c135 struct snd_usb_caiaqdev *cdev = urb->context; in usb_ep1_command_reply_dispatch() local
190 int snd_usb_caiaq_send_command(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_send_command()
212 int snd_usb_caiaq_send_command_bank(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_send_command_bank()
237 int snd_usb_caiaq_set_audio_params (struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_set_audio_params()
285 int snd_usb_caiaq_set_auto_msg(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_set_auto_msg()
293 static void setup_card(struct snd_usb_caiaqdev *cdev) in setup_card()
386 struct snd_usb_caiaqdev *cdev; in create_card() local
412 static int init_card(struct snd_usb_caiaqdev *cdev) in init_card()
526 struct snd_usb_caiaqdev *cdev; in snd_disconnect() local
Dcontrol.c24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info() local
70 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_get() local
87 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_put() local
572 struct snd_usb_caiaqdev *cdev) in add_controls()
589 int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev) in snd_usb_caiaq_control_init()
Ddevice.h119 struct snd_usb_caiaqdev *cdev; member
/sound/soc/sof/intel/
Dhda-probes.c28 static int hda_probes_compr_startup(struct sof_client_dev *cdev, in hda_probes_compr_startup()
48 static int hda_probes_compr_shutdown(struct sof_client_dev *cdev, in hda_probes_compr_shutdown()
69 static int hda_probes_compr_set_params(struct sof_client_dev *cdev, in hda_probes_compr_set_params()
103 static int hda_probes_compr_trigger(struct sof_client_dev *cdev, in hda_probes_compr_trigger()
113 static int hda_probes_compr_pointer(struct sof_client_dev *cdev, in hda_probes_compr_pointer()
/sound/isa/cs423x/
Dcs4236.c259 struct pnp_dev *cdev) in snd_card_cs423x_pnp()
497 struct pnp_dev *cdev, *iter; in snd_cs423x_pnpbios_detect() local
/sound/pci/hda/
Dhda_generic.c3933 struct led_classdev *cdev; in create_mute_led_cdev() local