Home
last modified time | relevance | path

Searched refs:catpt_dev (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/sound/soc/intel/catpt/
Dcore.h16 struct catpt_dev;
74 void (*pll_shutdown)(struct catpt_dev *cdev, bool enable);
77 struct catpt_dev { struct
106 int catpt_dmac_probe(struct catpt_dev *cdev); argument
107 void catpt_dmac_remove(struct catpt_dev *cdev);
108 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev);
109 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan,
112 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan,
116 void lpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable);
117 void wpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable);
[all …]
Dmessages.h11 struct catpt_dev;
69 int catpt_ipc_get_fw_version(struct catpt_dev *cdev,
207 int catpt_ipc_alloc_stream(struct catpt_dev *cdev,
217 int catpt_ipc_free_stream(struct catpt_dev *cdev, u8 stream_hw_id);
246 int catpt_ipc_set_device_format(struct catpt_dev *cdev,
271 int catpt_ipc_enter_dxstate(struct catpt_dev *cdev, enum catpt_dx_state state,
280 int catpt_ipc_get_mixer_stream_info(struct catpt_dev *cdev,
324 int catpt_ipc_reset_stream(struct catpt_dev *cdev, u8 stream_hw_id);
325 int catpt_ipc_pause_stream(struct catpt_dev *cdev, u8 stream_hw_id);
326 int catpt_ipc_resume_stream(struct catpt_dev *cdev, u8 stream_hw_id);
[all …]
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 …]
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 …]
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()
266 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_handler()
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 …]
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()
310 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_shutdown()
327 static int catpt_set_dspvol(struct catpt_dev *cdev, u8 stream_id, long *ctlvol);
334 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_apply_usettings()
382 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_params()
431 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_free()
[all …]
Ddevice.c33 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_suspend()
77 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_resume()
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()
298 struct catpt_dev *cdev = platform_get_drvdata(pdev); in catpt_acpi_remove()
Dsysfs.c14 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_version_show()
38 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_info_show()