Home
last modified time | relevance | path

Searched full:compatible (Results 1 – 14 of 14) sorted by relevance

/kvm-unit-tests/lib/riscv/
H A Dio.c61 const char *compatible[] = {"ns16550a"}; in uart0_init_fdt() local
69 for (i = 0; i < ARRAY_SIZE(compatible); i++) { in uart0_init_fdt()
70 ret = dt_pbus_get_base_compatible(compatible[i], &base); in uart0_init_fdt()
77 printf("%s: Compatible uart not found in the device tree, aborting...\n", in uart0_init_fdt()
/kvm-unit-tests/lib/arm/
H A Dio.c40 const char *compatible[] = {"arm,pl011", "ns16550a"}; in uart0_init_fdt() local
49 for (i = 0; i < ARRAY_SIZE(compatible); i++) { in uart0_init_fdt()
50 ret = dt_pbus_get_base_compatible(compatible[i], &base); in uart0_init_fdt()
58 printf("%s: Compatible uart not found in the device tree, " in uart0_init_fdt()
H A Dgic.c49 gic_get_dt_bases(const char *compatible, void **base1, void **base2, void **base3) in gic_get_dt_bases() argument
60 node = dt_device_find_compatible(&gic, compatible); in gic_get_dt_bases()
81 assert(!strcmp(compatible, "arm,cortex-a15-gic")); in gic_get_dt_bases()
85 assert(!strcmp(compatible, "arm,gic-v3")); in gic_get_dt_bases()
90 prop = fdt_get_property(fdt, subnode, "compatible", &len); in gic_get_dt_bases()
/kvm-unit-tests/lib/
H A Ddevicetree.c143 const char *compatible) in dt_device_find_compatible() argument
147 node = fdt_node_offset_by_compatible(fdt, -1, compatible); in dt_device_find_compatible()
154 node = fdt_node_offset_by_compatible(fdt, node, compatible); in dt_device_find_compatible()
159 int dt_pbus_get_base_compatible(const char *compatible, in dt_pbus_get_base_compatible() argument
167 node = dt_device_find_compatible(&dev, compatible); in dt_pbus_get_base_compatible()
H A Ddevicetree.h140 * dt_device_find_compatible finds a @compatible node
146 const char *compatible);
150 * It finds the first @compatible fdt node, then translates the 0th reg
157 extern int dt_pbus_get_base_compatible(const char *compatible,
H A Dpci-host-generic.c85 printf("No PCIe ECAM compatible controller found\n"); in pci_dt_probe()
/kvm-unit-tests/
H A DCOPYRIGHT9 the less restrictive GNU LGPL, version 2, or other compatible licenses. See
H A Dconfigure125 Specify an 8250 compatible UART at address ADDR. Supported
129 Specify a PL011 compatible UART at address ADDR. Supported
/kvm-unit-tests/lib/libfdt/
H A Dfdt.h19 fdt32_t last_comp_version; /* last compatible version */
H A Dfdt_ro.c824 const char *compatible) in fdt_node_check_compatible() argument
829 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
833 return !fdt_stringlist_contains(prop, len, compatible); in fdt_node_check_compatible()
837 const char *compatible) in fdt_node_offset_by_compatible() argument
851 err = fdt_node_check_compatible(fdt, offset, compatible); in fdt_node_offset_by_compatible()
H A Dlibfdt.h1026 * fdt_node_check_compatible - check a node's compatible property
1029 * @compatible: string to match against
1032 * @compatible property with the given string as one of its elements,
1036 * 0, if the node has a 'compatible' property listing the given string
1037 * 1, if the node has a 'compatible' property, but it does not list
1039 * -FDT_ERR_NOTFOUND, if the given node has no 'compatible' property
1047 const char *compatible);
1050 * fdt_node_offset_by_compatible - find nodes with a given 'compatible' value
1053 * @compatible: 'compatible' string to match against
1056 * node after startoffset, which has a 'compatible' property which
[all …]
/kvm-unit-tests/lib/s390x/asm/
H A Darch_def.h26 * The GRs are offset compatible with struct stack_frame so we
/kvm-unit-tests/scripts/
H A Dcheckpatch.pl3725 # check for DT compatible documentation
3727 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
3728 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
3743 "DT compatible string \"$compat\" appears un-documented -- check $dt_path\n" . $herecurr);
3751 … "DT compatible string vendor \"$vendor\" appears un-documented -- check $vp_file\n" . $herecurr);
H A Dkernel-doc2444 Use the ReST C domain dialect compatible with a specific Sphinx Version.