Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 7 of 7) sorted by relevance

/sound/soc/qcom/qdsp6/
Dq6afe-clocks.c193 struct q6afe_cc *cc = data; in q6afe_of_clk_hw_get() local
198 dev_err(cc->dev, "Invalid clk specifier (%d, %d)\n", idx, attr); in q6afe_of_clk_hw_get()
202 if (cc->clks[idx]) { in q6afe_of_clk_hw_get()
203 cc->clks[idx]->attributes = attr; in q6afe_of_clk_hw_get()
204 return &cc->clks[idx]->hw; in q6afe_of_clk_hw_get()
212 struct q6afe_cc *cc; in q6afe_clock_dev_probe() local
216 cc = devm_kzalloc(dev, sizeof(*cc), GFP_KERNEL); in q6afe_clock_dev_probe()
217 if (!cc) in q6afe_clock_dev_probe()
220 cc->dev = dev; in q6afe_clock_dev_probe()
242 cc->clks[id] = clk; in q6afe_clock_dev_probe()
[all …]
/sound/soc/sof/
Dloader.c49 const struct sof_ipc_cc_version *cc = in get_cc_info() local
53 if (memcmp(sdev->cc_version, cc, cc->ext_hdr.hdr.size)) { in get_cc_info()
61 cc->name, cc->major, cc->minor, cc->micro, cc->desc, in get_cc_info()
62 cc->optim); in get_cc_info()
67 sdev->cc_version = devm_kmalloc(sdev->dev, cc->ext_hdr.hdr.size, in get_cc_info()
73 memcpy(sdev->cc_version, cc, cc->ext_hdr.hdr.size); in get_cc_info()
75 cc->ext_hdr.hdr.size, in get_cc_info()
177 const struct sof_ext_man_cc_version *cc; in ext_man_get_cc_info() local
179 cc = container_of(hdr, struct sof_ext_man_cc_version, hdr); in ext_man_get_cc_info()
181 return get_cc_info(sdev, &cc->cc_version.ext_hdr); in ext_man_get_cc_info()
/sound/aoa/fabrics/
Dlayout.c774 struct codec_connection *cc; in check_codec() local
801 cc = cci->connections; in check_codec()
802 if (!cc) in check_codec()
808 codec->fabric_data = cc; in check_codec()
810 while (cc->connected) { in check_codec()
811 codec->connected |= 1<<cc->codec_bit; in check_codec()
812 cc++; in check_codec()
897 struct codec_connection *cc; in layout_attached_codec() local
904 cc = codec->fabric_data; in layout_attached_codec()
916 while (cc->connected) { in layout_attached_codec()
[all …]
/sound/isa/sb/
Demu8000_patch.c78 unsigned char cc; in read_word() local
79 get_user(cc, (unsigned char __user *)buf + offset); in read_word()
80 c = cc << 8; /* convert 8bit -> 16bit */ in read_word()
85 unsigned short cc; in read_word()
86 get_user(cc, (unsigned short __user *)buf + offset); in read_word()
87 c = swab16(cc); in read_word()
/sound/hda/
Dhdac_stream.c548 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read() argument
550 struct hdac_stream *azx_dev = container_of(cc, struct hdac_stream, cc); in azx_cc_read()
559 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init() local
562 cc->read = azx_cc_read; in azx_timecounter_init()
563 cc->mask = CLOCKSOURCE_MASK(32); in azx_timecounter_init()
569 clocks_calc_mult_shift(&cc->mult, &cc->shift, 24000000, in azx_timecounter_init()
573 timecounter_init(tc, cc, nsec); in azx_timecounter_init()
/sound/soc/generic/
Dsimple-card-utils.c649 int cc = li->num[i].cpus + li->num[i].codecs; in asoc_simple_init_priv() local
651 dai_num += cc; in asoc_simple_init_priv()
652 dlc_num += cc + li->num[i].platforms; in asoc_simple_init_priv()
/sound/pci/asihpi/
Dasihpi.c124 struct clk_cache cc; member
2322 struct clk_cache *clkcache = &asihpi->cc; in snd_asihpi_clksrc_info()
2341 struct clk_cache *clkcache = &asihpi->cc; in snd_asihpi_clksrc_get()
2369 struct clk_cache *clkcache = &asihpi->cc; in snd_asihpi_clksrc_put()
2476 clkcache = &asihpi->cc; in snd_asihpi_sampleclock_add()