compat 822 arch/arc/mm/tlb.c int compat = 0; compat 847 arch/arc/mm/tlb.c compat = 1; compat 849 arch/arc/mm/tlb.c compat = 1; compat 851 arch/arc/mm/tlb.c if (!compat) { compat 48 arch/arm/mach-imx/common.h void imx_aips_allow_unprivileged_access(const char *compat); compat 23 arch/arm/mach-imx/cpu-imx5.c static u32 imx5_read_srev_reg(const char *compat) compat 29 arch/arm/mach-imx/cpu-imx5.c np = of_find_compatible_node(NULL, NULL, compat); compat 64 arch/arm/mach-imx/cpu.c const char *compat) compat 69 arch/arm/mach-imx/cpu.c for_each_compatible_node(np, NULL, compat) { compat 437 arch/arm/mach-imx/pm-imx6.c const char *compat) compat 443 arch/arm/mach-imx/pm-imx6.c node = of_find_compatible_node(NULL, NULL, compat); compat 201 arch/arm/xen/enlighten.c const char *compat; compat 216 arch/arm/xen/enlighten.c if (of_flat_dt_is_compatible(node, hyper_node.compat)) compat 130 arch/arm64/kernel/cpuinfo.c bool compat = personality(current->personality) == PER_LINUX32; compat 142 arch/arm64/kernel/cpuinfo.c if (compat) compat 157 arch/arm64/kernel/cpuinfo.c if (compat) { compat 24 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # a1 = argv (kseg0 compat addr) compat 304 arch/mips/mti-malta/malta-dtshim.c const char *compat; compat 317 arch/mips/mti-malta/malta-dtshim.c compat = fdt_getprop(fdt_buf, root_off, "compatible", &len); compat 318 arch/mips/mti-malta/malta-dtshim.c if (!compat) compat 322 arch/mips/mti-malta/malta-dtshim.c if (strncmp(compat, "mti,malta", len)) compat 331 arch/powerpc/boot/devtree.c int dt_is_compatible(void *node, const char *compat) compat 341 arch/powerpc/boot/devtree.c if (!strcmp(buf + pos, compat)) compat 52 arch/powerpc/boot/ops.h const char *compat); compat 98 arch/powerpc/boot/ops.h int dt_is_compatible(void *node, const char *compat); compat 186 arch/powerpc/boot/ops.h const char *compat) compat 189 arch/powerpc/boot/ops.h return dt_ops.find_node_by_compatible(prev, compat); compat 2244 arch/powerpc/kernel/prom_init.c char compat[256]; compat 2253 arch/powerpc/kernel/prom_init.c compat, sizeof(compat)-1); compat 2255 arch/powerpc/kernel/prom_init.c compat[len] = 0; compat 2257 arch/powerpc/kernel/prom_init.c char *p = &compat[i]; compat 2284 arch/powerpc/kernel/prom_init.c compat, sizeof(compat)-1); compat 2287 arch/powerpc/kernel/prom_init.c if (prom_strcmp(compat, "chrp")) compat 200 arch/powerpc/platforms/44x/fsp2.c static void node_irq_request(const char *compat, irq_handler_t errirq_handler) compat 206 arch/powerpc/platforms/44x/fsp2.c for_each_compatible_node(np, NULL, compat) { compat 2615 arch/powerpc/platforms/powermac/feature.c static void __init probe_one_macio(const char *name, const char *compat, int type) compat 2625 arch/powerpc/platforms/powermac/feature.c if (!compat) compat 2627 arch/powerpc/platforms/powermac/feature.c if (of_device_is_compatible(node, compat)) compat 1217 arch/powerpc/platforms/pseries/vio.c ids->compat)) compat 132 arch/riscv/kernel/cpu.c const char *compat, *isa, *mmu; compat 140 arch/riscv/kernel/cpu.c if (!of_property_read_string(node, "compatible", &compat) compat 141 arch/riscv/kernel/cpu.c && strcmp(compat, "riscv")) compat 142 arch/riscv/kernel/cpu.c seq_printf(m, "uarch\t\t: %s\n", compat); compat 534 arch/sparc/include/asm/floppy_64.h const char *compat; compat 536 arch/sparc/include/asm/floppy_64.h compat = of_get_property(dp, "compatible", NULL); compat 537 arch/sparc/include/asm/floppy_64.h if (compat && !strcmp(compat, "fdthree")) compat 338 arch/sparc/include/asm/vio.h char compat[VIO_MAX_COMPAT_LEN]; compat 26 arch/sparc/kernel/vio.c const char *type, *compat; compat 30 arch/sparc/kernel/vio.c compat = dev->compat; compat 33 arch/sparc/kernel/vio.c while (matches->type[0] || matches->compat[0]) { compat 38 arch/sparc/kernel/vio.c if (matches->compat[0]) { compat 40 arch/sparc/kernel/vio.c of_find_in_proplist(compat, matches->compat, len); compat 53 arch/sparc/kernel/vio.c add_uevent_var(env, "MODALIAS=vio:T%sS%s", vio_dev->type, vio_dev->compat); compat 142 arch/sparc/kernel/vio.c return sprintf(buf, "vio:T%sS%s\n", vdev->type, vdev->compat); compat 296 arch/sparc/kernel/vio.c const char *type, *compat; compat 320 arch/sparc/kernel/vio.c compat = mdesc_get_property(hp, mp, "device-type", &clen); compat 321 arch/sparc/kernel/vio.c if (!compat) { compat 337 arch/sparc/kernel/vio.c if (compat) compat 338 arch/sparc/kernel/vio.c memcpy(vdev->compat, compat, clen); compat 340 arch/sparc/kernel/vio.c memset(vdev->compat, 0, sizeof(vdev->compat)); compat 505 arch/sparc/kernel/vio.c const char *compat; compat 535 arch/sparc/kernel/vio.c compat = mdesc_get_property(hp, root, "compatible", &len); compat 536 arch/sparc/kernel/vio.c if (!compat) { compat 541 arch/sparc/kernel/vio.c if (!of_find_in_proplist(compat, channel_devices_compat, len)) { compat 219 arch/x86/platform/olpc/olpc_dt.c static int __init olpc_dt_compatible_match(phandle node, const char *compat) compat 228 arch/x86/platform/olpc/olpc_dt.c len = strlen(compat); compat 230 arch/x86/platform/olpc/olpc_dt.c if (strcmp(p, compat) == 0) compat 72 drivers/char/sonypi.c static int compat; /* = 0 */ compat 73 drivers/char/sonypi.c module_param(compat, int, 0444); compat 74 drivers/char/sonypi.c MODULE_PARM_DESC(compat, compat 1082 drivers/char/sonypi.c sonypi_call1(compat ? 0x92 : 0x82); compat 1275 drivers/char/sonypi.c compat ? "on" : "off", compat 76 drivers/clk/clk-qoriq.c const char *compat, *guts_compat; compat 519 drivers/clk/clk-qoriq.c .compat = "fsl,b4420-clockgen", compat 535 drivers/clk/clk-qoriq.c .compat = "fsl,b4860-clockgen", compat 551 drivers/clk/clk-qoriq.c .compat = "fsl,ls1021a-clockgen", compat 561 drivers/clk/clk-qoriq.c .compat = "fsl,ls1028a-clockgen", compat 576 drivers/clk/clk-qoriq.c .compat = "fsl,ls1043a-clockgen", compat 591 drivers/clk/clk-qoriq.c .compat = "fsl,ls1046a-clockgen", compat 606 drivers/clk/clk-qoriq.c .compat = "fsl,ls1088a-clockgen", compat 617 drivers/clk/clk-qoriq.c .compat = "fsl,ls1012a-clockgen", compat 627 drivers/clk/clk-qoriq.c .compat = "fsl,ls2080a-clockgen", compat 638 drivers/clk/clk-qoriq.c .compat = "fsl,lx2160a-clockgen", compat 649 drivers/clk/clk-qoriq.c .compat = "fsl,p2041-clockgen", compat 661 drivers/clk/clk-qoriq.c .compat = "fsl,p3041-clockgen", compat 673 drivers/clk/clk-qoriq.c .compat = "fsl,p4080-clockgen", compat 685 drivers/clk/clk-qoriq.c .compat = "fsl,p5020-clockgen", compat 697 drivers/clk/clk-qoriq.c .compat = "fsl,p5040-clockgen", compat 709 drivers/clk/clk-qoriq.c .compat = "fsl,t1023-clockgen", compat 725 drivers/clk/clk-qoriq.c .compat = "fsl,t1040-clockgen", compat 738 drivers/clk/clk-qoriq.c .compat = "fsl,t2080-clockgen", compat 754 drivers/clk/clk-qoriq.c .compat = "fsl,t4240-clockgen", compat 1444 drivers/clk/clk-qoriq.c if (of_device_is_compatible(np, chipinfo[i].compat)) compat 1447 drivers/clk/clk-qoriq.c !strcmp(chipinfo[i].compat, "fsl,ls1021a-clockgen")) compat 1124 drivers/edac/altera_edac.c static int __init __maybe_unused altr_init_a10_ecc_device_type(char *compat) compat 1145 drivers/edac/altera_edac.c if (!of_device_is_compatible(child, compat)) compat 215 drivers/firmware/efi/efivars.c struct compat_efi_variable *compat; compat 217 drivers/firmware/efi/efivars.c if (count != sizeof(*compat)) compat 220 drivers/firmware/efi/efivars.c compat = (struct compat_efi_variable *)buf; compat 221 drivers/firmware/efi/efivars.c attributes = compat->Attributes; compat 222 drivers/firmware/efi/efivars.c vendor = compat->VendorGuid; compat 223 drivers/firmware/efi/efivars.c name = compat->VariableName; compat 224 drivers/firmware/efi/efivars.c size = compat->DataSize; compat 225 drivers/firmware/efi/efivars.c data = compat->Data; compat 231 drivers/firmware/efi/efivars.c copy_out_compat(&entry->var, compat); compat 264 drivers/firmware/efi/efivars.c struct compat_efi_variable *compat; compat 278 drivers/firmware/efi/efivars.c compat = (struct compat_efi_variable *)buf; compat 280 drivers/firmware/efi/efivars.c size = sizeof(*compat); compat 281 drivers/firmware/efi/efivars.c memcpy(compat->VariableName, var->VariableName, compat 283 drivers/firmware/efi/efivars.c memcpy(compat->Data, var->Data, sizeof(compat->Data)); compat 285 drivers/firmware/efi/efivars.c compat->VendorGuid = var->VendorGuid; compat 286 drivers/firmware/efi/efivars.c compat->DataSize = var->DataSize; compat 287 drivers/firmware/efi/efivars.c compat->Attributes = var->Attributes; compat 368 drivers/firmware/efi/efivars.c struct compat_efi_variable *compat = (struct compat_efi_variable *)buf; compat 382 drivers/firmware/efi/efivars.c if (count != sizeof(*compat)) compat 385 drivers/firmware/efi/efivars.c attributes = compat->Attributes; compat 386 drivers/firmware/efi/efivars.c name = compat->VariableName; compat 387 drivers/firmware/efi/efivars.c size = compat->DataSize; compat 388 drivers/firmware/efi/efivars.c data = compat->Data; compat 411 drivers/firmware/efi/efivars.c copy_out_compat(&new_entry->var, compat); compat 439 drivers/firmware/efi/efivars.c struct compat_efi_variable *compat; compat 449 drivers/firmware/efi/efivars.c if (count != sizeof(*compat)) compat 452 drivers/firmware/efi/efivars.c compat = (struct compat_efi_variable *)buf; compat 453 drivers/firmware/efi/efivars.c name = compat->VariableName; compat 454 drivers/firmware/efi/efivars.c vendor = compat->VendorGuid; compat 212 drivers/gpu/drm/meson/meson_drv.c priv->compat = (enum vpu_compatible)of_device_get_match_data(priv->dev); compat 29 drivers/gpu/drm/meson/meson_drv.h enum vpu_compatible compat; compat 130 drivers/gpu/drm/meson/meson_drv.h return priv->compat == family; compat 156 drivers/gpu/drm/meson/meson_dw_hdmi.c const char *compat) compat 158 drivers/gpu/drm/meson/meson_dw_hdmi.c return of_device_is_compatible(dw_hdmi->dev->of_node, compat); compat 275 drivers/gpu/drm/msm/adreno/adreno_device.c const char *compat; compat 280 drivers/gpu/drm/msm/adreno/adreno_device.c ret = of_property_read_string_index(node, "compatible", 0, &compat); compat 284 drivers/gpu/drm/msm/adreno/adreno_device.c if (sscanf(compat, "qcom,adreno-%u.%u", &r, &patch) == 2 || compat 285 drivers/gpu/drm/msm/adreno/adreno_device.c sscanf(compat, "amd,imageon-%u.%u", &r, &patch) == 2) { compat 298 drivers/gpu/drm/omapdrm/dss/base.c const char *compat; compat 318 drivers/gpu/drm/omapdrm/dss/base.c const char *compat; compat 321 drivers/gpu/drm/omapdrm/dss/base.c ret = of_property_read_string(node, "compatible", &compat); compat 329 drivers/gpu/drm/omapdrm/dss/base.c comp->compat = compat; compat 378 drivers/gpu/drm/omapdrm/dss/base.c if (!strstarts(comp->compat, "omapdss,")) compat 44 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c static void __init omapdss_update_prop(struct device_node *node, char *compat, compat 54 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop->value = compat; compat 314 drivers/gpu/host1x/bus.c const char *compat; compat 328 drivers/gpu/host1x/bus.c of_property_for_each_string(np, "compatible", p, compat) { compat 329 drivers/gpu/host1x/bus.c add_uevent_var(env, "OF_COMPATIBLE_%u=%s", count, compat); compat 414 drivers/hid/uhid.c struct uhid_create_req_compat *compat; compat 416 drivers/hid/uhid.c compat = kzalloc(sizeof(*compat), GFP_KERNEL); compat 417 drivers/hid/uhid.c if (!compat) compat 422 drivers/hid/uhid.c if (copy_from_user(compat, buffer, compat 423 drivers/hid/uhid.c min(len, sizeof(*compat)))) { compat 424 drivers/hid/uhid.c kfree(compat); compat 431 drivers/hid/uhid.c memcpy(event->u.create.name, compat->name, compat 432 drivers/hid/uhid.c sizeof(compat->name)); compat 433 drivers/hid/uhid.c memcpy(event->u.create.phys, compat->phys, compat 434 drivers/hid/uhid.c sizeof(compat->phys)); compat 435 drivers/hid/uhid.c memcpy(event->u.create.uniq, compat->uniq, compat 436 drivers/hid/uhid.c sizeof(compat->uniq)); compat 438 drivers/hid/uhid.c event->u.create.rd_data = compat_ptr(compat->rd_data); compat 439 drivers/hid/uhid.c event->u.create.rd_size = compat->rd_size; compat 441 drivers/hid/uhid.c event->u.create.bus = compat->bus; compat 442 drivers/hid/uhid.c event->u.create.vendor = compat->vendor; compat 443 drivers/hid/uhid.c event->u.create.product = compat->product; compat 444 drivers/hid/uhid.c event->u.create.version = compat->version; compat 445 drivers/hid/uhid.c event->u.create.country = compat->country; compat 447 drivers/hid/uhid.c kfree(compat); compat 281 drivers/ide/trm290.c u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; compat 289 drivers/ide/trm290.c if (old != compat && old_mask == 0xff) { compat 291 drivers/ide/trm290.c compat += (next_offset += 0x400); compat 292 drivers/ide/trm290.c hwif->io_ports.ctl_addr = compat + 2; compat 293 drivers/ide/trm290.c outw(compat | 1, hwif->config_data); compat 635 drivers/input/evdev.c unsigned int maxlen, void __user *p, int compat) compat 639 drivers/input/evdev.c if (compat) { compat 663 drivers/input/evdev.c unsigned int maxlen, const void __user *p, int compat) compat 667 drivers/input/evdev.c if (compat) { compat 702 drivers/input/evdev.c unsigned int maxlen, void __user *p, int compat) compat 704 drivers/input/evdev.c int len = compat ? compat 715 drivers/input/evdev.c unsigned int maxlen, const void __user *p, int compat) compat 717 drivers/input/evdev.c size_t chunk_size = compat ? sizeof(compat_long_t) : sizeof(long); compat 723 drivers/input/evdev.c len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); compat 736 drivers/input/evdev.c unsigned int maxlen, void __user *p, int compat) compat 747 drivers/input/evdev.c unsigned int maxlen, const void __user *p, int compat) compat 889 drivers/input/evdev.c int compat) compat 909 drivers/input/evdev.c ret = bits_to_user(mem, maxbit, maxlen, p, compat); compat 958 drivers/input/evdev.c int compat) compat 973 drivers/input/evdev.c error = bits_from_user(mask, cnt - 1, codes_size, codes, compat); compat 994 drivers/input/evdev.c int compat) compat 1010 drivers/input/evdev.c xfer_size, codes, compat); compat 10 drivers/macintosh/macio_sysfs.c const char *compat; compat 15 drivers/macintosh/macio_sysfs.c compat = of_get_property(of->dev.of_node, "compatible", &cplen); compat 16 drivers/macintosh/macio_sysfs.c if (!compat) { compat 22 drivers/macintosh/macio_sysfs.c length += sprintf (buf, "%s\n", compat); compat 24 drivers/macintosh/macio_sysfs.c l = strlen (compat) + 1; compat 25 drivers/macintosh/macio_sysfs.c compat += l; compat 689 drivers/misc/eeprom/at24.c nvmem_config.compat = true; compat 356 drivers/misc/eeprom/at25.c at25->nvmem_config.compat = true; compat 463 drivers/misc/eeprom/eeprom_93xx46.c edev->nvmem_config.compat = true; compat 860 drivers/mtd/mtdpart.c static struct mtd_part_parser *mtd_part_get_compatible_parser(const char *compat) compat 874 drivers/mtd/mtdpart.c if (!strcmp(matches->compatible, compat) && compat 896 drivers/mtd/mtdpart.c const char *compat; compat 906 drivers/mtd/mtdpart.c of_property_for_each_string(np, "compatible", prop, compat) { compat 907 drivers/mtd/mtdpart.c parser = mtd_part_get_compatible_parser(compat); compat 411 drivers/mtd/ubi/attach.c av->compat = vid_hdr->compat; compat 1138 drivers/mtd/ubi/attach.c switch (vidh->compat) { compat 1823 drivers/mtd/ubi/attach.c if (av->compat != vidh->compat) { compat 1824 drivers/mtd/ubi/attach.c ubi_err(ubi, "bad compat %d", vidh->compat); compat 77 drivers/mtd/ubi/debug.c pr_err("\tcompat %d\n", (int)vid_hdr->compat); compat 164 drivers/mtd/ubi/debug.c pr_err("\tcompat %d\n", av->compat); compat 1060 drivers/mtd/ubi/eba.c vid_hdr->compat = ubi_get_compat(ubi, vol_id); compat 1141 drivers/mtd/ubi/eba.c vid_hdr->compat = ubi_get_compat(ubi, vol_id); compat 1225 drivers/mtd/ubi/eba.c vid_hdr->compat = ubi_get_compat(ubi, vol_id); compat 120 drivers/mtd/ubi/fastmap.c vh->compat = UBI_COMPAT_DELETE; compat 187 drivers/mtd/ubi/fastmap.c av->compat = 0; compat 839 drivers/mtd/ubi/io.c int compat = vid_hdr->compat; compat 862 drivers/mtd/ubi/io.c if (vol_id < UBI_INTERNAL_VOL_START && compat != 0) { compat 867 drivers/mtd/ubi/io.c if (vol_id >= UBI_INTERNAL_VOL_START && compat != UBI_COMPAT_DELETE && compat 868 drivers/mtd/ubi/io.c compat != UBI_COMPAT_RO && compat != UBI_COMPAT_PRESERVE && compat 869 drivers/mtd/ubi/io.c compat != UBI_COMPAT_REJECT) { compat 273 drivers/mtd/ubi/ubi-media.h __u8 compat; compat 716 drivers/mtd/ubi/ubi.h int compat; compat 310 drivers/mtd/ubi/vtbl.c vid_hdr->compat = UBI_LAYOUT_VOLUME_COMPAT; compat 374 drivers/net/ethernet/broadcom/genet/bcmmii.c char *compat; compat 376 drivers/net/ethernet/broadcom/genet/bcmmii.c compat = kasprintf(GFP_KERNEL, "brcm,genet-mdio-v%d", priv->version); compat 377 drivers/net/ethernet/broadcom/genet/bcmmii.c if (!compat) compat 380 drivers/net/ethernet/broadcom/genet/bcmmii.c priv->mdio_dn = of_get_compatible_child(dn, compat); compat 381 drivers/net/ethernet/broadcom/genet/bcmmii.c kfree(compat); compat 393 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c u32 compat = 0; compat 399 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hnae3_set_bit(compat, HCLGE_LINK_EVENT_REPORT_EN_B, 1); compat 400 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c hnae3_set_bit(compat, HCLGE_NCSI_ERROR_REPORT_EN_B, 1); compat 401 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c req->compat = cpu_to_le32(compat); compat 1062 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le32 compat; compat 412 drivers/nvmem/core.c if (config->compat) { compat 439 drivers/nvmem/core.c if (config->compat) compat 227 drivers/nvmem/nvmem-sysfs.c if (!config->compat) compat 267 drivers/nvmem/nvmem-sysfs.c if (config->compat) compat 511 drivers/of/base.c const char *compat, const char *type, const char *name) compat 518 drivers/of/base.c if (compat && compat[0]) { compat 522 drivers/of/base.c if (of_compat_cmp(cp, compat, strlen(compat)) == 0) { compat 552 drivers/of/base.c const char *compat) compat 558 drivers/of/base.c res = __of_device_is_compatible(device, compat, NULL, NULL); compat 569 drivers/of/base.c const char *const *compat) compat 573 drivers/of/base.c if (!compat) compat 576 drivers/of/base.c while (*compat) { compat 577 drivers/of/base.c tmp = of_device_is_compatible(device, *compat); compat 580 drivers/of/base.c compat++; compat 593 drivers/of/base.c int of_machine_is_compatible(const char *compat) compat 600 drivers/of/base.c rc = of_device_is_compatible(root, compat); compat 202 drivers/of/device.c const char *compat; compat 220 drivers/of/device.c of_property_for_each_string(dev->of_node, "compatible", p, compat) { compat 221 drivers/of/device.c csize = strlen(compat) + 1; compat 226 drivers/of/device.c csize = snprintf(str, len, "C%s", compat); compat 284 drivers/of/device.c const char *compat, *type; compat 301 drivers/of/device.c of_property_for_each_string(dev->of_node, "compatible", p, compat) { compat 302 drivers/of/device.c add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); compat 727 drivers/of/fdt.c unsigned long node, const char *compat) compat 738 drivers/of/fdt.c if (of_compat_cmp(cp, compat, strlen(compat)) == 0) compat 753 drivers/of/fdt.c int __init of_flat_dt_is_compatible(unsigned long node, const char *compat) compat 755 drivers/of/fdt.c return of_fdt_is_compatible(initial_boot_params, node, compat); compat 761 drivers/of/fdt.c static int __init of_flat_dt_match(unsigned long node, const char *const *compat) compat 765 drivers/of/fdt.c if (!compat) compat 768 drivers/of/fdt.c while (*compat) { compat 769 drivers/of/fdt.c tmp = of_fdt_is_compatible(initial_boot_params, node, *compat); compat 772 drivers/of/fdt.c compat++; compat 820 drivers/of/fdt.c const char *const *compat; compat 825 drivers/of/fdt.c while ((data = get_next_compat(&compat))) { compat 826 drivers/of/fdt.c score = of_flat_dt_match(dt_root, compat); compat 178 drivers/of/of_reserved_mem.c const char *compat = i->compatible; compat 180 drivers/of/of_reserved_mem.c if (!of_flat_dt_is_compatible(rmem->fdt_node, compat)) compat 186 drivers/of/of_reserved_mem.c rmem->name, compat); compat 88 drivers/platform/x86/sony-laptop.c static int compat; /* = 0 */ compat 89 drivers/platform/x86/sony-laptop.c module_param(compat, int, 0444); compat 90 drivers/platform/x86/sony-laptop.c MODULE_PARM_DESC(compat, compat 4576 drivers/platform/x86/sony-laptop.c sony_pic_call1(compat ? 0x92 : 0x82); compat 566 drivers/pnp/isapnp/core.c int number = 0, skip = 0, priority, compat = 0; compat 597 drivers/pnp/isapnp/core.c compat = 0; compat 600 drivers/pnp/isapnp/core.c if (size == 4 && compat < DEVICE_COUNT_COMPATIBLE) { compat 606 drivers/pnp/isapnp/core.c compat++; compat 258 drivers/pps/pps.c struct pps_fdata_compat compat; compat 264 drivers/pps/pps.c err = copy_from_user(&compat, uarg, sizeof(struct pps_fdata_compat)); compat 268 drivers/pps/pps.c memcpy(&fdata.timeout, &compat.timeout, compat 278 drivers/pps/pps.c compat.info.assert_sequence = pps->assert_sequence; compat 279 drivers/pps/pps.c compat.info.clear_sequence = pps->clear_sequence; compat 280 drivers/pps/pps.c compat.info.current_mode = pps->current_mode; compat 282 drivers/pps/pps.c memcpy(&compat.info.assert_tu, &pps->assert_tu, compat 284 drivers/pps/pps.c memcpy(&compat.info.clear_tu, &pps->clear_tu, compat 289 drivers/pps/pps.c return copy_to_user(uarg, &compat, compat 2339 drivers/scsi/aacraid/aacraid.h u32 compat; compat 439 drivers/scsi/aacraid/commctrl.c response.compat = 1; compat 2303 drivers/scsi/mpt3sas/mpt3sas_ctl.c u8 compat, u16 mpi_version) compat 2357 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (compat) { compat 210 drivers/slimbus/core.c const char *compat = NULL; compat 214 drivers/slimbus/core.c compat = of_get_property(node, "compatible", NULL); compat 215 drivers/slimbus/core.c if (!compat) compat 218 drivers/slimbus/core.c ret = sscanf(compat, "slim%x,%x", &manf_id, &prod_code); compat 221 drivers/slimbus/core.c compat); compat 133 drivers/soundwire/slave.c const char *compat = NULL; compat 137 drivers/soundwire/slave.c compat = of_get_property(node, "compatible", NULL); compat 138 drivers/soundwire/slave.c if (!compat) compat 141 drivers/soundwire/slave.c ret = sscanf(compat, "sdw%01x%04hx%04hx%02hhx", &sdw_version, compat 146 drivers/soundwire/slave.c compat); compat 60 drivers/staging/isdn/gigaset/interface.c static const unsigned compat[4] = GIG_COMPAT; compat 70 drivers/staging/isdn/gigaset/interface.c memcpy(arg, compat, sizeof compat); compat 101 drivers/staging/wlan-ng/prism2fw.c struct hfa384x_caplevel compat; compat 1168 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.role, compat 1169 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.id, compat 1170 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.variant, compat 1171 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.bottom, compat 1172 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.top); compat 1175 drivers/staging/wlan-ng/prism2fw.c if ((s3info[i].info.compat.role == 1) && compat 1176 drivers/staging/wlan-ng/prism2fw.c (s3info[i].info.compat.id == 2)) { compat 1177 drivers/staging/wlan-ng/prism2fw.c if (s3info[i].info.compat.variant != compat 1184 drivers/staging/wlan-ng/prism2fw.c if ((s3info[i].info.compat.role == 1) && compat 1185 drivers/staging/wlan-ng/prism2fw.c (s3info[i].info.compat.id == 3)) { compat 1186 drivers/staging/wlan-ng/prism2fw.c if ((s3info[i].info.compat.bottom > compat 1188 drivers/staging/wlan-ng/prism2fw.c (s3info[i].info.compat.top < compat 1194 drivers/staging/wlan-ng/prism2fw.c if ((s3info[i].info.compat.role == 1) && compat 1195 drivers/staging/wlan-ng/prism2fw.c (s3info[i].info.compat.id == 4)) { compat 31 drivers/vfio/platform/vfio_platform_common.c static vfio_platform_reset_fn_t vfio_platform_lookup_reset(const char *compat, compat 39 drivers/vfio/platform/vfio_platform_common.c if (!strcmp(iter->compat, compat) && compat 118 drivers/vfio/platform/vfio_platform_common.c vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, compat 121 drivers/vfio/platform/vfio_platform_common.c request_module("vfio-reset:%s", vdev->compat); compat 122 drivers/vfio/platform/vfio_platform_common.c vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, compat 633 drivers/vfio/platform/vfio_platform_common.c &vdev->compat); compat 730 drivers/vfio/platform/vfio_platform_common.c void vfio_platform_unregister_reset(const char *compat, compat 737 drivers/vfio/platform/vfio_platform_common.c if (!strcmp(iter->compat, compat) && (iter->of_reset == fn)) { compat 52 drivers/vfio/platform/vfio_platform_private.h const char *compat; compat 76 drivers/vfio/platform/vfio_platform_private.h char *compat; compat 95 drivers/vfio/platform/vfio_platform_private.h extern void vfio_platform_unregister_reset(const char *compat, compat 100 drivers/vfio/platform/vfio_platform_private.h .compat = __compat, \ compat 105 drivers/vfio/platform/vfio_platform_private.h #define module_vfio_reset_handler(compat, reset) \ compat 106 drivers/vfio/platform/vfio_platform_private.h MODULE_ALIAS("vfio-reset:" compat); \ compat 109 drivers/vfio/platform/vfio_platform_private.h vfio_platform_register_reset(compat, reset); \ compat 114 drivers/vfio/platform/vfio_platform_private.h vfio_platform_unregister_reset(compat, reset); \ compat 44 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c static void __init omapdss_update_prop(struct device_node *node, char *compat, compat 54 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop->value = compat; compat 1482 fs/aio.c struct iovec **iovec, bool vectored, bool compat, compat 1494 fs/aio.c if (compat) compat 1522 fs/aio.c bool vectored, bool compat) compat 1539 fs/aio.c ret = aio_setup_rw(READ, iocb, &iovec, vectored, compat, &iter); compat 1550 fs/aio.c bool vectored, bool compat) compat 1567 fs/aio.c ret = aio_setup_rw(WRITE, iocb, &iovec, vectored, compat, &iter); compat 1804 fs/aio.c bool compat) compat 1837 fs/aio.c return aio_read(&req->rw, iocb, false, compat); compat 1839 fs/aio.c return aio_write(&req->rw, iocb, false, compat); compat 1841 fs/aio.c return aio_read(&req->rw, iocb, true, compat); compat 1843 fs/aio.c return aio_write(&req->rw, iocb, true, compat); compat 1857 fs/aio.c bool compat) compat 1886 fs/aio.c err = __io_submit_one(ctx, &iocb, user_iocb, req, compat); compat 5410 fs/btrfs/ioctl.c static int _btrfs_ioctl_send(struct file *file, void __user *argp, bool compat) compat 5415 fs/btrfs/ioctl.c if (compat) { compat 686 fs/dlm/user.c static int copy_result_to_user(struct dlm_user_args *ua, int compat, compat 722 fs/dlm/user.c if (compat) compat 746 fs/dlm/user.c if (compat) { compat 396 fs/exec.c const compat_uptr_t __user *compat; compat 407 fs/exec.c compat_uptr_t compat; compat 409 fs/exec.c if (get_user(compat, argv.ptr.compat + nr)) compat 412 fs/exec.c return compat_ptr(compat); compat 1906 fs/exec.c .ptr.compat = __argv, compat 1910 fs/exec.c .ptr.compat = __envp, compat 1922 fs/exec.c .ptr.compat = __argv, compat 1926 fs/exec.c .ptr.compat = __envp, compat 2822 fs/ext4/ext4.h __u32 compat); compat 3410 fs/ext4/super.c int compat, incompat; compat 3415 fs/ext4/super.c compat = 0; compat 3419 fs/ext4/super.c compat = JBD2_FEATURE_COMPAT_CHECKSUM; compat 3429 fs/ext4/super.c compat, 0, compat 3434 fs/ext4/super.c compat, 0, compat 183 fs/io_uring.c bool compat; compat 1268 fs/io_uring.c if (ctx->compat) compat 1673 fs/io_uring.c if (req->ctx->compat) compat 3427 fs/io_uring.c if (ctx->compat) { compat 3925 fs/io_uring.c ctx->compat = in_compat_syscall(); compat 1792 fs/jbd2/journal.c int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, compat 1797 fs/jbd2/journal.c if (!compat && !ro && !incompat) compat 1808 fs/jbd2/journal.c if (((be32_to_cpu(sb->s_feature_compat) & compat) == compat) && compat 1827 fs/jbd2/journal.c int jbd2_journal_check_available_features (journal_t *journal, unsigned long compat, compat 1830 fs/jbd2/journal.c if (!compat && !ro && !incompat) compat 1840 fs/jbd2/journal.c if ((compat & JBD2_KNOWN_COMPAT_FEATURES) == compat && compat 1860 fs/jbd2/journal.c int jbd2_journal_set_features (journal_t *journal, unsigned long compat, compat 1866 fs/jbd2/journal.c ((compat & (f)) && !(sb->s_feature_compat & cpu_to_be32(f))) compat 1869 fs/jbd2/journal.c if (jbd2_journal_check_used_features(journal, compat, ro, incompat)) compat 1872 fs/jbd2/journal.c if (!jbd2_journal_check_available_features(journal, compat, ro, incompat)) compat 1883 fs/jbd2/journal.c compat & JBD2_FEATURE_COMPAT_CHECKSUM) compat 1884 fs/jbd2/journal.c compat &= ~JBD2_FEATURE_COMPAT_CHECKSUM; compat 1887 fs/jbd2/journal.c compat, ro, incompat); compat 1920 fs/jbd2/journal.c sb->s_feature_compat |= cpu_to_be32(compat); compat 1941 fs/jbd2/journal.c void jbd2_journal_clear_features(journal_t *journal, unsigned long compat, compat 1947 fs/jbd2/journal.c compat, ro, incompat); compat 1951 fs/jbd2/journal.c sb->s_feature_compat &= ~cpu_to_be32(compat); compat 887 include/linux/clk-provider.h #define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn) compat 893 include/linux/clk-provider.h #define CLK_OF_DECLARE_DRIVER(name, compat, fn) \ compat 899 include/linux/clk-provider.h OF_DECLARE_1(clk, name, compat, name##_of_clk_init_driver) compat 262 include/linux/clocksource.h #define TIMER_OF_DECLARE(name, compat, fn) \ compat 263 include/linux/clocksource.h OF_DECLARE_1_RET(timer, name, compat, fn) compat 446 include/linux/compat.h extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat); compat 453 include/linux/compat.h put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, compat 468 include/linux/compat.h return copy_to_user(compat, &v, size) ? -EFAULT : 0; compat 470 include/linux/compat.h return copy_to_user(compat, set, size) ? -EFAULT : 0; compat 27 include/linux/irqchip.h #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) compat 270 include/linux/mod_devicetable.h char compat[32]; compat 305 include/linux/netfilter/x_tables.h struct xt_counters_info *info, bool compat); compat 74 include/linux/nvmem-provider.h bool compat; compat 272 include/linux/of.h const char *type, const char *compat); compat 346 include/linux/of.h const char *const *compat); compat 398 include/linux/of.h extern int of_machine_is_compatible(const char *compat); compat 676 include/linux/of.h const char *const *compat) compat 701 include/linux/of.h const char *compat) compat 914 include/linux/of.h static inline int of_machine_is_compatible(const char *compat) compat 1282 include/linux/of.h #define _OF_DECLARE(table, name, compat, fn, fn_type) \ compat 1285 include/linux/of.h = { .compatible = compat, \ compat 1288 include/linux/of.h #define _OF_DECLARE(table, name, compat, fn, fn_type) \ compat 1291 include/linux/of.h = { .compatible = compat, \ compat 1299 include/linux/of.h #define OF_DECLARE_1(table, name, compat, fn) \ compat 1300 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_1) compat 1301 include/linux/of.h #define OF_DECLARE_1_RET(table, name, compat, fn) \ compat 1302 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_1_ret) compat 1303 include/linux/of.h #define OF_DECLARE_2(table, name, compat, fn) \ compat 1304 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_2) compat 29 include/linux/of_reserved_mem.h #define RESERVEDMEM_OF_DECLARE(name, compat, init) \ compat 30 include/linux/of_reserved_mem.h _OF_DECLARE(reservedmem, name, compat, init, reservedmem_of_init_fn) compat 366 include/linux/serial_core.h #define _OF_EARLYCON_DECLARE(_name, compat, fn, unique_id) \ compat 370 include/linux/serial_core.h .compatible = compat, \ compat 376 include/linux/serial_core.h #define OF_EARLYCON_DECLARE(_name, compat, fn) \ compat 377 include/linux/serial_core.h _OF_EARLYCON_DECLARE(_name, compat, fn, \ compat 1382 include/net/xfrm.h char *compat; compat 25 include/uapi/linux/netfilter/xt_set.h } compat; compat 338 kernel/compat.c get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat) compat 342 kernel/compat.c if (copy_from_user(&v, compat, sizeof(compat_sigset_t))) compat 354 kernel/compat.c if (copy_from_user(set, compat, sizeof(compat_sigset_t))) compat 52 net/atm/ioctl.c unsigned long arg, int compat) compat 109 net/atm/ioctl.c if (compat) { compat 165 net/atm/ioctl.c error = atm_dev_ioctl(cmd, argp, compat); compat 196 net/atm/resources.c int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat) compat 208 net/atm/resources.c if (IS_ENABLED(CONFIG_COMPAT) && compat) { compat 252 net/atm/resources.c if (IS_ENABLED(CONFIG_COMPAT) && compat) { compat 416 net/atm/resources.c if (IS_ENABLED(CONFIG_COMPAT) && compat) { compat 17 net/atm/resources.h int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat); compat 3830 net/core/filter.c u8 compat[sizeof(struct bpf_tunnel_key)]; compat 3855 net/core/filter.c to = (struct bpf_tunnel_key *)compat; compat 3936 net/core/filter.c u8 compat[sizeof(struct bpf_tunnel_key)]; compat 3950 net/core/filter.c memcpy(compat, from, size); compat 3951 net/core/filter.c memset(compat + size, 0, sizeof(compat) - size); compat 3952 net/core/filter.c from = (const struct bpf_tunnel_key *) compat; compat 791 net/ipv4/netfilter/arp_tables.c const int *len, int compat) compat 805 net/ipv4/netfilter/arp_tables.c if (compat) compat 815 net/ipv4/netfilter/arp_tables.c if (compat) { compat 840 net/ipv4/netfilter/arp_tables.c if (compat) compat 1001 net/ipv4/netfilter/arp_tables.c unsigned int len, int compat) compat 1012 net/ipv4/netfilter/arp_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); compat 948 net/ipv4/netfilter/ip_tables.c const int *len, int compat) compat 962 net/ipv4/netfilter/ip_tables.c if (compat) compat 972 net/ipv4/netfilter/ip_tables.c if (compat) { compat 998 net/ipv4/netfilter/ip_tables.c if (compat) compat 1156 net/ipv4/netfilter/ip_tables.c unsigned int len, int compat) compat 1167 net/ipv4/netfilter/ip_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); compat 964 net/ipv6/netfilter/ip6_tables.c const int *len, int compat) compat 978 net/ipv6/netfilter/ip6_tables.c if (compat) compat 988 net/ipv6/netfilter/ip6_tables.c if (compat) { compat 1014 net/ipv6/netfilter/ip6_tables.c if (compat) compat 1173 net/ipv6/netfilter/ip6_tables.c int compat) compat 1184 net/ipv6/netfilter/ip6_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); compat 84 net/mac80211/chan.c const struct cfg80211_chan_def *compat) compat 92 net/mac80211/chan.c if (!compat) compat 93 net/mac80211/chan.c compat = &sdata->reserved_chandef; compat 95 net/mac80211/chan.c compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, compat 96 net/mac80211/chan.c compat); compat 97 net/mac80211/chan.c if (!compat) compat 101 net/mac80211/chan.c return compat; compat 107 net/mac80211/chan.c const struct cfg80211_chan_def *compat) compat 118 net/mac80211/chan.c if (!compat) compat 119 net/mac80211/chan.c compat = &sdata->vif.bss_conf.chandef; compat 121 net/mac80211/chan.c compat = cfg80211_chandef_compatible( compat 122 net/mac80211/chan.c &sdata->vif.bss_conf.chandef, compat); compat 123 net/mac80211/chan.c if (!compat) compat 127 net/mac80211/chan.c return compat; compat 133 net/mac80211/chan.c const struct cfg80211_chan_def *compat) compat 137 net/mac80211/chan.c compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); compat 138 net/mac80211/chan.c if (!compat) compat 141 net/mac80211/chan.c compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); compat 142 net/mac80211/chan.c if (!compat) compat 145 net/mac80211/chan.c return compat; compat 375 net/mac80211/chan.c const struct cfg80211_chan_def *compat; compat 383 net/mac80211/chan.c compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); compat 384 net/mac80211/chan.c if (!compat) compat 387 net/mac80211/chan.c compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat 388 net/mac80211/chan.c compat); compat 389 net/mac80211/chan.c if (!compat) compat 392 net/mac80211/chan.c ieee80211_change_chanctx(local, ctx, compat); compat 571 net/mac80211/chan.c const struct cfg80211_chan_def *compat = NULL; compat 586 net/mac80211/chan.c if (!compat) compat 587 net/mac80211/chan.c compat = &sdata->vif.bss_conf.chandef; compat 589 net/mac80211/chan.c compat = cfg80211_chandef_compatible( compat 590 net/mac80211/chan.c &sdata->vif.bss_conf.chandef, compat); compat 591 net/mac80211/chan.c if (WARN_ON_ONCE(!compat)) compat 603 net/mac80211/chan.c compat = cfg80211_chandef_compatible(&sta->tdls_chandef, compat 604 net/mac80211/chan.c compat); compat 605 net/mac80211/chan.c if (WARN_ON_ONCE(!compat)) compat 610 net/mac80211/chan.c if (!compat) compat 613 net/mac80211/chan.c ieee80211_change_chanctx(local, ctx, compat); compat 1686 net/mac80211/chan.c const struct cfg80211_chan_def *compat; compat 1714 net/mac80211/chan.c compat = cfg80211_chandef_compatible(&conf->def, chandef); compat 1715 net/mac80211/chan.c if (!compat) { compat 1722 net/mac80211/chan.c if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { compat 1052 net/netfilter/x_tables.c struct xt_counters_info *info, bool compat) compat 1058 net/netfilter/x_tables.c if (compat) { compat 58 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, compat 59 net/netfilter/xt_set.c info->match_set.u.compat.flags, 0, UINT_MAX, compat 63 net/netfilter/xt_set.c info->match_set.u.compat.flags & IPSET_INV_MATCH); compat 72 net/netfilter/xt_set.c info->u.compat.dim = IPSET_DIM_ZERO; compat 74 net/netfilter/xt_set.c info->u.compat.flags |= IPSET_INV_MATCH; compat 76 net/netfilter/xt_set.c info->u.compat.dim++; compat 78 net/netfilter/xt_set.c info->u.compat.flags |= (1 << info->u.compat.dim); compat 216 net/netfilter/xt_set.c ADT_OPT(add_opt, xt_family(par), info->add_set.u.compat.dim, compat 217 net/netfilter/xt_set.c info->add_set.u.compat.flags, 0, UINT_MAX, compat 219 net/netfilter/xt_set.c ADT_OPT(del_opt, xt_family(par), info->del_set.u.compat.dim, compat 220 net/netfilter/xt_set.c info->del_set.u.compat.flags, 0, UINT_MAX, compat 196 net/xfrm/xfrm_algo.c .compat = "md5", compat 216 net/xfrm/xfrm_algo.c .compat = "sha1", compat 236 net/xfrm/xfrm_algo.c .compat = "sha256", compat 294 net/xfrm/xfrm_algo.c .compat = "rmd160", compat 349 net/xfrm/xfrm_algo.c .compat = "cipher_null", compat 369 net/xfrm/xfrm_algo.c .compat = "des", compat 390 net/xfrm/xfrm_algo.c .compat = "des3_ede", compat 411 net/xfrm/xfrm_algo.c .compat = "cast5", compat 432 net/xfrm/xfrm_algo.c .compat = "blowfish", compat 453 net/xfrm/xfrm_algo.c .compat = "aes", compat 474 net/xfrm/xfrm_algo.c .compat = "serpent", compat 495 net/xfrm/xfrm_algo.c .compat = "camellia", compat 516 net/xfrm/xfrm_algo.c .compat = "twofish", compat 702 net/xfrm/xfrm_algo.c (entry->compat && !strcmp(name, entry->compat))); compat 923 scripts/dtc/checks.c static bool node_is_compatible(struct node *node, const char *compat) compat 934 scripts/dtc/checks.c if (streq(str, compat)) compat 92 scripts/mod/devicetable-offsets.c DEVID_FIELD(vio_device_id, compat); compat 699 scripts/mod/file2alias.c DEF_FIELD_ADDR(symval, vio_device_id, compat); compat 702 scripts/mod/file2alias.c (*compat)[0] ? *compat : "*"); compat 75 sound/ac97/bus.c char compat[] = "ac97,0000,0000"; compat 77 sound/ac97/bus.c snprintf(compat, sizeof(compat), "ac97,%04x,%04x", compat 82 sound/ac97/bus.c !of_device_is_compatible(node, compat)) compat 62 sound/aoa/soundbus/core.c const char *compat; compat 88 sound/aoa/soundbus/core.c compat = of_get_property(of->dev.of_node, "compatible", &cplen); compat 89 sound/aoa/soundbus/core.c while (compat && cplen > 0) { compat 91 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); compat 94 sound/aoa/soundbus/core.c compat += env->buflen - tmp;