/linux-6.12.1/sound/soc/amd/acp/ |
D | chip_offset_byte.h | 32 #define ACP_EXTERNAL_INTR_REG_ADDR(adata, offset, ctrl) \ argument 35 #define ACP_EXTERNAL_INTR_ENB(adata) ACP_EXTERNAL_INTR_REG_ADDR(adata, 0x0, 0x0) argument 36 #define ACP_EXTERNAL_INTR_CNTL(adata, ctrl) ACP_EXTERNAL_INTR_REG_ADDR(adata, 0x4, ctrl) argument 37 #define ACP_EXTERNAL_INTR_STAT(adata, ctrl) ACP_EXTERNAL_INTR_REG_ADDR(adata, \ argument 46 #define ACP_I2S_RX_RINGBUFADDR(adata) ACP_I2S_REG_ADDR(adata, 0x2000) argument 47 #define ACP_I2S_RX_RINGBUFSIZE(adata) ACP_I2S_REG_ADDR(adata, 0x2004) argument 48 #define ACP_I2S_RX_LINKPOSITIONCNTR(adata) ACP_I2S_REG_ADDR(adata, 0x2008) argument 49 #define ACP_I2S_RX_FIFOADDR(adata) ACP_I2S_REG_ADDR(adata, 0x200C) argument 50 #define ACP_I2S_RX_FIFOSIZE(adata) ACP_I2S_REG_ADDR(adata, 0x2010) argument 51 #define ACP_I2S_RX_DMA_SIZE(adata) ACP_I2S_REG_ADDR(adata, 0x2014) argument [all …]
|
D | acp-platform.c | 111 int acp_machine_select(struct acp_dev_data *adata) in acp_machine_select() 139 struct acp_dev_data *adata = data; in i2s_irq_handler() local 177 void config_pte_for_stream(struct acp_dev_data *adata, struct acp_stream *stream) in config_pte_for_stream() 198 void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int size) in config_acp_dma() 261 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_open() local 324 struct acp_dev_data *adata = snd_soc_component_get_drvdata(component); in acp_dma_hw_params() local 339 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_pointer() local 371 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dma_close() local 395 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_platform_register() local 423 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_platform_unregister() local
|
D | acp-pdm.c | 33 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_prepare() local 68 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_trigger() local 112 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_hwparams() local 148 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_startup() local 168 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_dmic_dai_shutdown() local
|
D | acp-i2s.c | 34 static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id) in acp_set_i2s_clk() 78 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(cpu_dai); in acp_i2s_set_fmt() local 99 struct acp_dev_data *adata = snd_soc_dai_get_drvdata(dai); in acp_i2s_set_tdm_slot() local 195 struct acp_dev_data *adata; in acp_i2s_hwparams() local 389 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_trigger() local 519 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_prepare() local 636 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_i2s_startup() local
|
D | acp70.c | 140 static int acp70_i2s_master_clock_generate(struct acp_dev_data *adata) in acp70_i2s_master_clock_generate() 167 struct acp_dev_data *adata; in acp_acp70_audio_probe() local 240 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp_acp70_audio_remove() local 249 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp70_pcm_resume() local
|
D | acp-legacy-common.c | 24 void acp_enable_interrupts(struct acp_dev_data *adata) in acp_enable_interrupts() 36 void acp_disable_interrupts(struct acp_dev_data *adata) in acp_disable_interrupts() 51 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_ring_buffer() local 70 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_pdm_clk() local 82 struct acp_dev_data *adata) in restore_acp_pdm_params() 106 struct acp_dev_data *adata = dev_get_drvdata(dev); in set_acp_i2s_dma_fifo() local 193 struct acp_dev_data *adata, in restore_acp_i2s_params()
|
D | acp63.c | 161 static int acp63_i2s_master_clock_generate(struct acp_dev_data *adata) in acp63_i2s_master_clock_generate() 200 struct acp_dev_data *adata; in acp63_audio_probe() local 265 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp63_audio_remove() local 274 struct acp_dev_data *adata = dev_get_drvdata(dev); in acp63_pcm_resume() local
|
D | acp-renoir.c | 150 struct acp_dev_data *adata; in renoir_audio_probe() local 209 struct acp_dev_data *adata = dev_get_drvdata(dev); in renoir_audio_remove() local 217 struct acp_dev_data *adata = dev_get_drvdata(dev); in rn_pcm_resume() local
|
/linux-6.12.1/sound/soc/amd/ps/ |
D | pci-ps.c | 106 struct acp63_dev_data *adata = context; in acp63_irq_thread() local 130 struct acp63_dev_data *adata; in acp63_irq_handler() local 346 struct acp63_dev_data *adata = dev_get_drvdata(dev); in acp63_machine_register() local 453 static int create_acp63_platform_devs(struct pci_dev *pci, struct acp63_dev_data *adata, u32 addr) in create_acp63_platform_devs() 533 struct acp63_dev_data *adata; in snd_acp63_probe() local 625 static bool check_acp_sdw_enable_status(struct acp63_dev_data *adata) in check_acp_sdw_enable_status() 634 static void handle_acp63_sdw_pme_event(struct acp63_dev_data *adata) in handle_acp63_sdw_pme_event() 649 struct acp63_dev_data *adata; in snd_acp63_suspend() local 667 struct acp63_dev_data *adata; in snd_acp63_runtime_resume() local 687 struct acp63_dev_data *adata; in snd_acp63_resume() local [all …]
|
D | ps-pdm-dma.c | 68 static void acp63_enable_pdm_interrupts(struct pdm_dev_data *adata) in acp63_enable_pdm_interrupts() 79 static void acp63_disable_pdm_interrupts(struct pdm_dev_data *adata) in acp63_disable_pdm_interrupts() 186 struct pdm_dev_data *adata; in acp63_pdm_dma_open() local 280 struct pdm_dev_data *adata = dev_get_drvdata(component->dev); in acp63_pdm_dma_close() local 360 struct pdm_dev_data *adata; in acp63_pdm_audio_probe() local 407 struct pdm_dev_data *adata; in acp63_pdm_resume() local 428 struct pdm_dev_data *adata; in acp63_pdm_suspend() local 437 struct pdm_dev_data *adata; in acp63_pdm_runtime_resume() local
|
/linux-6.12.1/sound/soc/sof/amd/ |
D | acp.c | 63 static void init_dma_descriptor(struct acp_dev_data *adata) in init_dma_descriptor() 87 static void configure_dma_descriptor(struct acp_dev_data *adata, unsigned short idx, in configure_dma_descriptor() 102 static int config_dma_channel(struct acp_dev_data *adata, unsigned int ch, in config_dma_channel() 155 static int acpbus_dma_start(struct acp_dev_data *adata, unsigned int ch, in acpbus_dma_start() 175 int configure_and_run_dma(struct acp_dev_data *adata, unsigned int src_addr, in configure_and_run_dma() 208 static int psp_mbox_ready(struct acp_dev_data *adata, bool ack) in psp_mbox_ready() 233 static int psp_send_cmd(struct acp_dev_data *adata, int cmd) in psp_send_cmd() 267 int configure_and_run_sha_dma(struct acp_dev_data *adata, void *image_addr, in configure_and_run_sha_dma() 341 int acp_dma_status(struct acp_dev_data *adata, unsigned char ch) in acp_dma_status() 387 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_memory_init() local [all …]
|
D | acp-loader.c | 53 struct acp_dev_data *adata; in acp_dsp_block_write() local 117 static void configure_pte_for_fw_loading(int type, int num_pages, struct acp_dev_data *adata) in configure_pte_for_fw_loading() 169 struct acp_dev_data *adata; in acp_dsp_pre_fw_run() local 251 struct acp_dev_data *adata = sdev->pdata->hw_pdata; in acp_sof_dsp_run() local 272 struct acp_dev_data *adata = plat_data->hw_pdata; in acp_sof_load_signed_firmware() local
|
/linux-6.12.1/sound/soc/amd/raven/ |
D | pci-acp3x.c | 25 static int acp3x_power_on(struct acp3x_dev_data *adata) in acp3x_power_on() 92 static int acp3x_init(struct acp3x_dev_data *adata) in acp3x_init() 130 struct acp3x_dev_data *adata; in snd_acp3x_probe() local 273 struct acp3x_dev_data *adata; in snd_acp3x_suspend() local 288 struct acp3x_dev_data *adata; in snd_acp3x_resume() local 307 struct acp3x_dev_data *adata; in snd_acp3x_remove() local
|
D | acp3x-pcm-dma.c | 213 struct i2s_dev_data *adata; in acp3x_dma_open() local 252 struct i2s_dev_data *adata; in acp3x_dma_hw_params() local 327 struct i2s_dev_data *adata; in acp3x_dma_close() local 372 struct i2s_dev_data *adata; in acp3x_audio_probe() local 432 struct i2s_dev_data *adata; in acp3x_resume() local 485 struct i2s_dev_data *adata; in acp3x_pcm_runtime_suspend() local 496 struct i2s_dev_data *adata; in acp3x_pcm_runtime_resume() local
|
D | acp3x-i2s.c | 23 struct i2s_dev_data *adata; in acp3x_i2s_set_fmt() local 44 struct i2s_dev_data *adata; in acp3x_i2s_set_tdm_slot() local 79 struct i2s_dev_data *adata; in acp3x_i2s_hwparams() local 289 struct i2s_dev_data *adata; in acp3x_dai_probe() local
|
/linux-6.12.1/sound/soc/amd/vangogh/ |
D | acp5x-pcm-dma.c | 207 struct i2s_dev_data *adata; in acp5x_dma_open() local 245 struct i2s_dev_data *adata; in acp5x_dma_hw_params() local 322 struct i2s_dev_data *adata; in acp5x_dma_close() local 366 struct i2s_dev_data *adata; in acp5x_audio_probe() local 425 struct i2s_dev_data *adata; in acp5x_pcm_resume() local 478 struct i2s_dev_data *adata; in acp5x_pcm_suspend() local 487 struct i2s_dev_data *adata; in acp5x_pcm_runtime_resume() local
|
D | acp5x-i2s.c | 23 struct i2s_dev_data *adata; in acp5x_i2s_set_fmt() local 54 struct i2s_dev_data *adata; in acp5x_i2s_set_tdm_slot() local 90 struct i2s_dev_data *adata; in acp5x_i2s_hwparams() local 236 struct i2s_dev_data *adata; in acp5x_i2s_trigger() local 376 struct i2s_dev_data *adata; in acp5x_dai_probe() local
|
D | pci-acp5x.c | 127 struct acp5x_dev_data *adata; in snd_acp5x_probe() local 270 struct acp5x_dev_data *adata; in snd_acp5x_suspend() local 285 struct acp5x_dev_data *adata; in snd_acp5x_resume() local 303 struct acp5x_dev_data *adata; in snd_acp5x_remove() local
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-loongarch-avec.c | 79 static void avecintc_sync(struct avecintc_data *adata) in avecintc_sync() 94 struct avecintc_data *adata; in avecintc_set_affinity() local 157 struct avecintc_data *adata, *tdata; in complete_irq_moving() local 198 struct avecintc_data *adata = irq_data_get_irq_chip_data(d); in avecintc_compose_msi_msg() local 243 static int avecintc_alloc_vector(struct irq_data *irqd, struct avecintc_data *adata) in avecintc_alloc_vector() 265 struct avecintc_data *adata = kzalloc(sizeof(*adata), GFP_KERNEL); in avecintc_domain_alloc() local 286 static void avecintc_free_vector(struct irq_data *irqd, struct avecintc_data *adata) in avecintc_free_vector() 310 struct avecintc_data *adata = irq_data_get_irq_chip_data(d); in avecintc_domain_free() local
|
/linux-6.12.1/sound/soc/amd/yc/ |
D | pci-acp6x.c | 125 struct acp6x_dev_data *adata; in acp6x_irq_handler() local 147 struct acp6x_dev_data *adata; in snd_acp6x_probe() local 282 struct acp6x_dev_data *adata; in snd_acp6x_suspend() local 294 struct acp6x_dev_data *adata; in snd_acp6x_resume() local 311 struct acp6x_dev_data *adata; in snd_acp6x_remove() local
|
D | acp6x-pdm-dma.c | 184 struct pdm_dev_data *adata; in acp6x_pdm_dma_open() local 277 struct pdm_dev_data *adata = dev_get_drvdata(component->dev); in acp6x_pdm_dma_close() local 356 struct pdm_dev_data *adata; in acp6x_pdm_audio_probe() local 399 struct pdm_dev_data *adata; in acp6x_pdm_resume() local 420 struct pdm_dev_data *adata; in acp6x_pdm_suspend() local 429 struct pdm_dev_data *adata; in acp6x_pdm_runtime_resume() local
|
/linux-6.12.1/sound/soc/amd/rpl/ |
D | rpl-pci-acp6x.c | 106 struct rpl_dev_data *adata; in snd_rpl_probe() local 164 struct rpl_dev_data *adata; in snd_rpl_suspend() local 176 struct rpl_dev_data *adata; in snd_rpl_resume() local 193 struct rpl_dev_data *adata; in snd_rpl_remove() local
|
/linux-6.12.1/sound/soc/amd/ |
D | acp-pcm-dma.c | 777 struct audio_substream_data *adata = in acp_dma_open() local 853 struct audio_drv_data *adata = dev_get_drvdata(component->dev); in acp_dma_hw_params() local 1041 struct audio_drv_data *adata = dev_get_drvdata(component->dev); in acp_dma_pointer() local 1077 struct audio_drv_data *adata = dev_get_drvdata(component->dev); in acp_dma_delay() local 1163 struct audio_drv_data *adata = dev_get_drvdata(component->dev); in acp_dma_new() local 1191 struct audio_drv_data *adata = dev_get_drvdata(component->dev); in acp_dma_close() local 1329 struct audio_drv_data *adata = dev_get_drvdata(&pdev->dev); in acp_audio_remove() local 1342 struct audio_drv_data *adata = dev_get_drvdata(dev); in acp_pcm_resume() local 1398 struct audio_drv_data *adata = dev_get_drvdata(dev); in acp_pcm_runtime_suspend() local 1410 struct audio_drv_data *adata = dev_get_drvdata(dev); in acp_pcm_runtime_resume() local
|
/linux-6.12.1/sound/soc/amd/renoir/ |
D | acp3x-pdm-dma.c | 208 struct pdm_dev_data *adata; in acp_pdm_dma_open() local 303 struct pdm_dev_data *adata = dev_get_drvdata(component->dev); in acp_pdm_dma_close() local 384 struct pdm_dev_data *adata; in acp_pdm_audio_probe() local 446 struct pdm_dev_data *adata; in acp_pdm_resume() local 467 struct pdm_dev_data *adata; in acp_pdm_runtime_suspend() local 477 struct pdm_dev_data *adata; in acp_pdm_runtime_resume() local
|
/linux-6.12.1/drivers/acpi/arm64/ |
D | agdi.c | 29 struct agdi_data *adata) in agdi_sdei_probe() 53 struct agdi_data *adata = dev_get_platdata(&pdev->dev); in agdi_probe() local 63 struct agdi_data *adata = dev_get_platdata(&pdev->dev); in agdi_remove() local
|