Lines Matching refs:prop
61 const u32 *prop = of_get_property(soc, "#address-cells", &size); in get_immrbase() local
63 if (prop && size == 4) in get_immrbase()
64 naddr = *prop; in get_immrbase()
68 prop = of_get_property(soc, "ranges", &size); in get_immrbase()
69 if (prop) in get_immrbase()
70 immrbase = of_translate_address(soc, prop + naddr); in get_immrbase()
85 const u32 *prop; in fsl_get_sys_freq() local
95 prop = of_get_property(soc, "clock-frequency", &size); in fsl_get_sys_freq()
96 if (!prop || size != sizeof(*prop) || *prop == 0) in fsl_get_sys_freq()
97 prop = of_get_property(soc, "bus-frequency", &size); in fsl_get_sys_freq()
99 if (prop && size == sizeof(*prop)) in fsl_get_sys_freq()
100 sysfreq = *prop; in fsl_get_sys_freq()
114 const unsigned int *prop; in get_brgfreq() local
122 prop = of_get_property(node, "clock-frequency", &size); in get_brgfreq()
123 if (prop && size == 4) in get_brgfreq()
124 brgfreq = *prop; in get_brgfreq()
138 prop = of_get_property(node, "brg-frequency", &size); in get_brgfreq()
139 if (prop && size == 4) in get_brgfreq()
140 brgfreq = *prop; in get_brgfreq()
143 prop = of_get_property(node, "bus-frequency", &size); in get_brgfreq()
144 if (prop && size == 4) in get_brgfreq()
145 brgfreq = *prop / 2; in get_brgfreq()
167 const unsigned int *prop = of_get_property(node, in get_baudrate() local
170 if (prop) in get_baudrate()
171 fs_baudrate = *prop; in get_baudrate()