Lines Matching defs:qe

30 #include <soc/fsl/qe/immap_qe.h>
31 #include <soc/fsl/qe/qe.h>
54 struct device_node *qe;
57 * Newer device trees have an "fsl,qe" compatible property for the QE
60 qe = of_find_compatible_node(NULL, NULL, "fsl,qe");
61 if (qe)
62 return qe;
63 return of_find_node_by_type(NULL, "qe");
68 struct device_node *qe;
75 qe = qe_get_device_node();
76 if (!qe)
79 ret = of_address_to_resource(qe, 0, &res);
82 of_node_put(qe);
162 struct device_node *qe;
169 qe = qe_get_device_node();
170 if (!qe)
173 if (!of_property_read_u32(qe, "brg-frequency", &brg))
176 of_node_put(qe);
304 struct device_node *qe;
310 qe = qe_get_device_node();
311 if (qe) {
312 i = of_property_read_variable_u8_array(qe, "fsl,qe-snums",
315 of_node_put(qe);
321 * fsl,qe-num-snums to choose one of the static arrays
324 of_property_read_u32(qe, "fsl,qe-num-snums", &qe_num_of_snum);
325 of_node_put(qe);
333 pr_err("QE: unsupported value of fsl,qe-num-snums: %u\n", qe_num_of_snum);
412 printk(KERN_INFO "qe-firmware: "
416 printk(KERN_INFO "qe-firmware: "
457 printk(KERN_ERR "qe-firmware: invalid pointer\n");
467 printk(KERN_ERR "qe-firmware: not a microcode\n");
473 printk(KERN_ERR "qe-firmware: unsupported version\n");
479 printk(KERN_ERR "qe-firmware: invalid data\n");
497 printk(KERN_ERR "qe-firmware: invalid length\n");
504 printk(KERN_ERR "qe-firmware: firmware CRC is invalid\n");
516 "qe-firmware: firmware '%s' for %u V%u.%u\n",
520 printk(KERN_INFO "qe-firmware: firmware '%s'\n",
570 struct device_node *qe;
586 qe = qe_get_device_node();
587 if (!qe)
591 fw = of_get_child_by_name(qe, "firmware");
592 of_node_put(qe);
620 struct device_node *qe;
623 qe = qe_get_device_node();
624 if (!qe)
627 of_property_read_u32(qe, "fsl,qe-num-riscs", &num_of_risc);
629 of_node_put(qe);
645 np = of_find_compatible_node(NULL, NULL, "fsl,qe");
668 { .compatible = "fsl,qe", },
674 .name = "fsl-qe",