aud_drv_data 566 sound/soc/xilinx/xlnx_formatter_pcm.c struct xlnx_pcm_drv_data *aud_drv_data; aud_drv_data 570 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data = devm_kzalloc(dev, sizeof(*aud_drv_data), GFP_KERNEL); aud_drv_data 571 sound/soc/xilinx/xlnx_formatter_pcm.c if (!aud_drv_data) aud_drv_data 574 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->axi_clk = devm_clk_get(dev, "s_axi_lite_aclk"); aud_drv_data 575 sound/soc/xilinx/xlnx_formatter_pcm.c if (IS_ERR(aud_drv_data->axi_clk)) { aud_drv_data 576 sound/soc/xilinx/xlnx_formatter_pcm.c ret = PTR_ERR(aud_drv_data->axi_clk); aud_drv_data 580 sound/soc/xilinx/xlnx_formatter_pcm.c ret = clk_prepare_enable(aud_drv_data->axi_clk); aud_drv_data 593 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->mmio = devm_ioremap_resource(dev, res); aud_drv_data 594 sound/soc/xilinx/xlnx_formatter_pcm.c if (IS_ERR(aud_drv_data->mmio)) { aud_drv_data 596 sound/soc/xilinx/xlnx_formatter_pcm.c ret = PTR_ERR(aud_drv_data->mmio); aud_drv_data 600 sound/soc/xilinx/xlnx_formatter_pcm.c val = readl(aud_drv_data->mmio + XLNX_AUD_CORE_CONFIG); aud_drv_data 602 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->mm2s_presence = true; aud_drv_data 603 sound/soc/xilinx/xlnx_formatter_pcm.c ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + aud_drv_data 609 sound/soc/xilinx/xlnx_formatter_pcm.c xlnx_formatter_disable_irqs(aud_drv_data->mmio + aud_drv_data 613 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->mm2s_irq = platform_get_irq_byname(pdev, aud_drv_data 615 sound/soc/xilinx/xlnx_formatter_pcm.c if (aud_drv_data->mm2s_irq < 0) { aud_drv_data 616 sound/soc/xilinx/xlnx_formatter_pcm.c ret = aud_drv_data->mm2s_irq; aud_drv_data 619 sound/soc/xilinx/xlnx_formatter_pcm.c ret = devm_request_irq(dev, aud_drv_data->mm2s_irq, aud_drv_data 628 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->s2mm_presence = true; aud_drv_data 629 sound/soc/xilinx/xlnx_formatter_pcm.c ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + aud_drv_data 635 sound/soc/xilinx/xlnx_formatter_pcm.c xlnx_formatter_disable_irqs(aud_drv_data->mmio + aud_drv_data 639 sound/soc/xilinx/xlnx_formatter_pcm.c aud_drv_data->s2mm_irq = platform_get_irq_byname(pdev, aud_drv_data 641 sound/soc/xilinx/xlnx_formatter_pcm.c if (aud_drv_data->s2mm_irq < 0) { aud_drv_data 642 sound/soc/xilinx/xlnx_formatter_pcm.c ret = aud_drv_data->s2mm_irq; aud_drv_data 645 sound/soc/xilinx/xlnx_formatter_pcm.c ret = devm_request_irq(dev, aud_drv_data->s2mm_irq, aud_drv_data 655 sound/soc/xilinx/xlnx_formatter_pcm.c dev_set_drvdata(dev, aud_drv_data); aud_drv_data 667 sound/soc/xilinx/xlnx_formatter_pcm.c clk_disable_unprepare(aud_drv_data->axi_clk);