Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/scripts/dtc/
Ddt_to_config324 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-6.6.21/drivers/net/pcs/
Dpcs-xpcs.c158 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 …]
/linux-6.6.21/drivers/vfio/platform/
Dvfio_platform_private.h52 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); \
/linux-6.6.21/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()
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 …]
Dsystbls_64.S19 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument
28 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument
/linux-6.6.21/drivers/clk/at91/
DMakefile18 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
/linux-6.6.21/net/xfrm/
Dxfrm_algo.c196 .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-6.6.21/drivers/macintosh/
Dmacio_sysfs.c12 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-6.6.21/net/mac80211/
Dchan.c86 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 …]
/linux-6.6.21/include/linux/
Dirqchip.h36 #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
Dof_reserved_mem.h32 #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)
Dof.h277 const char *type, const char *compat);
351 const char *const *compat);
405 extern int of_machine_is_compatible(const char *compat);
577 const char *const *compat) in of_device_compatible_match() argument
602 const char *compat) in of_find_compatible_node() argument
796 static inline int of_machine_is_compatible(const char *compat) in of_machine_is_compatible() argument
1465 #define _OF_DECLARE_STUB(table, name, compat, fn, fn_type) \ argument
1468 = { .compatible = compat, \
1472 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1476 = { .compatible = compat, \
[all …]
/linux-6.6.21/drivers/of/
Dmodule.c13 const char *compat; in of_modalias() local
28 of_property_for_each_string(np, "compatible", p, compat) { in of_modalias()
29 csize = strlen(compat) + 1; in of_modalias()
34 csize = snprintf(str, len, "C%s", compat); in of_modalias()
/linux-6.6.21/drivers/hid/
Duhid.c434 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-6.6.21/arch/x86/entry/
Dsyscall_32.c11 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument
13 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument
/linux-6.6.21/scripts/
Dsyscalltbl.sh57 while read nr abi name native compat ; do
69 if [ -n "$compat" ]; then
70 echo "__SYSCALL_WITH_COMPAT($nr, $native, $compat)"
/linux-6.6.21/arch/powerpc/kernel/
Dsystbl.c19 #define __SYSCALL_WITH_COMPAT(nr, entry, compat) __SYSCALL(nr, entry) argument
42 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Dbase.c198 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-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_pfvf_pf_proto.c239 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-6.6.21/security/keys/
DMakefile19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
20 obj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y)
/linux-6.6.21/sound/aoa/soundbus/
Dcore.c62 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-6.6.21/drivers/pps/
Dpps.c258 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-6.6.21/fs/ceph/
Dmetric.c65 cap->header.compat = 1; in ceph_mdsc_send_metrics()
76 read->header.compat = 1; in ceph_mdsc_send_metrics()
89 write->header.compat = 1; in ceph_mdsc_send_metrics()
102 meta->header.compat = 1; in ceph_mdsc_send_metrics()
115 dlease->header.compat = 1; in ceph_mdsc_send_metrics()
128 files->header.compat = 1; in ceph_mdsc_send_metrics()
138 icaps->header.compat = 1; in ceph_mdsc_send_metrics()
148 inodes->header.compat = 1; in ceph_mdsc_send_metrics()
158 rsize->header.compat = 1; in ceph_mdsc_send_metrics()
168 wsize->header.compat = 1; in ceph_mdsc_send_metrics()
/linux-6.6.21/drivers/md/bcache/
Dfeatures.c14 int compat; member
30 for (f = &feature_list[0]; f->compat != 0; f++) { \
31 if (f->compat != BCH_FEATURE_ ## type) \
/linux-6.6.21/drivers/clk/
Dclk-qoriq.c78 const char *compat, *guts_compat; member
556 .compat = "fsl,b4420-clockgen",
574 .compat = "fsl,b4860-clockgen",
592 .compat = "fsl,ls1021a-clockgen",
603 .compat = "fsl,ls1028a-clockgen",
619 .compat = "fsl,ls1043a-clockgen",
635 .compat = "fsl,ls1046a-clockgen",
651 .compat = "fsl,ls1088a-clockgen",
666 .compat = "fsl,ls1012a-clockgen",
676 .compat = "fsl,ls2080a-clockgen",
[all …]

123456789