Lines Matching refs:pdata
150 struct omap_tw4030_pdata *pdata = dev_get_platdata(card->dev); in omap_twl4030_init() local
176 if (!pdata || !pdata->custom_routing) in omap_twl4030_init()
180 twl4030_disconnect_pin(dapm, pdata->has_ear, "Earpiece Spk"); in omap_twl4030_init()
181 twl4030_disconnect_pin(dapm, pdata->has_hf, "Handsfree Spk"); in omap_twl4030_init()
182 twl4030_disconnect_pin(dapm, pdata->has_hs, "Headset Stereophone"); in omap_twl4030_init()
183 twl4030_disconnect_pin(dapm, pdata->has_predriv, "Ext Spk"); in omap_twl4030_init()
184 twl4030_disconnect_pin(dapm, pdata->has_carkit, "Carkit Spk"); in omap_twl4030_init()
186 twl4030_disconnect_pin(dapm, pdata->has_mainmic, "Main Mic"); in omap_twl4030_init()
187 twl4030_disconnect_pin(dapm, pdata->has_submic, "Sub Mic"); in omap_twl4030_init()
188 twl4030_disconnect_pin(dapm, pdata->has_hsmic, "Headset Mic"); in omap_twl4030_init()
189 twl4030_disconnect_pin(dapm, pdata->has_carkitmic, "Carkit Mic"); in omap_twl4030_init()
190 twl4030_disconnect_pin(dapm, pdata->has_digimic0, "Digital0 Mic"); in omap_twl4030_init()
191 twl4030_disconnect_pin(dapm, pdata->has_digimic1, "Digital1 Mic"); in omap_twl4030_init()
192 twl4030_disconnect_pin(dapm, pdata->has_linein, "Line In"); in omap_twl4030_init()
239 struct omap_tw4030_pdata *pdata = dev_get_platdata(&pdev->dev); in omap_twl4030_probe() local
295 } else if (pdata) { in omap_twl4030_probe()
296 if (pdata->card_name) { in omap_twl4030_probe()
297 card->name = pdata->card_name; in omap_twl4030_probe()
303 if (!pdata->voice_connected) in omap_twl4030_probe()
306 priv->jack_detect = pdata->jack_detect; in omap_twl4030_probe()