/openbmc/u-boot/arch/arm/mach-uniphier/ |
H A D | board_late_init.c | 37 const char *compat; in uniphier_set_fdt_file() local 44 compat = fdt_stringlist_get(gd->fdt_blob, 0, "compatible", 0, NULL); in uniphier_set_fdt_file() 45 if (!compat) in uniphier_set_fdt_file() 49 compat = strchr(compat, ','); in uniphier_set_fdt_file() 50 if (!compat) in uniphier_set_fdt_file() 52 compat++; in uniphier_set_fdt_file() 54 strncpy(dtb_name, compat, buf_len); in uniphier_set_fdt_file() 55 buf_len -= strlen(compat); in uniphier_set_fdt_file()
|
/openbmc/linux/scripts/dtc/ |
H A D | dt_to_config | 324 my $compat = $pn_arg_ref->{compat}; 370 if (exists($driver_hard_code_list{$compat}) || 437 my $compat = $pn_arg_ref->{compat}; 460 print " : $compat : $driver : $config : "; 737 my $compat; 759 for $compat (@compatibles) { 761 $pn_arg{compat} = $compat; 765 if (exists($compat_white_list{$compat})) { 776 if (exists($compat_driver{$compat})) { 777 for my $driver (@{ $compat_driver{$compat} }) { [all …]
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-xpcs.c | 158 const struct xpcs_compat *compat; member 167 const struct xpcs_compat *compat = &id->compat[i]; in xpcs_find_compat() local 169 for (j = 0; j < compat->num_interfaces; j++) in xpcs_find_compat() 170 if (compat->interface[j] == interface) in xpcs_find_compat() 171 return compat; in xpcs_find_compat() 179 const struct xpcs_compat *compat; in xpcs_get_an_mode() local 181 compat = xpcs_find_compat(xpcs->id, interface); in xpcs_get_an_mode() 182 if (!compat) in xpcs_get_an_mode() 185 return compat->an_mode; in xpcs_get_an_mode() 189 static bool __xpcs_linkmode_supported(const struct xpcs_compat *compat, in __xpcs_linkmode_supported() argument [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | compat.c | 127 const CompatInfo *compat = compat_by_pvr(compat_pvr); in pcc_compat() local 134 if (!compat) { in pcc_compat() 138 if ((min && (compat < min)) || (max && (compat > max))) { in pcc_compat() 142 if (compat->pvr > pcc->spapr_logical_pvr) { in pcc_compat() 146 if (!(pcc->pcr_supported & compat->pcr_level)) { in pcc_compat() 174 const CompatInfo *compat = compat_by_pvr(compat_pvr); in ppc_set_compat() local 181 } else if (!compat) { in ppc_set_compat() 189 pcr = compat->pcr; in ppc_set_compat() 264 const CompatInfo *compat = compat_by_pvr(cpu->compat_pvr); in ppc_compat_max_vthreads() local 268 g_assert(compat); in ppc_compat_max_vthreads() [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pcie_layerscape_fixup.c | 79 char *compat = NULL; in fdt_pcie_set_msi_map_entry() local 90 compat = "fsl,ls2088a-pcie"; in fdt_pcie_set_msi_map_entry() 92 compat = CONFIG_FSL_PCIE_COMPAT; in fdt_pcie_set_msi_map_entry() 93 if (compat) in fdt_pcie_set_msi_map_entry() 95 compat, pcie->dbi_res.start); in fdt_pcie_set_msi_map_entry() 133 char *compat = NULL; in fdt_pcie_set_iommu_map_entry() local 144 compat = "fsl,ls2088a-pcie"; in fdt_pcie_set_iommu_map_entry() 146 compat = CONFIG_FSL_PCIE_COMPAT; in fdt_pcie_set_iommu_map_entry() 148 if (compat) in fdt_pcie_set_iommu_map_entry() 150 compat, pcie->dbi_res.start); in fdt_pcie_set_iommu_map_entry() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_liodn.h | 40 const char * compat; member 52 const char *compat[2]; member 70 { .compat[0] = name1, \ 71 .compat[1] = name2, \ 78 { .compat = name, \ 85 { .compat = name, \ 91 #define SET_GUTS_LIODN(compat, liodn, name, compatoff) \ argument 92 SET_LIODN_ENTRY_1(compat, liodn, \ 96 #define SET_USB_LIODN(usbNum, compat, liodn) \ argument 97 SET_GUTS_LIODN(compat, liodn, usb##usbNum##liodnr,\ [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/ |
H A D | fsl_icid.h | 15 const char *compat; member 34 { .compat = name, \ 41 #define SET_SCFG_ICID(compat, streamid, name, compataddr) \ argument 42 SET_ICID_ENTRY(compat, streamid, (((streamid) << 24) | (1 << 23)), \ 46 #define SET_USB_ICID(usb_num, compat, streamid) \ argument 47 SET_SCFG_ICID(compat, streamid, usb##usb_num##_icid,\ 50 #define SET_SATA_ICID(compat, streamid) \ argument 51 SET_SCFG_ICID(compat, streamid, sata_icid,\ 58 #define SET_QDMA_ICID(compat, streamid) \ argument 59 SET_ICID_ENTRY(compat, streamid, (1 << 31) | (streamid), \
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | vio.c | 26 const char *type, *compat; in vio_match_device() local 30 compat = dev->compat; in vio_match_device() 33 while (matches->type[0] || matches->compat[0]) { in vio_match_device() 38 if (matches->compat[0]) { in vio_match_device() 40 of_find_in_proplist(compat, matches->compat, len); in vio_match_device() 53 add_uevent_var(env, "MODALIAS=vio:T%sS%s", vio_dev->type, vio_dev->compat); in vio_hotplug() 140 return sprintf(buf, "vio:T%sS%s\n", vdev->type, vdev->compat); in modalias_show() 294 const char *type, *compat; in vio_create_one() local 318 compat = mdesc_get_property(hp, mp, "device-type", &clen); in vio_create_one() 319 if (!compat) { in vio_create_one() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 049 | 98 test_qemu_img create -f $IMGFMT -o compat=0.10 "$TEST_IMG" 64M 99 test_qemu_img create -f $IMGFMT -o compat=1.1 "$TEST_IMG" 64M 101 test_qemu_img create -f $IMGFMT -o compat=0.42 "$TEST_IMG" 64M 102 test_qemu_img create -f $IMGFMT -o compat=foobar "$TEST_IMG" 64M 117 test_qemu_img create -f $IMGFMT -o compat=1.1,lazy_refcounts=off "$TEST_IMG" 64M 118 test_qemu_img create -f $IMGFMT -o compat=1.1,lazy_refcounts=on "$TEST_IMG" 64M 120 test_qemu_img create -f $IMGFMT -o compat=0.10,lazy_refcounts=off "$TEST_IMG" 64M 121 test_qemu_img create -f $IMGFMT -o compat=0.10,lazy_refcounts=on "$TEST_IMG" 64M
|
/openbmc/linux/drivers/vfio/platform/ |
H A D | vfio_platform_private.h | 52 const char *compat; member 76 char *compat; member 105 void vfio_platform_unregister_reset(const char *compat, 110 .compat = __compat, \ 115 #define module_vfio_reset_handler(compat, reset) \ argument 116 MODULE_ALIAS("vfio-reset:" compat); \ 119 vfio_platform_register_reset(compat, reset); \ 124 vfio_platform_unregister_reset(compat, reset); \
|
/openbmc/linux/drivers/clk/at91/ |
H A D | Makefile | 18 obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o dt-compat.o 19 obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o dt-compat.o 20 obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o dt-compat.o 21 obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o dt-compat.o 23 obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o 24 obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o 25 obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | liodn.c | 259 static void fdt_fixup_pci_liodn_offsets(void *fdt, const char *compat, in fdt_fixup_pci_liodn_offsets() argument 270 off = fdt_node_offset_by_compatible(fdt, -1, compat); in fdt_fixup_pci_liodn_offsets() 273 off = fdt_node_offset_by_compatible(fdt, off, compat); in fdt_fixup_pci_liodn_offsets() 276 for (off = fdt_node_offset_by_compatible(fdt, -1, compat); in fdt_fixup_pci_liodn_offsets() 278 off = fdt_node_offset_by_compatible(fdt, off, compat)) { in fdt_fixup_pci_liodn_offsets() 314 if (tbl[i].compat == NULL) in fdt_fixup_liodn_tbl() 318 tbl[i].compat, tbl[i].compat_offset); in fdt_fixup_liodn_tbl() 326 tbl[i].compat, fdt_strerror(off)); in fdt_fixup_liodn_tbl() 329 tbl[i].compat, fdt_strerror(off)); in fdt_fixup_liodn_tbl() 344 if (tbl[i].compat == NULL) in fdt_fixup_liodn_tbl_fman() [all …]
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_algo.c | 196 .compat = "md5", 216 .compat = "sha1", 236 .compat = "sha256", 294 .compat = "rmd160", 346 .compat = "sm3", 369 .compat = "cipher_null", 389 .compat = "des", 410 .compat = "des3_ede", 431 .compat = "cast5", 452 .compat = "blowfish", [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | macio_sysfs.c | 12 const char *compat; in compatible_show() local 17 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show() 18 if (!compat) { in compatible_show() 24 length += sprintf (buf, "%s\n", compat); in compatible_show() 26 l = strlen (compat) + 1; in compatible_show() 27 compat += l; in compatible_show()
|
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-tools/ |
H A D | 0001-compat-Define-off64_t-as-off_t-on-linux.patch | 4 Subject: [PATCH] compat: off64_t is not defined by musl 23 --- a/src/common/compat/compat-fcntl.c 24 +++ b/src/common/compat/compat-fcntl.c 27 #include <common/compat/fcntl.h> 44 --- a/src/common/compat/fcntl.h 45 +++ b/src/common/compat/fcntl.h 48 #include <common/compat/errno.h>
|
/openbmc/u-boot/board/freescale/t208xqds/ |
H A D | eth_t208xqds.c | 194 void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr, in board_ft_fman_fixup_port() argument 223 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 235 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 247 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 259 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 271 fdt_set_phy_handle(fdt, compat, addr, alias); in board_ft_fman_fixup_port() 275 fdt_set_phy_handle(fdt, compat, addr, alias); in board_ft_fman_fixup_port() 282 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 294 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 305 fdt_set_phy_handle(fdt, compat, addr, alias); in board_ft_fman_fixup_port() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/dmalloc/dmalloc/ |
H A D | 02-Makefile.in.patch | 53 OBJS = arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o 214 dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ 217 + dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ 221 compat.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h 222 +compat_sl.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h 225 dmalloc.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ 227 +dmalloc_sl.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ 232 dmalloc_argv_loc.h compat.h 234 + dmalloc_argv_loc.h compat.h 247 dmalloc_t.o: dmalloc_t.c conf.h settings.h compat.h dmalloc.h \ [all …]
|
/openbmc/qemu/hw/core/ |
H A D | sysbus-fdt.c | 55 const char *compat; member 231 compat_str_len = strlen(vdev->compat) + 1; in add_calxeda_midway_xgmac_fdt_node() 233 vdev->compat, compat_str_len); in add_calxeda_midway_xgmac_fdt_node() 315 node_path = qemu_fdt_node_path(host_fdt, dt_name, vdev->compat, in add_amd_xgbe_fdt_node() 319 __func__, dt_name, vdev->compat); in add_amd_xgbe_fdt_node() 325 __func__, dt_name, vdev->compat); in add_amd_xgbe_fdt_node() 423 const char *compat; in vfio_platform_match() local 426 for (n = vdev->num_compat, compat = vdev->compat; n > 0; in vfio_platform_match() 427 n--, compat += strlen(compat) + 1) { in vfio_platform_match() 428 if (!strcmp(entry->compat, compat)) { in vfio_platform_match() [all …]
|
H A D | guest-loader.c | 59 const char *compat[2] = { "multiboot,module", "multiboot,kernel" }; in loader_insert_platform_data() local 61 (char **) &compat, in loader_insert_platform_data() 62 ARRAY_SIZE(compat)) < 0) { in loader_insert_platform_data() 72 const char *compat[2] = { "multiboot,module", "multiboot,ramdisk" }; in loader_insert_platform_data() local 74 (char **) &compat, in loader_insert_platform_data() 75 ARRAY_SIZE(compat)) < 0) { in loader_insert_platform_data()
|
/openbmc/u-boot/board/freescale/ls1043aqds/ |
H A D | eth.c | 156 void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr, in board_ft_fman_fixup_port() argument 163 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 166 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 169 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 172 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 193 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 197 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 201 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 205 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() 215 fdt_set_phy_handle(fdt, compat, addr, in board_ft_fman_fixup_port() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/enscript/enscript/ |
H A D | 0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch | 10 compat/getopt.c | 1 + 13 diff --git a/compat/getopt.c b/compat/getopt.c 15 --- a/compat/getopt.c 16 +++ b/compat/getopt.c
|
/openbmc/linux/net/mac80211/ |
H A D | chan.c | 86 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument 94 if (!compat) in ieee80211_chanctx_reserved_chandef() 95 compat = &link->reserved_chandef; in ieee80211_chanctx_reserved_chandef() 97 compat = cfg80211_chandef_compatible(&link->reserved_chandef, in ieee80211_chanctx_reserved_chandef() 98 compat); in ieee80211_chanctx_reserved_chandef() 99 if (!compat) in ieee80211_chanctx_reserved_chandef() 103 return compat; in ieee80211_chanctx_reserved_chandef() 109 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument 122 if (!compat) in ieee80211_chanctx_non_reserved_chandef() 123 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libid3tag/libid3tag/ |
H A D | 0001-Fix-gperf-3.1-incompatibility.patch | 9 compat.h | 2 +- 13 diff --git a/compat.h b/compat.h 15 --- a/compat.h 16 +++ b/compat.h
|
/openbmc/u-boot/drivers/core/ |
H A D | lists.c | 109 const char *compat) in driver_check_compatible() argument 115 if (!strcmp(of_match->compatible, compat)) { in driver_check_compatible() 134 const char *name, *compat_list, *compat; in lists_bind_fdt() local 161 for (i = 0; i < compat_length; i += strlen(compat) + 1) { in lists_bind_fdt() 162 compat = compat_list + i; in lists_bind_fdt() 164 compat); in lists_bind_fdt() 168 compat); in lists_bind_fdt()
|
/openbmc/u-boot/board/freescale/ls1046aqds/ |
H A D | eth.c | 153 void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr, in board_ft_fman_fixup_port() argument 164 fdt_set_phy_handle(fdt, compat, addr, "sgmii_s1_p1"); in board_ft_fman_fixup_port() 167 fdt_set_phy_handle(fdt, compat, addr, "sgmii_s1_p2"); in board_ft_fman_fixup_port() 170 fdt_set_phy_handle(fdt, compat, addr, "sgmii_s1_p3"); in board_ft_fman_fixup_port() 173 fdt_set_phy_handle(fdt, compat, addr, "sgmii_s1_p4"); in board_ft_fman_fixup_port() 176 fdt_set_phy_handle(fdt, compat, addr, "sgmii_s4_p1"); in board_ft_fman_fixup_port() 196 fdt_set_phy_handle(fdt, compat, addr, "qsgmii_s2_p4"); in board_ft_fman_fixup_port() 199 fdt_set_phy_handle(fdt, compat, addr, "qsgmii_s2_p2"); in board_ft_fman_fixup_port() 202 fdt_set_phy_handle(fdt, compat, addr, "qsgmii_s2_p1"); in board_ft_fman_fixup_port() 205 fdt_set_phy_handle(fdt, compat, addr, "qsgmii_s2_p3"); in board_ft_fman_fixup_port()
|