cygaud 332 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR0_STATUS_CLR_OFFSET); cygaud 333 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR1_STATUS_CLR_OFFSET); cygaud 334 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR3_STATUS_CLR_OFFSET); cygaud 336 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR0_MASK_CLR_OFFSET); cygaud 337 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR1_MASK_CLR_OFFSET); cygaud 338 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR3_MASK_CLR_OFFSET); cygaud 341 sound/soc/bcm/cygnus-pcm.c aio->cygaud->audio + INTH_R5F_MASK_CLEAR_OFFSET); cygaud 343 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR2_STATUS_CLR_OFFSET); cygaud 344 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR4_STATUS_CLR_OFFSET); cygaud 345 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR2_MASK_CLR_OFFSET); cygaud 346 sound/soc/bcm/cygnus-pcm.c writel(clear_mask, aio->cygaud->audio + ESR4_MASK_CLR_OFFSET); cygaud 349 sound/soc/bcm/cygnus-pcm.c aio->cygaud->audio + INTH_R5F_MASK_CLEAR_OFFSET); cygaud 369 sound/soc/bcm/cygnus-pcm.c writel(set_mask, aio->cygaud->audio + ESR0_MASK_SET_OFFSET); cygaud 370 sound/soc/bcm/cygnus-pcm.c writel(set_mask, aio->cygaud->audio + ESR1_MASK_SET_OFFSET); cygaud 371 sound/soc/bcm/cygnus-pcm.c writel(set_mask, aio->cygaud->audio + ESR3_MASK_SET_OFFSET); cygaud 373 sound/soc/bcm/cygnus-pcm.c writel(set_mask, aio->cygaud->audio + ESR2_MASK_SET_OFFSET); cygaud 374 sound/soc/bcm/cygnus-pcm.c writel(set_mask, aio->cygaud->audio + ESR4_MASK_SET_OFFSET); cygaud 418 sound/soc/bcm/cygnus-pcm.c regval = readl(aio->cygaud->audio + p_rbuf->rdaddr); cygaud 420 sound/soc/bcm/cygnus-pcm.c writel(regval, aio->cygaud->audio + p_rbuf->wraddr); cygaud 423 sound/soc/bcm/cygnus-pcm.c regval = readl(aio->cygaud->audio + p_rbuf->wraddr); cygaud 424 sound/soc/bcm/cygnus-pcm.c writel(regval, aio->cygaud->audio + p_rbuf->rdaddr); cygaud 435 sound/soc/bcm/cygnus-pcm.c static void handle_playback_irq(struct cygnus_audio *cygaud) cygaud 441 sound/soc/bcm/cygnus-pcm.c audio_io = cygaud->audio; cygaud 467 sound/soc/bcm/cygnus-pcm.c dev_dbg(cygaud->dev, cygaud 479 sound/soc/bcm/cygnus-pcm.c playstr = cygaud->portinfo[port].play_stream; cygaud 498 sound/soc/bcm/cygnus-pcm.c static void handle_capture_irq(struct cygnus_audio *cygaud) cygaud 504 sound/soc/bcm/cygnus-pcm.c audio_io = cygaud->audio; cygaud 528 sound/soc/bcm/cygnus-pcm.c dev_dbg(cygaud->dev, cygaud 534 sound/soc/bcm/cygnus-pcm.c capstr = cygaud->portinfo[port].capture_stream; cygaud 548 sound/soc/bcm/cygnus-pcm.c struct cygnus_audio *cygaud = data; cygaud 558 sound/soc/bcm/cygnus-pcm.c r5_status = readl(cygaud->audio + INTH_R5F_STATUS_OFFSET); cygaud 565 sound/soc/bcm/cygnus-pcm.c handle_playback_irq(cygaud); cygaud 567 sound/soc/bcm/cygnus-pcm.c cygaud->audio + INTH_R5F_CLEAR_OFFSET); cygaud 572 sound/soc/bcm/cygnus-pcm.c handle_capture_irq(cygaud); cygaud 574 sound/soc/bcm/cygnus-pcm.c cygaud->audio + INTH_R5F_CLEAR_OFFSET); cygaud 691 sound/soc/bcm/cygnus-pcm.c ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, cygaud 711 sound/soc/bcm/cygnus-pcm.c cur = readl(aio->cygaud->audio + p_rbuf->rdaddr); cygaud 713 sound/soc/bcm/cygnus-pcm.c cur = readl(aio->cygaud->audio + p_rbuf->wraddr); cygaud 715 sound/soc/bcm/cygnus-pcm.c base = readl(aio->cygaud->audio + p_rbuf->baseaddr); cygaud 828 sound/soc/bcm/cygnus-pcm.c struct cygnus_audio *cygaud) cygaud 834 sound/soc/bcm/cygnus-pcm.c rc = devm_request_irq(dev, cygaud->irq_num, cygnus_dma_irq, cygaud 835 sound/soc/bcm/cygnus-pcm.c IRQF_SHARED, "cygnus-audio", cygaud); cygaud 249 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); cygaud 251 sound/soc/bcm/cygnus-ssp.c return &cygaud->portinfo[dai->id]; cygaud 261 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 266 sound/soc/bcm/cygnus-ssp.c aio->cygaud->audio + aio->regs.bf_sourcech_grp); cygaud 272 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 275 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 279 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 282 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->i2s_in + cygaud 286 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + cygaud 292 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 297 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 300 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 302 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 305 sound/soc/bcm/cygnus-ssp.c writel(aio->portnum, aio->cygaud->audio + BF_SRC_GRP3_OFFSET); cygaud 307 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + SPDIF_CTRL_OFFSET); cygaud 309 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + SPDIF_CTRL_OFFSET); cygaud 312 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + SPDIF_STREAM_CFG_OFFSET); cygaud 316 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + SPDIF_STREAM_CFG_OFFSET); cygaud 318 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 322 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 325 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 327 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 330 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "Port not supported\n"); cygaud 341 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 343 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 345 sound/soc/bcm/cygnus-ssp.c writel(0x1, aio->cygaud->audio + aio->regs.bf_destch_ctrl); cygaud 347 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 350 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 352 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg); cygaud 354 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg); cygaud 363 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg); cygaud 365 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg); cygaud 371 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 374 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 377 sound/soc/bcm/cygnus-ssp.c writel(0x0, aio->cygaud->audio + aio->regs.bf_destch_ctrl); cygaud 379 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 381 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg); cygaud 391 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 393 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 395 sound/soc/bcm/cygnus-ssp.c writel(1, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl); cygaud 397 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 400 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 402 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 404 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 409 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + SPDIF_FORMAT_CFG_OFFSET); cygaud 411 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + SPDIF_FORMAT_CFG_OFFSET); cygaud 413 sound/soc/bcm/cygnus-ssp.c writel(1, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl); cygaud 415 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 417 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 420 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 439 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 442 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 446 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + BF_SRC_GRP_SYNC_DIS_OFFSET); cygaud 448 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + BF_SRC_GRP_SYNC_DIS_OFFSET); cygaud 450 sound/soc/bcm/cygnus-ssp.c writel(0, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl); cygaud 452 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 454 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 457 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + BF_SRC_GRP_SYNC_DIS_OFFSET); cygaud 459 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + BF_SRC_GRP_SYNC_DIS_OFFSET); cygaud 461 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 463 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); cygaud 466 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->i2s_in + IOP_SW_INIT_LOGIC); cygaud 468 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + IOP_SW_INIT_LOGIC); cygaud 470 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + IOP_SW_INIT_LOGIC); cygaud 473 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + SPDIF_FORMAT_CFG_OFFSET); cygaud 475 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + SPDIF_FORMAT_CFG_OFFSET); cygaud 476 sound/soc/bcm/cygnus-ssp.c writel(0, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl); cygaud 478 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 480 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 483 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 491 sound/soc/bcm/cygnus-ssp.c static int pll_configure_mclk(struct cygnus_audio *cygaud, u32 mclk, cygaud 507 sound/soc/bcm/cygnus-ssp.c dev_err(cygaud->dev, cygaud 512 sound/soc/bcm/cygnus-ssp.c ch_clk = cygaud->audio_clk[p_entry->pll_ch_num]; cygaud 517 sound/soc/bcm/cygnus-ssp.c dev_err(cygaud->dev, "%s clk_prepare_enable failed %d\n", cygaud 527 sound/soc/bcm/cygnus-ssp.c dev_err(cygaud->dev, "%s clk_prepare_enable failed %d\n", cygaud 536 sound/soc/bcm/cygnus-ssp.c dev_err(cygaud->dev, "%s Set MCLK rate failed: %d\n", cygaud 576 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 578 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "lrclk = %u, bits/frame = %u, mclk = %u\n", cygaud 594 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 597 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 598 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, cygaud 604 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "Unknown port type\n"); cygaud 609 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 612 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 614 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "mclk cfg reg = 0x%x\n", value); cygaud 615 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "bits per frame = %u, mclk = %u Hz, lrclk = %u Hz\n", cygaud 630 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s port = %d\n", __func__, aio->portnum); cygaud 631 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "params_channels %d\n", cygaud 633 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "rate %d\n", params_rate(params)); cygaud 634 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "format %d\n", params_format(params)); cygaud 641 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "Cannot run %d channels at %dHz\n", cygaud 650 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 656 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 659 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 675 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 678 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); cygaud 684 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + cygaud 687 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + cygaud 692 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + cygaud 695 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + cygaud 721 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); cygaud 723 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, cygaud 725 sound/soc/bcm/cygnus-ssp.c sel = pll_configure_mclk(cygaud, freq, aio); cygaud 727 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 734 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s Setting MCLKSEL to %d\n", __func__, sel); cygaud 735 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 738 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 775 sound/soc/bcm/cygnus-ssp.c val = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 777 sound/soc/bcm/cygnus-ssp.c if (val >= ARRAY_SIZE(aio->cygaud->audio_clk)) { cygaud 778 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "Clk index %u is out of bounds\n", cygaud 785 sound/soc/bcm/cygnus-ssp.c clk_disable_unprepare(aio->cygaud-> cygaud 791 sound/soc/bcm/cygnus-ssp.c clk_disable_unprepare(aio->cygaud-> cygaud 844 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s Enter fmt: %x\n", __func__, fmt); cygaud 896 sound/soc/bcm/cygnus-ssp.c ssp_curcfg = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 898 sound/soc/bcm/cygnus-ssp.c writel(ssp_outcfg, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 904 sound/soc/bcm/cygnus-ssp.c ssp_curcfg = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg); cygaud 906 sound/soc/bcm/cygnus-ssp.c writel(ssp_incfg, aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg); cygaud 908 sound/soc/bcm/cygnus-ssp.c val = readl(aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 926 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s Set OE bits 0x%x\n", __func__, val); cygaud 927 sound/soc/bcm/cygnus-ssp.c writel(val, aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 936 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); cygaud 938 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, cygaud 949 sound/soc/bcm/cygnus-ssp.c cygaud->active_ports++; cygaud 960 sound/soc/bcm/cygnus-ssp.c cygaud->active_ports--; cygaud 982 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 1010 sound/soc/bcm/cygnus-ssp.c dev_warn(aio->cygaud->dev, cygaud 1024 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, cygaud 1032 sound/soc/bcm/cygnus-ssp.c dev_dbg(aio->cygaud->dev, "%s active_slots %u, bits per frame %d\n", cygaud 1036 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg); cygaud 1041 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg); cygaud 1044 sound/soc/bcm/cygnus-ssp.c value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 1049 sound/soc/bcm/cygnus-ssp.c writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); cygaud 1062 sound/soc/bcm/cygnus-ssp.c val = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg); cygaud 1064 sound/soc/bcm/cygnus-ssp.c if (val >= ARRAY_SIZE(aio->cygaud->audio_clk)) { cygaud 1065 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "Clk index %u is out of bounds\n", cygaud 1071 sound/soc/bcm/cygnus-ssp.c clk_disable_unprepare(aio->cygaud->audio_clk[val]); cygaud 1073 sound/soc/bcm/cygnus-ssp.c clk_disable_unprepare(aio->cygaud->audio_clk[val]); cygaud 1088 sound/soc/bcm/cygnus-ssp.c error = clk_prepare_enable(aio->cygaud-> cygaud 1091 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "%s clk_prepare_enable failed\n", cygaud 1097 sound/soc/bcm/cygnus-ssp.c error = clk_prepare_enable(aio->cygaud-> cygaud 1101 sound/soc/bcm/cygnus-ssp.c clk_disable_unprepare(aio->cygaud-> cygaud 1103 sound/soc/bcm/cygnus-ssp.c dev_err(aio->cygaud->dev, "%s clk_prepare_enable failed\n", cygaud 1189 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud, cygaud 1225 sound/soc/bcm/cygnus-ssp.c aio = &cygaud->portinfo[portnum]; cygaud 1226 sound/soc/bcm/cygnus-ssp.c aio->cygaud = cygaud; cygaud 1255 sound/soc/bcm/cygnus-ssp.c aio->cygaud->dev = &pdev->dev; cygaud 1264 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud) cygaud 1269 sound/soc/bcm/cygnus-ssp.c for (i = 0; i < ARRAY_SIZE(cygaud->audio_clk); i++) { cygaud 1272 sound/soc/bcm/cygnus-ssp.c cygaud->audio_clk[i] = devm_clk_get(&pdev->dev, clk_name); cygaud 1273 sound/soc/bcm/cygnus-ssp.c if (IS_ERR(cygaud->audio_clk[i])) cygaud 1274 sound/soc/bcm/cygnus-ssp.c return PTR_ERR(cygaud->audio_clk[i]); cygaud 1285 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud; cygaud 1290 sound/soc/bcm/cygnus-ssp.c cygaud = devm_kzalloc(dev, sizeof(struct cygnus_audio), GFP_KERNEL); cygaud 1291 sound/soc/bcm/cygnus-ssp.c if (!cygaud) cygaud 1294 sound/soc/bcm/cygnus-ssp.c dev_set_drvdata(dev, cygaud); cygaud 1297 sound/soc/bcm/cygnus-ssp.c cygaud->audio = devm_ioremap_resource(dev, res); cygaud 1298 sound/soc/bcm/cygnus-ssp.c if (IS_ERR(cygaud->audio)) cygaud 1299 sound/soc/bcm/cygnus-ssp.c return PTR_ERR(cygaud->audio); cygaud 1302 sound/soc/bcm/cygnus-ssp.c cygaud->i2s_in = devm_ioremap_resource(dev, res); cygaud 1303 sound/soc/bcm/cygnus-ssp.c if (IS_ERR(cygaud->i2s_in)) cygaud 1304 sound/soc/bcm/cygnus-ssp.c return PTR_ERR(cygaud->i2s_in); cygaud 1308 sound/soc/bcm/cygnus-ssp.c cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); cygaud 1320 sound/soc/bcm/cygnus-ssp.c err = parse_ssp_child_node(pdev, child_node, cygaud, cygaud 1333 sound/soc/bcm/cygnus-ssp.c cygaud->dev = dev; cygaud 1334 sound/soc/bcm/cygnus-ssp.c cygaud->active_ports = 0; cygaud 1344 sound/soc/bcm/cygnus-ssp.c cygaud->irq_num = platform_get_irq(pdev, 0); cygaud 1345 sound/soc/bcm/cygnus-ssp.c if (cygaud->irq_num <= 0) cygaud 1346 sound/soc/bcm/cygnus-ssp.c return cygaud->irq_num; cygaud 1348 sound/soc/bcm/cygnus-ssp.c err = audio_clk_init(pdev, cygaud); cygaud 1354 sound/soc/bcm/cygnus-ssp.c err = cygnus_soc_platform_register(dev, cygaud); cygaud 104 sound/soc/bcm/cygnus-ssp.h struct cygnus_audio *cygaud; cygaud 135 sound/soc/bcm/cygnus-ssp.h struct cygnus_audio *cygaud);