Home
last modified time | relevance | path

Searched refs:compat (Results 1 – 25 of 168) sorted by relevance

1234567

/Linux-v4.19/scripts/dtc/
Ddt_to_config325 my $compat = $pn_arg_ref->{compat};
371 if (exists($driver_hard_code_list{$compat}) ||
438 my $compat = $pn_arg_ref->{compat};
461 print " : $compat : $driver : $config : ";
738 my $compat;
760 for $compat (@compatibles) {
762 $pn_arg{compat} = $compat;
766 if (exists($compat_white_list{$compat})) {
777 if (exists($compat_driver{$compat})) {
778 for my $driver (@{ $compat_driver{$compat} }) {
[all …]
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscalltbl.sh27 compat="$4"
30 if [ "$abi" = "64" -a -n "$compat" ]; then
40 if [ -z "$compat" ]; then
56 syscall_macro "$abi" "$nr" "$compat"
62 while read nr abi name entry compat; do
68 emit 64 "$nr" "$entry" "$compat"
72 emit 64 "$nr" "$entry" "$compat"
75 emit "$abi" "$nr" "$entry" "$compat"
/Linux-v4.19/drivers/firmware/efi/
Defivars.c267 struct compat_efi_variable *compat; in efivar_store_raw() local
269 if (count != sizeof(*compat)) in efivar_store_raw()
272 compat = (struct compat_efi_variable *)buf; in efivar_store_raw()
273 attributes = compat->Attributes; in efivar_store_raw()
274 vendor = compat->VendorGuid; in efivar_store_raw()
275 name = compat->VariableName; in efivar_store_raw()
276 size = compat->DataSize; in efivar_store_raw()
277 data = compat->Data; in efivar_store_raw()
283 copy_out_compat(&entry->var, compat); in efivar_store_raw()
316 struct compat_efi_variable *compat; in efivar_show_raw() local
[all …]
/Linux-v4.19/drivers/vfio/platform/
Dvfio_platform_private.h60 const char *compat; member
84 char *compat; member
103 extern void vfio_platform_unregister_reset(const char *compat,
108 .compat = __compat, \
113 #define module_vfio_reset_handler(compat, reset) \ argument
114 MODULE_ALIAS("vfio-reset:" compat); \
117 vfio_platform_register_reset(compat, reset); \
122 vfio_platform_unregister_reset(compat, reset); \
Dvfio_platform_common.c37 static vfio_platform_reset_fn_t vfio_platform_lookup_reset(const char *compat, in vfio_platform_lookup_reset() argument
45 if (!strcmp(iter->compat, compat) && in vfio_platform_lookup_reset()
124 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
127 request_module("vfio-reset:%s", vdev->compat); in vfio_platform_get_reset()
128 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
639 &vdev->compat); in vfio_platform_of_probe()
736 void vfio_platform_unregister_reset(const char *compat, in vfio_platform_unregister_reset() argument
743 if (!strcmp(iter->compat, compat) && (iter->of_reset == fn)) { in vfio_platform_unregister_reset()
/Linux-v4.19/arch/sparc/kernel/
Dvio.c26 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-v4.19/drivers/macintosh/
Dmacio_sysfs.c21 const char *compat; in compatible_show() local
26 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show()
27 if (!compat) { in compatible_show()
33 length += sprintf (buf, "%s\n", compat); in compatible_show()
35 l = strlen (compat) + 1; in compatible_show()
36 compat += l; in compatible_show()
/Linux-v4.19/net/xfrm/
Dxfrm_algo.c200 .compat = "md5",
220 .compat = "sha1",
240 .compat = "sha256",
298 .compat = "rmd160",
353 .compat = "cipher_null",
373 .compat = "des",
394 .compat = "des3_ede",
415 .compat = "cast5",
436 .compat = "blowfish",
457 .compat = "aes",
[all …]
/Linux-v4.19/arch/arm/tools/
Dsyscalltbl.sh8 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-v4.19/net/mac80211/
Dchan.c83 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument
91 if (!compat) in ieee80211_chanctx_reserved_chandef()
92 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
94 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
95 compat); in ieee80211_chanctx_reserved_chandef()
96 if (!compat) in ieee80211_chanctx_reserved_chandef()
100 return compat; in ieee80211_chanctx_reserved_chandef()
106 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
117 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
118 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
[all …]
/Linux-v4.19/drivers/hid/
Duhid.c416 struct uhid_create_req_compat *compat; in uhid_event_from_user() local
418 compat = kzalloc(sizeof(*compat), GFP_KERNEL); in uhid_event_from_user()
419 if (!compat) in uhid_event_from_user()
424 if (copy_from_user(compat, buffer, in uhid_event_from_user()
425 min(len, sizeof(*compat)))) { in uhid_event_from_user()
426 kfree(compat); in uhid_event_from_user()
433 memcpy(event->u.create.name, compat->name, in uhid_event_from_user()
434 sizeof(compat->name)); in uhid_event_from_user()
435 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user()
436 sizeof(compat->phys)); in uhid_event_from_user()
[all …]
/Linux-v4.19/arch/riscv/kernel/
Dcpu.c83 const char *compat, *isa, *mmu; in c_show() local
93 if (!of_property_read_string(node, "compatible", &compat) in c_show()
94 && strcmp(compat, "riscv")) in c_show()
95 seq_printf(m, "uarch\t: %s\n", compat); in c_show()
/Linux-v4.19/security/keys/
DMakefile19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
20 obj-$(CONFIG_KEYS_COMPAT) += compat.o $(compat-obj-y)
/Linux-v4.19/drivers/of/
Ddevice.c212 const char *compat; in of_device_get_modalias() local
229 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_get_modalias()
230 csize = strlen(compat) + 1; in of_device_get_modalias()
235 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias()
293 const char *compat; in of_device_uevent() local
309 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_uevent()
310 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
Dfdt.c93 unsigned long node, const char *compat) in of_fdt_is_compatible() argument
104 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) in of_fdt_is_compatible()
150 const char *const *compat) in of_fdt_match() argument
154 if (!compat) in of_fdt_match()
157 while (*compat) { in of_fdt_match()
158 tmp = of_fdt_is_compatible(blob, node, *compat); in of_fdt_match()
161 compat++; in of_fdt_match()
804 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat) in of_flat_dt_is_compatible() argument
806 return of_fdt_is_compatible(initial_boot_params, node, compat); in of_flat_dt_is_compatible()
812 int __init of_flat_dt_match(unsigned long node, const char *const *compat) in of_flat_dt_match() argument
[all …]
/Linux-v4.19/sound/aoa/soundbus/
Dcore.c63 const char *compat; in soundbus_uevent() local
89 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent()
90 while (compat && cplen > 0) { in soundbus_uevent()
92 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent()
95 compat += env->buflen - tmp; in soundbus_uevent()
/Linux-v4.19/drivers/pps/
Dpps.c264 struct pps_fdata_compat compat; in pps_cdev_compat_ioctl() local
270 err = copy_from_user(&compat, uarg, sizeof(struct pps_fdata_compat)); in pps_cdev_compat_ioctl()
274 memcpy(&fdata.timeout, &compat.timeout, in pps_cdev_compat_ioctl()
284 compat.info.assert_sequence = pps->assert_sequence; in pps_cdev_compat_ioctl()
285 compat.info.clear_sequence = pps->clear_sequence; in pps_cdev_compat_ioctl()
286 compat.info.current_mode = pps->current_mode; in pps_cdev_compat_ioctl()
288 memcpy(&compat.info.assert_tu, &pps->assert_tu, in pps_cdev_compat_ioctl()
290 memcpy(&compat.info.clear_tu, &pps->clear_tu, in pps_cdev_compat_ioctl()
295 return copy_to_user(uarg, &compat, in pps_cdev_compat_ioctl()
/Linux-v4.19/drivers/ide/
Dtrm290.c281 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-v4.19/drivers/clk/
Dclk-qoriq.c78 const char *compat, *guts_compat; member
469 .compat = "fsl,b4420-clockgen",
485 .compat = "fsl,b4860-clockgen",
501 .compat = "fsl,ls1021a-clockgen",
511 .compat = "fsl,ls1043a-clockgen",
526 .compat = "fsl,ls1046a-clockgen",
541 .compat = "fsl,ls1088a-clockgen",
552 .compat = "fsl,ls1012a-clockgen",
562 .compat = "fsl,ls2080a-clockgen",
573 .compat = "fsl,p2041-clockgen",
[all …]
/Linux-v4.19/include/linux/
Dclocksource.h257 #define TIMER_OF_DECLARE(name, compat, fn) \ argument
258 OF_DECLARE_1_RET(timer, name, compat, fn)
260 #define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \ argument
261 TIMER_OF_DECLARE(name, compat, fn)
Dof.h275 const char *type, const char *compat);
349 const char *const *compat);
396 extern int of_machine_is_compatible(const char *compat);
670 const char *const *compat) in of_device_compatible_match() argument
695 const char *compat) in of_find_compatible_node() argument
896 static inline int of_machine_is_compatible(const char *compat) in of_machine_is_compatible() argument
1247 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1250 = { .compatible = compat, \
1253 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1256 = { .compatible = compat, \
[all …]
Dirqchip.h27 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) argument
/Linux-v4.19/net/netfilter/
Dxt_set.c62 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, in set_match_v0()
63 info->match_set.u.compat.flags, 0, UINT_MAX, in set_match_v0()
67 info->match_set.u.compat.flags & IPSET_INV_MATCH); in set_match_v0()
76 info->u.compat.dim = IPSET_DIM_ZERO; in compat_flags()
78 info->u.compat.flags |= IPSET_INV_MATCH; in compat_flags()
80 info->u.compat.dim++; in compat_flags()
82 info->u.compat.flags |= (1 << info->u.compat.dim); in compat_flags()
220 ADT_OPT(add_opt, xt_family(par), info->add_set.u.compat.dim, in set_target_v0()
221 info->add_set.u.compat.flags, 0, UINT_MAX, in set_target_v0()
223 ADT_OPT(del_opt, xt_family(par), info->del_set.u.compat.dim, in set_target_v0()
[all …]
/Linux-v4.19/drivers/staging/wlan-ng/
Dprism2fw.c101 struct hfa384x_caplevel compat; member
1174 s3info[i].info.compat.role, in validate_identity()
1175 s3info[i].info.compat.id, in validate_identity()
1176 s3info[i].info.compat.variant, in validate_identity()
1177 s3info[i].info.compat.bottom, in validate_identity()
1178 s3info[i].info.compat.top); in validate_identity()
1181 if ((s3info[i].info.compat.role == 1) && in validate_identity()
1182 (s3info[i].info.compat.id == 2)) { in validate_identity()
1183 if (s3info[i].info.compat.variant != in validate_identity()
1190 if ((s3info[i].info.compat.role == 1) && in validate_identity()
[all …]
/Linux-v4.19/drivers/gpu/drm/meson/
Dmeson_drv.h60 const char *compat) in meson_vpu_is_compatible() argument
62 return of_device_is_compatible(priv->dev->of_node, compat); in meson_vpu_is_compatible()

1234567