Lines Matching defs:qe

29 #include <soc/fsl/qe/immap_qe.h>
30 #include <soc/fsl/qe/qe.h>
53 struct device_node *qe;
56 * Newer device trees have an "fsl,qe" compatible property for the QE
59 qe = of_find_compatible_node(NULL, NULL, "fsl,qe");
60 if (qe)
61 return qe;
62 return of_find_node_by_type(NULL, "qe");
67 struct device_node *qe;
74 qe = qe_get_device_node();
75 if (!qe)
78 ret = of_address_to_resource(qe, 0, &res);
81 of_node_put(qe);
161 struct device_node *qe;
168 qe = qe_get_device_node();
169 if (!qe)
172 if (!of_property_read_u32(qe, "brg-frequency", &brg))
175 of_node_put(qe);
303 struct device_node *qe;
309 qe = qe_get_device_node();
310 if (qe) {
311 i = of_property_read_variable_u8_array(qe, "fsl,qe-snums",
314 of_node_put(qe);
320 * fsl,qe-num-snums to choose one of the static arrays
323 of_property_read_u32(qe, "fsl,qe-num-snums", &qe_num_of_snum);
324 of_node_put(qe);
332 pr_err("QE: unsupported value of fsl,qe-num-snums: %u\n", qe_num_of_snum);
411 printk(KERN_INFO "qe-firmware: "
415 printk(KERN_INFO "qe-firmware: "
456 printk(KERN_ERR "qe-firmware: invalid pointer\n");
466 printk(KERN_ERR "qe-firmware: not a microcode\n");
472 printk(KERN_ERR "qe-firmware: unsupported version\n");
478 printk(KERN_ERR "qe-firmware: invalid data\n");
496 printk(KERN_ERR "qe-firmware: invalid length\n");
503 printk(KERN_ERR "qe-firmware: firmware CRC is invalid\n");
515 "qe-firmware: firmware '%s' for %u V%u.%u\n",
519 printk(KERN_INFO "qe-firmware: firmware '%s'\n",
569 struct device_node *qe;
585 qe = qe_get_device_node();
586 if (!qe)
590 fw = of_get_child_by_name(qe, "firmware");
591 of_node_put(qe);
619 struct device_node *qe;
622 qe = qe_get_device_node();
623 if (!qe)
626 of_property_read_u32(qe, "fsl,qe-num-riscs", &num_of_risc);
628 of_node_put(qe);
644 np = of_find_compatible_node(NULL, NULL, "fsl,qe");
667 { .compatible = "fsl,qe", },
673 .name = "fsl-qe",