/linux/drivers/net/pcs/ |
A D | pcs-xpcs.c | 139 const struct xpcs_compat *compat = &id->compat[i]; in xpcs_find_compat() local 143 return compat; in xpcs_find_compat() 154 if (!compat) in xpcs_get_an_mode() 157 return compat->an_mode; in xpcs_get_an_mode() 236 switch (compat->an_mode) { in xpcs_soft_reset() 656 if (compat) in xpcs_validate() 798 if (!compat) in xpcs_do_config() 801 switch (compat->an_mode) { in xpcs_do_config() 823 if (compat->pma_config) { in xpcs_do_config() 926 if (!compat) in xpcs_get_state() [all …]
|
/linux/scripts/dtc/ |
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; 776 if (exists($compat_driver{$compat})) { 1031 print " $compat\n"; 1180 for my $compat (keys %driver_hard_code_list) { [all …]
|
/linux/drivers/firmware/efi/ |
A D | efivars.c | 215 if (count != sizeof(*compat)) 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() 278 size = sizeof(*compat); in efivar_show_raw() 281 memcpy(compat->Data, var->Data, sizeof(compat->Data)); in efivar_show_raw() 384 name = compat->VariableName; in efivar_create() 385 size = compat->DataSize; in efivar_create() 386 data = compat->Data; in efivar_create() [all …]
|
/linux/arch/sparc/kernel/ |
A D | vio.c | 26 const char *type, *compat; in vio_match_device() local 30 compat = dev->compat; 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() 294 const char *type, *compat; in vio_create_one() local 319 if (!compat) { in vio_create_one() 335 if (compat) in vio_create_one() 336 memcpy(vdev->compat, compat, clen); in vio_create_one() 338 memset(vdev->compat, 0, sizeof(vdev->compat)); in vio_create_one() 503 const char *compat; in vio_init() local [all …]
|
A 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/drivers/vfio/platform/ |
A 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/net/xfrm/ |
A D | xfrm_algo.c | 196 .compat = "md5", 216 .compat = "sha1", 236 .compat = "sha256", 294 .compat = "rmd160", 369 .compat = "des", 390 .compat = "des3_ede", 411 .compat = "cast5", 453 .compat = "aes", 474 .compat = "serpent", 516 .compat = "twofish", [all …]
|
/linux/net/mac80211/ |
A D | chan.c | 94 if (!compat) in ieee80211_chanctx_reserved_chandef() 99 if (!compat) in ieee80211_chanctx_reserved_chandef() 103 return compat; in ieee80211_chanctx_reserved_chandef() 120 if (!compat) in ieee80211_chanctx_non_reserved_chandef() 125 if (!compat) in ieee80211_chanctx_non_reserved_chandef() 129 return compat; in ieee80211_chanctx_non_reserved_chandef() 140 if (!compat) in ieee80211_chanctx_combined_chandef() 144 if (!compat) in ieee80211_chanctx_combined_chandef() 147 return compat; in ieee80211_chanctx_combined_chandef() 484 if (!compat) in ieee80211_find_chanctx() [all …]
|
/linux/drivers/macintosh/ |
A 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/drivers/hid/ |
A 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() 432 sizeof(compat->name)); in uhid_event_from_user() 434 sizeof(compat->phys)); in uhid_event_from_user() 436 sizeof(compat->uniq)); in uhid_event_from_user() 441 event->u.create.bus = compat->bus; in uhid_event_from_user() [all …]
|
/linux/include/linux/ |
A 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
|
A 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)
|
A D | of.h | 272 const char *type, const char *compat); 346 const char *const *compat); 701 const char *const *compat) in of_device_compatible_match() argument 726 const char *compat) in of_find_compatible_node() argument 1341 = { .compatible = compat, \ 1349 = { .compatible = compat, \ 1353 _OF_DECLARE_STUB(table, name, compat, fn, fn_type) 1360 #define OF_DECLARE_1(table, name, compat, fn) \ argument 1361 _OF_DECLARE(table, name, compat, fn, of_init_fn_1) 1362 #define OF_DECLARE_1_RET(table, name, compat, fn) \ argument [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
A 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/fs/ceph/ |
A D | metric.c | 52 cap->header.compat = 1; in ceph_mdsc_send_metrics() 63 read->header.compat = 1; in ceph_mdsc_send_metrics() 75 write->header.compat = 1; in ceph_mdsc_send_metrics() 87 meta->header.compat = 1; in ceph_mdsc_send_metrics() 99 dlease->header.compat = 1; in ceph_mdsc_send_metrics() 112 files->header.compat = 1; in ceph_mdsc_send_metrics() 122 icaps->header.compat = 1; in ceph_mdsc_send_metrics() 132 inodes->header.compat = 1; in ceph_mdsc_send_metrics() 142 rsize->header.compat = 1; in ceph_mdsc_send_metrics() 152 wsize->header.compat = 1; in ceph_mdsc_send_metrics()
|
/linux/drivers/pps/ |
A 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/arch/x86/entry/ |
A 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/drivers/of/ |
A D | device.c | 243 const char *compat; in of_device_get_modalias() local 261 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_get_modalias() 262 csize = strlen(compat) + 1; in of_device_get_modalias() 267 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias() 330 const char *compat, *type; in of_device_uevent() local 347 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_uevent() 348 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
|
/linux/scripts/ |
A 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/arch/powerpc/kernel/ |
A D | systbl.S | 24 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument 35 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument
|
/linux/arch/riscv/kernel/ |
A D | cpu.c | 110 const char *compat, *isa, *mmu; in c_show() local 118 if (!of_property_read_string(node, "compatible", &compat) in c_show() 119 && strcmp(compat, "riscv")) in c_show() 120 seq_printf(m, "uarch\t\t: %s\n", compat); in c_show()
|
/linux/sound/aoa/soundbus/ |
A 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/security/keys/ |
A D | Makefile | 19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o 20 obj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y)
|
/linux/drivers/clk/ |
A D | clk-qoriq.c | 78 const char *compat, *guts_compat; member 556 .compat = "fsl,b4420-clockgen", 574 .compat = "fsl,b4860-clockgen", 702 .compat = "fsl,p2041-clockgen", 715 .compat = "fsl,p3041-clockgen", 728 .compat = "fsl,p4080-clockgen", 742 .compat = "fsl,p5020-clockgen", 755 .compat = "fsl,p5040-clockgen", 768 .compat = "fsl,t1023-clockgen", 784 .compat = "fsl,t1040-clockgen", [all …]
|
/linux/drivers/soundwire/ |
A D | slave.c | 213 const char *compat = NULL; in sdw_of_find_slaves() local 217 compat = of_get_property(node, "compatible", NULL); in sdw_of_find_slaves() 218 if (!compat) in sdw_of_find_slaves() 221 ret = sscanf(compat, "sdw%01x%04hx%04hx%02hhx", &sdw_version, in sdw_of_find_slaves() 226 compat); in sdw_of_find_slaves()
|