Lines Matching refs:prop
74 const u32 *prop; in get_qe_base() local
86 prop = of_get_property(qe, "reg", &size); in get_qe_base()
87 if (prop && size >= sizeof(*prop)) in get_qe_base()
88 qebase = of_translate_address(qe, prop); in get_qe_base()
171 const u32 *prop; in qe_get_brg_clk() local
183 prop = of_get_property(qe, "brg-frequency", &size); in qe_get_brg_clk()
184 if (prop && size == sizeof(*prop)) in qe_get_brg_clk()
185 brg_clk = *prop; in qe_get_brg_clk()
520 struct property *prop; in qe_get_firmware_info() local
569 prop = of_find_property(fw, "extended-modes", NULL); in qe_get_firmware_info()
570 if (prop && (prop->length == sizeof(u64))) { in qe_get_firmware_info()
571 const u64 *iprop = prop->value; in qe_get_firmware_info()
576 prop = of_find_property(fw, "virtual-traps", NULL); in qe_get_firmware_info()
577 if (prop && (prop->length == 32)) { in qe_get_firmware_info()
578 const u32 *iprop = prop->value; in qe_get_firmware_info()
595 const u32 *prop; in qe_get_num_of_risc() local
608 prop = of_get_property(qe, "fsl,qe-num-riscs", &size); in qe_get_num_of_risc()
609 if (prop && size == sizeof(*prop)) in qe_get_num_of_risc()
610 num_of_risc = *prop; in qe_get_num_of_risc()
623 const u32 *prop; in qe_get_num_of_snums() local
637 prop = of_get_property(qe, "fsl,qe-num-snums", &size); in qe_get_num_of_snums()
638 if (prop && size == sizeof(*prop)) { in qe_get_num_of_snums()
639 num_of_snums = *prop; in qe_get_num_of_snums()