/linux-5.19.10/drivers/net/pcs/ |
D | pcs-xpcs.c | 130 const struct xpcs_compat *compat; member 139 const struct xpcs_compat *compat = &id->compat[i]; in xpcs_find_compat() local 141 for (j = 0; j < compat->num_interfaces; j++) in xpcs_find_compat() 142 if (compat->interface[j] == interface) in xpcs_find_compat() 143 return compat; in xpcs_find_compat() 151 const struct xpcs_compat *compat; in xpcs_get_an_mode() local 153 compat = xpcs_find_compat(xpcs->id, interface); in xpcs_get_an_mode() 154 if (!compat) in xpcs_get_an_mode() 157 return compat->an_mode; in xpcs_get_an_mode() 161 static bool __xpcs_linkmode_supported(const struct xpcs_compat *compat, in __xpcs_linkmode_supported() argument [all …]
|
/linux-5.19.10/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-5.19.10/drivers/firmware/efi/ |
D | efivars.c | 213 struct compat_efi_variable *compat; in efivar_store_raw() local 215 if (count != sizeof(*compat)) in efivar_store_raw() 218 compat = (struct compat_efi_variable *)buf; in efivar_store_raw() 219 attributes = compat->Attributes; in efivar_store_raw() 220 vendor = compat->VendorGuid; in efivar_store_raw() 221 name = compat->VariableName; in efivar_store_raw() 222 size = compat->DataSize; in efivar_store_raw() 223 data = compat->Data; in efivar_store_raw() 229 copy_out_compat(&entry->var, compat); in efivar_store_raw() 262 struct compat_efi_variable *compat; in efivar_show_raw() local [all …]
|
/linux-5.19.10/drivers/vfio/platform/ |
D | vfio_platform_private.h | 52 const char *compat; member 76 char *compat; member 94 extern void vfio_platform_unregister_reset(const char *compat, 99 .compat = __compat, \ 104 #define module_vfio_reset_handler(compat, reset) \ argument 105 MODULE_ALIAS("vfio-reset:" compat); \ 108 vfio_platform_register_reset(compat, reset); \ 113 vfio_platform_unregister_reset(compat, reset); \
|
/linux-5.19.10/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() 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 …]
|
D | systbls_64.S | 19 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument 28 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument
|
/linux-5.19.10/net/xfrm/ |
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 …]
|
/linux-5.19.10/drivers/macintosh/ |
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()
|
/linux-5.19.10/net/mac80211/ |
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 = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef() 97 compat = cfg80211_chandef_compatible(&sdata->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 120 if (!compat) in ieee80211_chanctx_non_reserved_chandef() 121 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef() [all …]
|
/linux-5.19.10/include/linux/ |
D | irqchip.h | 36 #define IRQCHIP_DECLARE(name, compat, fn) \ argument 37 OF_DECLARE_2(irqchip, name, compat, typecheck_irq_init_cb(fn)) 44 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \ argument
|
D | of_reserved_mem.h | 32 #define RESERVEDMEM_OF_DECLARE(name, compat, init) \ argument 33 _OF_DECLARE(reservedmem, name, compat, init, reservedmem_of_init_fn) 45 #define RESERVEDMEM_OF_DECLARE(name, compat, init) \ argument 46 _OF_DECLARE_STUB(reservedmem, name, compat, init, reservedmem_of_init_fn)
|
D | of.h | 272 const char *type, const char *compat); 346 const char *const *compat); 392 extern int of_machine_is_compatible(const char *compat); 568 const char *const *compat) in of_device_compatible_match() argument 593 const char *compat) in of_find_compatible_node() argument 766 static inline int of_machine_is_compatible(const char *compat) in of_machine_is_compatible() argument 1394 #define _OF_DECLARE_STUB(table, name, compat, fn, fn_type) \ argument 1397 = { .compatible = compat, \ 1401 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument 1405 = { .compatible = compat, \ [all …]
|
/linux-5.19.10/drivers/hid/ |
D | uhid.c | 434 struct uhid_create_req_compat *compat; in uhid_event_from_user() local 436 compat = kzalloc(sizeof(*compat), GFP_KERNEL); in uhid_event_from_user() 437 if (!compat) in uhid_event_from_user() 442 if (copy_from_user(compat, buffer, in uhid_event_from_user() 443 min(len, sizeof(*compat)))) { in uhid_event_from_user() 444 kfree(compat); in uhid_event_from_user() 451 memcpy(event->u.create.name, compat->name, in uhid_event_from_user() 452 sizeof(compat->name)); in uhid_event_from_user() 453 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user() 454 sizeof(compat->phys)); in uhid_event_from_user() [all …]
|
/linux-5.19.10/arch/x86/entry/ |
D | syscall_32.c | 11 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument 13 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument
|
/linux-5.19.10/scripts/ |
D | syscalltbl.sh | 57 while read nr abi name native compat ; do 69 if [ -n "$compat" ]; then 70 echo "__SYSCALL_WITH_COMPAT($nr, $native, $compat)"
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | systbl.S | 25 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument 36 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument
|
/linux-5.19.10/drivers/gpu/drm/omapdrm/dss/ |
D | base.c | 198 const char *compat; member 218 const char *compat; in omapdss_walk_device() local 221 ret = of_property_read_string(node, "compatible", &compat); in omapdss_walk_device() 229 comp->compat = compat; in omapdss_walk_device() 277 if (!strstarts(comp->compat, "omapdss,")) in omapdss_component_is_loaded()
|
/linux-5.19.10/drivers/crypto/qat/qat_common/ |
D | adf_pfvf_pf_proto.c | 239 u8 compat; in adf_handle_vf2pf_msg() local 246 compat = ADF_PF2VF_VF_INCOMPATIBLE; in adf_handle_vf2pf_msg() 248 compat = ADF_PF2VF_VF_COMPATIBLE; in adf_handle_vf2pf_msg() 250 compat = ADF_PF2VF_VF_COMPAT_UNKNOWN; in adf_handle_vf2pf_msg() 257 FIELD_PREP(ADF_PF2VF_VERSION_RESP_RESULT_MASK, compat); in adf_handle_vf2pf_msg() 262 u8 compat; in adf_handle_vf2pf_msg() local 272 compat = ADF_PF2VF_VF_COMPATIBLE; in adf_handle_vf2pf_msg() 277 FIELD_PREP(ADF_PF2VF_VERSION_RESP_RESULT_MASK, compat); in adf_handle_vf2pf_msg()
|
/linux-5.19.10/security/keys/ |
D | Makefile | 19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o 20 obj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y)
|
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/of/ |
D | device.c | 246 const char *compat; in of_device_get_modalias() local 264 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_get_modalias() 265 csize = strlen(compat) + 1; in of_device_get_modalias() 270 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias() 333 const char *compat, *type; in of_device_uevent() local 350 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_uevent() 351 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
|
/linux-5.19.10/fs/ceph/ |
D | metric.c | 57 cap->header.compat = 1; in ceph_mdsc_send_metrics() 68 read->header.compat = 1; in ceph_mdsc_send_metrics() 81 write->header.compat = 1; in ceph_mdsc_send_metrics() 94 meta->header.compat = 1; in ceph_mdsc_send_metrics() 107 dlease->header.compat = 1; in ceph_mdsc_send_metrics() 120 files->header.compat = 1; in ceph_mdsc_send_metrics() 130 icaps->header.compat = 1; in ceph_mdsc_send_metrics() 140 inodes->header.compat = 1; in ceph_mdsc_send_metrics() 150 rsize->header.compat = 1; in ceph_mdsc_send_metrics() 160 wsize->header.compat = 1; in ceph_mdsc_send_metrics()
|
/linux-5.19.10/arch/riscv/kernel/ |
D | cpu.c | 181 const char *compat, *isa; in c_show() local 188 if (!of_property_read_string(node, "compatible", &compat) in c_show() 189 && strcmp(compat, "riscv")) in c_show() 190 seq_printf(m, "uarch\t\t: %s\n", compat); in c_show()
|
/linux-5.19.10/drivers/md/bcache/ |
D | features.c | 14 int compat; member 30 for (f = &feature_list[0]; f->compat != 0; f++) { \ 31 if (f->compat != BCH_FEATURE_ ## type) \
|