• Home
  • Raw
  • Download

Lines Matching refs:pri_dai

80 	struct i2s_dai *pri_dai;  member
113 return i2s->pri_dai ? true : false; in is_secondary()
144 return i2s->pri_dai ? : i2s->sec_dai; in get_other_dai()
1083 i2s->pri_dai = NULL; in i2s_alloc_dai()
1236 struct i2s_dai *pri_dai, *sec_dai = NULL; in samsung_i2s_probe() local
1263 pri_dai = i2s_alloc_dai(pdev, false); in samsung_i2s_probe()
1264 if (!pri_dai) { in samsung_i2s_probe()
1269 spin_lock_init(&pri_dai->spinlock); in samsung_i2s_probe()
1270 pri_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()
1278 pri_dai->dma_playback.slave = i2s_pdata->dma_playback; in samsung_i2s_probe()
1279 pri_dai->dma_capture.slave = i2s_pdata->dma_capture; in samsung_i2s_probe()
1300 pri_dai->addr = devm_ioremap_resource(&pdev->dev, res); in samsung_i2s_probe()
1301 if (IS_ERR(pri_dai->addr)) in samsung_i2s_probe()
1302 return PTR_ERR(pri_dai->addr); in samsung_i2s_probe()
1306 pri_dai->clk = devm_clk_get(&pdev->dev, "iis"); in samsung_i2s_probe()
1307 if (IS_ERR(pri_dai->clk)) { in samsung_i2s_probe()
1309 return PTR_ERR(pri_dai->clk); in samsung_i2s_probe()
1312 ret = clk_prepare_enable(pri_dai->clk); in samsung_i2s_probe()
1317 pri_dai->dma_playback.dma_addr = regs_base + I2STXD; in samsung_i2s_probe()
1318 pri_dai->dma_capture.dma_addr = regs_base + I2SRXD; in samsung_i2s_probe()
1319 pri_dai->dma_playback.ch_name = "tx"; in samsung_i2s_probe()
1320 pri_dai->dma_capture.ch_name = "rx"; in samsung_i2s_probe()
1321 pri_dai->dma_playback.dma_size = 4; in samsung_i2s_probe()
1322 pri_dai->dma_capture.dma_size = 4; in samsung_i2s_probe()
1323 pri_dai->quirks = quirks; in samsung_i2s_probe()
1324 pri_dai->variant_regs = i2s_dai_data->i2s_variant_regs; in samsung_i2s_probe()
1327 pri_dai->i2s_dai_drv.playback.channels_max = 6; in samsung_i2s_probe()
1336 sec_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()
1337 sec_dai->variant_regs = pri_dai->variant_regs; in samsung_i2s_probe()
1345 sec_dai->addr = pri_dai->addr; in samsung_i2s_probe()
1346 sec_dai->clk = pri_dai->clk; in samsung_i2s_probe()
1349 sec_dai->pri_dai = pri_dai; in samsung_i2s_probe()
1350 pri_dai->sec_dai = sec_dai; in samsung_i2s_probe()
1358 devm_snd_soc_register_component(&pri_dai->pdev->dev, in samsung_i2s_probe()
1360 &pri_dai->i2s_dai_drv, 1); in samsung_i2s_probe()
1379 other->pri_dai = NULL; in samsung_i2s_remove()
1390 i2s->pri_dai = NULL; in samsung_i2s_remove()