Lines Matching refs:qe
54 struct device_node *qe; in qe_get_device_node() local
60 qe = of_find_compatible_node(NULL, NULL, "fsl,qe"); in qe_get_device_node()
61 if (qe) in qe_get_device_node()
62 return qe; in qe_get_device_node()
68 struct device_node *qe; in get_qe_base() local
75 qe = qe_get_device_node(); in get_qe_base()
76 if (!qe) in get_qe_base()
79 ret = of_address_to_resource(qe, 0, &res); in get_qe_base()
82 of_node_put(qe); in get_qe_base()
162 struct device_node *qe; in qe_get_brg_clk() local
169 qe = qe_get_device_node(); in qe_get_brg_clk()
170 if (!qe) in qe_get_brg_clk()
173 if (!of_property_read_u32(qe, "brg-frequency", &brg)) in qe_get_brg_clk()
176 of_node_put(qe); in qe_get_brg_clk()
304 struct device_node *qe; in qe_snums_init() local
310 qe = qe_get_device_node(); in qe_snums_init()
311 if (qe) { in qe_snums_init()
312 i = of_property_read_variable_u8_array(qe, "fsl,qe-snums", in qe_snums_init()
315 of_node_put(qe); in qe_snums_init()
324 of_property_read_u32(qe, "fsl,qe-num-snums", &qe_num_of_snum); in qe_snums_init()
325 of_node_put(qe); in qe_snums_init()
570 struct device_node *qe; in qe_get_firmware_info() local
586 qe = qe_get_device_node(); in qe_get_firmware_info()
587 if (!qe) in qe_get_firmware_info()
591 fw = of_get_child_by_name(qe, "firmware"); in qe_get_firmware_info()
592 of_node_put(qe); in qe_get_firmware_info()
620 struct device_node *qe; in qe_get_num_of_risc() local
623 qe = qe_get_device_node(); in qe_get_num_of_risc()
624 if (!qe) in qe_get_num_of_risc()
627 of_property_read_u32(qe, "fsl,qe-num-riscs", &num_of_risc); in qe_get_num_of_risc()
629 of_node_put(qe); in qe_get_num_of_risc()