machine_data 53 sound/soc/fsl/mpc8610_hpcd.c struct mpc8610_hpcd_data *machine_data = machine_data 64 sound/soc/fsl/mpc8610_hpcd.c guts_set_dmacr(guts, machine_data->dma_id[0], machine_data 65 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[0], machine_data 67 sound/soc/fsl/mpc8610_hpcd.c guts_set_dmacr(guts, machine_data->dma_id[1], machine_data 68 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[1], machine_data 71 sound/soc/fsl/mpc8610_hpcd.c guts_set_pmuxcr_dma(guts, machine_data->dma_id[0], machine_data 72 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[0], 0); machine_data 73 sound/soc/fsl/mpc8610_hpcd.c guts_set_pmuxcr_dma(guts, machine_data->dma_id[1], machine_data 74 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[1], 0); machine_data 76 sound/soc/fsl/mpc8610_hpcd.c switch (machine_data->ssi_id) { machine_data 102 sound/soc/fsl/mpc8610_hpcd.c struct mpc8610_hpcd_data *machine_data = machine_data 108 sound/soc/fsl/mpc8610_hpcd.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, machine_data->dai_format); machine_data 119 sound/soc/fsl/mpc8610_hpcd.c machine_data->clk_frequency, machine_data 120 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction); machine_data 137 sound/soc/fsl/mpc8610_hpcd.c struct mpc8610_hpcd_data *machine_data = machine_data 149 sound/soc/fsl/mpc8610_hpcd.c guts_set_dmacr(guts, machine_data->dma_id[0], machine_data 150 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[0], 0); machine_data 151 sound/soc/fsl/mpc8610_hpcd.c guts_set_dmacr(guts, machine_data->dma_id[1], machine_data 152 sound/soc/fsl/mpc8610_hpcd.c machine_data->dma_channel_id[1], 0); machine_data 154 sound/soc/fsl/mpc8610_hpcd.c switch (machine_data->ssi_id) { machine_data 191 sound/soc/fsl/mpc8610_hpcd.c struct mpc8610_hpcd_data *machine_data; machine_data 204 sound/soc/fsl/mpc8610_hpcd.c machine_data = kzalloc(sizeof(struct mpc8610_hpcd_data), GFP_KERNEL); machine_data 205 sound/soc/fsl/mpc8610_hpcd.c if (!machine_data) { machine_data 216 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].cpus = &comp[0]; machine_data 217 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs = &comp[1]; machine_data 218 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].platforms = &comp[2]; machine_data 220 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_cpus = 1; machine_data 221 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_codecs = 1; machine_data 222 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_platforms = 1; machine_data 224 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].cpus = &comp[3]; machine_data 225 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].codecs = &comp[4]; machine_data 226 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].platforms = &comp[5]; machine_data 228 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_cpus = 1; machine_data 229 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_codecs = 1; machine_data 230 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_platforms = 1; machine_data 232 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].cpus->dai_name = dev_name(&ssi_pdev->dev); machine_data 233 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].ops = &mpc8610_hpcd_ops; machine_data 236 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs->of_node = codec_np; machine_data 239 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs->dai_name = "cs4270-hifi"; machine_data 245 sound/soc/fsl/mpc8610_hpcd.c memcpy(&machine_data->dai[1], &machine_data->dai[0], machine_data 255 sound/soc/fsl/mpc8610_hpcd.c machine_data->ssi_id = be32_to_cpup(iprop); machine_data 266 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 268 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_OUT; machine_data 269 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_IN; machine_data 282 sound/soc/fsl/mpc8610_hpcd.c machine_data->clk_frequency = be32_to_cpup(iprop); machine_data 284 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 286 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_IN; machine_data 287 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_OUT; machine_data 289 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 291 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_OUT; machine_data 292 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_IN; machine_data 294 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 296 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_IN; machine_data 297 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_OUT; machine_data 299 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 301 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_OUT; machine_data 302 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_IN; machine_data 304 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 306 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_IN; machine_data 307 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_OUT; machine_data 309 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 311 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_OUT; machine_data 312 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_IN; machine_data 314 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai_format = machine_data 316 sound/soc/fsl/mpc8610_hpcd.c machine_data->codec_clk_direction = SND_SOC_CLOCK_IN; machine_data 317 sound/soc/fsl/mpc8610_hpcd.c machine_data->cpu_clk_direction = SND_SOC_CLOCK_OUT; machine_data 325 sound/soc/fsl/mpc8610_hpcd.c if (!machine_data->clk_frequency) { machine_data 332 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].platforms->name = machine_data->platform_name[0]; machine_data 334 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dai[0], machine_data 335 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dma_channel_id[0], machine_data 336 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dma_id[0]); machine_data 343 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].platforms->name = machine_data->platform_name[1]; machine_data 345 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dai[1], machine_data 346 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dma_channel_id[1], machine_data 347 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dma_id[1]); machine_data 354 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].stream_name = "playback"; machine_data 355 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].stream_name = "capture"; machine_data 356 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].name = machine_data->dai[0].stream_name; machine_data 357 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].name = machine_data->dai[1].stream_name; machine_data 359 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.probe = mpc8610_hpcd_machine_probe; machine_data 360 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.remove = mpc8610_hpcd_machine_remove; machine_data 361 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.name = pdev->name; /* The platform driver name */ machine_data 362 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.owner = THIS_MODULE; machine_data 363 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.dev = &pdev->dev; machine_data 364 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.num_links = 2; machine_data 365 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.dai_link = machine_data->dai; machine_data 368 sound/soc/fsl/mpc8610_hpcd.c ret = snd_soc_register_card(&machine_data->card); machine_data 379 sound/soc/fsl/mpc8610_hpcd.c kfree(machine_data); machine_data 393 sound/soc/fsl/mpc8610_hpcd.c struct mpc8610_hpcd_data *machine_data = machine_data 397 sound/soc/fsl/mpc8610_hpcd.c kfree(machine_data); machine_data 85 sound/soc/fsl/p1022_ds.c struct machine_data *mdata = machine_data 86 sound/soc/fsl/p1022_ds.c container_of(card, struct machine_data, card); machine_data 125 sound/soc/fsl/p1022_ds.c struct machine_data *mdata = machine_data 126 sound/soc/fsl/p1022_ds.c container_of(rtd->card, struct machine_data, card); machine_data 159 sound/soc/fsl/p1022_ds.c struct machine_data *mdata = machine_data 160 sound/soc/fsl/p1022_ds.c container_of(card, struct machine_data, card); machine_data 201 sound/soc/fsl/p1022_ds.c struct machine_data *mdata; machine_data 214 sound/soc/fsl/p1022_ds.c mdata = kzalloc(sizeof(struct machine_data), GFP_KERNEL); machine_data 402 sound/soc/fsl/p1022_ds.c struct machine_data *mdata = machine_data 403 sound/soc/fsl/p1022_ds.c container_of(card, struct machine_data, card); machine_data 91 sound/soc/fsl/p1022_rdk.c struct machine_data *mdata = machine_data 92 sound/soc/fsl/p1022_rdk.c container_of(card, struct machine_data, card); machine_data 131 sound/soc/fsl/p1022_rdk.c struct machine_data *mdata = machine_data 132 sound/soc/fsl/p1022_rdk.c container_of(rtd->card, struct machine_data, card); machine_data 163 sound/soc/fsl/p1022_rdk.c struct machine_data *mdata = machine_data 164 sound/soc/fsl/p1022_rdk.c container_of(card, struct machine_data, card); machine_data 205 sound/soc/fsl/p1022_rdk.c struct machine_data *mdata; machine_data 217 sound/soc/fsl/p1022_rdk.c mdata = kzalloc(sizeof(struct machine_data), GFP_KERNEL); machine_data 351 sound/soc/fsl/p1022_rdk.c struct machine_data *mdata = machine_data 352 sound/soc/fsl/p1022_rdk.c container_of(card, struct machine_data, card);