Home
last modified time | relevance | path

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

/drivers/macintosh/
Dmacio_sysfs.c19 const char *compat; in compatible_show() local
24 compat = of_get_property(of->node, "compatible", &cplen); in compatible_show()
25 if (!compat) { in compatible_show()
31 length += sprintf (buf, "%s\n", compat); in compatible_show()
33 l = strlen (compat) + 1; in compatible_show()
34 compat += l; in compatible_show()
/drivers/of/
Ddevice.c130 const char *compat; in of_device_get_modalias() local
139 compat = of_get_property(ofdev->node, "compatible", &cplen); in of_device_get_modalias()
140 if (!compat) in of_device_get_modalias()
144 for (i = (cplen - 1); i >= 0 && !compat[i]; i--) in of_device_get_modalias()
163 memcpy(&str[csize + 1], compat, cplen); in of_device_get_modalias()
Dbase.c102 const char *compat) in of_device_is_compatible() argument
111 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) in of_device_is_compatible()
/drivers/ide/
Dtrm290.c291 u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; in init_hwif_trm290() local
299 if (old != compat && old_mask == 0xff) { in init_hwif_trm290()
301 compat += (next_offset += 0x400); in init_hwif_trm290()
302 hwif->io_ports.ctl_addr = compat + 2; in init_hwif_trm290()
303 outw(compat | 1, hwif->config_data); in init_hwif_trm290()
/drivers/mtd/ubi/
Dio.c784 int compat = vid_hdr->compat; in validate_vid_hdr() local
807 if (vol_id < UBI_INTERNAL_VOL_START && compat != 0) { in validate_vid_hdr()
812 if (vol_id >= UBI_INTERNAL_VOL_START && compat != UBI_COMPAT_DELETE && in validate_vid_hdr()
813 compat != UBI_COMPAT_RO && compat != UBI_COMPAT_PRESERVE && in validate_vid_hdr()
814 compat != UBI_COMPAT_REJECT) { in validate_vid_hdr()
Ddebug.c65 printk(KERN_DEBUG "\tcompat %d\n", (int)vid_hdr->compat); in ubi_dbg_dump_vid_hdr()
153 printk(KERN_DEBUG "\tcompat %d\n", sv->compat); in ubi_dbg_dump_sv()
Dscan.c207 sv->compat = vid_hdr->compat; in add_volume()
810 switch (vidh->compat) { in process_eb()
1211 if (sv->compat != vidh->compat) { in paranoid_check_si()
1212 ubi_err("bad compat %d", vidh->compat); in paranoid_check_si()
Dscan.h81 int compat; member
Dubi-media.h273 __u8 compat; member
Deba.c638 vid_hdr->compat = ubi_get_compat(ubi, vol_id); in ubi_eba_write_leb()
754 vid_hdr->compat = ubi_get_compat(ubi, vol_id); in ubi_eba_write_leb_st()
872 vid_hdr->compat = ubi_get_compat(ubi, vol_id); in ubi_eba_atomic_leb_change()
Dvtbl.c336 vid_hdr->compat = UBI_LAYOUT_VOLUME_COMPAT; in create_vtbl()
/drivers/pnp/isapnp/
DMakefile7 obj-y := core.o compat.o $(isapnp-proc-y)
Dcore.c588 int number = 0, skip = 0, priority, compat = 0; in isapnp_create_device() local
619 compat = 0; in isapnp_create_device()
622 if (size == 4 && compat < DEVICE_COUNT_COMPATIBLE) { in isapnp_create_device()
628 compat++; in isapnp_create_device()
/drivers/input/
Devdev.c411 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
415 if (compat) { in bits_to_user()
439 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
441 int len = compat ? in bits_to_user()
455 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
DMakefile8 input-core-objs := input.o input-compat.o ff-core.o
/drivers/media/video/
DMakefile17 obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o
23 obj-$(CONFIG_VIDEO_DEV) += v4l1-compat.o
/drivers/char/
Dsonypi.c86 static int compat; /* = 0 */ variable
87 module_param(compat, int, 0444);
88 MODULE_PARM_DESC(compat,
1102 sonypi_call1(compat ? 0x92 : 0x82); in sonypi_enable()
1295 compat ? "on" : "off", in sonypi_display_info()
/drivers/isdn/gigaset/
Dinterface.c65 static const unsigned compat[4] = GIG_COMPAT; in if_version() local
75 memcpy(arg, compat, sizeof compat); in if_version()
/drivers/platform/x86/
Dsony-laptop.c102 static int compat; /* = 0 */ variable
103 module_param(compat, int, 0444);
104 MODULE_PARM_DESC(compat,
2433 sony_pic_call1(compat ? 0x92 : 0x82); in sony_pic_enable()
/drivers/scsi/aacraid/
Dcommctrl.c440 response.compat = 1; in check_revision()
Daacraid.h1646 u32 compat; member
/drivers/mtd/maps/
DKconfig27 bool "Physmap compat support"