/drivers/macintosh/ |
H A D | macio_sysfs.c | 19 const char *compat; local 24 compat = of_get_property(of->dev.of_node, "compatible", &cplen); 25 if (!compat) { 31 length += sprintf (buf, "%s\n", compat); 33 l = strlen (compat) + 1; 34 compat += l;
|
/drivers/of/ |
H A D | device.c | 83 const char *compat; local 92 compat = of_get_property(dev->of_node, "compatible", &cplen); 93 if (!compat) 97 for (i = (cplen - 1); i >= 0 && !compat[i]; i--) 110 if (tsize >= len) { /* limit compat list */ 116 memcpy(&str[csize + 1], compat, cplen); 133 const char *compat; local 147 compat = of_get_property(dev->of_node, "compatible", &cplen); 148 while (compat && *compat [all...] |
H A D | fdt.c | 78 * compat in its compatible list 81 * @compat: compatible string to compare with compatible list. 87 unsigned long node, const char *compat) 97 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) 111 const char *const *compat) 115 if (!compat) 118 while (*compat) { 119 tmp = of_fdt_is_compatible(blob, node, *compat); 122 compat 86 of_fdt_is_compatible(struct boot_param_header *blob, unsigned long node, const char *compat) argument 110 of_fdt_match(struct boot_param_header *blob, unsigned long node, const char *const *compat) argument 537 of_flat_dt_is_compatible(unsigned long node, const char *compat) argument 545 of_flat_dt_match(unsigned long node, const char *const *compat) argument [all...] |
H A D | base.c | 225 /** Checks if the given "compat" string matches one of the strings in 229 const char *compat) 238 if (of_compat_cmp(cp, compat, strlen(compat)) == 0) 251 * @compat: compatible string to look for in root node's compatible property. 256 int of_machine_is_compatible(const char *compat) argument 263 rc = of_device_is_compatible(root, compat); 228 of_device_is_compatible(const struct device_node *device, const char *compat) argument
|
/drivers/ide/ |
H A D | trm290.c | 281 u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; local 289 if (old != compat && old_mask == 0xff) { 291 compat += (next_offset += 0x400); 292 hwif->io_ports.ctl_addr = compat + 2; 293 outw(compat | 1, hwif->config_data);
|
/drivers/staging/wlags49_h2/ |
H A D | dhf.h | 181 * The 'compat' field points to an array of TODO 196 CFG_RANGE20_STRCT FAR *compat; /* Pointer to the compatibility info records */ member in struct:__anon5624
|
/drivers/isdn/gigaset/ |
H A D | interface.c | 63 static const unsigned compat[4] = GIG_COMPAT; local 73 memcpy(arg, compat, sizeof compat);
|
/drivers/mtd/ubi/ |
H A D | scan.h | 68 * @compat: compatibility flags of this volume 83 int compat; member in struct:ubi_scan_volume
|
H A D | ubi-media.h | 177 * @compat: compatibility of this volume (%0, %UBI_COMPAT_DELETE, 244 * The @compat field is only used for internal volumes and contains the "degree 283 __u8 compat; member in struct:ubi_vid_hdr
|
H A D | io.c | 900 int compat = vid_hdr->compat; local 923 if (vol_id < UBI_INTERNAL_VOL_START && compat != 0) { 924 dbg_err("bad compat"); 928 if (vol_id >= UBI_INTERNAL_VOL_START && compat != UBI_COMPAT_DELETE && 929 compat != UBI_COMPAT_RO && compat != UBI_COMPAT_PRESERVE && 930 compat != UBI_COMPAT_REJECT) { 931 dbg_err("bad compat");
|
/drivers/staging/wlan-ng/ |
H A D | prism2fw.c | 100 hfa384x_caplevel_t compat; member in union:s3inforec::__anon5641 1143 s3info[i].info.compat.role, 1144 s3info[i].info.compat.id, 1145 s3info[i].info.compat.variant, 1146 s3info[i].info.compat.bottom, 1147 s3info[i].info.compat.top); 1149 /* MAC compat range */ 1150 if ((s3info[i].info.compat.role == 1) && 1151 (s3info[i].info.compat.id == 2)) { 1152 if (s3info[i].info.compat [all...] |
/drivers/input/ |
H A D | evdev.c | 27 #include "input-compat.h" 467 unsigned int maxlen, void __user *p, int compat) 471 if (compat) { 495 unsigned int maxlen, void __user *p, int compat) 497 int len = compat ? 511 unsigned int maxlen, void __user *p, int compat) 466 bits_to_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) argument 494 bits_to_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) argument 510 bits_to_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) argument
|
/drivers/pnp/isapnp/ |
H A D | core.c | 587 int number = 0, skip = 0, priority, compat = 0; local 618 compat = 0; 621 if (size == 4 && compat < DEVICE_COUNT_COMPATIBLE) { 627 compat++;
|
/drivers/char/ |
H A D | sonypi.c | 86 static int compat; /* = 0 */ variable 87 module_param(compat, int, 0444); 88 MODULE_PARM_DESC(compat, 1101 sonypi_call1(compat ? 0x92 : 0x82); 1289 "compat = %s, mask = 0x%08lx, useinput = %s, acpi = %s\n", 1294 compat ? "on" : "off",
|
/drivers/platform/x86/ |
H A D | sony-laptop.c | 106 static int compat; /* = 0 */ variable 107 module_param(compat, int, 0444); 108 MODULE_PARM_DESC(compat, 3097 sony_pic_call1(compat ? 0x92 : 0x82);
|
/drivers/scsi/aacraid/ |
H A D | aacraid.h | 1750 u32 compat; member in struct:revision 1757 * Ugly - non Linux like ioctl coding for back compat.
|