Lines Matching refs:np_ddr
67 struct device_node *np_ddr; member
888 struct device_node *np_ddr, in of_get_ddr_info() argument
900 if (of_device_is_compatible(np_ddr, "jedec,lpddr2-s4")) in of_get_ddr_info()
902 else if (of_device_is_compatible(np_ddr, "jedec,lpddr2-s2")) in of_get_ddr_info()
905 of_property_read_u32(np_ddr, "density", &density); in of_get_ddr_info()
906 of_property_read_u32(np_ddr, "io-width", &io_width); in of_get_ddr_info()
927 struct device_node *np_ddr; in of_get_memory_device_details() local
930 np_ddr = of_parse_phandle(np_emif, "device-handle", 0); in of_get_memory_device_details()
931 if (!np_ddr) in of_get_memory_device_details()
946 emif->np_ddr = np_ddr; in of_get_memory_device_details()
959 of_get_ddr_info(np_emif, np_ddr, dev_info); in of_get_memory_device_details()
972 if (emif1 && emif1->np_ddr == np_ddr) { in of_get_memory_device_details()
981 emif->plat_data->timings = of_get_ddr_timings(np_ddr, emif->dev, in of_get_memory_device_details()
985 emif->plat_data->min_tck = of_get_min_tck(np_ddr, emif->dev); in of_get_memory_device_details()