Lines Matching refs:np
259 static int fsl_asoc_card_audmux_init(struct device_node *np, in fsl_asoc_card_audmux_init() argument
267 ret = of_property_read_u32(np, "mux-int-port", &int_port); in fsl_asoc_card_audmux_init()
272 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in fsl_asoc_card_audmux_init()
388 struct device_node *np = pdev->dev.of_node; in fsl_asoc_card_probe() local
401 cpu_np = of_parse_phandle(np, "audio-cpu", 0); in fsl_asoc_card_probe()
404 cpu_np = of_parse_phandle(np, "ssi-controller", 0); in fsl_asoc_card_probe()
405 codec_np = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe()
426 asrc_np = of_parse_phandle(np, "audio-asrc", 0); in fsl_asoc_card_probe()
445 if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) { in fsl_asoc_card_probe()
452 } else if (of_device_is_compatible(np, "fsl,imx-audio-sgtl5000")) { in fsl_asoc_card_probe()
455 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8962")) { in fsl_asoc_card_probe()
469 ret = fsl_asoc_card_audmux_init(np, priv); in fsl_asoc_card_probe()