Lines Matching refs:dev
134 dev_warn(card->dev, in mt8173_rt5650_init()
150 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_init()
278 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_rt5650_dev_probe()
281 dev_err(&pdev->dev, "Property 'platform' missing or invalid\n"); in mt8173_rt5650_dev_probe()
292 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); in mt8173_rt5650_dev_probe()
294 dev_err(&pdev->dev, in mt8173_rt5650_dev_probe()
302 np = of_get_child_by_name(pdev->dev.of_node, "codec-capture"); in mt8173_rt5650_dev_probe()
307 dev_err(&pdev->dev, in mt8173_rt5650_dev_probe()
316 if (device_property_present(&pdev->dev, "mediatek,mclk")) { in mt8173_rt5650_dev_probe()
317 ret = device_property_read_u32(&pdev->dev, in mt8173_rt5650_dev_probe()
321 dev_err(&pdev->dev, in mt8173_rt5650_dev_probe()
328 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1); in mt8173_rt5650_dev_probe()
330 dev_err(&pdev->dev, in mt8173_rt5650_dev_probe()
335 card->dev = &pdev->dev; in mt8173_rt5650_dev_probe()
337 ret = devm_snd_soc_register_card(&pdev->dev, card); in mt8173_rt5650_dev_probe()