/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_dtb.cpp | 69 const char* compatible = (const char*)fdt_getprop(fdt, node, local 70 "compatible", &compatibleLen); 72 if (compatible == NULL) 75 if (dtb_has_fdt_string(compatible, compatibleLen, "riscv,clint0")) { 80 if (dtb_has_fdt_string(compatible, compatibleLen, "riscv,plic0") 81 || dtb_has_fdt_string(compatible, compatibleLen, "sifive,plic-1.0.0")) {
|
/haiku/src/system/boot/platform/riscv/ |
H A D | fdt.cpp | 119 const char* compatible = (const char*)fdt_getprop(fdt, node, local 120 "compatible", &compatibleLen); 121 if (compatible == NULL) return; 122 if (HasFdtString(compatible, compatibleLen, "riscv,clint0")) { 127 } else if (HasFdtString(compatible, compatibleLen, "riscv,plic0")) { 147 } else if (HasFdtString(compatible, compatibleLen, "virtio,mmio")) { 154 HasFdtString(compatible, compatibleLen, "ns16550a") || 155 HasFdtString(compatible, compatibleLen, "sifive,uart0")) 157 if (HasFdtString(compatible, compatibleLen, "ns16550a")) 159 else if (HasFdtString(compatible, compatibleLe [all...] |
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_dtb.cpp | 24 * compatible = "arm,gic-v3"; 58 const char* compatible = (const char*)fdt_getprop(fdt, node, local 59 "compatible", &compatibleLen); 61 if (compatible == NULL) 67 if (dtb_has_fdt_string(compatible, compatibleLen,
|
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_dtb.cpp | 66 const char* compatible = (const char*)fdt_getprop(fdt, node, local 67 "compatible", &compatibleLen); 69 if (compatible == NULL) 75 if (dtb_has_fdt_string(compatible, compatibleLen, 90 if (dtb_has_fdt_string(compatible, compatibleLen,
|
/haiku/src/add-ons/kernel/busses/i2c/ocores/ |
H A D | ocores_i2c.cpp | 90 const char* compatible; local 91 status = gDeviceManager->get_attr_string(parent, "fdt/compatible", &compatible, false); 95 if (strcmp(compatible, "opencores,i2c-ocores") != 0 96 && strcmp(compatible, "sifive,fu740-c000-i2c") != 0 97 && strcmp(compatible, "sifive,i2c0") != 0) {
|
/haiku/src/add-ons/kernel/busses/pci/ecam/ |
H A D | ECAMPCIController.cpp | 84 const char* compatible; local 85 status = gDeviceManager->get_attr_string(parent, "fdt/compatible", &compatible, false); 89 if (strcmp(compatible, "pci-host-ecam-generic") != 0)
|
/haiku/src/add-ons/kernel/busses/pci/designware/ |
H A D | DWPCIController.cpp | 85 const char* compatible; local 86 status = gDeviceManager->get_attr_string(parent, "fdt/compatible", &compatible, false); 92 if (strcmp(compatible, "sifive,fu740-pcie") != 0)
|
/haiku/src/libs/libfdt/ |
H A D | fdt_ro.c | 824 const char *compatible) 829 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); 833 return !fdt_stringlist_contains(prop, len, compatible); 837 const char *compatible) 851 err = fdt_node_check_compatible(fdt, offset, compatible); 823 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument 836 fdt_node_offset_by_compatible(const void *fdt, int startoffset, const char *compatible) argument
|
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/ |
H A D | virtio_mmio.cpp | 100 const char* compatible; local 101 status = gDeviceManager->get_attr_string(parent, "fdt/compatible", 102 &compatible, false); 107 if (strcmp(compatible, "virtio,mmio") != 0) 274 TRACE(" compatible: %s\n", (const char*)parentModule->get_prop(parentDev, 275 "compatible", NULL));
|
/haiku/headers/libs/libfdt/ |
H A D | libfdt.h | 1033 * fdt_node_check_compatible - check a node's compatible property 1036 * @compatible: string to match against 1039 * @compatible property with the given string as one of its elements, 1043 * 0, if the node has a 'compatible' property listing the given string 1044 * 1, if the node has a 'compatible' property, but it does not list 1046 * -FDT_ERR_NOTFOUND, if the given node has no 'compatible' property 1054 const char *compatible); 1057 * fdt_node_offset_by_compatible - find nodes with a given 'compatible' value 1060 * @compatible: 'compatible' strin [all...] |
/haiku/build/scripts/ |
H A D | build_cross_tools_gcc4 | 240 --with-default-libstdcxx-abi=gcc4-compatible \
|
/haiku/src/system/boot/platform/efi/ |
H A D | dtb.cpp | 143 strcmp(fdt_string(fdt, fdt32_to_cpu(property->nameoff)), "compatible") == 0 || 547 const char* compatible = (const char*)fdt_getprop(fdt, node, local 548 "compatible", &compatibleLen); 550 if (compatible == NULL) 557 if (dtb_has_fdt_string(compatible, compatibleLen,
|
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.cpp | 941 media_format compatible = channel->fPreferredFormat; 942 compatible.u.raw_audio.buffer_size 945 if (!format_is_compatible(*format, compatible))
|