Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/hid/
Duhid.c438 struct uhid_create_req_compat *compat; in uhid_event_from_user() local
440 compat = kzalloc(sizeof(*compat), GFP_KERNEL); in uhid_event_from_user()
441 if (!compat) in uhid_event_from_user()
446 if (copy_from_user(compat, buffer, in uhid_event_from_user()
447 min(len, sizeof(*compat)))) { in uhid_event_from_user()
448 kfree(compat); in uhid_event_from_user()
455 memcpy(event->u.create.name, compat->name, in uhid_event_from_user()
456 sizeof(compat->name)); in uhid_event_from_user()
457 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user()
458 sizeof(compat->phys)); in uhid_event_from_user()
[all …]
/linux-4.19.296/drivers/of/
Ddevice.c214 const char *compat; in of_device_get_modalias() local
232 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_get_modalias()
233 csize = strlen(compat) + 1; in of_device_get_modalias()
238 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias()
299 const char *compat; in of_device_uevent() local
315 of_property_for_each_string(dev->of_node, "compatible", p, compat) { in of_device_uevent()
316 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
Dfdt.c94 unsigned long node, const char *compat) in of_fdt_is_compatible() argument
105 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) in of_fdt_is_compatible()
151 const char *const *compat) in of_fdt_match() argument
155 if (!compat) in of_fdt_match()
158 while (*compat) { in of_fdt_match()
159 tmp = of_fdt_is_compatible(blob, node, *compat); in of_fdt_match()
162 compat++; in of_fdt_match()
805 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat) in of_flat_dt_is_compatible() argument
807 return of_fdt_is_compatible(initial_boot_params, node, compat); in of_flat_dt_is_compatible()
813 int __init of_flat_dt_match(unsigned long node, const char *const *compat) in of_flat_dt_match() argument
[all …]
Dbase.c501 const char *compat, const char *type, const char *name) in __of_device_is_compatible() argument
508 if (compat && compat[0]) { in __of_device_is_compatible()
512 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) { in __of_device_is_compatible()
542 const char *compat) in of_device_is_compatible() argument
548 res = __of_device_is_compatible(device, compat, NULL, NULL); in of_device_is_compatible()
559 const char *const *compat) in of_device_compatible_match() argument
563 if (!compat) in of_device_compatible_match()
566 while (*compat) { in of_device_compatible_match()
567 tmp = of_device_is_compatible(device, *compat); in of_device_compatible_match()
570 compat++; in of_device_compatible_match()
[all …]
Dof_reserved_mem.c197 const char *compat = i->compatible; in __reserved_mem_init_node() local
199 if (!of_flat_dt_is_compatible(rmem->fdt_node, compat)) in __reserved_mem_init_node()
204 rmem->name, compat); in __reserved_mem_init_node()
/linux-4.19.296/include/linux/
Dirqchip.h27 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) argument
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.h280 const char *type, const char *compat);
354 const char *const *compat);
401 extern int of_machine_is_compatible(const char *compat);
675 const char *const *compat) in of_device_compatible_match() argument
700 const char *compat) in of_find_compatible_node() argument
901 static inline int of_machine_is_compatible(const char *compat) in of_machine_is_compatible() argument
1258 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1262 = { .compatible = compat, \
1265 #define _OF_DECLARE(table, name, compat, fn, fn_type) \ argument
1268 = { .compatible = compat, \
[all …]
Dof_reserved_mem.h29 #define RESERVEDMEM_OF_DECLARE(name, compat, init) \ argument
30 _OF_DECLARE(reservedmem, name, compat, init, reservedmem_of_init_fn)
Dserial_core.h392 #define _OF_EARLYCON_DECLARE(_name, compat, fn, unique_id) \ argument
396 .compatible = compat, \
402 #define OF_EARLYCON_DECLARE(_name, compat, fn) \ argument
403 _OF_EARLYCON_DECLARE(_name, compat, fn, \
Dnvmem-provider.h66 bool compat; member
Dof_fdt.h34 const char *const *compat);
Dclk-provider.h850 #define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn) argument
856 #define CLK_OF_DECLARE_DRIVER(name, compat, fn) \ argument
862 OF_DECLARE_1(clk, name, compat, name##_of_clk_init_driver)
Dcompat.h481 extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat);
488 put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, in put_compat_sigset() argument
500 return copy_to_user(compat, &v, size) ? -EFAULT : 0; in put_compat_sigset()
502 return copy_to_user(compat, set, size) ? -EFAULT : 0; in put_compat_sigset()
/linux-4.19.296/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-4.19.296/drivers/slimbus/
Dcore.c164 const char *compat = NULL; in of_register_slim_devices() local
168 compat = of_get_property(node, "compatible", NULL); in of_register_slim_devices()
169 if (!compat) in of_register_slim_devices()
172 ret = sscanf(compat, "slim%x,%x", &manf_id, &prod_code); in of_register_slim_devices()
175 compat); in of_register_slim_devices()
/linux-4.19.296/fs/jbd2/
Djournal.c1813 int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, in jbd2_journal_check_used_features() argument
1818 if (!compat && !ro && !incompat) in jbd2_journal_check_used_features()
1829 if (((be32_to_cpu(sb->s_feature_compat) & compat) == compat) && in jbd2_journal_check_used_features()
1848 int jbd2_journal_check_available_features (journal_t *journal, unsigned long compat, in jbd2_journal_check_available_features() argument
1851 if (!compat && !ro && !incompat) in jbd2_journal_check_available_features()
1861 if ((compat & JBD2_KNOWN_COMPAT_FEATURES) == compat && in jbd2_journal_check_available_features()
1881 int jbd2_journal_set_features (journal_t *journal, unsigned long compat, in jbd2_journal_set_features() argument
1887 ((compat & (f)) && !(sb->s_feature_compat & cpu_to_be32(f))) in jbd2_journal_set_features()
1890 if (jbd2_journal_check_used_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
1893 if (!jbd2_journal_check_available_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
[all …]
/linux-4.19.296/fs/quota/
DMakefile7 obj-$(CONFIG_QUOTACTL_COMPAT) += compat.o
/linux-4.19.296/include/uapi/linux/netfilter/
Dxt_set.h25 } compat; member
/linux-4.19.296/fs/
Daio.c1478 bool vectored, bool compat, struct iov_iter *iter) in aio_setup_rw() argument
1489 if (compat) in aio_setup_rw()
1517 bool vectored, bool compat) in aio_read() argument
1534 ret = aio_setup_rw(READ, iocb, &iovec, vectored, compat, &iter); in aio_read()
1545 bool vectored, bool compat) in aio_write() argument
1562 ret = aio_setup_rw(WRITE, iocb, &iovec, vectored, compat, &iter); in aio_write()
1915 struct iocb __user *user_iocb, bool compat) in __io_submit_one() argument
1977 ret = aio_read(&req->rw, iocb, false, compat); in __io_submit_one()
1980 ret = aio_write(&req->rw, iocb, false, compat); in __io_submit_one()
1983 ret = aio_read(&req->rw, iocb, true, compat); in __io_submit_one()
[all …]
Dexec.c440 const compat_uptr_t __user *compat; member
451 compat_uptr_t compat; in get_user_arg_ptr() local
453 if (get_user(compat, argv.ptr.compat + nr)) in get_user_arg_ptr()
456 return compat_ptr(compat); in get_user_arg_ptr()
1934 .ptr.compat = __argv, in compat_do_execve()
1938 .ptr.compat = __envp, in compat_do_execve()
1950 .ptr.compat = __argv, in compat_do_execveat()
1954 .ptr.compat = __envp, in compat_do_execveat()
DMakefile36 obj-$(CONFIG_COMPAT) += compat.o compat_ioctl.o
/linux-4.19.296/drivers/media/v4l2-core/
DMakefile12 videodev-objs += v4l2-compat-ioctl32.o
/linux-4.19.296/drivers/isdn/gigaset/
Dinterface.c63 static const unsigned compat[4] = GIG_COMPAT; in if_version() local
73 memcpy(arg, compat, sizeof compat); in if_version()
/linux-4.19.296/drivers/char/
Dsonypi.c86 static int compat; /* = 0 */ variable
87 module_param(compat, int, 0444);
88 MODULE_PARM_DESC(compat,
1096 sonypi_call1(compat ? 0x92 : 0x82); in sonypi_enable()
1289 compat ? "on" : "off", in sonypi_display_info()

12