/linux-4.4.14/sound/soc/intel/common/ |
D | sst-dsp.h | 177 struct sst_dsp; 221 struct sst_dsp *sst_dsp_new(struct device *dev, 223 void sst_dsp_free(struct sst_dsp *sst); 227 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value); 228 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset); 229 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset, 231 void sst_dsp_shim_write64(struct sst_dsp *sst, u32 offset, u64 value); 232 u64 sst_dsp_shim_read64(struct sst_dsp *sst, u32 offset); 233 int sst_dsp_shim_update_bits64(struct sst_dsp *sst, u32 offset, 235 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset, [all …]
|
D | sst-dsp-priv.h | 39 void (*boot)(struct sst_dsp *); 40 void (*reset)(struct sst_dsp *); 41 int (*wake)(struct sst_dsp *); 42 void (*sleep)(struct sst_dsp *); 43 void (*stall)(struct sst_dsp *); 52 void (*ram_read)(struct sst_dsp *sst, void *dest, void __iomem *src, 54 void (*ram_write)(struct sst_dsp *sst, void __iomem *dest, void *src, 57 void (*dump)(struct sst_dsp *); 63 int (*init)(struct sst_dsp *sst, struct sst_pdata *pdata); 64 void (*free)(struct sst_dsp *sst); [all …]
|
D | sst-dsp.c | 77 void sst_memcpy_toio_32(struct sst_dsp *sst, in sst_memcpy_toio_32() 84 void sst_memcpy_fromio_32(struct sst_dsp *sst, void *dest, in sst_memcpy_fromio_32() 92 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write() 102 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read() 115 void sst_dsp_shim_write64(struct sst_dsp *sst, u32 offset, u64 value) in sst_dsp_shim_write64() 125 u64 sst_dsp_shim_read64(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read64() 138 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write_unlocked() 144 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read_unlocked() 150 void sst_dsp_shim_write64_unlocked(struct sst_dsp *sst, u32 offset, u64 value) in sst_dsp_shim_write64_unlocked() 156 u64 sst_dsp_shim_read64_unlocked(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read64_unlocked() [all …]
|
D | sst-firmware.c | 44 struct sst_dsp *sst; 60 struct sst_dsp *sst = (struct sst_dsp *)arg; in sst_dma_transfer_complete() 65 static int sst_dsp_dma_copy(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copy() 96 int sst_dsp_dma_copyto(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copyto() 105 int sst_dsp_dma_copyfrom(struct sst_dsp *sst, dma_addr_t dest_addr, in sst_dsp_dma_copyfrom() 114 static void block_list_remove(struct sst_dsp *dsp, in block_list_remove() 142 static int block_list_prepare(struct sst_dsp *dsp, in block_list_prepare() 206 struct sst_dsp *dsp = (struct sst_dsp *)param; in dma_chan_filter() 211 int sst_dsp_dma_get_channel(struct sst_dsp *dsp, int chan_id) in sst_dsp_dma_get_channel() 246 void sst_dsp_dma_put_channel(struct sst_dsp *dsp) in sst_dsp_dma_put_channel() [all …]
|
D | sst-ipc.h | 54 bool (*is_dsp_busy)(struct sst_dsp *dsp); 60 struct sst_dsp *dsp;
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-sst-dsp.h | 23 struct sst_dsp; 111 int (*load_fw)(struct sst_dsp *ctx); 113 int (*parse_fw)(struct sst_dsp *ctx); 114 int (*set_state_D0)(struct sst_dsp *ctx); 115 int (*set_state_D3)(struct sst_dsp *ctx); 116 unsigned int (*get_fw_errcode)(struct sst_dsp *ctx); 126 void skl_cldma_process_intr(struct sst_dsp *ctx); 127 void skl_cldma_int_disable(struct sst_dsp *ctx); 128 int skl_cldma_prepare(struct sst_dsp *ctx); 130 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); [all …]
|
D | skl-sst-dsp.c | 30 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() 37 static int skl_dsp_core_set_reset_state(struct sst_dsp *ctx) in skl_dsp_core_set_reset_state() 63 static int skl_dsp_core_unset_reset_state(struct sst_dsp *ctx) in skl_dsp_core_unset_reset_state() 90 static bool is_skl_dsp_core_enable(struct sst_dsp *ctx) in is_skl_dsp_core_enable() 106 static int skl_dsp_reset_core(struct sst_dsp *ctx) in skl_dsp_reset_core() 117 static int skl_dsp_start_core(struct sst_dsp *ctx) in skl_dsp_start_core() 143 static int skl_dsp_core_power_up(struct sst_dsp *ctx) in skl_dsp_core_power_up() 169 static int skl_dsp_core_power_down(struct sst_dsp *ctx) in skl_dsp_core_power_down() 184 static int skl_dsp_enable_core(struct sst_dsp *ctx) in skl_dsp_enable_core() 198 int skl_dsp_disable_core(struct sst_dsp *ctx) in skl_dsp_disable_core() [all …]
|
D | skl-sst-ipc.h | 23 struct sst_dsp; 50 struct sst_dsp *dsp; 117 void skl_ipc_int_enable(struct sst_dsp *dsp); 118 void skl_ipc_op_int_enable(struct sst_dsp *ctx); 119 void skl_ipc_op_int_disable(struct sst_dsp *ctx); 120 void skl_ipc_int_disable(struct sst_dsp *dsp); 122 bool skl_ipc_int_status(struct sst_dsp *dsp);
|
D | skl-sst-cldma.c | 24 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable() 30 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable() 37 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle() 67 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller() 88 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb() 100 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb() 110 static void skl_cldma_trigger(struct sst_dsp *ctx, bool enable) in skl_cldma_trigger() 122 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup() 142 static int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible() 165 static void skl_cldma_stop(struct sst_dsp *ctx) in skl_cldma_stop() [all …]
|
D | skl-sst-cldma.h | 201 struct sst_dsp; 204 void (*cl_setup_bdle)(struct sst_dsp *ctx, 207 void (*cl_setup_controller)(struct sst_dsp *ctx, 210 void (*cl_setup_spb)(struct sst_dsp *ctx, 212 void (*cl_cleanup_spb)(struct sst_dsp *ctx); 213 void (*cl_trigger)(struct sst_dsp *ctx, bool enable); 214 void (*cl_cleanup_controller)(struct sst_dsp *ctx); 215 int (*cl_copy_to_dmabuf)(struct sst_dsp *ctx, 217 void (*cl_stop_dma)(struct sst_dsp *ctx);
|
D | skl-sst.c | 40 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status() 49 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware() 70 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware() 146 static int skl_set_dsp_D0(struct sst_dsp *ctx) in skl_set_dsp_D0() 161 static int skl_set_dsp_D3(struct sst_dsp *ctx) in skl_set_dsp_D3() 199 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode() 229 struct sst_dsp *sst; in skl_sst_dsp_init()
|
D | skl-sst-ipc.c | 258 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp) in skl_ipc_is_dsp_busy() 377 struct sst_dsp *dsp = context; in skl_dsp_irq_thread_handler() 444 void skl_ipc_int_enable(struct sst_dsp *ctx) in skl_ipc_int_enable() 450 void skl_ipc_int_disable(struct sst_dsp *ctx) in skl_ipc_int_disable() 456 void skl_ipc_op_int_enable(struct sst_dsp *ctx) in skl_ipc_op_int_enable() 467 void skl_ipc_op_int_disable(struct sst_dsp *ctx) in skl_ipc_op_int_disable() 479 bool skl_ipc_int_status(struct sst_dsp *ctx) in skl_ipc_int_status()
|
/linux-4.4.14/sound/soc/intel/haswell/ |
D | sst-haswell-dsp.c | 86 static void hsw_free(struct sst_dsp *sst); 88 static int hsw_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in hsw_parse_module() 183 struct sst_dsp *dsp = sst_fw->dsp; in hsw_parse_fw_image() 218 struct sst_dsp *sst = (struct sst_dsp *) context; in hsw_irq() 250 static void hsw_set_dsp_D3(struct sst_dsp *sst) in hsw_set_dsp_D3() 291 static void hsw_reset(struct sst_dsp *sst) in hsw_reset() 306 static int hsw_set_dsp_D0(struct sst_dsp *sst) in hsw_set_dsp_D0() 400 static void hsw_boot(struct sst_dsp *sst) in hsw_boot() 410 static void hsw_stall(struct sst_dsp *sst) in hsw_stall() 418 static void hsw_sleep(struct sst_dsp *sst) in hsw_sleep() [all …]
|
D | sst-haswell-ipc.c | 282 struct sst_dsp *dsp; 726 struct sst_dsp *sst = hsw->dsp; in hsw_process_notification() 777 struct sst_dsp *sst = (struct sst_dsp *) context; in hsw_irq_thread() 983 struct sst_dsp *sst = hsw->dsp; in sst_hsw_stream_new() 1009 struct sst_dsp *sst = hsw->dsp; in sst_hsw_stream_free() 1164 struct sst_dsp *dsp = sst_hsw_get_dsp(hsw); in sst_hsw_stream_set_module_info() 1464 struct sst_dsp *dsp = hsw->dsp; in sst_hsw_runtime_module_create() 1505 struct sst_dsp *sst = hsw->dsp; in sst_hsw_dx_state_dump() 1558 struct sst_dsp *sst = hsw->dsp; in sst_hsw_dx_state_restore() 1587 struct sst_dsp *dsp = hsw->dsp; in sst_hsw_dsp_load() [all …]
|
D | sst-haswell-ipc.h | 499 struct sst_dsp *sst_hsw_get_dsp(struct sst_hsw *hsw);
|
D | sst-haswell-pcm.c | 480 struct sst_dsp *dsp; in hsw_pcm_hw_params()
|
/linux-4.4.14/sound/soc/intel/baytrail/ |
D | sst-baytrail-dsp.c | 65 static int sst_byt_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, in sst_byt_parse_module() 126 struct sst_dsp *dsp = sst_fw->dsp; in sst_byt_parse_fw_image() 159 static void sst_byt_dump_shim(struct sst_dsp *sst) in sst_byt_dump_shim() 181 struct sst_dsp *sst = (struct sst_dsp *) context; in sst_byt_irq() 207 static void sst_byt_boot(struct sst_dsp *sst) in sst_byt_boot() 232 static void sst_byt_reset(struct sst_dsp *sst) in sst_byt_reset() 258 static int sst_byt_resource_map(struct sst_dsp *sst, struct sst_pdata *pdata) in sst_byt_resource_map() 293 static int sst_byt_init(struct sst_dsp *sst, struct sst_pdata *pdata) in sst_byt_init() 345 static void sst_byt_free(struct sst_dsp *sst) in sst_byt_free()
|
D | sst-baytrail-ipc.c | 171 struct sst_dsp *dsp; 284 struct sst_dsp *sst = byt->dsp; in sst_byt_process_notification() 313 struct sst_dsp *sst = (struct sst_dsp *) context; in sst_byt_irq_thread() 358 struct sst_dsp *sst = byt->dsp; in sst_byt_stream_new() 451 struct sst_dsp *sst = byt->dsp; in sst_byt_stream_free() 559 struct sst_dsp *sst = byt->dsp; in sst_byt_get_dsp_position() 571 struct sst_dsp *sst_byt_get_dsp(struct sst_byt *byt) in sst_byt_get_dsp() 650 struct sst_dsp *sst = ipc->dsp; in byt_shim_dbg() 682 static bool byt_is_dsp_busy(struct sst_dsp *dsp) in byt_is_dsp_busy()
|
D | sst-baytrail-ipc.h | 68 struct sst_dsp *sst_byt_get_dsp(struct sst_byt *byt);
|