/Linux-v5.4/arch/x86/entry/syscalls/ |
D | syscalltbl.sh | 27 local compat="$4" 30 if [ "$abi" != "I386" -a -n "$compat" ]; then 31 echo "a compat entry ($abi: $compat) for a 64-bit syscall makes no sense" >&2 40 if [ -z "$compat" ]; then 56 syscall_macro "$abi" "$nr" "$compat" 62 while read nr abi name entry compat; do 65 emit 64 "$nr" "$entry" "$compat" 70 emit X32 "$nr" "$entry" "$compat" 75 emit X32 "$nr" "$entry" "$compat" 78 emit "$abi" "$nr" "$entry" "$compat"
|
/Linux-v5.4/scripts/dtc/ |
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 …]
|
/Linux-v5.4/drivers/firmware/efi/ |
D | efivars.c | 203 struct compat_efi_variable *compat; in efivar_store_raw() local 205 if (count != sizeof(*compat)) in efivar_store_raw() 208 compat = (struct compat_efi_variable *)buf; in efivar_store_raw() 209 attributes = compat->Attributes; in efivar_store_raw() 210 vendor = compat->VendorGuid; in efivar_store_raw() 211 name = compat->VariableName; in efivar_store_raw() 212 size = compat->DataSize; in efivar_store_raw() 213 data = compat->Data; in efivar_store_raw() 219 copy_out_compat(&entry->var, compat); in efivar_store_raw() 252 struct compat_efi_variable *compat; in efivar_show_raw() local [all …]
|
/Linux-v5.4/drivers/vfio/platform/ |
D | vfio_platform_private.h | 52 const char *compat; member 76 char *compat; member 95 extern void vfio_platform_unregister_reset(const char *compat, 100 .compat = __compat, \ 105 #define module_vfio_reset_handler(compat, reset) \ argument 106 MODULE_ALIAS("vfio-reset:" compat); \ 109 vfio_platform_register_reset(compat, reset); \ 114 vfio_platform_unregister_reset(compat, reset); \
|
/Linux-v5.4/arch/sparc/kernel/ |
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() 142 return sprintf(buf, "vio:T%sS%s\n", vdev->type, vdev->compat); in modalias_show() 296 const char *type, *compat; in vio_create_one() local 320 compat = mdesc_get_property(hp, mp, "device-type", &clen); in vio_create_one() 321 if (!compat) { in vio_create_one() [all …]
|
/Linux-v5.4/drivers/macintosh/ |
D | macio_sysfs.c | 10 const char *compat; in compatible_show() local 15 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show() 16 if (!compat) { in compatible_show() 22 length += sprintf (buf, "%s\n", compat); in compatible_show() 24 l = strlen (compat) + 1; in compatible_show() 25 compat += l; in compatible_show()
|
/Linux-v5.4/net/xfrm/ |
D | xfrm_algo.c | 196 .compat = "md5", 216 .compat = "sha1", 236 .compat = "sha256", 294 .compat = "rmd160", 349 .compat = "cipher_null", 369 .compat = "des", 390 .compat = "des3_ede", 411 .compat = "cast5", 432 .compat = "blowfish", 453 .compat = "aes", [all …]
|
/Linux-v5.4/arch/arm/tools/ |
D | syscalltbl.sh | 8 while read nr abi name entry compat; do 9 if [ "$abi" = "eabi" -a -n "$compat" ]; then 15 if [ -z "$compat" ]; then 18 echo "COMPAT($nr, $entry, $compat)"
|
/Linux-v5.4/net/mac80211/ |
D | chan.c | 84 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument 92 if (!compat) in ieee80211_chanctx_reserved_chandef() 93 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef() 95 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef() 96 compat); in ieee80211_chanctx_reserved_chandef() 97 if (!compat) in ieee80211_chanctx_reserved_chandef() 101 return compat; in ieee80211_chanctx_reserved_chandef() 107 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument 118 if (!compat) in ieee80211_chanctx_non_reserved_chandef() 119 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef() [all …]
|
/Linux-v5.4/drivers/hid/ |
D | uhid.c | 414 struct uhid_create_req_compat *compat; in uhid_event_from_user() local 416 compat = kzalloc(sizeof(*compat), GFP_KERNEL); in uhid_event_from_user() 417 if (!compat) in uhid_event_from_user() 422 if (copy_from_user(compat, buffer, in uhid_event_from_user() 423 min(len, sizeof(*compat)))) { in uhid_event_from_user() 424 kfree(compat); in uhid_event_from_user() 431 memcpy(event->u.create.name, compat->name, in uhid_event_from_user() 432 sizeof(compat->name)); in uhid_event_from_user() 433 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user() 434 sizeof(compat->phys)); in uhid_event_from_user() [all …]
|
/Linux-v5.4/arch/sparc/kernel/syscalls/ |
D | syscalltbl.sh | 28 while read nr abi name entry compat ; do 29 if [ "$my_abi" = "c32" ] && [ ! -z "$compat" ]; then 30 emit $((nxt+offset)) $((nr+offset)) $compat
|
/Linux-v5.4/arch/powerpc/kernel/syscalls/ |
D | syscalltbl.sh | 28 while read nr abi name entry compat ; do 29 if [ "$my_abi" = "c32" ] && [ ! -z "$compat" ]; then 30 emit $((nxt+offset)) $((nr+offset)) $compat
|
/Linux-v5.4/arch/mips/kernel/syscalls/ |
D | syscalltbl.sh | 28 while read nr abi name entry compat ; do 29 if [ "$my_abi" = "64_o32" ] && [ ! -z "$compat" ]; then 30 emit $((nxt+offset)) $((nr+offset)) $compat
|
/Linux-v5.4/arch/parisc/kernel/syscalls/ |
D | syscalltbl.sh | 28 while read nr abi name entry compat ; do 29 if [ "$my_abi" = "c32" ] && [ ! -z "$compat" ]; then 30 emit $((nxt+offset)) $((nr+offset)) $compat
|
/Linux-v5.4/drivers/of/ |
D | device.c | 202 const char *compat; in of_device_get_modalias() local 220 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_get_modalias() 221 csize = strlen(compat) + 1; in of_device_get_modalias() 226 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias() 284 const char *compat, *type; in of_device_uevent() local 301 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_uevent() 302 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
|
/Linux-v5.4/drivers/soundwire/ |
D | slave.c | 133 const char *compat = NULL; in sdw_of_find_slaves() local 137 compat = of_get_property(node, "compatible", NULL); in sdw_of_find_slaves() 138 if (!compat) in sdw_of_find_slaves() 141 ret = sscanf(compat, "sdw%01x%04hx%04hx%02hhx", &sdw_version, in sdw_of_find_slaves() 146 compat); in sdw_of_find_slaves()
|
/Linux-v5.4/security/keys/ |
D | Makefile | 19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o 20 obj-$(CONFIG_KEYS_COMPAT) += compat.o $(compat-obj-y)
|
/Linux-v5.4/arch/riscv/kernel/ |
D | cpu.c | 132 const char *compat, *isa, *mmu; in c_show() local 140 if (!of_property_read_string(node, "compatible", &compat) in c_show() 141 && strcmp(compat, "riscv")) in c_show() 142 seq_printf(m, "uarch\t\t: %s\n", compat); in c_show()
|
/Linux-v5.4/sound/aoa/soundbus/ |
D | core.c | 62 const char *compat; in soundbus_uevent() local 88 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent() 89 while (compat && cplen > 0) { in soundbus_uevent() 91 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent() 94 compat += env->buflen - tmp; in soundbus_uevent()
|
/Linux-v5.4/drivers/pps/ |
D | pps.c | 258 struct pps_fdata_compat compat; in pps_cdev_compat_ioctl() local 264 err = copy_from_user(&compat, uarg, sizeof(struct pps_fdata_compat)); in pps_cdev_compat_ioctl() 268 memcpy(&fdata.timeout, &compat.timeout, in pps_cdev_compat_ioctl() 278 compat.info.assert_sequence = pps->assert_sequence; in pps_cdev_compat_ioctl() 279 compat.info.clear_sequence = pps->clear_sequence; in pps_cdev_compat_ioctl() 280 compat.info.current_mode = pps->current_mode; in pps_cdev_compat_ioctl() 282 memcpy(&compat.info.assert_tu, &pps->assert_tu, in pps_cdev_compat_ioctl() 284 memcpy(&compat.info.clear_tu, &pps->clear_tu, in pps_cdev_compat_ioctl() 289 return copy_to_user(uarg, &compat, in pps_cdev_compat_ioctl()
|
/Linux-v5.4/drivers/clk/ |
D | clk-qoriq.c | 76 const char *compat, *guts_compat; member 519 .compat = "fsl,b4420-clockgen", 535 .compat = "fsl,b4860-clockgen", 551 .compat = "fsl,ls1021a-clockgen", 561 .compat = "fsl,ls1028a-clockgen", 576 .compat = "fsl,ls1043a-clockgen", 591 .compat = "fsl,ls1046a-clockgen", 606 .compat = "fsl,ls1088a-clockgen", 617 .compat = "fsl,ls1012a-clockgen", 627 .compat = "fsl,ls2080a-clockgen", [all …]
|
/Linux-v5.4/drivers/ide/ |
D | trm290.c | 281 u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; in init_hwif_trm290() local 289 if (old != compat && old_mask == 0xff) { in init_hwif_trm290() 291 compat += (next_offset += 0x400); in init_hwif_trm290() 292 hwif->io_ports.ctl_addr = compat + 2; in init_hwif_trm290() 293 outw(compat | 1, hwif->config_data); in init_hwif_trm290()
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
D | base.c | 298 const char *compat; member 318 const char *compat; in omapdss_walk_device() local 321 ret = of_property_read_string(node, "compatible", &compat); in omapdss_walk_device() 329 comp->compat = compat; in omapdss_walk_device() 378 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
|
/Linux-v5.4/drivers/clk/ti/ |
D | Makefile | 10 clk-33xx-compat.o 21 dpll44xx.o clk-7xx-compat.o 23 clk-43xx-compat.o
|
/Linux-v5.4/include/linux/ |
D | of.h | 272 const char *type, const char *compat); 346 const char *const *compat); 398 extern int of_machine_is_compatible(const char *compat); 676 const char *const *compat) in of_device_compatible_match() argument 701 const char *compat) in of_find_compatible_node() argument 914 static inline int of_machine_is_compatible(const char *compat) in of_machine_is_compatible() argument 1282 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument 1285 = { .compatible = compat, \ 1288 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument 1291 = { .compatible = compat, \ [all …]
|