• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x1901

24  static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;	/* Index 0-MAX */
26 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
27 @@ -44,6 +45,8 @@ static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
61 if (err < 0)
65 dpcm->pcm_rate_shift = 0;
66 dpcm->last_drift = 0;
79 unsigned long delta_play = 0, delta_capt = 0, cur_jiffies;
309 unsigned int val = 0;
325 unsigned int val = 0;
376 - if (bclk_rate == 0 || mclk_rate % bclk_rate)
397 + return 0;
413 return 0;
530 + return 0;
576 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
660 + ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
683 -#define I2S_CKR_CKP_NEG (0 << I2S_CKR_CKP_SHIFT)
685 +#define I2S_CKR_CKP_NORMAL (0 << I2S_CKR_CKP_SHIFT)
689 #define I2S_CKR_RLP_NORMAL (0 << I2S_CKR_RLP_SHIFT)
694 #define I2S_CKR_TLP_NORMAL (0 << I2S_CKR_TLP_SHIFT)
700 #define I2S_CKR_MDIV_MASK (0xff << I2S_CKR_MDIV_SHIFT)
715 unsigned int val = 0;
717 - unsigned int clk_src, clk_out = 0;
718 + unsigned int clk_src = 0, clk_out = 0;
726 - {0x04, 0x78000017},
727 - {0x08, 0x0bb8ea60},
728 - {0x18, 0x0000001f},
729 + { PDM_CTRL0, 0x78000017 },
730 + { PDM_CTRL1, 0x0bb8ea60 },
731 + { PDM_CLK_CTRL, 0x0000e401 },
732 + { PDM_DMA_CTRL, 0x0000001f },
752 + int cnt = 0, ret = 0, i = 0, val = 0, msk = 0;
764 + for (i = 0; i < cnt; i++) {
773 + return 0;
786 - res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
788 + regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
795 rockchip_pdm_rxctrl(pdm, 0);
798 + if (ret != 0 && ret != -ENOENT)
801 ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
814 #define PDM_VDW_MSK (0x1f << 0)
815 #define PDM_VDW(X) ((X - 1) << 0)
818 #define PDM_FD_DENOMINATOR_MSK GENMASK(15, 0)
822 +#define PDM_PATH_MASK(x) (0x3 << PDM_PATH_SHIFT(x))
825 #define PDM_CLK_FD_RATIO_40 (0X0 << 6)
828 #define PDM_CLK_1280FS (0x2 << 0)
829 #define PDM_CLK_2560FS (0x3 << 0)
830 #define PDM_CLK_5120FS (0x4 << 0)
831 +#define PDM_CIC_RATIO_MSK (0x3 << 0)
869 if (ret != 0)
885 if (ret != 0)
924 - res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
926 + regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
935 case USB_ID(0x0556, 0x0014): /* Phoenix Audio TMX320VC */
936 case USB_ID(0x05a3, 0x9420): /* ELP HD USB Camera */
937 case USB_ID(0x05a7, 0x1020): /* Bose Companion 5 */
939 + case USB_ID(0x071B, 0x3205): /* RockChip NanoC VR */
941 case USB_ID(0x074d, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
942 case USB_ID(0x1395, 0x740a): /* Sennheiser DECT */
943 case USB_ID(0x1901, 0x0191): /* GE B850V3 CP2114 audio interface */
949 + case USB_ID(0x071B, 0x3205): /* RockChip NanoC VR */
951 case USB_ID(0x0a92, 0x0053): /* AudioTrak Optoplay */