Lines Matching defs:pdata
16 static struct s3c24xx_audio_simtec_pdata *pdata;
42 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1);
43 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1);
85 gpio_set_value(pdata->amp_gpio, to);
88 if (to && pdata->amp_gain[0] > 0)
134 if (pdata->amp_gpio > 0) {
141 if (pdata->amp_gain[0] > 0) {
174 if (pdata->use_mpllin) {
185 if (pdata->output_cdclk) {
227 if (pdata->amp_gain[0] > 0) {
237 gpio_free(pdata->amp_gain[0]);
246 if (pdata->amp_gpio > 0) {
283 simtec_call_startup(pdata);
303 pdata = pdev->dev.platform_data;
304 if (!pdata) {
309 simtec_call_startup(pdata);
319 ret = attach_gpio_amp(&pdev->dev, pdata);
345 detach_gpio_amp(pdata);
359 detach_gpio_amp(pdata);