prop 317 arch/arc/plat-axs10x/axs10x.c const struct fdt_property *prop; prop 319 arch/arc/plat-axs10x/axs10x.c prop = fdt_get_property(initial_boot_params, off, prop 321 arch/arc/plat-axs10x/axs10x.c freq = be32_to_cpu(*(u32 *)(prop->data)); prop 107 arch/arc/plat-hsdk/platform.c const void *prop; prop 115 arch/arc/plat-hsdk/platform.c prop = fdt_getprop(fdt, node, "dma-coherent", &ret); prop 116 arch/arc/plat-hsdk/platform.c if (!prop && ret != -FDT_ERR_NOTFOUND) prop 230 arch/arm/kernel/devtree.c const char *prop; prop 238 arch/arm/kernel/devtree.c prop = of_get_flat_dt_prop(dt_root, "compatible", &size); prop 240 arch/arm/kernel/devtree.c early_print("'%s' ", prop); prop 241 arch/arm/kernel/devtree.c size -= strlen(prop) + 1; prop 242 arch/arm/kernel/devtree.c prop += strlen(prop) + 1; prop 397 arch/arm/mach-omap2/omap_device.c struct property *prop; prop 432 arch/arm/mach-omap2/omap_device.c of_property_for_each_string(np, "compatible", prop, name) prop 2244 arch/arm/mach-omap2/omap_hwmod.c struct property *prop; prop 2263 arch/arm/mach-omap2/omap_hwmod.c of_property_for_each_string(np, "compatible", prop, name) prop 174 arch/arm/mach-omap2/timer.c struct property *prop; prop 176 arch/arm/mach-omap2/timer.c prop = kzalloc(sizeof(*prop), GFP_KERNEL); prop 177 arch/arm/mach-omap2/timer.c if (!prop) prop 180 arch/arm/mach-omap2/timer.c prop->name = "status"; prop 181 arch/arm/mach-omap2/timer.c prop->value = "disabled"; prop 182 arch/arm/mach-omap2/timer.c prop->length = strlen(prop->value); prop 184 arch/arm/mach-omap2/timer.c return of_add_property(np, prop); prop 28 arch/arm64/kernel/kaslr.c fdt64_t *prop; prop 35 arch/arm64/kernel/kaslr.c prop = fdt_getprop_w(fdt, node, "kaslr-seed", &len); prop 36 arch/arm64/kernel/kaslr.c if (!prop || len != sizeof(u64)) prop 39 arch/arm64/kernel/kaslr.c ret = fdt64_to_cpu(*prop); prop 40 arch/arm64/kernel/kaslr.c *prop = 0; prop 50 arch/arm64/kernel/kaslr.c const u8 *prop; prop 56 arch/arm64/kernel/kaslr.c prop = fdt_getprop(fdt, node, "bootargs", NULL); prop 57 arch/arm64/kernel/kaslr.c if (!prop) prop 59 arch/arm64/kernel/kaslr.c return prop; prop 239 arch/m68k/include/asm/oplib.h extern int prom_getbool(int node, char *prop); prop 242 arch/m68k/include/asm/oplib.h extern void prom_getstring(int node, char *prop, char *buf, int bufsize); prop 138 arch/m68k/sun3x/prom.c int prom_getbool (int node, char *prop) prop 217 arch/mips/kernel/relocate.c u64 *prop; prop 221 arch/mips/kernel/relocate.c prop = fdt_getprop_w(initial_boot_params, node, prop 223 arch/mips/kernel/relocate.c if (prop && (len == sizeof(u64))) prop 224 arch/mips/kernel/relocate.c hash = rotate_xor(hash, prop, sizeof(*prop)); prop 19 arch/powerpc/include/asm/parport.h const u32 *prop; prop 26 arch/powerpc/include/asm/parport.h prop = of_get_property(np, "reg", &propsize); prop 27 arch/powerpc/include/asm/parport.h if (!prop || propsize > 6*sizeof(u32)) prop 29 arch/powerpc/include/asm/parport.h io1 = prop[1]; io2 = prop[2]; prop 90 arch/powerpc/include/asm/prom.h extern int of_read_drc_info_cell(struct property **prop, prop 177 arch/powerpc/kernel/btext.c const u32 *prop; prop 179 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linux,bootx-width", NULL); prop 180 arch/powerpc/kernel/btext.c if (prop == NULL) prop 181 arch/powerpc/kernel/btext.c prop = of_get_property(np, "width", NULL); prop 182 arch/powerpc/kernel/btext.c if (prop == NULL) prop 184 arch/powerpc/kernel/btext.c width = *prop; prop 185 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linux,bootx-height", NULL); prop 186 arch/powerpc/kernel/btext.c if (prop == NULL) prop 187 arch/powerpc/kernel/btext.c prop = of_get_property(np, "height", NULL); prop 188 arch/powerpc/kernel/btext.c if (prop == NULL) prop 190 arch/powerpc/kernel/btext.c height = *prop; prop 191 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linux,bootx-depth", NULL); prop 192 arch/powerpc/kernel/btext.c if (prop == NULL) prop 193 arch/powerpc/kernel/btext.c prop = of_get_property(np, "depth", NULL); prop 194 arch/powerpc/kernel/btext.c if (prop == NULL) prop 196 arch/powerpc/kernel/btext.c depth = *prop; prop 198 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linux,bootx-linebytes", NULL); prop 199 arch/powerpc/kernel/btext.c if (prop == NULL) prop 200 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linebytes", NULL); prop 201 arch/powerpc/kernel/btext.c if (prop && *prop != 0xffffffffu) prop 202 arch/powerpc/kernel/btext.c pitch = *prop; prop 205 arch/powerpc/kernel/btext.c prop = of_get_property(np, "linux,bootx-addr", NULL); prop 206 arch/powerpc/kernel/btext.c if (prop == NULL) prop 207 arch/powerpc/kernel/btext.c prop = of_get_property(np, "address", NULL); prop 208 arch/powerpc/kernel/btext.c if (prop) prop 209 arch/powerpc/kernel/btext.c address = *prop; prop 836 arch/powerpc/kernel/dt_cpu_ftrs.c const __be32 *prop; prop 846 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "isa", &len); prop 847 arch/powerpc/kernel/dt_cpu_ftrs.c if (!prop) { prop 851 arch/powerpc/kernel/dt_cpu_ftrs.c f->isa = be32_to_cpup(prop); prop 853 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "usable-privilege", &len); prop 854 arch/powerpc/kernel/dt_cpu_ftrs.c if (!prop) { prop 858 arch/powerpc/kernel/dt_cpu_ftrs.c f->usable_privilege = be32_to_cpup(prop); prop 860 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "hv-support", &len); prop 861 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop) prop 862 arch/powerpc/kernel/dt_cpu_ftrs.c f->hv_support = be32_to_cpup(prop); prop 866 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "os-support", &len); prop 867 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop) prop 868 arch/powerpc/kernel/dt_cpu_ftrs.c f->os_support = be32_to_cpup(prop); prop 872 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "hfscr-bit-nr", &len); prop 873 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop) prop 874 arch/powerpc/kernel/dt_cpu_ftrs.c f->hfscr_bit_nr = be32_to_cpup(prop); prop 877 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "fscr-bit-nr", &len); prop 878 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop) prop 879 arch/powerpc/kernel/dt_cpu_ftrs.c f->fscr_bit_nr = be32_to_cpup(prop); prop 882 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "hwcap-bit-nr", &len); prop 883 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop) prop 884 arch/powerpc/kernel/dt_cpu_ftrs.c f->hwcap_bit_nr = be32_to_cpup(prop); prop 951 arch/powerpc/kernel/dt_cpu_ftrs.c const __be32 *prop; prop 959 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(f->node, "dependencies", &len); prop 960 arch/powerpc/kernel/dt_cpu_ftrs.c if (!prop) { prop 968 arch/powerpc/kernel/dt_cpu_ftrs.c unsigned long phandle = be32_to_cpu(prop[i]); prop 1017 arch/powerpc/kernel/dt_cpu_ftrs.c const __be32 *prop; prop 1025 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "isa", NULL); prop 1026 arch/powerpc/kernel/dt_cpu_ftrs.c if (!prop) prop 1030 arch/powerpc/kernel/dt_cpu_ftrs.c isa = be32_to_cpup(prop); prop 1055 arch/powerpc/kernel/dt_cpu_ftrs.c prop = of_get_flat_dt_prop(node, "display-name", NULL); prop 1056 arch/powerpc/kernel/dt_cpu_ftrs.c if (prop && strlen((char *)prop) != 0) { prop 1057 arch/powerpc/kernel/dt_cpu_ftrs.c strlcpy(dt_cpu_name, (char *)prop, sizeof(dt_cpu_name)); prop 1208 arch/powerpc/kernel/fadump.c const __be32 *prop; prop 1216 arch/powerpc/kernel/fadump.c prop = of_get_property(root, "reserved-ranges", &len); prop 1217 arch/powerpc/kernel/fadump.c if (!prop) prop 1224 arch/powerpc/kernel/fadump.c for (i = 0; i < len / (sizeof(*prop) * 4); i++) { prop 1227 arch/powerpc/kernel/fadump.c base = of_read_number(prop + (i * 4) + 0, 2); prop 1228 arch/powerpc/kernel/fadump.c size = of_read_number(prop + (i * 4) + 2, 2); prop 31 arch/powerpc/kernel/ima_kexec.c static int do_get_kexec_buffer(const void *prop, int len, unsigned long *addr, prop 43 arch/powerpc/kernel/ima_kexec.c *addr = of_read_number(prop, addr_cells); prop 44 arch/powerpc/kernel/ima_kexec.c *size = of_read_number(prop + 4 * addr_cells, size_cells); prop 61 arch/powerpc/kernel/ima_kexec.c const void *prop; prop 63 arch/powerpc/kernel/ima_kexec.c prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); prop 64 arch/powerpc/kernel/ima_kexec.c if (!prop) prop 67 arch/powerpc/kernel/ima_kexec.c ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); prop 85 arch/powerpc/kernel/ima_kexec.c struct property *prop; prop 87 arch/powerpc/kernel/ima_kexec.c prop = of_find_property(of_chosen, "linux,ima-kexec-buffer", NULL); prop 88 arch/powerpc/kernel/ima_kexec.c if (!prop) prop 91 arch/powerpc/kernel/ima_kexec.c ret = do_get_kexec_buffer(prop->value, prop->length, &addr, &size); prop 95 arch/powerpc/kernel/ima_kexec.c ret = of_remove_property(of_chosen, prop); prop 114 arch/powerpc/kernel/ima_kexec.c const void *prop; prop 116 arch/powerpc/kernel/ima_kexec.c prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); prop 117 arch/powerpc/kernel/ima_kexec.c if (!prop) prop 120 arch/powerpc/kernel/ima_kexec.c ret = do_get_kexec_buffer(prop, len, &addr, &size); prop 138 arch/powerpc/kernel/machine_kexec_file_64.c const void *prop; prop 162 arch/powerpc/kernel/machine_kexec_file_64.c prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", NULL); prop 163 arch/powerpc/kernel/machine_kexec_file_64.c if (prop) { prop 166 arch/powerpc/kernel/machine_kexec_file_64.c tmp_start = fdt64_to_cpu(*((const fdt64_t *) prop)); prop 168 arch/powerpc/kernel/machine_kexec_file_64.c prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", NULL); prop 169 arch/powerpc/kernel/machine_kexec_file_64.c if (!prop) { prop 173 arch/powerpc/kernel/machine_kexec_file_64.c tmp_end = fdt64_to_cpu(*((const fdt64_t *) prop)); prop 585 arch/powerpc/kernel/mce.c struct property *prop = NULL; prop 593 arch/powerpc/kernel/mce.c prop, str) { prop 604 arch/powerpc/kernel/mce.c if (prop) prop 77 arch/powerpc/kernel/pci-common.c u64 prop; prop 84 arch/powerpc/kernel/pci-common.c ret = of_property_read_u64(dn, "ibm,opal-phbid", &prop); prop 87 arch/powerpc/kernel/pci-common.c prop = prop_32; prop 91 arch/powerpc/kernel/pci-common.c phb_id = (int)(prop & (MAX_PHBS - 1)); prop 24 arch/powerpc/kernel/pci_of_scan.c const __be32 *prop; prop 27 arch/powerpc/kernel/pci_of_scan.c prop = of_get_property(np, name, &len); prop 28 arch/powerpc/kernel/pci_of_scan.c if (prop && len >= 4) prop 29 arch/powerpc/kernel/pci_of_scan.c return of_read_number(prop, 1); prop 295 arch/powerpc/kernel/prom.c const __be32 *prop; prop 298 arch/powerpc/kernel/prom.c prop = of_get_flat_dt_prop(node, fp->name, NULL); prop 299 arch/powerpc/kernel/prom.c if (prop && be32_to_cpup(prop) >= fp->min_value) { prop 311 arch/powerpc/kernel/prom.c const __be32 *prop; prop 373 arch/powerpc/kernel/prom.c prop = of_get_flat_dt_prop(node, "cpu-version", NULL); prop 374 arch/powerpc/kernel/prom.c if (prop && (be32_to_cpup(prop) & 0xff000000) == 0x0f000000) prop 375 arch/powerpc/kernel/prom.c identify_cpu(0, be32_to_cpup(prop)); prop 584 arch/powerpc/kernel/prom.c const __be32 *prop; prop 591 arch/powerpc/kernel/prom.c prop = of_get_flat_dt_prop(dt_root, "reserved-ranges", &len); prop 593 arch/powerpc/kernel/prom.c if (!prop) prop 600 arch/powerpc/kernel/prom.c for (i = 0; i < len / (sizeof(*prop) * 4); i++) { prop 603 arch/powerpc/kernel/prom.c base = of_read_number(prop + (i * 4) + 0, 2); prop 604 arch/powerpc/kernel/prom.c size = of_read_number(prop + (i * 4) + 2, 2); prop 2816 arch/powerpc/kernel/prom_init.c u32 prop[6]; prop 2833 arch/powerpc/kernel/prom_init.c prop[0] = 0x1; prop 2834 arch/powerpc/kernel/prom_init.c prop[1] = 0x0; prop 2835 arch/powerpc/kernel/prom_init.c prop[2] = rloc; prop 2836 arch/powerpc/kernel/prom_init.c prop[3] = 0x0; prop 2837 arch/powerpc/kernel/prom_init.c prop[4] = 0x0; prop 2838 arch/powerpc/kernel/prom_init.c prop[5] = 0x00010000; prop 2839 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "ranges", prop, sizeof(prop)); prop 2847 arch/powerpc/kernel/prom_init.c prop[0] = 14; prop 2848 arch/powerpc/kernel/prom_init.c prop[1] = 0x0; prop 2849 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); prop 2851 arch/powerpc/kernel/prom_init.c rc = prom_getprop(ph, "class-code", prop, sizeof(u32)); prop 2853 arch/powerpc/kernel/prom_init.c prop[0] &= ~0x5; prop 2854 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "class-code", prop, sizeof(u32)); prop 2916 arch/powerpc/kernel/prom_init.c char prop[64]; prop 2925 arch/powerpc/kernel/prom_init.c rv = prom_getprop(node, "phy-handle", prop, sizeof(prop)); prop 2983 arch/powerpc/kernel/prom_init.c char prop[64]; prop 2991 arch/powerpc/kernel/prom_init.c rv = prom_getprop(node, "model", prop, sizeof(prop)); prop 2994 arch/powerpc/kernel/prom_init.c if (prom_strcmp(prop, "EFIKA5K2")) prop 3001 arch/powerpc/kernel/prom_init.c rv = prom_getprop(node, "device_type", prop, sizeof(prop)); prop 3002 arch/powerpc/kernel/prom_init.c if (rv != PROM_ERROR && (prom_strcmp(prop, "chrp") == 0)) prop 3007 arch/powerpc/kernel/prom_init.c rv = prom_getprop(node, "CODEGEN,description", prop, sizeof(prop)); prop 3008 arch/powerpc/kernel/prom_init.c if (rv != PROM_ERROR && (prom_strstr(prop, "CHRP"))) prop 3027 arch/powerpc/kernel/prom_init.c rv = prom_getprop(node, "interrupts", prop, sizeof(prop)); prop 16 arch/powerpc/kernel/prom_parse.c const __be32 *prop; prop 22 arch/powerpc/kernel/prom_parse.c prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); prop 23 arch/powerpc/kernel/prom_parse.c if (!prop) prop 24 arch/powerpc/kernel/prom_parse.c prop = of_get_property(dn, "#address-cells", NULL); prop 26 arch/powerpc/kernel/prom_parse.c cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn); prop 31 arch/powerpc/kernel/prom_parse.c prop = of_get_property(dn, "ibm,#dma-size-cells", NULL); prop 32 arch/powerpc/kernel/prom_parse.c cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn); prop 740 arch/powerpc/kernel/setup-common.c const void *prop; prop 744 arch/powerpc/kernel/setup-common.c prop = of_get_property(np, "coherency-off", NULL); prop 747 arch/powerpc/kernel/setup-common.c devtree_coherency = prop ? false : true; prop 359 arch/powerpc/mm/book3s64/hash_utils.c const __be32 *prop; prop 366 arch/powerpc/mm/book3s64/hash_utils.c prop = of_get_flat_dt_prop(node, "ibm,processor-segment-sizes", &size); prop 367 arch/powerpc/mm/book3s64/hash_utils.c if (prop == NULL) prop 369 arch/powerpc/mm/book3s64/hash_utils.c for (; size >= 4; size -= 4, ++prop) { prop 370 arch/powerpc/mm/book3s64/hash_utils.c if (be32_to_cpu(prop[0]) == 40) { prop 415 arch/powerpc/mm/book3s64/hash_utils.c const __be32 *prop; prop 422 arch/powerpc/mm/book3s64/hash_utils.c prop = of_get_flat_dt_prop(node, "ibm,segment-page-sizes", &size); prop 423 arch/powerpc/mm/book3s64/hash_utils.c if (!prop) prop 430 arch/powerpc/mm/book3s64/hash_utils.c unsigned int base_shift = be32_to_cpu(prop[0]); prop 431 arch/powerpc/mm/book3s64/hash_utils.c unsigned int slbenc = be32_to_cpu(prop[1]); prop 432 arch/powerpc/mm/book3s64/hash_utils.c unsigned int lpnum = be32_to_cpu(prop[2]); prop 436 arch/powerpc/mm/book3s64/hash_utils.c size -= 3; prop += 3; prop 440 arch/powerpc/mm/book3s64/hash_utils.c prop += lpnum * 2; size -= lpnum * 2; prop 463 arch/powerpc/mm/book3s64/hash_utils.c unsigned int shift = be32_to_cpu(prop[0]); prop 464 arch/powerpc/mm/book3s64/hash_utils.c int penc = be32_to_cpu(prop[1]); prop 466 arch/powerpc/mm/book3s64/hash_utils.c prop += 2; size -= 2; prop 717 arch/powerpc/mm/book3s64/hash_utils.c const __be32 *prop; prop 723 arch/powerpc/mm/book3s64/hash_utils.c prop = of_get_flat_dt_prop(node, "ibm,pft-size", NULL); prop 724 arch/powerpc/mm/book3s64/hash_utils.c if (prop != NULL) { prop 726 arch/powerpc/mm/book3s64/hash_utils.c ppc64_pft_size = be32_to_cpu(prop[1]); prop 430 arch/powerpc/mm/book3s64/radix_pgtable.c const __be32 *prop; prop 438 arch/powerpc/mm/book3s64/radix_pgtable.c prop = of_get_flat_dt_prop(node, "ibm,mmu-pid-bits", &size); prop 439 arch/powerpc/mm/book3s64/radix_pgtable.c if (prop && size == 4) prop 440 arch/powerpc/mm/book3s64/radix_pgtable.c mmu_pid_bits = be32_to_cpup(prop); prop 443 arch/powerpc/mm/book3s64/radix_pgtable.c prop = of_get_flat_dt_prop(node, "ibm,processor-radix-AP-encodings", &size); prop 444 arch/powerpc/mm/book3s64/radix_pgtable.c if (!prop) prop 448 arch/powerpc/mm/book3s64/radix_pgtable.c for (; size >= 4; size -= 4, ++prop) { prop 453 arch/powerpc/mm/book3s64/radix_pgtable.c shift = be32_to_cpu(prop[0]) & ~(0xe << 28); prop 454 arch/powerpc/mm/book3s64/radix_pgtable.c ap = be32_to_cpu(prop[0]) >> 29; prop 37 arch/powerpc/mm/drmem.c static struct property *clone_property(struct property *prop, u32 prop_sz) prop 45 arch/powerpc/mm/drmem.c new_prop->name = kstrdup(prop->name, GFP_KERNEL); prop 62 arch/powerpc/mm/drmem.c struct property *prop) prop 69 arch/powerpc/mm/drmem.c new_prop = clone_property(prop, prop->length); prop 101 arch/powerpc/mm/drmem.c struct property *prop) prop 127 arch/powerpc/mm/drmem.c new_prop = clone_property(prop, prop_sz); prop 172 arch/powerpc/mm/drmem.c struct property *prop; prop 179 arch/powerpc/mm/drmem.c prop = of_find_property(memory, "ibm,dynamic-memory", NULL); prop 180 arch/powerpc/mm/drmem.c if (prop) { prop 181 arch/powerpc/mm/drmem.c rc = drmem_update_dt_v1(memory, prop); prop 183 arch/powerpc/mm/drmem.c prop = of_find_property(memory, "ibm,dynamic-memory-v2", NULL); prop 184 arch/powerpc/mm/drmem.c if (prop) prop 185 arch/powerpc/mm/drmem.c rc = drmem_update_dt_v2(memory, prop); prop 193 arch/powerpc/mm/drmem.c const __be32 **prop) prop 195 arch/powerpc/mm/drmem.c const __be32 *p = *prop; prop 205 arch/powerpc/mm/drmem.c *prop = p; prop 208 arch/powerpc/mm/drmem.c static void __init __walk_drmem_v1_lmbs(const __be32 *prop, const __be32 *usm, prop 214 arch/powerpc/mm/drmem.c n_lmbs = of_read_number(prop++, 1); prop 219 arch/powerpc/mm/drmem.c read_drconf_v1_cell(&lmb, &prop); prop 225 arch/powerpc/mm/drmem.c const __be32 **prop) prop 227 arch/powerpc/mm/drmem.c const __be32 *p = *prop; prop 235 arch/powerpc/mm/drmem.c *prop = p; prop 238 arch/powerpc/mm/drmem.c static void __init __walk_drmem_v2_lmbs(const __be32 *prop, const __be32 *usm, prop 245 arch/powerpc/mm/drmem.c lmb_sets = of_read_number(prop++, 1); prop 250 arch/powerpc/mm/drmem.c read_drconf_v2_cell(&dr_cell, &prop); prop 271 arch/powerpc/mm/drmem.c const __be32 *prop, *usm; prop 274 arch/powerpc/mm/drmem.c prop = of_get_flat_dt_prop(node, "ibm,lmb-size", &len); prop 275 arch/powerpc/mm/drmem.c if (!prop || len < dt_root_size_cells * sizeof(__be32)) prop 278 arch/powerpc/mm/drmem.c drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); prop 282 arch/powerpc/mm/drmem.c prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory", &len); prop 283 arch/powerpc/mm/drmem.c if (prop) { prop 284 arch/powerpc/mm/drmem.c __walk_drmem_v1_lmbs(prop, usm, func); prop 286 arch/powerpc/mm/drmem.c prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory-v2", prop 288 arch/powerpc/mm/drmem.c if (prop) prop 289 arch/powerpc/mm/drmem.c __walk_drmem_v2_lmbs(prop, usm, func); prop 299 arch/powerpc/mm/drmem.c const __be32 *prop; prop 305 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "ibm,lmb-size", &len); prop 306 arch/powerpc/mm/drmem.c if (!prop || len < dt_root_size_cells * sizeof(__be32)) { prop 311 arch/powerpc/mm/drmem.c drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); prop 322 arch/powerpc/mm/drmem.c const __be32 *prop; prop 325 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "linux,drconf-usable-memory", &len); prop 326 arch/powerpc/mm/drmem.c if (!prop || len < sizeof(unsigned int)) prop 329 arch/powerpc/mm/drmem.c return prop; prop 335 arch/powerpc/mm/drmem.c const __be32 *prop, *usm; prop 342 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "ibm,dynamic-memory", NULL); prop 343 arch/powerpc/mm/drmem.c if (prop) { prop 344 arch/powerpc/mm/drmem.c __walk_drmem_v1_lmbs(prop, usm, func); prop 346 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "ibm,dynamic-memory-v2", NULL); prop 347 arch/powerpc/mm/drmem.c if (prop) prop 348 arch/powerpc/mm/drmem.c __walk_drmem_v2_lmbs(prop, usm, func); prop 352 arch/powerpc/mm/drmem.c static void __init init_drmem_v1_lmbs(const __be32 *prop) prop 356 arch/powerpc/mm/drmem.c drmem_info->n_lmbs = of_read_number(prop++, 1); prop 366 arch/powerpc/mm/drmem.c read_drconf_v1_cell(lmb, &prop); prop 371 arch/powerpc/mm/drmem.c static void __init init_drmem_v2_lmbs(const __be32 *prop) prop 379 arch/powerpc/mm/drmem.c lmb_sets = of_read_number(prop++, 1); prop 384 arch/powerpc/mm/drmem.c p = prop; prop 397 arch/powerpc/mm/drmem.c p = prop; prop 422 arch/powerpc/mm/drmem.c const __be32 *prop; prop 435 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "ibm,dynamic-memory", NULL); prop 436 arch/powerpc/mm/drmem.c if (prop) { prop 437 arch/powerpc/mm/drmem.c init_drmem_v1_lmbs(prop); prop 439 arch/powerpc/mm/drmem.c prop = of_get_property(dn, "ibm,dynamic-memory-v2", NULL); prop 440 arch/powerpc/mm/drmem.c if (prop) prop 441 arch/powerpc/mm/drmem.c init_drmem_v2_lmbs(prop); prop 400 arch/powerpc/mm/numa.c const __be32 *prop; prop 407 arch/powerpc/mm/numa.c prop = of_get_property(memory, "ibm,associativity-lookup-arrays", &len); prop 408 arch/powerpc/mm/numa.c if (!prop || len < 2 * sizeof(unsigned int)) { prop 413 arch/powerpc/mm/numa.c aa->n_arrays = of_read_number(prop++, 1); prop 414 arch/powerpc/mm/numa.c aa->array_sz = of_read_number(prop++, 1); prop 424 arch/powerpc/mm/numa.c aa->arrays = prop; prop 1486 arch/powerpc/mm/numa.c !of_prop_cmp(update->prop->name, "ibm,associativity")) { prop 238 arch/powerpc/platforms/4xx/cpm.c const unsigned int *prop = of_get_property(np, name, &len); prop 240 arch/powerpc/platforms/4xx/cpm.c if (prop == NULL || len < sizeof(u32)) prop 243 arch/powerpc/platforms/4xx/cpm.c return *prop; prop 79 arch/powerpc/platforms/4xx/soc.c const u32 *prop; prop 87 arch/powerpc/platforms/4xx/soc.c prop = of_get_property(np, "cache-size", NULL); prop 88 arch/powerpc/platforms/4xx/soc.c if (prop == NULL) { prop 93 arch/powerpc/platforms/4xx/soc.c l2_size = prop[0]; prop 197 arch/powerpc/platforms/4xx/soc.c const u32 *prop; prop 201 arch/powerpc/platforms/4xx/soc.c prop = of_get_property(np, "reset-type", NULL); prop 209 arch/powerpc/platforms/4xx/soc.c if ((prop) && ((prop[0] >= 1) && (prop[0] <= 3))) prop 210 arch/powerpc/platforms/4xx/soc.c reset_type = prop[0] << 28; prop 385 arch/powerpc/platforms/512x/clock-commonclk.c const unsigned int *prop; prop 391 arch/powerpc/platforms/512x/clock-commonclk.c prop = of_get_property(np, propname, NULL); prop 392 arch/powerpc/platforms/512x/clock-commonclk.c if (prop) prop 393 arch/powerpc/platforms/512x/clock-commonclk.c val = *prop; prop 51 arch/powerpc/platforms/83xx/mpc832x_rdb.c const void *prop; prop 62 arch/powerpc/platforms/83xx/mpc832x_rdb.c prop = of_get_property(np, "reg", NULL); prop 63 arch/powerpc/platforms/83xx/mpc832x_rdb.c if (!prop) prop 65 arch/powerpc/platforms/83xx/mpc832x_rdb.c pdata.bus_num = *(u32 *)prop; prop 67 arch/powerpc/platforms/83xx/mpc832x_rdb.c prop = of_get_property(np, "cell-index", NULL); prop 68 arch/powerpc/platforms/83xx/mpc832x_rdb.c if (prop) prop 69 arch/powerpc/platforms/83xx/mpc832x_rdb.c i = *(u32 *)prop; prop 71 arch/powerpc/platforms/83xx/mpc832x_rdb.c prop = of_get_property(np, "mode", NULL); prop 72 arch/powerpc/platforms/83xx/mpc832x_rdb.c if (prop && !strcmp(prop, "cpu-qe")) prop 29 arch/powerpc/platforms/83xx/usb.c const void *prop, *dr_mode; prop 45 arch/powerpc/platforms/83xx/usb.c prop = of_get_property(np, "phy_type", NULL); prop 47 arch/powerpc/platforms/83xx/usb.c if (prop && (!strcmp(prop, "utmi") || prop 48 arch/powerpc/platforms/83xx/usb.c !strcmp(prop, "utmi_wide"))) { prop 52 arch/powerpc/platforms/83xx/usb.c } else if (prop && !strcmp(prop, "serial")) { prop 60 arch/powerpc/platforms/83xx/usb.c } else if (prop && !strcmp(prop, "ulpi")) { prop 71 arch/powerpc/platforms/83xx/usb.c prop = of_get_property(np, "port0", NULL); prop 72 arch/powerpc/platforms/83xx/usb.c if (prop) { prop 78 arch/powerpc/platforms/83xx/usb.c prop = of_get_property(np, "port1", NULL); prop 79 arch/powerpc/platforms/83xx/usb.c if (prop) { prop 105 arch/powerpc/platforms/83xx/usb.c const void *prop; prop 115 arch/powerpc/platforms/83xx/usb.c prop = of_get_property(np, "phy_type", NULL); prop 137 arch/powerpc/platforms/83xx/usb.c if (prop && !strcmp(prop, "ulpi")) { prop 172 arch/powerpc/platforms/83xx/usb.c if (prop && (!strcmp(prop, "utmi_wide") || prop 173 arch/powerpc/platforms/83xx/usb.c !strcmp(prop, "utmi"))) { prop 187 arch/powerpc/platforms/83xx/usb.c } else if (prop && !strcmp(prop, "ulpi")) { prop 216 arch/powerpc/platforms/83xx/usb.c const void *prop; prop 224 arch/powerpc/platforms/83xx/usb.c prop = of_get_property(np, "phy_type", NULL); prop 226 arch/powerpc/platforms/83xx/usb.c if (!prop || (strcmp(prop, "ulpi") && strcmp(prop, "serial"))) { prop 210 arch/powerpc/platforms/85xx/mpc85xx_mds.c const unsigned int *prop; prop 213 arch/powerpc/platforms/85xx/mpc85xx_mds.c prop = of_get_property(np, "cell-index", NULL); prop 214 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (prop == NULL) prop 217 arch/powerpc/platforms/85xx/mpc85xx_mds.c ucc_num = *prop - 1; prop 219 arch/powerpc/platforms/85xx/mpc85xx_mds.c prop = of_get_property(np, "phy-connection-type", NULL); prop 220 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (prop == NULL) prop 223 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (strcmp("rtbi", (const char *)prop) == 0) prop 96 arch/powerpc/platforms/8xx/tqm8xx_setup.c struct property *prop; prop 106 arch/powerpc/platforms/8xx/tqm8xx_setup.c prop = of_find_property(dnode, "ethernet1", &len); prop 107 arch/powerpc/platforms/8xx/tqm8xx_setup.c if (prop == NULL) prop 85 arch/powerpc/platforms/amigaone/setup.c const unsigned long *prop = NULL; prop 96 arch/powerpc/platforms/amigaone/setup.c prop = of_get_property(np, "8259-interrupt-acknowledge", NULL); prop 97 arch/powerpc/platforms/amigaone/setup.c if (prop) prop 98 arch/powerpc/platforms/amigaone/setup.c int_ack = prop[0]; prop 204 arch/powerpc/platforms/cell/axon_msi.c const u32 *prop; prop 216 arch/powerpc/platforms/cell/axon_msi.c prop = of_get_property(dn, "msi-address-64", &len); prop 217 arch/powerpc/platforms/cell/axon_msi.c if (prop) prop 221 arch/powerpc/platforms/cell/axon_msi.c prop = of_get_property(dn, "msi-address-32", &len); prop 222 arch/powerpc/platforms/cell/axon_msi.c if (prop) prop 226 arch/powerpc/platforms/cell/axon_msi.c if (!prop) { prop 234 arch/powerpc/platforms/cell/axon_msi.c msg->address_hi = prop[0]; prop 235 arch/powerpc/platforms/cell/axon_msi.c msg->address_lo = prop[1]; prop 239 arch/powerpc/platforms/cell/axon_msi.c msg->address_lo = prop[0]; prop 217 arch/powerpc/platforms/cell/cbe_regs.c } __attribute__((packed)) *prop; prop 221 arch/powerpc/platforms/cell/cbe_regs.c prop = of_get_property(cpu, "pervasive", NULL); prop 222 arch/powerpc/platforms/cell/cbe_regs.c if (prop != NULL) prop 223 arch/powerpc/platforms/cell/cbe_regs.c map->pmd_regs = ioremap(prop->address, prop->len); prop 225 arch/powerpc/platforms/cell/cbe_regs.c prop = of_get_property(cpu, "iic", NULL); prop 226 arch/powerpc/platforms/cell/cbe_regs.c if (prop != NULL) prop 227 arch/powerpc/platforms/cell/cbe_regs.c map->iic_regs = ioremap(prop->address, prop->len); prop 229 arch/powerpc/platforms/cell/cbe_regs.c prop = of_get_property(cpu, "mic-tm", NULL); prop 230 arch/powerpc/platforms/cell/cbe_regs.c if (prop != NULL) prop 231 arch/powerpc/platforms/cell/cbe_regs.c map->mic_tm_regs = ioremap(prop->address, prop->len); prop 37 arch/powerpc/platforms/cell/spu_manage.c const unsigned int *prop; prop 41 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(spe, "physical-id", &proplen); prop 43 arch/powerpc/platforms/cell/spu_manage.c return (u64)*prop; prop 46 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(spe, "unit-id", &proplen); prop 48 arch/powerpc/platforms/cell/spu_manage.c return (u64)*prop; prop 51 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(spe, "reg", &proplen); prop 53 arch/powerpc/platforms/cell/spu_manage.c return (u64)*prop; prop 109 arch/powerpc/platforms/cell/spu_manage.c } __attribute__((packed)) *prop; prop 112 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(n, name, &proplen); prop 113 arch/powerpc/platforms/cell/spu_manage.c if (prop == NULL || proplen != sizeof (struct address_prop)) prop 116 arch/powerpc/platforms/cell/spu_manage.c return ioremap(prop->address, prop->len); prop 122 arch/powerpc/platforms/cell/spu_manage.c const char *prop; prop 130 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(node, "local-store", NULL); prop 131 arch/powerpc/platforms/cell/spu_manage.c if (!prop) prop 133 arch/powerpc/platforms/cell/spu_manage.c spu->local_store_phys = *(unsigned long *)prop; prop 141 arch/powerpc/platforms/cell/spu_manage.c prop = of_get_property(node, "problem", NULL); prop 142 arch/powerpc/platforms/cell/spu_manage.c if (!prop) prop 144 arch/powerpc/platforms/cell/spu_manage.c spu->problem_phys = *(unsigned long *)prop; prop 199 arch/powerpc/platforms/embedded6xx/holly.c const void *prop; prop 207 arch/powerpc/platforms/embedded6xx/holly.c prop = of_get_property(bridge, "reg", &size); prop 208 arch/powerpc/platforms/embedded6xx/holly.c addr = of_translate_address(bridge, prop); prop 58 arch/powerpc/platforms/embedded6xx/mvme5100.c const u32 *prop = NULL; prop 89 arch/powerpc/platforms/embedded6xx/mvme5100.c prop = of_get_property(np, "8259-interrupt-acknowledge", NULL); prop 91 arch/powerpc/platforms/embedded6xx/mvme5100.c if (prop) prop 92 arch/powerpc/platforms/embedded6xx/mvme5100.c intack = prop[0]; prop 66 arch/powerpc/platforms/maple/pci.c struct property *prop; prop 70 arch/powerpc/platforms/maple/pci.c prop = of_find_property(bridge, "bus-range", &len); prop 71 arch/powerpc/platforms/maple/pci.c if (prop == NULL || prop->value == NULL || len < 2 * sizeof(int)) { prop 76 arch/powerpc/platforms/maple/pci.c bus_range = prop->value; prop 213 arch/powerpc/platforms/pasemi/gpio_mdio.c const unsigned int *prop; prop 231 arch/powerpc/platforms/pasemi/gpio_mdio.c prop = of_get_property(np, "reg", NULL); prop 232 arch/powerpc/platforms/pasemi/gpio_mdio.c snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", *prop); prop 235 arch/powerpc/platforms/pasemi/gpio_mdio.c prop = of_get_property(np, "mdc-pin", NULL); prop 236 arch/powerpc/platforms/pasemi/gpio_mdio.c priv->mdc_pin = *prop; prop 238 arch/powerpc/platforms/pasemi/gpio_mdio.c prop = of_get_property(np, "mdio-pin", NULL); prop 239 arch/powerpc/platforms/pasemi/gpio_mdio.c priv->mdio_pin = *prop; prop 64 arch/powerpc/platforms/powermac/backlight.c const char *prop = of_get_property(bk_node, prop 66 arch/powerpc/platforms/powermac/backlight.c if (prop && strncmp(prop, type, strlen(type)) == 0) { prop 91 arch/powerpc/platforms/powermac/bootx_init.c char *prop) prop 101 arch/powerpc/platforms/powermac/bootx_init.c prop) == 0) { prop 1086 arch/powerpc/platforms/powermac/feature.c const char *prop; prop 1095 arch/powerpc/platforms/powermac/feature.c prop = of_get_property(node, "AAPL,clock-id", NULL); prop 1096 arch/powerpc/platforms/powermac/feature.c if (!prop) prop 1098 arch/powerpc/platforms/powermac/feature.c if (strncmp(prop, "usb0u048", 8) == 0) prop 1100 arch/powerpc/platforms/powermac/feature.c else if (strncmp(prop, "usb1u148", 8) == 0) prop 1102 arch/powerpc/platforms/powermac/feature.c else if (strncmp(prop, "usb2u248", 8) == 0) prop 90 arch/powerpc/platforms/powermac/pci.c struct property *prop; prop 93 arch/powerpc/platforms/powermac/pci.c prop = of_find_property(bridge, "bus-range", &len); prop 94 arch/powerpc/platforms/powermac/pci.c if (prop == NULL || prop->length < 2 * sizeof(int)) prop 97 arch/powerpc/platforms/powermac/pci.c bus_range = prop->value; prop 568 arch/powerpc/platforms/powermac/pci.c const u32 *prop; prop 571 arch/powerpc/platforms/powermac/pci.c prop = of_get_property(nec, "vendor-id", NULL); prop 572 arch/powerpc/platforms/powermac/pci.c if (prop == NULL) prop 574 arch/powerpc/platforms/powermac/pci.c if (0x1033 != *prop) prop 576 arch/powerpc/platforms/powermac/pci.c prop = of_get_property(nec, "device-id", NULL); prop 577 arch/powerpc/platforms/powermac/pci.c if (prop == NULL) prop 579 arch/powerpc/platforms/powermac/pci.c if (0x0035 != *prop) prop 581 arch/powerpc/platforms/powermac/pci.c prop = of_get_property(nec, "reg", NULL); prop 582 arch/powerpc/platforms/powermac/pci.c if (prop == NULL) prop 584 arch/powerpc/platforms/powermac/pci.c devfn = (prop[0] >> 8) & 0xff; prop 585 arch/powerpc/platforms/powermac/pci.c bus = (prop[0] >> 16) & 0xff; prop 815 arch/powerpc/platforms/powermac/pfunc_core.c const u32 *prop; prop 823 arch/powerpc/platforms/powermac/pfunc_core.c prop = of_get_property(target, fname, NULL); prop 824 arch/powerpc/platforms/powermac/pfunc_core.c if (prop == NULL) prop 826 arch/powerpc/platforms/powermac/pfunc_core.c ph = *prop; prop 454 arch/powerpc/platforms/powernv/opal-core.c const __be32 *prop; prop 468 arch/powerpc/platforms/powernv/opal-core.c prop = of_get_property(np, "mpipl-boot", NULL); prop 469 arch/powerpc/platforms/powernv/opal-core.c if (!prop) { prop 34 arch/powerpc/platforms/powernv/opal-fadump.c const __be32 *prop; prop 46 arch/powerpc/platforms/powernv/opal-fadump.c prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); prop 47 arch/powerpc/platforms/powernv/opal-fadump.c if (!prop) prop 625 arch/powerpc/platforms/powernv/opal-fadump.c const __be32 *prop; prop 646 arch/powerpc/platforms/powernv/opal-fadump.c prop = of_get_flat_dt_prop(dn, "fw-load-area", &len); prop 647 arch/powerpc/platforms/powernv/opal-fadump.c if (prop) { prop 652 arch/powerpc/platforms/powernv/opal-fadump.c for (i = 0; i < len / (sizeof(*prop) * 4); i++) { prop 655 arch/powerpc/platforms/powernv/opal-fadump.c base = of_read_number(prop + (i * 4) + 0, 2); prop 657 arch/powerpc/platforms/powernv/opal-fadump.c end += of_read_number(prop + (i * 4) + 2, 2); prop 679 arch/powerpc/platforms/powernv/opal-fadump.c prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); prop 680 arch/powerpc/platforms/powernv/opal-fadump.c if (!prop) prop 139 arch/powerpc/platforms/powernv/opal.c const __be32 *prop; prop 144 arch/powerpc/platforms/powernv/opal.c prop = of_get_flat_dt_prop(node, "mcheck-recoverable-ranges", &psize); prop 146 arch/powerpc/platforms/powernv/opal.c if (!prop) prop 158 arch/powerpc/platforms/powernv/opal.c mc_recoverable_range_len = psize / (sizeof(*prop) * 5); prop 178 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 0, 2); prop 181 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 2, 1); prop 183 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 3, 2); prop 766 arch/powerpc/platforms/powernv/opal.c struct property *prop; prop 782 arch/powerpc/platforms/powernv/opal.c for_each_property_of_node(np, prop) { prop 783 arch/powerpc/platforms/powernv/opal.c if (!strcmp(prop->name, "name") || !strcmp(prop->name, "phandle")) prop 786 arch/powerpc/platforms/powernv/opal.c if (of_property_read_u64_array(np, prop->name, &vals[0], 2)) prop 797 arch/powerpc/platforms/powernv/opal.c attr->attr.name = kstrdup(prop->name, GFP_KERNEL); prop 812 arch/powerpc/platforms/powernv/opal.c rc, prop->name); prop 2868 arch/powerpc/platforms/powernv/pci-ioda.c const __be32 *prop = of_get_property(phb->hose->dn, prop 2870 arch/powerpc/platforms/powernv/pci-ioda.c if (!prop) { prop 2872 arch/powerpc/platforms/powernv/pci-ioda.c prop = of_get_property(phb->hose->dn, "msi-ranges", NULL); prop 2874 arch/powerpc/platforms/powernv/pci-ioda.c if (!prop) prop 2877 arch/powerpc/platforms/powernv/pci-ioda.c phb->msi_base = be32_to_cpup(prop); prop 2878 arch/powerpc/platforms/powernv/pci-ioda.c count = be32_to_cpup(prop + 1); prop 259 arch/powerpc/platforms/ps3/os-area.c struct property *prop) prop 262 arch/powerpc/platforms/ps3/os-area.c struct property *tmp = of_find_property(node, prop->name, NULL); prop 265 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d found %s\n", __func__, __LINE__, prop->name); prop 269 arch/powerpc/platforms/ps3/os-area.c result = of_add_property(node, prop); prop 282 arch/powerpc/platforms/ps3/os-area.c struct property *prop) prop 284 arch/powerpc/platforms/ps3/os-area.c const struct property *tmp = of_find_property(node, prop->name, NULL); prop 287 arch/powerpc/platforms/ps3/os-area.c BUG_ON(prop->length != tmp->length); prop 288 arch/powerpc/platforms/ps3/os-area.c memcpy(prop->value, tmp->value, prop->length); prop 291 arch/powerpc/platforms/ps3/os-area.c prop->name); prop 42 arch/powerpc/platforms/pseries/dlpar.c void dlpar_free_cc_property(struct property *prop) prop 44 arch/powerpc/platforms/pseries/dlpar.c kfree(prop->name); prop 45 arch/powerpc/platforms/pseries/dlpar.c kfree(prop->value); prop 46 arch/powerpc/platforms/pseries/dlpar.c kfree(prop); prop 51 arch/powerpc/platforms/pseries/dlpar.c struct property *prop; prop 55 arch/powerpc/platforms/pseries/dlpar.c prop = kzalloc(sizeof(*prop), GFP_KERNEL); prop 56 arch/powerpc/platforms/pseries/dlpar.c if (!prop) prop 60 arch/powerpc/platforms/pseries/dlpar.c prop->name = kstrdup(name, GFP_KERNEL); prop 61 arch/powerpc/platforms/pseries/dlpar.c if (!prop->name) { prop 62 arch/powerpc/platforms/pseries/dlpar.c dlpar_free_cc_property(prop); prop 66 arch/powerpc/platforms/pseries/dlpar.c prop->length = be32_to_cpu(ccwa->prop_length); prop 68 arch/powerpc/platforms/pseries/dlpar.c prop->value = kmemdup(value, prop->length, GFP_KERNEL); prop 69 arch/powerpc/platforms/pseries/dlpar.c if (!prop->value) { prop 70 arch/powerpc/platforms/pseries/dlpar.c dlpar_free_cc_property(prop); prop 74 arch/powerpc/platforms/pseries/dlpar.c return prop; prop 101 arch/powerpc/platforms/pseries/dlpar.c struct property *prop; prop 104 arch/powerpc/platforms/pseries/dlpar.c prop = dn->properties; prop 105 arch/powerpc/platforms/pseries/dlpar.c dn->properties = prop->next; prop 106 arch/powerpc/platforms/pseries/dlpar.c dlpar_free_cc_property(prop); prop 144 arch/powerpc/platforms/pseries/firmware.c const char *prop; prop 153 arch/powerpc/platforms/pseries/firmware.c prop = of_get_flat_dt_prop(node, "ibm,hypertas-functions", prop 155 arch/powerpc/platforms/pseries/firmware.c if (prop) { prop 157 arch/powerpc/platforms/pseries/firmware.c fw_hypertas_feature_init(prop, len); prop 164 arch/powerpc/platforms/pseries/firmware.c prop = of_get_flat_dt_prop(node, "ibm,architecture-vec-5", prop 166 arch/powerpc/platforms/pseries/firmware.c if (prop) prop 167 arch/powerpc/platforms/pseries/firmware.c fw_vec5_feature_init(prop, len); prop 70 arch/powerpc/platforms/pseries/hotplug-memory.c static void dlpar_free_property(struct property *prop) prop 72 arch/powerpc/platforms/pseries/hotplug-memory.c kfree(prop->name); prop 73 arch/powerpc/platforms/pseries/hotplug-memory.c kfree(prop->value); prop 74 arch/powerpc/platforms/pseries/hotplug-memory.c kfree(prop); prop 77 arch/powerpc/platforms/pseries/hotplug-memory.c static struct property *dlpar_clone_property(struct property *prop, prop 86 arch/powerpc/platforms/pseries/hotplug-memory.c new_prop->name = kstrdup(prop->name, GFP_KERNEL); prop 93 arch/powerpc/platforms/pseries/hotplug-memory.c memcpy(new_prop->value, prop->value, prop->length); prop 1006 arch/powerpc/platforms/pseries/hotplug-memory.c p = (__be32 *)pr->prop->value; prop 1044 arch/powerpc/platforms/pseries/hotplug-memory.c if (!strcmp(rd->prop->name, "ibm,dynamic-memory")) prop 330 arch/powerpc/platforms/pseries/iommu.c const struct dynamic_dma_window_prop *prop; prop 829 arch/powerpc/platforms/pseries/iommu.c direct64 = window->prop; prop 862 arch/powerpc/platforms/pseries/iommu.c window->prop = direct64; prop 1116 arch/powerpc/platforms/pseries/iommu.c window->prop = ddwprop; prop 1245 arch/powerpc/platforms/pseries/iommu.c arg->nr_pages, window->prop); prop 1255 arch/powerpc/platforms/pseries/iommu.c arg->nr_pages, window->prop); prop 72 arch/powerpc/platforms/pseries/mobility.c static int update_dt_property(struct device_node *dn, struct property **prop, prop 75 arch/powerpc/platforms/pseries/mobility.c struct property *new_prop = *prop; prop 121 arch/powerpc/platforms/pseries/mobility.c *prop = new_prop; prop 126 arch/powerpc/platforms/pseries/mobility.c *prop = NULL; prop 136 arch/powerpc/platforms/pseries/mobility.c struct property *prop = NULL; prop 198 arch/powerpc/platforms/pseries/mobility.c prop = NULL; prop 202 arch/powerpc/platforms/pseries/mobility.c rc = update_dt_property(dn, &prop, prop_name, prop 45 arch/powerpc/platforms/pseries/of_helpers.c int of_read_drc_info_cell(struct property **prop, const __be32 **curval, prop 56 arch/powerpc/platforms/pseries/of_helpers.c p = of_prop_next_string(*prop, p); prop 62 arch/powerpc/platforms/pseries/of_helpers.c p = of_prop_next_string(*prop, p); prop 68 arch/powerpc/platforms/pseries/of_helpers.c p2 = of_prop_next_u32(*prop, p2, &data->drc_index_start); prop 73 arch/powerpc/platforms/pseries/of_helpers.c p2 = of_prop_next_u32(*prop, p2, &data->drc_name_suffix_start); prop 78 arch/powerpc/platforms/pseries/of_helpers.c p2 = of_prop_next_u32(*prop, p2, &data->num_sequential_elems); prop 83 arch/powerpc/platforms/pseries/of_helpers.c p2 = of_prop_next_u32(*prop, p2, &data->sequential_inc); prop 88 arch/powerpc/platforms/pseries/of_helpers.c p2 = of_prop_next_u32(*prop, p2, &data->drc_power_domain); prop 90 arch/powerpc/platforms/pseries/reconfig.c static void release_prop_list(const struct property *prop) prop 93 arch/powerpc/platforms/pseries/reconfig.c for (; prop; prop = next) { prop 94 arch/powerpc/platforms/pseries/reconfig.c next = prop->next; prop 95 arch/powerpc/platforms/pseries/reconfig.c kfree(prop->name); prop 96 arch/powerpc/platforms/pseries/reconfig.c kfree(prop->value); prop 97 arch/powerpc/platforms/pseries/reconfig.c kfree(prop); prop 198 arch/powerpc/platforms/pseries/reconfig.c struct property *prop = NULL; prop 218 arch/powerpc/platforms/pseries/reconfig.c struct property *last = prop; prop 220 arch/powerpc/platforms/pseries/reconfig.c prop = new_property(name, length, value, last); prop 221 arch/powerpc/platforms/pseries/reconfig.c if (!prop) { prop 223 arch/powerpc/platforms/pseries/reconfig.c prop = last; prop 232 arch/powerpc/platforms/pseries/reconfig.c rv = pSeries_reconfig_add_node(path, prop); prop 236 arch/powerpc/platforms/pseries/reconfig.c release_prop_list(prop); prop 274 arch/powerpc/platforms/pseries/reconfig.c struct property *prop = NULL; prop 288 arch/powerpc/platforms/pseries/reconfig.c prop = new_property(name, length, value, NULL); prop 289 arch/powerpc/platforms/pseries/reconfig.c if (!prop) prop 292 arch/powerpc/platforms/pseries/reconfig.c of_add_property(np, prop); prop 115 arch/powerpc/platforms/pseries/vio.c struct property *prop; prop 118 arch/powerpc/platforms/pseries/vio.c prop = of_find_property(of_node, "ibm,my-dma-window", prop 120 arch/powerpc/platforms/pseries/vio.c if (prop) prop 1333 arch/powerpc/platforms/pseries/vio.c const __be32 *prop; prop 1388 arch/powerpc/platforms/pseries/vio.c prop = of_get_property(of_node, "reg", NULL); prop 1389 arch/powerpc/platforms/pseries/vio.c if (prop == NULL) { prop 1394 arch/powerpc/platforms/pseries/vio.c unit_address = of_read_number(prop, 1); prop 1402 arch/powerpc/platforms/pseries/vio.c prop = of_get_property(of_node, "ibm,resource-id", NULL); prop 1403 arch/powerpc/platforms/pseries/vio.c if (prop != NULL) prop 1404 arch/powerpc/platforms/pseries/vio.c viodev->resource_id = of_read_number(prop, 1); prop 1664 arch/powerpc/platforms/pseries/vio.c const __be32 *prop; prop 1666 arch/powerpc/platforms/pseries/vio.c prop = of_get_property(vnode, "reg", NULL); prop 1667 arch/powerpc/platforms/pseries/vio.c if (!prop) prop 1670 arch/powerpc/platforms/pseries/vio.c (uint32_t)of_read_number(prop, 1)); prop 54 arch/powerpc/sysdev/dcr.c const char *prop; prop 62 arch/powerpc/sysdev/dcr.c prop = of_get_property(dp, "dcr-access-method", NULL); prop 64 arch/powerpc/sysdev/dcr.c pr_debug("dcr_map_generic(dcr-access-method = %s)\n", prop); prop 66 arch/powerpc/sysdev/dcr.c if (!strcmp(prop, "native")) { prop 69 arch/powerpc/sysdev/dcr.c } else if (!strcmp(prop, "mmio")) { prop 64 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c const unsigned int *prop; prop 73 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c prop = of_get_property(dev->dev.of_node, "cache-size", NULL); prop 74 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c if (!prop) { prop 78 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c l2cache_size = *prop; prop 57 arch/powerpc/sysdev/fsl_soc.c const __be32 *prop = of_get_property(soc, "#address-cells", &size); prop 59 arch/powerpc/sysdev/fsl_soc.c if (prop && size == 4) prop 60 arch/powerpc/sysdev/fsl_soc.c naddr = be32_to_cpup(prop); prop 64 arch/powerpc/sysdev/fsl_soc.c prop = of_get_property(soc, "ranges", &size); prop 65 arch/powerpc/sysdev/fsl_soc.c if (prop) prop 66 arch/powerpc/sysdev/fsl_soc.c immrbase = of_translate_address(soc, prop + naddr); prop 145 arch/powerpc/sysdev/mpic_msgr.c struct property *prop; prop 148 arch/powerpc/sysdev/mpic_msgr.c prop = of_find_property(aliases, buf, NULL); prop 149 arch/powerpc/sysdev/mpic_msgr.c if (node == of_find_node_by_path(prop->value)) prop 167 arch/powerpc/sysdev/mpic_msgr.c const unsigned int *prop; prop 213 arch/powerpc/sysdev/mpic_msgr.c prop = of_get_property(np, "mpic-msgr-receive-mask", NULL); prop 214 arch/powerpc/sysdev/mpic_msgr.c receive_mask = (prop) ? *prop : 0xF; prop 224 arch/powerpc/sysdev/msi_bitmap.c struct property prop; prop 247 arch/powerpc/sysdev/msi_bitmap.c memset(&prop, 0, sizeof(prop)); prop 248 arch/powerpc/sysdev/msi_bitmap.c prop.name = prop_name; prop 249 arch/powerpc/sysdev/msi_bitmap.c prop.value = &prop_data; prop 250 arch/powerpc/sysdev/msi_bitmap.c prop.length = sizeof(prop_data); prop 252 arch/powerpc/sysdev/msi_bitmap.c of_node.properties = ∝ prop 48 arch/powerpc/sysdev/tsi108_dev.c const void *prop = of_get_property(tsi, "reg", &size); prop 49 arch/powerpc/sysdev/tsi108_dev.c tsi108_csr_base = of_translate_address(tsi, prop); prop 554 arch/powerpc/sysdev/xive/native.c struct property *prop; prop 587 arch/powerpc/sysdev/xive/native.c of_property_for_each_u32(np, "ibm,xive-eq-sizes", prop, p, val) { prop 780 arch/powerpc/sysdev/xive/spapr.c struct property *prop; prop 829 arch/powerpc/sysdev/xive/spapr.c of_property_for_each_u32(np, "ibm,xive-eq-sizes", prop, reg, val) { prop 18 arch/riscv/kernel/time.c u32 prop; prop 21 arch/riscv/kernel/time.c if (!cpu || of_property_read_u32(cpu, "timebase-frequency", &prop)) prop 24 arch/riscv/kernel/time.c riscv_timebase = prop; prop 548 arch/sparc/include/asm/floppy_64.h const char *prop; prop 715 arch/sparc/include/asm/floppy_64.h prop = of_get_property(op->dev.of_node, "status", NULL); prop 716 arch/sparc/include/asm/floppy_64.h if (prop && !strncmp(state, "disabled", 8)) prop 140 arch/sparc/include/asm/oplib_32.h int prom_getbool(phandle node, char *prop); prop 143 arch/sparc/include/asm/oplib_32.h void prom_getstring(phandle node, char *prop, char *buf, int bufsize); prop 208 arch/sparc/include/asm/oplib_64.h int prom_getbool(phandle node, const char *prop); prop 211 arch/sparc/include/asm/oplib_64.h void prom_getstring(phandle node, const char *prop, char *buf, prop 41 arch/sparc/kernel/adi_64.c const char *prop; prop 52 arch/sparc/kernel/adi_64.c prop = mdesc_get_property(hp, pn, "hwcap-list", &len); prop 53 arch/sparc/kernel/adi_64.c if (!prop) prop 64 arch/sparc/kernel/adi_64.c if (!strcmp(prop, "adp")) { prop 69 arch/sparc/kernel/adi_64.c plen = strlen(prop) + 1; prop 70 arch/sparc/kernel/adi_64.c prop += plen; prop 47 arch/sparc/kernel/btext.c u32 prop; prop 57 arch/sparc/kernel/btext.c if (prom_getproperty(node, "linebytes", (char *)&prop, 4) >= 0 && prop 58 arch/sparc/kernel/btext.c prop != 0xffffffffu) prop 59 arch/sparc/kernel/btext.c pitch = prop; prop 64 arch/sparc/kernel/btext.c if (prom_getproperty(node, "address", (char *)&prop, 4) >= 0) prop 65 arch/sparc/kernel/btext.c address = prop; prop 297 arch/sparc/kernel/chmc.c struct jbusmc_obp_mem_layout *prop; prop 313 arch/sparc/kernel/chmc.c prop = &p->layout; prop 322 arch/sparc/kernel/chmc.c &dimm_str, prop, first_dimm); prop 332 arch/sparc/kernel/chmc.c prop->dimm_labels[first_dimm + dimm]); prop 402 arch/sparc/kernel/chmc.c const u32 *prop; prop 428 arch/sparc/kernel/chmc.c prop = of_get_property(op->dev.of_node, "portid", &len); prop 429 arch/sparc/kernel/chmc.c if (!prop || len != 4) { prop 434 arch/sparc/kernel/chmc.c p->portid = *prop; prop 436 arch/sparc/kernel/chmc.c prop = of_get_property(op->dev.of_node, "memory-control-register-1", &len); prop 437 arch/sparc/kernel/chmc.c if (!prop || len != 8) { prop 442 arch/sparc/kernel/chmc.c p->mc_reg_1 = ((u64)prop[0] << 32) | (u64) prop[1]; prop 544 arch/sparc/kernel/chmc.c struct chmc_obp_mem_layout *prop; prop 558 arch/sparc/kernel/chmc.c prop = &bp->p->layout_prop; prop 568 arch/sparc/kernel/chmc.c &dimm_str, prop, first_dimm); prop 578 arch/sparc/kernel/chmc.c prop->dimm_labels[first_dimm + dimm]); prop 414 arch/sparc/kernel/pci.c #define GET_64BIT(prop, i) ((((u64) (prop)[(i)]) << 32) | (prop)[(i)+1]) prop 1079 arch/sparc/kernel/pci.c } *prop; prop 1084 arch/sparc/kernel/pci.c prop = of_get_property(node, "slot-names", &len); prop 1085 arch/sparc/kernel/pci.c if (!prop) prop 1088 arch/sparc/kernel/pci.c mask = prop->slot_mask; prop 1089 arch/sparc/kernel/pci.c sp = prop->names; prop 699 arch/sparc/kernel/pci_sun4v.c struct property *prop; prop 703 arch/sparc/kernel/pci_sun4v.c prop = of_find_property(dp, "66mhz-capable", NULL); prop 704 arch/sparc/kernel/pci_sun4v.c pbm->is_66mhz_capable = (prop != NULL); prop 78 arch/sparc/kernel/prom_32.c struct property *prop; prop 80 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "reg", NULL); prop 81 arch/sparc/kernel/prom_32.c if (!prop) prop 84 arch/sparc/kernel/prom_32.c regs = prop->value; prop 96 arch/sparc/kernel/prom_32.c struct property *prop; prop 99 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "reg", NULL); prop 100 arch/sparc/kernel/prom_32.c if (!prop) prop 103 arch/sparc/kernel/prom_32.c regs = prop->value; prop 122 arch/sparc/kernel/prom_32.c struct property *prop; prop 124 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "reg", NULL); prop 125 arch/sparc/kernel/prom_32.c if (!prop) prop 128 arch/sparc/kernel/prom_32.c regs = prop->value; prop 141 arch/sparc/kernel/prom_32.c struct property *prop; prop 147 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "reg", NULL); prop 148 arch/sparc/kernel/prom_32.c if (!prop) { prop 151 arch/sparc/kernel/prom_32.c regs = prop->value; prop 156 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "interrupts", NULL); prop 157 arch/sparc/kernel/prom_32.c if (!prop) prop 160 arch/sparc/kernel/prom_32.c intr = prop->value; prop 162 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "vendor", NULL); prop 163 arch/sparc/kernel/prom_32.c if (!prop) prop 165 arch/sparc/kernel/prom_32.c vendor = prop->value; prop 166 arch/sparc/kernel/prom_32.c prop = of_find_property(dp, "device", NULL); prop 167 arch/sparc/kernel/prom_32.c if (!prop) prop 169 arch/sparc/kernel/prom_32.c device = prop->value; prop 112 arch/sparc/kernel/prom_64.c struct property *prop; prop 114 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 115 arch/sparc/kernel/prom_64.c if (!prop) prop 118 arch/sparc/kernel/prom_64.c regs = prop->value; prop 127 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "upa-portid", NULL); prop 128 arch/sparc/kernel/prom_64.c if (!prop) prop 129 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "portid", NULL); prop 130 arch/sparc/kernel/prom_64.c if (prop) { prop 138 arch/sparc/kernel/prom_64.c *(u32 *)prop->value, prop 148 arch/sparc/kernel/prom_64.c struct property *prop; prop 150 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 151 arch/sparc/kernel/prom_64.c if (!prop) prop 154 arch/sparc/kernel/prom_64.c regs = prop->value; prop 166 arch/sparc/kernel/prom_64.c struct property *prop; prop 169 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 170 arch/sparc/kernel/prom_64.c if (!prop) prop 173 arch/sparc/kernel/prom_64.c regs = prop->value; prop 192 arch/sparc/kernel/prom_64.c struct property *prop; prop 194 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 195 arch/sparc/kernel/prom_64.c if (!prop) prop 198 arch/sparc/kernel/prom_64.c regs = prop->value; prop 200 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "upa-portid", NULL); prop 201 arch/sparc/kernel/prom_64.c if (!prop) prop 206 arch/sparc/kernel/prom_64.c *(u32 *) prop->value, prop 214 arch/sparc/kernel/prom_64.c struct property *prop; prop 217 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 218 arch/sparc/kernel/prom_64.c if (!prop) prop 221 arch/sparc/kernel/prom_64.c regs = prop->value; prop 231 arch/sparc/kernel/prom_64.c struct property *prop; prop 233 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 234 arch/sparc/kernel/prom_64.c if (!prop) prop 237 arch/sparc/kernel/prom_64.c regs = prop->value; prop 249 arch/sparc/kernel/prom_64.c struct property *prop; prop 252 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 253 arch/sparc/kernel/prom_64.c if (!prop) prop 256 arch/sparc/kernel/prom_64.c regs = prop->value; prop 269 arch/sparc/kernel/prom_64.c struct property *prop; prop 272 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 273 arch/sparc/kernel/prom_64.c if (!prop) prop 276 arch/sparc/kernel/prom_64.c regs = prop->value; prop 278 arch/sparc/kernel/prom_64.c if (prop->length == sizeof(u32) || regs[1] == 1) { prop 291 arch/sparc/kernel/prom_64.c struct property *prop; prop 294 arch/sparc/kernel/prom_64.c prop = of_find_property(dp, "reg", NULL); prop 295 arch/sparc/kernel/prom_64.c if (!prop) prop 298 arch/sparc/kernel/prom_64.c regs = prop->value; prop 393 arch/sparc/kernel/prom_64.c struct property *prop = of_find_property(cpun, "reg", NULL); prop 396 arch/sparc/kernel/prom_64.c if (!prop) { prop 400 arch/sparc/kernel/prom_64.c regs = prop->value; prop 36 arch/sparc/kernel/prom_common.c struct property *prop; prop 39 arch/sparc/kernel/prom_common.c prop = of_find_property(np, name, &len); prop 40 arch/sparc/kernel/prom_common.c if (!prop || len != 4) prop 43 arch/sparc/kernel/prom_common.c return *(int *) prop->value; prop 67 arch/sparc/kernel/prom_common.c struct property *prop = *prevp; prop 69 arch/sparc/kernel/prom_common.c if (!strcasecmp(prop->name, name)) { prop 70 arch/sparc/kernel/prom_common.c void *old_val = prop->value; prop 77 arch/sparc/kernel/prom_common.c prop->value = new_val; prop 78 arch/sparc/kernel/prom_common.c prop->length = len; prop 80 arch/sparc/kernel/prom_common.c if (OF_IS_DYNAMIC(prop)) prop 83 arch/sparc/kernel/prom_common.c OF_MARK_DYNAMIC(prop); prop 489 arch/sparc/kernel/setup_64.c const char *prop; prop 501 arch/sparc/kernel/setup_64.c prop = mdesc_get_property(hp, pn, "hwcap-list", &len); prop 502 arch/sparc/kernel/setup_64.c if (!prop) prop 511 arch/sparc/kernel/setup_64.c if (hwcaps[i] && !strcmp(prop, hwcaps[i])) { prop 517 arch/sparc/kernel/setup_64.c if (!strcmp(prop, crypto_hwcaps[i])) prop 521 arch/sparc/kernel/setup_64.c plen = strlen(prop) + 1; prop 522 arch/sparc/kernel/setup_64.c prop += plen; prop 90 arch/sparc/prom/tree_32.c int prom_getproplen(phandle node, const char *prop) prop 95 arch/sparc/prom/tree_32.c if((!node) || (!prop)) prop 99 arch/sparc/prom/tree_32.c ret = prom_nodeops->no_proplen(node, prop); prop 110 arch/sparc/prom/tree_32.c int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) prop 115 arch/sparc/prom/tree_32.c plen = prom_getproplen(node, prop); prop 120 arch/sparc/prom/tree_32.c ret = prom_nodeops->no_getprop(node, prop, buffer); prop 130 arch/sparc/prom/tree_32.c int prom_getint(phandle node, char *prop) prop 134 arch/sparc/prom/tree_32.c if(prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1) prop 156 arch/sparc/prom/tree_32.c int prom_getbool(phandle node, char *prop) prop 160 arch/sparc/prom/tree_32.c retval = prom_getproplen(node, prop); prop 170 arch/sparc/prom/tree_32.c void prom_getstring(phandle node, char *prop, char *user_buf, int ubuf_size) prop 174 arch/sparc/prom/tree_32.c len = prom_getproperty(node, prop, user_buf, ubuf_size); prop 207 arch/sparc/prom/tree_32.c char *prop; prop 210 arch/sparc/prom/tree_32.c prop = prom_nodeops->no_nextprop(node, oprop); prop 214 arch/sparc/prom/tree_32.c return prop; prop 93 arch/sparc/prom/tree_64.c int prom_getproplen(phandle node, const char *prop) prop 97 arch/sparc/prom/tree_64.c if (!node || !prop) prop 104 arch/sparc/prom/tree_64.c args[4] = (unsigned long) prop; prop 117 arch/sparc/prom/tree_64.c int prom_getproperty(phandle node, const char *prop, prop 123 arch/sparc/prom/tree_64.c plen = prom_getproplen(node, prop); prop 131 arch/sparc/prom/tree_64.c args[4] = (unsigned long) prop; prop 145 arch/sparc/prom/tree_64.c int prom_getint(phandle node, const char *prop) prop 149 arch/sparc/prom/tree_64.c if (prom_getproperty(node, prop, (char *) &intprop, sizeof(int)) != -1) prop 173 arch/sparc/prom/tree_64.c int prom_getbool(phandle node, const char *prop) prop 177 arch/sparc/prom/tree_64.c retval = prom_getproplen(node, prop); prop 188 arch/sparc/prom/tree_64.c void prom_getstring(phandle node, const char *prop, char *user_buf, prop 193 arch/sparc/prom/tree_64.c len = prom_getproperty(node, prop, user_buf, ubuf_size); prop 311 arch/sparc/prom/tree_64.c int prom_node_has_property(phandle node, const char *prop) prop 318 arch/sparc/prom/tree_64.c if (!strcmp(buf, prop)) prop 73 arch/x86/kernel/devicetree.c const void *prop; prop 76 arch/x86/kernel/devicetree.c prop = of_get_property(np, "bus-range", NULL); prop 77 arch/x86/kernel/devicetree.c if (!prop) prop 79 arch/x86/kernel/devicetree.c bus_min = be32_to_cpup(prop); prop 52 arch/x86/platform/olpc/olpc_dt.c static int __init olpc_dt_getproplen(phandle node, const char *prop) prop 54 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, prop }; prop 69 arch/x86/platform/olpc/olpc_dt.c static int __init olpc_dt_getproperty(phandle node, const char *prop, prop 74 arch/x86/platform/olpc/olpc_dt.c plen = olpc_dt_getproplen(node, prop); prop 78 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, prop, buf, (void *)plen }; prop 586 drivers/acpi/property.c const union acpi_object *prop; prop 589 drivers/acpi/property.c ret = acpi_data_get_property(data, name, ACPI_TYPE_PACKAGE, &prop); prop 595 drivers/acpi/property.c for (i = 0; i < prop->package.count; i++) prop 596 drivers/acpi/property.c if (prop->package.elements[i].type != type) prop 600 drivers/acpi/property.c *obj = prop; prop 1312 drivers/acpi/property.c const char *prop, const char *nargs_prop, prop 1316 drivers/acpi/property.c return __acpi_node_get_property_reference(fwnode, prop, index, prop 934 drivers/ata/ahci_imx.c const struct reg_property *prop, size_t num) prop 940 drivers/ata/ahci_imx.c for (i = 0; i < num; i++, prop++) { prop 943 drivers/ata/ahci_imx.c if (prop->num_values == 0) { prop 944 drivers/ata/ahci_imx.c if (of_property_read_bool(np, prop->name)) prop 945 drivers/ata/ahci_imx.c reg_value |= prop->set_value; prop 947 drivers/ata/ahci_imx.c reg_value |= prop->def_value; prop 951 drivers/ata/ahci_imx.c if (of_property_read_u32(np, prop->name, &of_val)) { prop 953 drivers/ata/ahci_imx.c prop->name, prop->def_value); prop 954 drivers/ata/ahci_imx.c reg_value |= prop->def_value; prop 958 drivers/ata/ahci_imx.c for (j = 0; j < prop->num_values; j++) { prop 959 drivers/ata/ahci_imx.c if (prop->values[j].of_value == of_val) { prop 961 drivers/ata/ahci_imx.c prop->name, of_val, prop->values[j].reg_value); prop 962 drivers/ata/ahci_imx.c reg_value |= prop->values[j].reg_value; prop 967 drivers/ata/ahci_imx.c if (j == prop->num_values) { prop 969 drivers/ata/ahci_imx.c prop->name); prop 970 drivers/ata/ahci_imx.c reg_value |= prop->def_value; prop 680 drivers/ata/pata_mpc52xx.c const __be32 *prop; prop 725 drivers/ata/pata_mpc52xx.c prop = of_get_property(op->dev.of_node, "mwdma-mode", &proplen); prop 726 drivers/ata/pata_mpc52xx.c if ((prop) && (proplen >= 4)) prop 727 drivers/ata/pata_mpc52xx.c mwdma_mask = ATA_MWDMA2 & ((1 << (*prop + 1)) - 1); prop 728 drivers/ata/pata_mpc52xx.c prop = of_get_property(op->dev.of_node, "udma-mode", &proplen); prop 729 drivers/ata/pata_mpc52xx.c if ((prop) && (proplen >= 4)) prop 730 drivers/ata/pata_mpc52xx.c udma_mask = ATA_UDMA2 & ((1 << (*prop + 1)) - 1); prop 717 drivers/atm/fore200e.c const u8 *prop; prop 720 drivers/atm/fore200e.c prop = of_get_property(op->dev.of_node, "madaddrlo2", &len); prop 721 drivers/atm/fore200e.c if (!prop) prop 723 drivers/atm/fore200e.c memcpy(&prom->mac_addr[4], prop, 4); prop 725 drivers/atm/fore200e.c prop = of_get_property(op->dev.of_node, "madaddrhi4", &len); prop 726 drivers/atm/fore200e.c if (!prop) prop 728 drivers/atm/fore200e.c memcpy(&prom->mac_addr[2], prop, 4); prop 478 drivers/base/property.c const char *prop, const char *nargs_prop, prop 482 drivers/base/property.c return fwnode_call_int_op(fwnode, get_reference_args, prop, nargs_prop, prop 94 drivers/base/swnode.c property_entry_get(const struct property_entry *prop, const char *name) prop 96 drivers/base/swnode.c if (!prop) prop 99 drivers/base/swnode.c for (; prop->name; prop++) prop 100 drivers/base/swnode.c if (!strcmp(name, prop->name)) prop 101 drivers/base/swnode.c return prop; prop 107 drivers/base/swnode.c property_set_pointer(struct property_entry *prop, const void *pointer) prop 109 drivers/base/swnode.c switch (prop->type) { prop 111 drivers/base/swnode.c if (prop->is_array) prop 112 drivers/base/swnode.c prop->pointer.u8_data = pointer; prop 114 drivers/base/swnode.c prop->value.u8_data = *((u8 *)pointer); prop 117 drivers/base/swnode.c if (prop->is_array) prop 118 drivers/base/swnode.c prop->pointer.u16_data = pointer; prop 120 drivers/base/swnode.c prop->value.u16_data = *((u16 *)pointer); prop 123 drivers/base/swnode.c if (prop->is_array) prop 124 drivers/base/swnode.c prop->pointer.u32_data = pointer; prop 126 drivers/base/swnode.c prop->value.u32_data = *((u32 *)pointer); prop 129 drivers/base/swnode.c if (prop->is_array) prop 130 drivers/base/swnode.c prop->pointer.u64_data = pointer; prop 132 drivers/base/swnode.c prop->value.u64_data = *((u64 *)pointer); prop 135 drivers/base/swnode.c if (prop->is_array) prop 136 drivers/base/swnode.c prop->pointer.str = pointer; prop 138 drivers/base/swnode.c prop->value.str = pointer; prop 145 drivers/base/swnode.c static const void *property_get_pointer(const struct property_entry *prop) prop 147 drivers/base/swnode.c switch (prop->type) { prop 149 drivers/base/swnode.c if (prop->is_array) prop 150 drivers/base/swnode.c return prop->pointer.u8_data; prop 151 drivers/base/swnode.c return &prop->value.u8_data; prop 153 drivers/base/swnode.c if (prop->is_array) prop 154 drivers/base/swnode.c return prop->pointer.u16_data; prop 155 drivers/base/swnode.c return &prop->value.u16_data; prop 157 drivers/base/swnode.c if (prop->is_array) prop 158 drivers/base/swnode.c return prop->pointer.u32_data; prop 159 drivers/base/swnode.c return &prop->value.u32_data; prop 161 drivers/base/swnode.c if (prop->is_array) prop 162 drivers/base/swnode.c return prop->pointer.u64_data; prop 163 drivers/base/swnode.c return &prop->value.u64_data; prop 165 drivers/base/swnode.c if (prop->is_array) prop 166 drivers/base/swnode.c return prop->pointer.str; prop 167 drivers/base/swnode.c return &prop->value.str; prop 176 drivers/base/swnode.c const struct property_entry *prop; prop 179 drivers/base/swnode.c prop = property_entry_get(props, propname); prop 180 drivers/base/swnode.c if (!prop) prop 182 drivers/base/swnode.c pointer = property_get_pointer(prop); prop 185 drivers/base/swnode.c if (length > prop->length) prop 254 drivers/base/swnode.c const struct property_entry *prop; prop 256 drivers/base/swnode.c prop = property_entry_get(props, propname); prop 257 drivers/base/swnode.c if (!prop) prop 260 drivers/base/swnode.c return prop->length / length; prop 289 drivers/base/swnode.c const struct property_entry *prop; prop 294 drivers/base/swnode.c prop = property_entry_get(props, propname); prop 295 drivers/base/swnode.c if (!prop) prop 298 drivers/base/swnode.c if (prop->is_array) prop 574 drivers/base/swnode.c const struct property_entry *prop; prop 593 drivers/base/swnode.c prop = property_entry_get(swnode->node->properties, nargs_prop); prop 594 drivers/base/swnode.c if (!prop) prop 597 drivers/base/swnode.c nargs = prop->value.u32_data; prop 711 drivers/bus/fsl-mc/fsl-mc-bus.c const __be32 *prop; prop 727 drivers/bus/fsl-mc/fsl-mc-bus.c prop = of_get_property(mc_node, "#address-cells", NULL); prop 728 drivers/bus/fsl-mc/fsl-mc-bus.c if (prop) prop 729 drivers/bus/fsl-mc/fsl-mc-bus.c *mc_addr_cells = be32_to_cpup(prop); prop 733 drivers/bus/fsl-mc/fsl-mc-bus.c prop = of_get_property(mc_node, "#size-cells", NULL); prop 734 drivers/bus/fsl-mc/fsl-mc-bus.c if (prop) prop 735 drivers/bus/fsl-mc/fsl-mc-bus.c *mc_size_cells = be32_to_cpup(prop); prop 82 drivers/bus/imx-weim.c struct property *prop; prop 102 drivers/bus/imx-weim.c of_property_for_each_u32(np, "ranges", prop, p, val) { prop 1208 drivers/bus/mvebu-mbus.c const __be32 *prop; prop 1222 drivers/bus/mvebu-mbus.c prop = of_get_property(node, "#address-cells", NULL); prop 1223 drivers/bus/mvebu-mbus.c *c_addr_cells = be32_to_cpup(prop); prop 1225 drivers/bus/mvebu-mbus.c prop = of_get_property(node, "#size-cells", NULL); prop 1226 drivers/bus/mvebu-mbus.c *c_size_cells = be32_to_cpup(prop); prop 1312 drivers/bus/mvebu-mbus.c const __be32 *prop; prop 1323 drivers/bus/mvebu-mbus.c prop = of_get_property(np, "controller", NULL); prop 1324 drivers/bus/mvebu-mbus.c if (!prop) { prop 1329 drivers/bus/mvebu-mbus.c controller = of_find_node_by_phandle(be32_to_cpup(prop)); prop 163 drivers/bus/qcom-ebi2.c const char *prop; prop 171 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-recovery-cycles", prop 177 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-write-hold-cycles", prop 183 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-write-delta-cycles", prop 189 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-read-delta-cycles", prop 195 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-write-wait-cycles", prop 201 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-read-wait-cycles", prop 207 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-address-hold-enable", prop 213 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-adv-to-oe-recovery-cycles", prop 219 drivers/bus/qcom-ebi2.c .prop = "qcom,xmem-read-hold-cycles", prop 252 drivers/bus/qcom-ebi2.c ret = of_property_read_u32(np, xp->prop, &val); prop 255 drivers/bus/qcom-ebi2.c xp->prop, csindex); prop 265 drivers/bus/qcom-ebi2.c dev_dbg(dev, "set %s flag\n", xp->prop); prop 273 drivers/bus/qcom-ebi2.c xp->prop, val, xp->max); prop 280 drivers/bus/qcom-ebi2.c dev_dbg(dev, "set %s to %u\n", xp->prop, val); prop 305 drivers/bus/ti-sysc.c struct property *prop; prop 316 drivers/bus/ti-sysc.c of_property_for_each_string(np, "clock-names", prop, name) { prop 1754 drivers/bus/ti-sysc.c struct property *prop; prop 1758 drivers/bus/ti-sysc.c of_property_for_each_u32(np, name, prop, p, val) { prop 2068 drivers/bus/ti-sysc.c const struct property *prop; prop 2074 drivers/bus/ti-sysc.c prop = of_get_property(np, name, &len); prop 2075 drivers/bus/ti-sysc.c if (!prop) prop 215 drivers/char/ipmi/ipmi_powernv.c u32 prop; prop 230 drivers/char/ipmi/ipmi_powernv.c &prop); prop 235 drivers/char/ipmi/ipmi_powernv.c ipmi->interface_id = prop; prop 237 drivers/char/ipmi/ipmi_powernv.c rc = of_property_read_u32(dev->of_node, "interrupts", &prop); prop 246 drivers/char/ipmi/ipmi_powernv.c ipmi->irq = opal_event_request(prop); prop 79 drivers/clk/clk-conf.c struct property *prop; prop 85 drivers/clk/clk-conf.c of_property_for_each_u32(node, "assigned-clock-rates", prop, cur, rate) { prop 40 drivers/clk/clk-nspire.c #define EXTRACT(var, prop) (((var)>>prop##_SHIFT) & prop##_MASK) prop 179 drivers/clk/clk-palmas.c unsigned int prop; prop 183 drivers/clk/clk-palmas.c &prop); prop 187 drivers/clk/clk-palmas.c switch (prop) { prop 189 drivers/clk/clk-palmas.c prop = PALMAS_EXT_CONTROL_ENABLE1; prop 192 drivers/clk/clk-palmas.c prop = PALMAS_EXT_CONTROL_ENABLE2; prop 195 drivers/clk/clk-palmas.c prop = PALMAS_EXT_CONTROL_NSLEEP; prop 199 drivers/clk/clk-palmas.c node, prop); prop 200 drivers/clk/clk-palmas.c prop = 0; prop 203 drivers/clk/clk-palmas.c cinfo->ext_control_pin = prop; prop 1161 drivers/clk/clk-si5351.c struct property *prop; prop 1177 drivers/clk/clk-si5351.c of_property_for_each_u32(np, "silabs,pll-source", prop, p, num) { prop 1184 drivers/clk/clk-si5351.c p = of_prop_next_u32(prop, p, &val); prop 4685 drivers/clk/clk.c struct property *prop; prop 4704 drivers/clk/clk.c of_property_for_each_u32(clkspec.np, "clock-indices", prop, vp, pv) { prop 4712 drivers/clk/clk.c if (prop && !vp) prop 4825 drivers/clk/clk.c struct property *prop; prop 4832 drivers/clk/clk.c of_property_for_each_u32(np, "clock-critical", prop, cur, idx) prop 201 drivers/clk/qcom/common.c struct property *prop; prop 205 drivers/clk/qcom/common.c of_property_for_each_u32(np, "protected-clocks", prop, p, i) { prop 24 drivers/clk/sunxi/clk-simple-gates.c struct property *prop; prop 50 drivers/clk/sunxi/clk-simple-gates.c of_property_for_each_u32(node, "clock-indices", prop, p, index) { prop 27 drivers/clk/sunxi/clk-sun8i-bus-gates.c struct property *prop; prop 61 drivers/clk/sunxi/clk-sun8i-bus-gates.c of_property_for_each_u32(node, "clock-indices", prop, p, index) { prop 243 drivers/clk/ti/clk-dra7-atl.c char prop[5]; prop 270 drivers/clk/ti/clk-dra7-atl.c snprintf(prop, sizeof(prop), "atl%u", i); prop 271 drivers/clk/ti/clk-dra7-atl.c cfg_node = of_get_child_by_name(node, prop); prop 422 drivers/clocksource/samsung_pwm_timer.c struct property *prop; prop 431 drivers/clocksource/samsung_pwm_timer.c of_property_for_each_u32(np, "samsung,pwm-outputs", prop, cur, val) { prop 336 drivers/cpufreq/imx6q-cpufreq.c const struct property *prop; prop 423 drivers/cpufreq/imx6q-cpufreq.c prop = of_find_property(np, "fsl,soc-operating-points", NULL); prop 424 drivers/cpufreq/imx6q-cpufreq.c if (!prop || !prop->value) prop 431 drivers/cpufreq/imx6q-cpufreq.c nr = prop->length / sizeof(u32); prop 436 drivers/cpufreq/imx6q-cpufreq.c val = prop->value; prop 174 drivers/cpufreq/spear-cpufreq.c const struct property *prop; prop 189 drivers/cpufreq/spear-cpufreq.c prop = of_find_property(np, "cpufreq_tbl", NULL); prop 190 drivers/cpufreq/spear-cpufreq.c if (!prop || !prop->value) { prop 196 drivers/cpufreq/spear-cpufreq.c cnt = prop->length / sizeof(u32); prop 197 drivers/cpufreq/spear-cpufreq.c val = prop->value; prop 447 drivers/crypto/caam/ctrl.c u32 prop; prop 450 drivers/crypto/caam/ctrl.c ret = of_property_read_u32(caam_node, "fsl,sec-era", &prop); prop 454 drivers/crypto/caam/ctrl.c return prop; prop 547 drivers/crypto/nx/nx-842-pseries.c static int nx842_OF_upd_status(struct property *prop) prop 549 drivers/crypto/nx/nx-842-pseries.c const char *status = (const char *)prop->value; prop 551 drivers/crypto/nx/nx-842-pseries.c if (!strncmp(status, "okay", (size_t)prop->length)) prop 553 drivers/crypto/nx/nx-842-pseries.c if (!strncmp(status, "disabled", (size_t)prop->length)) prop 582 drivers/crypto/nx/nx-842-pseries.c struct property *prop) { prop 584 drivers/crypto/nx/nx-842-pseries.c const unsigned int maxsglen = of_read_number(prop->value, 1); prop 586 drivers/crypto/nx/nx-842-pseries.c if (prop->length != sizeof(maxsglen)) { prop 589 drivers/crypto/nx/nx-842-pseries.c prop->length, sizeof(maxsglen)); prop 630 drivers/crypto/nx/nx-842-pseries.c struct property *prop) { prop 643 drivers/crypto/nx/nx-842-pseries.c if (prop->length != sizeof(*maxsynccop)) { prop 645 drivers/crypto/nx/nx-842-pseries.c dev_dbg(devdata->dev, "%s: ibm,max-sync-cop is %d bytes long, expected %lu bytes\n", __func__, prop->length, prop 651 drivers/crypto/nx/nx-842-pseries.c maxsynccop = (const struct maxsynccop_t *)prop->value; prop 839 drivers/crypto/nx/nx-842-pseries.c nx842_OF_upd(upd->prop); prop 325 drivers/dma/ti/dma-crossbar.c struct property *prop; prop 378 drivers/dma/ti/dma-crossbar.c prop = of_find_property(node, "ti,reserved-dma-request-ranges", &sz); prop 379 drivers/dma/ti/dma-crossbar.c if (prop) { prop 2103 drivers/dma/ti/edma.c struct property *prop; prop 2111 drivers/dma/ti/edma.c prop = of_find_property(dev->of_node, "ti,edma-xbar-event-map", prop 2113 drivers/dma/ti/edma.c if (prop) { prop 2122 drivers/dma/ti/edma.c prop = of_find_property(dev->of_node, "ti,edma-memcpy-channels", &sz); prop 2123 drivers/dma/ti/edma.c if (prop) { prop 2142 drivers/dma/ti/edma.c prop = of_find_property(dev->of_node, "ti,edma-reserved-slot-ranges", prop 2144 drivers/dma/ti/edma.c if (prop) { prop 1249 drivers/extcon/extcon-arizona.c const char * const prop = "wlf,micd-configs"; prop 1256 drivers/extcon/extcon-arizona.c nconfs = device_property_count_u32(arizona->dev, prop); prop 1264 drivers/extcon/extcon-arizona.c ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs); prop 259 drivers/extcon/extcon.c static int get_extcon_type(unsigned int prop) prop 261 drivers/extcon/extcon.c switch (prop) { prop 287 drivers/extcon/extcon.c static bool is_extcon_property_supported(unsigned int id, unsigned int prop) prop 292 drivers/extcon/extcon.c type = get_extcon_type(prop); prop 301 drivers/extcon/extcon.c unsigned int id, int index,unsigned int prop) prop 307 drivers/extcon/extcon.c type = get_extcon_type(prop); prop 315 drivers/extcon/extcon.c ret = test_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); prop 318 drivers/extcon/extcon.c ret = test_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); prop 321 drivers/extcon/extcon.c ret = test_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); prop 324 drivers/extcon/extcon.c ret = test_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); prop 616 drivers/extcon/extcon.c unsigned int prop, prop 629 drivers/extcon/extcon.c if (!is_extcon_property_supported(id, prop)) prop 640 drivers/extcon/extcon.c if (!is_extcon_property_capability(edev, id, index, prop)) { prop 658 drivers/extcon/extcon.c switch (prop) { prop 660 drivers/extcon/extcon.c *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; prop 663 drivers/extcon/extcon.c *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; prop 666 drivers/extcon/extcon.c *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; prop 669 drivers/extcon/extcon.c *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; prop 695 drivers/extcon/extcon.c unsigned int prop, prop 706 drivers/extcon/extcon.c if (!is_extcon_property_supported(id, prop)) prop 717 drivers/extcon/extcon.c if (!is_extcon_property_capability(edev, id, index, prop)) { prop 725 drivers/extcon/extcon.c switch (prop) { prop 727 drivers/extcon/extcon.c cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; prop 730 drivers/extcon/extcon.c cable->chg_propval[prop - EXTCON_PROP_CHG_MIN] = prop_val; prop 733 drivers/extcon/extcon.c cable->jack_propval[prop - EXTCON_PROP_JACK_MIN] = prop_val; prop 736 drivers/extcon/extcon.c cable->disp_propval[prop - EXTCON_PROP_DISP_MIN] = prop_val; prop 760 drivers/extcon/extcon.c unsigned int prop, prop 765 drivers/extcon/extcon.c ret = extcon_set_property(edev, id, prop, prop_val); prop 783 drivers/extcon/extcon.c unsigned int prop) prop 791 drivers/extcon/extcon.c if (!is_extcon_property_supported(id, prop)) prop 799 drivers/extcon/extcon.c return is_extcon_property_capability(edev, id, index, prop); prop 817 drivers/extcon/extcon.c unsigned int prop) prop 826 drivers/extcon/extcon.c if (!is_extcon_property_supported(id, prop)) prop 834 drivers/extcon/extcon.c type = get_extcon_type(prop); prop 842 drivers/extcon/extcon.c __set_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); prop 845 drivers/extcon/extcon.c __set_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); prop 848 drivers/extcon/extcon.c __set_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); prop 851 drivers/extcon/extcon.c __set_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); prop 671 drivers/firmware/efi/efi.c #define UEFI_PARAM(name, prop, field) \ prop 674 drivers/firmware/efi/efi.c { prop }, \ prop 723 drivers/firmware/efi/efi.c const void *prop; prop 729 drivers/firmware/efi/efi.c prop = of_get_flat_dt_prop(node, params[i].propname, &len); prop 730 drivers/firmware/efi/efi.c if (!prop) { prop 738 drivers/firmware/efi/efi.c val = of_read_number(prop, len / sizeof(u32)); prop 413 drivers/fsi/fsi-core.c const __be32 *prop; prop 422 drivers/fsi/fsi-core.c prop = of_get_property(np, "reg", &len); prop 423 drivers/fsi/fsi-core.c if (!prop || len != 8) prop 426 drivers/fsi/fsi-core.c if (of_read_number(prop, 1) != addr) prop 429 drivers/fsi/fsi-core.c psize = of_read_number(prop + 1, 1); prop 649 drivers/fsi/fsi-core.c const __be32 *prop; prop 660 drivers/fsi/fsi-core.c prop = of_get_property(np, "reg", &len); prop 661 drivers/fsi/fsi-core.c if (!prop || len != 8) prop 664 drivers/fsi/fsi-core.c return (of_read_number(prop, 1) == link) && prop 665 drivers/fsi/fsi-core.c (of_read_number(prop + 1, 1) == id); prop 1049 drivers/fsi/fsi-core.c uint32_t prop; prop 1050 drivers/fsi/fsi-core.c if (!of_property_read_u32(slave->dev.of_node, "chip-id", &prop)) prop 1051 drivers/fsi/fsi-core.c slave->chip_id = prop; prop 613 drivers/gpio/gpio-brcmstb.c struct property *prop; prop 660 drivers/gpio/gpio-brcmstb.c of_property_for_each_u32(np, "brcm,gpio-bank-widths", prop, p, prop 335 drivers/gpio/gpio-grgpio.c u32 prop; prop 367 drivers/gpio/gpio-grgpio.c err = of_property_read_u32(np, "nbits", &prop); prop 368 drivers/gpio/gpio-grgpio.c if (err || prop <= 0 || prop > GRGPIO_MAX_NGPIO) { prop 373 drivers/gpio/gpio-grgpio.c gc->ngpio = prop; prop 473 drivers/gpio/gpio-mockup.c int i, prop, num_chips, err = 0, base; prop 506 drivers/gpio/gpio-mockup.c prop = 0; prop 510 drivers/gpio/gpio-mockup.c properties[prop++] = PROPERTY_ENTRY_U32("gpio-base", prop 515 drivers/gpio/gpio-mockup.c properties[prop++] = PROPERTY_ENTRY_U16("nr-gpios", ngpio); prop 518 drivers/gpio/gpio-mockup.c properties[prop++] = PROPERTY_ENTRY_BOOL( prop 40 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c struct queue_properties prop; prop 50 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c memset(&prop, 0, sizeof(prop)); prop 74 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.doorbell_ptr = kfd_get_kernel_doorbell(dev, &prop.doorbell_off); prop 76 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (!prop.doorbell_ptr) { prop 116 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.queue_size = queue_size; prop 117 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.is_interop = false; prop 118 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.priority = 1; prop 119 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.queue_percent = 100; prop 120 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.type = type; prop 121 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.vmid = 0; prop 122 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.queue_address = kq->pq_gpu_addr; prop 123 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.read_ptr = (uint32_t *) kq->rptr_gpu_addr; prop 124 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.write_ptr = (uint32_t *) kq->wptr_gpu_addr; prop 125 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.eop_ring_buffer_address = kq->eop_gpu_addr; prop 126 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.eop_ring_buffer_size = PAGE_SIZE; prop 127 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.cu_mask = NULL; prop 129 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (init_queue(&kq->queue, &prop) != 0) prop 180 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c kfd_release_kernel_doorbell(dev, prop.doorbell_ptr); prop 32 drivers/gpu/drm/armada/armada_510.c struct property *prop; prop 35 drivers/gpu/drm/armada/armada_510.c of_property_for_each_string(dev->of_node, "clock-names", prop, prop 965 drivers/gpu/drm/drm_atomic_uapi.c struct drm_property *prop, prop 971 drivers/gpu/drm/drm_atomic_uapi.c if (!drm_property_change_valid_get(prop, prop_value, &ref)) prop 987 drivers/gpu/drm/drm_atomic_uapi.c prop, prop_value); prop 1001 drivers/gpu/drm/drm_atomic_uapi.c crtc_state, prop, prop_value); prop 1016 drivers/gpu/drm/drm_atomic_uapi.c prop, prop_value); prop 1024 drivers/gpu/drm/drm_atomic_uapi.c drm_property_change_valid_put(prop, ref); prop 1362 drivers/gpu/drm/drm_atomic_uapi.c struct drm_property *prop; prop 1370 drivers/gpu/drm/drm_atomic_uapi.c prop = drm_mode_obj_find_prop_id(obj, prop_id); prop 1371 drivers/gpu/drm/drm_atomic_uapi.c if (!prop) { prop 1386 drivers/gpu/drm/drm_atomic_uapi.c obj, prop, prop_value); prop 201 drivers/gpu/drm/drm_blend.c struct drm_property *prop; prop 203 drivers/gpu/drm/drm_blend.c prop = drm_property_create_range(plane->dev, 0, "alpha", prop 205 drivers/gpu/drm/drm_blend.c if (!prop) prop 208 drivers/gpu/drm/drm_blend.c drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); prop 209 drivers/gpu/drm/drm_blend.c plane->alpha_property = prop; prop 264 drivers/gpu/drm/drm_blend.c struct drm_property *prop; prop 270 drivers/gpu/drm/drm_blend.c prop = drm_property_create_bitmask(plane->dev, 0, "rotation", prop 273 drivers/gpu/drm/drm_blend.c if (!prop) prop 276 drivers/gpu/drm/drm_blend.c drm_object_attach_property(&plane->base, prop, rotation); prop 281 drivers/gpu/drm/drm_blend.c plane->rotation_property = prop; prop 353 drivers/gpu/drm/drm_blend.c struct drm_property *prop; prop 355 drivers/gpu/drm/drm_blend.c prop = drm_property_create_range(plane->dev, 0, "zpos", min, max); prop 356 drivers/gpu/drm/drm_blend.c if (!prop) prop 359 drivers/gpu/drm/drm_blend.c drm_object_attach_property(&plane->base, prop, zpos); prop 361 drivers/gpu/drm/drm_blend.c plane->zpos_property = prop; prop 391 drivers/gpu/drm/drm_blend.c struct drm_property *prop; prop 393 drivers/gpu/drm/drm_blend.c prop = drm_property_create_range(plane->dev, DRM_MODE_PROP_IMMUTABLE, prop 395 drivers/gpu/drm/drm_blend.c if (!prop) prop 398 drivers/gpu/drm/drm_blend.c drm_object_attach_property(&plane->base, prop, zpos); prop 400 drivers/gpu/drm/drm_blend.c plane->zpos_property = prop; prop 556 drivers/gpu/drm/drm_blend.c struct drm_property *prop; prop 571 drivers/gpu/drm/drm_blend.c prop = drm_property_create(dev, DRM_MODE_PROP_ENUM, prop 574 drivers/gpu/drm/drm_blend.c if (!prop) prop 583 drivers/gpu/drm/drm_blend.c ret = drm_property_add_enum(prop, props[i].type, prop 587 drivers/gpu/drm/drm_blend.c drm_property_destroy(dev, prop); prop 593 drivers/gpu/drm/drm_blend.c drm_object_attach_property(&plane->base, prop, DRM_MODE_BLEND_PREMULTI); prop 594 drivers/gpu/drm/drm_blend.c plane->blend_mode_property = prop; prop 413 drivers/gpu/drm/drm_color_mgmt.c struct drm_property *prop; prop 438 drivers/gpu/drm/drm_color_mgmt.c prop = drm_property_create_enum(dev, 0, "COLOR_ENCODING", prop 440 drivers/gpu/drm/drm_color_mgmt.c if (!prop) prop 442 drivers/gpu/drm/drm_color_mgmt.c plane->color_encoding_property = prop; prop 443 drivers/gpu/drm/drm_color_mgmt.c drm_object_attach_property(&plane->base, prop, default_encoding); prop 457 drivers/gpu/drm/drm_color_mgmt.c prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", prop 459 drivers/gpu/drm/drm_color_mgmt.c if (!prop) prop 461 drivers/gpu/drm/drm_color_mgmt.c plane->color_range_property = prop; prop 462 drivers/gpu/drm/drm_color_mgmt.c drm_object_attach_property(&plane->base, prop, default_range); prop 1145 drivers/gpu/drm/drm_connector.c struct drm_property *prop; prop 1147 drivers/gpu/drm/drm_connector.c prop = drm_property_create(dev, DRM_MODE_PROP_BLOB | prop 1150 drivers/gpu/drm/drm_connector.c if (!prop) prop 1152 drivers/gpu/drm/drm_connector.c dev->mode_config.edid_property = prop; prop 1154 drivers/gpu/drm/drm_connector.c prop = drm_property_create_enum(dev, 0, prop 1157 drivers/gpu/drm/drm_connector.c if (!prop) prop 1159 drivers/gpu/drm/drm_connector.c dev->mode_config.dpms_property = prop; prop 1161 drivers/gpu/drm/drm_connector.c prop = drm_property_create(dev, prop 1165 drivers/gpu/drm/drm_connector.c if (!prop) prop 1167 drivers/gpu/drm/drm_connector.c dev->mode_config.path_property = prop; prop 1169 drivers/gpu/drm/drm_connector.c prop = drm_property_create(dev, prop 1173 drivers/gpu/drm/drm_connector.c if (!prop) prop 1175 drivers/gpu/drm/drm_connector.c dev->mode_config.tile_property = prop; prop 1177 drivers/gpu/drm/drm_connector.c prop = drm_property_create_enum(dev, 0, "link-status", prop 1180 drivers/gpu/drm/drm_connector.c if (!prop) prop 1182 drivers/gpu/drm/drm_connector.c dev->mode_config.link_status_property = prop; prop 1184 drivers/gpu/drm/drm_connector.c prop = drm_property_create_bool(dev, DRM_MODE_PROP_IMMUTABLE, "non-desktop"); prop 1185 drivers/gpu/drm/drm_connector.c if (!prop) prop 1187 drivers/gpu/drm/drm_connector.c dev->mode_config.non_desktop_property = prop; prop 1189 drivers/gpu/drm/drm_connector.c prop = drm_property_create(dev, DRM_MODE_PROP_BLOB, prop 1191 drivers/gpu/drm/drm_connector.c if (!prop) prop 1193 drivers/gpu/drm/drm_connector.c dev->mode_config.hdr_output_metadata_property = prop; prop 1570 drivers/gpu/drm/drm_connector.c struct drm_property *prop; prop 1573 drivers/gpu/drm/drm_connector.c prop = drm_property_create_bool(dev, DRM_MODE_PROP_IMMUTABLE, prop 1575 drivers/gpu/drm/drm_connector.c if (!prop) prop 1578 drivers/gpu/drm/drm_connector.c connector->vrr_capable_property = prop; prop 1579 drivers/gpu/drm/drm_connector.c drm_object_attach_property(&connector->base, prop, 0); prop 1703 drivers/gpu/drm/drm_connector.c struct drm_property *prop; prop 1707 drivers/gpu/drm/drm_connector.c prop = drm_property_create_enum(dev, DRM_MODE_PROP_ENUM, prop 1711 drivers/gpu/drm/drm_connector.c if (!prop) prop 1718 drivers/gpu/drm/drm_connector.c connector->colorspace_property = prop; prop 1951 drivers/gpu/drm/drm_connector.c struct drm_property *prop; prop 1953 drivers/gpu/drm/drm_connector.c prop = connector->max_bpc_property; prop 1954 drivers/gpu/drm/drm_connector.c if (!prop) { prop 1955 drivers/gpu/drm/drm_connector.c prop = drm_property_create_range(dev, 0, "max bpc", min, max); prop 1956 drivers/gpu/drm/drm_connector.c if (!prop) prop 1959 drivers/gpu/drm/drm_connector.c connector->max_bpc_property = prop; prop 1962 drivers/gpu/drm/drm_connector.c drm_object_attach_property(&connector->base, prop, max); prop 2011 drivers/gpu/drm/drm_connector.c struct drm_property *prop; prop 2021 drivers/gpu/drm/drm_connector.c prop = dev->mode_config.panel_orientation_property; prop 2022 drivers/gpu/drm/drm_connector.c if (!prop) { prop 2023 drivers/gpu/drm/drm_connector.c prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, prop 2027 drivers/gpu/drm/drm_connector.c if (!prop) prop 2030 drivers/gpu/drm/drm_connector.c dev->mode_config.panel_orientation_property = prop; prop 2033 drivers/gpu/drm/drm_connector.c drm_object_attach_property(&connector->base, prop, prop 242 drivers/gpu/drm/drm_crtc_internal.h struct drm_property *prop, prop 395 drivers/gpu/drm/drm_hdcp.c struct drm_property *prop = prop 398 drivers/gpu/drm/drm_hdcp.c if (!prop) prop 399 drivers/gpu/drm/drm_hdcp.c prop = drm_property_create_enum(dev, 0, "Content Protection", prop 402 drivers/gpu/drm/drm_hdcp.c if (!prop) prop 405 drivers/gpu/drm/drm_hdcp.c drm_object_attach_property(&connector->base, prop, prop 407 drivers/gpu/drm/drm_hdcp.c dev->mode_config.content_protection_property = prop; prop 412 drivers/gpu/drm/drm_hdcp.c prop = dev->mode_config.hdcp_content_type_property; prop 413 drivers/gpu/drm/drm_hdcp.c if (!prop) prop 414 drivers/gpu/drm/drm_hdcp.c prop = drm_property_create_enum(dev, 0, "HDCP Content Type", prop 418 drivers/gpu/drm/drm_hdcp.c if (!prop) prop 421 drivers/gpu/drm/drm_hdcp.c drm_object_attach_property(&connector->base, prop, prop 423 drivers/gpu/drm/drm_hdcp.c dev->mode_config.hdcp_content_type_property = prop; prop 218 drivers/gpu/drm/drm_mode_config.c struct drm_property *prop; prop 225 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, prop 228 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 230 drivers/gpu/drm/drm_mode_config.c dev->mode_config.plane_type_property = prop; prop 232 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 234 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 236 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_src_x = prop; prop 238 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 240 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 242 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_src_y = prop; prop 244 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 246 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 248 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_src_w = prop; prop 250 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 252 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 254 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_src_h = prop; prop 256 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_signed_range(dev, DRM_MODE_PROP_ATOMIC, prop 258 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 260 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_crtc_x = prop; prop 262 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_signed_range(dev, DRM_MODE_PROP_ATOMIC, prop 264 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 266 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_crtc_y = prop; prop 268 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 270 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 272 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_crtc_w = prop; prop 274 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 276 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 278 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_crtc_h = prop; prop 280 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_object(dev, DRM_MODE_PROP_ATOMIC, prop 282 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 284 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_fb_id = prop; prop 286 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_signed_range(dev, DRM_MODE_PROP_ATOMIC, prop 288 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 290 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_in_fence_fd = prop; prop 292 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 294 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 296 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_out_fence_ptr = prop; prop 298 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_object(dev, DRM_MODE_PROP_ATOMIC, prop 300 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 302 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_crtc_id = prop; prop 304 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 307 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 309 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_fb_damage_clips = prop; prop 311 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_bool(dev, DRM_MODE_PROP_ATOMIC, prop 313 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 315 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_active = prop; prop 317 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 320 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 322 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_mode_id = prop; prop 324 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_bool(dev, 0, prop 326 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 328 drivers/gpu/drm/drm_mode_config.c dev->mode_config.prop_vrr_enabled = prop; prop 330 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 333 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 335 drivers/gpu/drm/drm_mode_config.c dev->mode_config.degamma_lut_property = prop; prop 337 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, prop 340 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 342 drivers/gpu/drm/drm_mode_config.c dev->mode_config.degamma_lut_size_property = prop; prop 344 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 347 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 349 drivers/gpu/drm/drm_mode_config.c dev->mode_config.ctm_property = prop; prop 351 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 354 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 356 drivers/gpu/drm/drm_mode_config.c dev->mode_config.gamma_lut_property = prop; prop 358 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create_range(dev, prop 361 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 363 drivers/gpu/drm/drm_mode_config.c dev->mode_config.gamma_lut_size_property = prop; prop 365 drivers/gpu/drm/drm_mode_config.c prop = drm_property_create(dev, prop 368 drivers/gpu/drm/drm_mode_config.c if (!prop) prop 370 drivers/gpu/drm/drm_mode_config.c dev->mode_config.modifiers_property = prop; prop 346 drivers/gpu/drm/drm_mode_object.c struct drm_property *prop = obj->properties->properties[i]; prop 349 drivers/gpu/drm/drm_mode_object.c if ((prop->flags & DRM_MODE_PROP_ATOMIC) && !atomic) prop 353 drivers/gpu/drm/drm_mode_object.c ret = __drm_object_property_get_value(obj, prop, &val); prop 357 drivers/gpu/drm/drm_mode_object.c if (put_user(prop->base.id, prop_ptr + count)) prop 433 drivers/gpu/drm/drm_mode_object.c struct drm_property *prop, prop 436 drivers/gpu/drm/drm_mode_object.c struct drm_device *dev = prop->dev; prop 440 drivers/gpu/drm/drm_mode_object.c if (!drm_property_change_valid_get(prop, prop_value, &ref)) prop 446 drivers/gpu/drm/drm_mode_object.c ret = drm_connector_set_obj_prop(obj, prop, prop_value); prop 449 drivers/gpu/drm/drm_mode_object.c ret = drm_mode_crtc_set_obj_prop(obj, prop, prop_value); prop 453 drivers/gpu/drm/drm_mode_object.c prop, prop_value); prop 456 drivers/gpu/drm/drm_mode_object.c drm_property_change_valid_put(prop, ref); prop 464 drivers/gpu/drm/drm_mode_object.c struct drm_property *prop, prop 467 drivers/gpu/drm/drm_mode_object.c struct drm_device *dev = prop->dev; prop 480 drivers/gpu/drm/drm_mode_object.c if (prop == state->dev->mode_config.dpms_property) { prop 490 drivers/gpu/drm/drm_mode_object.c ret = drm_atomic_set_property(state, file_priv, obj, prop, prop_value); prop 116 drivers/gpu/drm/drm_writeback.c struct drm_property *prop; prop 119 drivers/gpu/drm/drm_writeback.c prop = drm_property_create_object(dev, DRM_MODE_PROP_ATOMIC, prop 122 drivers/gpu/drm/drm_writeback.c if (!prop) prop 124 drivers/gpu/drm/drm_writeback.c dev->mode_config.writeback_fb_id_property = prop; prop 128 drivers/gpu/drm/drm_writeback.c prop = drm_property_create(dev, DRM_MODE_PROP_BLOB | prop 132 drivers/gpu/drm/drm_writeback.c if (!prop) prop 134 drivers/gpu/drm/drm_writeback.c dev->mode_config.writeback_pixel_formats_property = prop; prop 138 drivers/gpu/drm/drm_writeback.c prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, prop 141 drivers/gpu/drm/drm_writeback.c if (!prop) prop 143 drivers/gpu/drm/drm_writeback.c dev->mode_config.writeback_out_fence_ptr_property = prop; prop 465 drivers/gpu/drm/gma500/cdv_device.c struct drm_property *prop; prop 468 drivers/gpu/drm/gma500/cdv_device.c prop = dev_priv->force_audio_property; prop 469 drivers/gpu/drm/gma500/cdv_device.c if (prop == NULL) { prop 470 drivers/gpu/drm/gma500/cdv_device.c prop = drm_property_create(dev, DRM_MODE_PROP_ENUM, prop 473 drivers/gpu/drm/gma500/cdv_device.c if (prop == NULL) prop 477 drivers/gpu/drm/gma500/cdv_device.c drm_property_add_enum(prop, i-1, force_audio_names[i]); prop 479 drivers/gpu/drm/gma500/cdv_device.c dev_priv->force_audio_property = prop; prop 481 drivers/gpu/drm/gma500/cdv_device.c drm_object_attach_property(&connector->base, prop, 0); prop 494 drivers/gpu/drm/gma500/cdv_device.c struct drm_property *prop; prop 497 drivers/gpu/drm/gma500/cdv_device.c prop = dev_priv->broadcast_rgb_property; prop 498 drivers/gpu/drm/gma500/cdv_device.c if (prop == NULL) { prop 499 drivers/gpu/drm/gma500/cdv_device.c prop = drm_property_create(dev, DRM_MODE_PROP_ENUM, prop 502 drivers/gpu/drm/gma500/cdv_device.c if (prop == NULL) prop 506 drivers/gpu/drm/gma500/cdv_device.c drm_property_add_enum(prop, i, broadcast_rgb_names[i]); prop 508 drivers/gpu/drm/gma500/cdv_device.c dev_priv->broadcast_rgb_property = prop; prop 511 drivers/gpu/drm/gma500/cdv_device.c drm_object_attach_property(&connector->base, prop, 0); prop 224 drivers/gpu/drm/i915/display/intel_connector.c struct drm_property *prop; prop 226 drivers/gpu/drm/i915/display/intel_connector.c prop = dev_priv->force_audio_property; prop 227 drivers/gpu/drm/i915/display/intel_connector.c if (prop == NULL) { prop 228 drivers/gpu/drm/i915/display/intel_connector.c prop = drm_property_create_enum(dev, 0, prop 232 drivers/gpu/drm/i915/display/intel_connector.c if (prop == NULL) prop 235 drivers/gpu/drm/i915/display/intel_connector.c dev_priv->force_audio_property = prop; prop 237 drivers/gpu/drm/i915/display/intel_connector.c drm_object_attach_property(&connector->base, prop, 0); prop 251 drivers/gpu/drm/i915/display/intel_connector.c struct drm_property *prop; prop 253 drivers/gpu/drm/i915/display/intel_connector.c prop = dev_priv->broadcast_rgb_property; prop 254 drivers/gpu/drm/i915/display/intel_connector.c if (prop == NULL) { prop 255 drivers/gpu/drm/i915/display/intel_connector.c prop = drm_property_create_enum(dev, DRM_MODE_PROP_ENUM, prop 259 drivers/gpu/drm/i915/display/intel_connector.c if (prop == NULL) prop 262 drivers/gpu/drm/i915/display/intel_connector.c dev_priv->broadcast_rgb_property = prop; prop 265 drivers/gpu/drm/i915/display/intel_connector.c drm_object_attach_property(&connector->base, prop, 0); prop 63 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct drm_property *prop; prop 66 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c prop = dev_priv->plane_property[PLANE_PROP_##NAME]; \ prop 67 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (!prop) { \ prop 68 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c prop = drm_property_##fnc(dev, 0, #name, \ prop 70 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (!prop) { \ prop 76 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c dev_priv->plane_property[PLANE_PROP_##NAME] = prop; \ prop 78 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c drm_object_attach_property(&plane->base, prop, init_val); \ prop 1664 drivers/gpu/drm/msm/dsi/dsi_host.c struct property *prop; prop 1668 drivers/gpu/drm/msm/dsi/dsi_host.c prop = of_find_property(ep, "data-lanes", &len); prop 1669 drivers/gpu/drm/msm/dsi/dsi_host.c if (!prop) { prop 5145 drivers/gpu/drm/omapdrm/dss/dsi.c struct property *prop; prop 5156 drivers/gpu/drm/omapdrm/dss/dsi.c prop = of_find_property(ep, "lanes", &len); prop 5157 drivers/gpu/drm/omapdrm/dss/dsi.c if (prop == NULL) { prop 15 drivers/gpu/drm/omapdrm/dss/hdmi_common.c struct property *prop; prop 18 drivers/gpu/drm/omapdrm/dss/hdmi_common.c prop = of_find_property(ep, "lanes", &len); prop 19 drivers/gpu/drm/omapdrm/dss/hdmi_common.c if (prop) { prop 32 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c static int __init omapdss_count_strings(const struct property *prop) prop 34 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c const char *p = prop->value; prop 38 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c for (i = 0; total < prop->length; total += l, p += l, i++) prop 47 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c struct property *prop; prop 49 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop = kzalloc(sizeof(*prop), GFP_KERNEL); prop 50 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (!prop) prop 53 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop->name = "compatible"; prop 54 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop->value = compat; prop 55 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop->length = len; prop 57 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c of_update_property(node, prop); prop 82 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c struct property *prop; prop 87 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c prop = of_find_property(node, "compatible", NULL); prop 89 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (!prop || !prop->value) prop 92 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (strnlen(prop->value, prop->length) >= prop->length) prop 96 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (strncmp(prefix, prop->value, strlen(prefix)) == 0) prop 99 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c num_strs = omapdss_count_strings(prop); prop 101 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c new_len = prop->length + strlen(prefix) * num_strs; prop 104 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); prop 71 drivers/gpu/drm/rcar-du/rcar_du_of.c struct property *prop; prop 74 drivers/gpu/drm/rcar-du/rcar_du_of.c prop = kzalloc(sizeof(*prop), GFP_KERNEL); prop 75 drivers/gpu/drm/rcar-du/rcar_du_of.c if (!prop) prop 78 drivers/gpu/drm/rcar-du/rcar_du_of.c prop->name = kstrdup(name, GFP_KERNEL); prop 79 drivers/gpu/drm/rcar-du/rcar_du_of.c if (!prop->name) prop 82 drivers/gpu/drm/rcar-du/rcar_du_of.c prop->value = kmemdup(value, length, GFP_KERNEL); prop 83 drivers/gpu/drm/rcar-du/rcar_du_of.c if (!prop->value) prop 86 drivers/gpu/drm/rcar-du/rcar_du_of.c of_property_set_flag(prop, OF_DYNAMIC); prop 88 drivers/gpu/drm/rcar-du/rcar_du_of.c prop->length = length; prop 90 drivers/gpu/drm/rcar-du/rcar_du_of.c ret = of_changeset_add_property(ocs, np, prop); prop 95 drivers/gpu/drm/rcar-du/rcar_du_of.c kfree(prop->value); prop 96 drivers/gpu/drm/rcar-du/rcar_du_of.c kfree(prop->name); prop 97 drivers/gpu/drm/rcar-du/rcar_du_of.c kfree(prop); prop 1056 drivers/gpu/drm/sti/sti_hdmi.c struct drm_property *prop; prop 1060 drivers/gpu/drm/sti/sti_hdmi.c prop = drm_property_create_enum(drm_dev, 0, "colorspace", prop 1063 drivers/gpu/drm/sti/sti_hdmi.c if (!prop) { prop 1067 drivers/gpu/drm/sti/sti_hdmi.c hdmi_connector->colorspace_property = prop; prop 1068 drivers/gpu/drm/sti/sti_hdmi.c drm_object_attach_property(&connector->base, prop, hdmi->colorspace); prop 370 drivers/hid/hid-input.c enum power_supply_property prop, prop 377 drivers/hid/hid-input.c switch (prop) { prop 201 drivers/hsi/hsi_core.c struct property *prop; prop 247 drivers/hsi/hsi_core.c prop = of_find_property(client, "hsi-channel-ids", &length); prop 248 drivers/hsi/hsi_core.c if (!prop) { prop 415 drivers/hwmon/gpio-fan.c struct property *prop; prop 444 drivers/hwmon/gpio-fan.c prop = of_find_property(np, "gpio-fan,speed-map", &i); prop 445 drivers/hwmon/gpio-fan.c if (!prop) { prop 468 drivers/hwmon/gpio-fan.c p = of_prop_next_u32(prop, p, &u); prop 472 drivers/hwmon/gpio-fan.c p = of_prop_next_u32(prop, p, &u); prop 472 drivers/hwmon/max6697.c const __be32 *prop; prop 481 drivers/hwmon/max6697.c prop = of_get_property(node, "alert-mask", &len); prop 482 drivers/hwmon/max6697.c if (prop && len == sizeof(u32)) prop 483 drivers/hwmon/max6697.c pdata->alert_mask = be32_to_cpu(prop[0]); prop 484 drivers/hwmon/max6697.c prop = of_get_property(node, "over-temperature-mask", &len); prop 485 drivers/hwmon/max6697.c if (prop && len == sizeof(u32)) prop 486 drivers/hwmon/max6697.c pdata->over_temperature_mask = be32_to_cpu(prop[0]); prop 487 drivers/hwmon/max6697.c prop = of_get_property(node, "resistance-cancellation", &len); prop 488 drivers/hwmon/max6697.c if (prop) { prop 490 drivers/hwmon/max6697.c pdata->resistance_cancellation = be32_to_cpu(prop[0]); prop 494 drivers/hwmon/max6697.c prop = of_get_property(node, "transistor-ideality", &len); prop 495 drivers/hwmon/max6697.c if (prop && len == 2 * sizeof(u32)) { prop 496 drivers/hwmon/max6697.c pdata->ideality_mask = be32_to_cpu(prop[0]); prop 497 drivers/hwmon/max6697.c pdata->ideality_value = be32_to_cpu(prop[1]); prop 793 drivers/i2c/busses/i2c-davinci.c u32 prop; prop 803 drivers/i2c/busses/i2c-davinci.c &prop)) prop 804 drivers/i2c/busses/i2c-davinci.c dev->pdata->bus_freq = prop / 1000; prop 329 drivers/i2c/busses/i2c-mpc.c const u32 *prop = of_get_property(node, "reg", NULL); prop 330 drivers/i2c/busses/i2c-mpc.c if (prop) { prop 339 drivers/i2c/busses/i2c-mpc.c reg = ioremap(get_immrbase() + *prop + 0x14, 0x4); prop 656 drivers/i2c/busses/i2c-mpc.c const u32 *prop; prop 711 drivers/i2c/busses/i2c-mpc.c prop = of_get_property(op->dev.of_node, "clock-frequency", prop 713 drivers/i2c/busses/i2c-mpc.c if (prop && plen == sizeof(u32)) prop 714 drivers/i2c/busses/i2c-mpc.c clock = *prop; prop 726 drivers/i2c/busses/i2c-mpc.c prop = of_get_property(op->dev.of_node, "fsl,timeout", &plen); prop 727 drivers/i2c/busses/i2c-mpc.c if (prop && plen == sizeof(u32)) { prop 728 drivers/i2c/busses/i2c-mpc.c mpc_ops.timeout = *prop * HZ / 1000000; prop 210 drivers/i2c/busses/i2c-powermac.c const __be32 *prop; prop 214 drivers/i2c/busses/i2c-powermac.c prop = of_get_property(node, "reg", &len); prop 215 drivers/i2c/busses/i2c-powermac.c if (prop && (len >= sizeof(int))) prop 216 drivers/i2c/busses/i2c-powermac.c return (be32_to_cpup(prop) & 0xff) >> 1; prop 219 drivers/i2c/busses/i2c-powermac.c prop = of_get_property(node, "i2c-address", &len); prop 220 drivers/i2c/busses/i2c-powermac.c if (prop && (len >= sizeof(int))) prop 221 drivers/i2c/busses/i2c-powermac.c return (be32_to_cpup(prop) & 0xff) >> 1; prop 45 drivers/i2c/busses/i2c-pxa-pci.c const void *prop; prop 59 drivers/i2c/busses/i2c-pxa-pci.c prop = of_get_property(child, "fast-mode", NULL); prop 60 drivers/i2c/busses/i2c-pxa-pci.c if (prop) prop 481 drivers/i2c/busses/i2c-sprd.c u32 prop; prop 515 drivers/i2c/busses/i2c-sprd.c if (!of_property_read_u32(dev->of_node, "clock-frequency", &prop)) prop 516 drivers/i2c/busses/i2c-sprd.c i2c_dev->bus_freq = prop; prop 838 drivers/iio/adc/at91_adc.c u32 prop; prop 840 drivers/iio/adc/at91_adc.c ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop); prop 846 drivers/iio/adc/at91_adc.c switch (prop) { prop 849 drivers/iio/adc/at91_adc.c st->touchscreen_type = prop; prop 852 drivers/iio/adc/at91_adc.c dev_err(dev, "Unsupported number of touchscreen wires (%d). Should be 4 or 5.\n", prop); prop 858 drivers/iio/adc/at91_adc.c prop = 0; prop 859 drivers/iio/adc/at91_adc.c of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop); prop 860 drivers/iio/adc/at91_adc.c st->ts_pressure_threshold = prop; prop 876 drivers/iio/adc/at91_adc.c u32 prop; prop 886 drivers/iio/adc/at91_adc.c if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) { prop 891 drivers/iio/adc/at91_adc.c st->channels_mask = prop; prop 895 drivers/iio/adc/at91_adc.c if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) { prop 900 drivers/iio/adc/at91_adc.c st->startup_time = prop; prop 902 drivers/iio/adc/at91_adc.c prop = 0; prop 903 drivers/iio/adc/at91_adc.c of_property_read_u32(node, "atmel,adc-sample-hold-time", &prop); prop 904 drivers/iio/adc/at91_adc.c st->sample_hold_time = prop; prop 906 drivers/iio/adc/at91_adc.c if (of_property_read_u32(node, "atmel,adc-vref", &prop)) { prop 911 drivers/iio/adc/at91_adc.c st->vref_mv = prop; prop 941 drivers/iio/adc/at91_adc.c if (of_property_read_u32(trig_node, "trigger-value", &prop)) { prop 946 drivers/iio/adc/at91_adc.c trig->value = prop; prop 265 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop *prop, u8 *data) prop 269 drivers/iio/adc/qcom-spmi-adc5.c *data |= (prop->cal_val << ADC5_USR_DIG_PARAM_CAL_VAL_SHIFT); prop 273 drivers/iio/adc/qcom-spmi-adc5.c *data |= (prop->cal_method << ADC5_USR_DIG_PARAM_CAL_SEL_SHIFT); prop 277 drivers/iio/adc/qcom-spmi-adc5.c *data |= (prop->decimation << ADC5_USR_DIG_PARAM_DEC_RATIO_SEL_SHIFT); prop 281 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop *prop) prop 292 drivers/iio/adc/qcom-spmi-adc5.c adc5_update_dig_param(adc, prop, &buf[0]); prop 296 drivers/iio/adc/qcom-spmi-adc5.c buf[1] |= prop->avg_samples; prop 299 drivers/iio/adc/qcom-spmi-adc5.c buf[2] = prop->channel; prop 303 drivers/iio/adc/qcom-spmi-adc5.c buf[3] |= prop->hw_settle_time; prop 318 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop *prop, prop 326 drivers/iio/adc/qcom-spmi-adc5.c ret = adc5_configure(adc, prop); prop 385 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop *prop; prop 389 drivers/iio/adc/qcom-spmi-adc5.c prop = &adc->chan_props[chan->address]; prop 393 drivers/iio/adc/qcom-spmi-adc5.c ret = adc5_do_conversion(adc, prop, chan, prop 398 drivers/iio/adc/qcom-spmi-adc5.c ret = qcom_adc5_hw_scale(prop->scale_fn_type, prop 399 drivers/iio/adc/qcom-spmi-adc5.c &adc5_prescale_ratios[prop->prescale], prop 508 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop *prop, prop 530 drivers/iio/adc/qcom-spmi-adc5.c prop->channel = chan; prop 538 drivers/iio/adc/qcom-spmi-adc5.c prop->datasheet_name = channel_name; prop 548 drivers/iio/adc/qcom-spmi-adc5.c prop->decimation = ret; prop 550 drivers/iio/adc/qcom-spmi-adc5.c prop->decimation = ADC5_DECIMATION_DEFAULT; prop 561 drivers/iio/adc/qcom-spmi-adc5.c prop->prescale = ret; prop 563 drivers/iio/adc/qcom-spmi-adc5.c prop->prescale = prop 564 drivers/iio/adc/qcom-spmi-adc5.c adc->data->adc_chans[prop->channel].prescale_index; prop 594 drivers/iio/adc/qcom-spmi-adc5.c prop->hw_settle_time = ret; prop 596 drivers/iio/adc/qcom-spmi-adc5.c prop->hw_settle_time = VADC_DEF_HW_SETTLE_TIME; prop 607 drivers/iio/adc/qcom-spmi-adc5.c prop->avg_samples = ret; prop 609 drivers/iio/adc/qcom-spmi-adc5.c prop->avg_samples = VADC_DEF_AVG_SAMPLES; prop 613 drivers/iio/adc/qcom-spmi-adc5.c prop->cal_method = ADC5_RATIOMETRIC_CAL; prop 615 drivers/iio/adc/qcom-spmi-adc5.c prop->cal_method = ADC5_ABSOLUTE_CAL; prop 621 drivers/iio/adc/qcom-spmi-adc5.c prop->cal_val = ADC5_TIMER_CAL; prop 673 drivers/iio/adc/qcom-spmi-adc5.c struct adc5_channel_prop prop, *chan_props; prop 704 drivers/iio/adc/qcom-spmi-adc5.c ret = adc5_get_dt_channel_data(adc, &prop, child, data); prop 710 drivers/iio/adc/qcom-spmi-adc5.c prop.scale_fn_type = prop 711 drivers/iio/adc/qcom-spmi-adc5.c data->adc_chans[prop.channel].scale_fn_type; prop 712 drivers/iio/adc/qcom-spmi-adc5.c *chan_props = prop; prop 713 drivers/iio/adc/qcom-spmi-adc5.c adc_chan = &data->adc_chans[prop.channel]; prop 715 drivers/iio/adc/qcom-spmi-adc5.c iio_chan->channel = prop.channel; prop 716 drivers/iio/adc/qcom-spmi-adc5.c iio_chan->datasheet_name = prop.datasheet_name; prop 717 drivers/iio/adc/qcom-spmi-adc5.c iio_chan->extend_name = prop.datasheet_name; prop 209 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop *prop) prop 222 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_write(vadc, VADC_ADC_CH_SEL_CTL, prop->channel); prop 227 drivers/iio/adc/qcom-spmi-vadc.c decimation = prop->decimation << VADC_ADC_DIG_DEC_RATIO_SEL_SHIFT; prop 233 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_write(vadc, VADC_HW_SETTLE_DELAY, prop->hw_settle_time); prop 237 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_write(vadc, VADC_FAST_AVG_CTL, prop->avg_samples); prop 241 drivers/iio/adc/qcom-spmi-vadc.c if (prop->avg_samples) prop 302 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop *prop, u16 *data) prop 309 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_configure(vadc, prop); prop 324 drivers/iio/adc/qcom-spmi-vadc.c timeout = BIT(prop->avg_samples) * VADC_CONV_TIME_MIN_US * 2; prop 354 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop *prop; prop 361 drivers/iio/adc/qcom-spmi-vadc.c prop = vadc_get_channel(vadc, VADC_REF_1250MV); prop 362 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &read_1); prop 367 drivers/iio/adc/qcom-spmi-vadc.c prop = vadc_get_channel(vadc, VADC_SPARE1); prop 368 drivers/iio/adc/qcom-spmi-vadc.c if (!prop) prop 369 drivers/iio/adc/qcom-spmi-vadc.c prop = vadc_get_channel(vadc, VADC_REF_625MV); prop 371 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &read_2); prop 384 drivers/iio/adc/qcom-spmi-vadc.c prop = vadc_get_channel(vadc, VADC_VDD_VADC); prop 385 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &read_1); prop 389 drivers/iio/adc/qcom-spmi-vadc.c prop = vadc_get_channel(vadc, VADC_GND_REF); prop 390 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &read_2); prop 449 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop *prop; prop 455 drivers/iio/adc/qcom-spmi-vadc.c prop = &vadc->chan_props[chan->address]; prop 456 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &adc_code); prop 460 drivers/iio/adc/qcom-spmi-vadc.c ret = qcom_vadc_scale(prop->scale_fn_type, prop 461 drivers/iio/adc/qcom-spmi-vadc.c &vadc->graph[prop->calibration], prop 462 drivers/iio/adc/qcom-spmi-vadc.c &vadc_prescale_ratios[prop->prescale], prop 463 drivers/iio/adc/qcom-spmi-vadc.c (prop->calibration == VADC_CALIB_ABSOLUTE), prop 470 drivers/iio/adc/qcom-spmi-vadc.c prop = &vadc->chan_props[chan->address]; prop 471 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_do_conversion(vadc, prop, &adc_code); prop 652 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop *prop, prop 671 drivers/iio/adc/qcom-spmi-vadc.c prop->channel = chan; prop 681 drivers/iio/adc/qcom-spmi-vadc.c prop->decimation = ret; prop 683 drivers/iio/adc/qcom-spmi-vadc.c prop->decimation = VADC_DEF_DECIMATION; prop 694 drivers/iio/adc/qcom-spmi-vadc.c prop->prescale = ret; prop 696 drivers/iio/adc/qcom-spmi-vadc.c prop->prescale = vadc_chans[prop->channel].prescale_index; prop 707 drivers/iio/adc/qcom-spmi-vadc.c prop->hw_settle_time = ret; prop 709 drivers/iio/adc/qcom-spmi-vadc.c prop->hw_settle_time = VADC_DEF_HW_SETTLE_TIME; prop 720 drivers/iio/adc/qcom-spmi-vadc.c prop->avg_samples = ret; prop 722 drivers/iio/adc/qcom-spmi-vadc.c prop->avg_samples = VADC_DEF_AVG_SAMPLES; prop 726 drivers/iio/adc/qcom-spmi-vadc.c prop->calibration = VADC_CALIB_RATIOMETRIC; prop 728 drivers/iio/adc/qcom-spmi-vadc.c prop->calibration = VADC_CALIB_ABSOLUTE; prop 739 drivers/iio/adc/qcom-spmi-vadc.c struct vadc_channel_prop prop; prop 761 drivers/iio/adc/qcom-spmi-vadc.c ret = vadc_get_dt_channel_data(vadc->dev, &prop, child); prop 767 drivers/iio/adc/qcom-spmi-vadc.c prop.scale_fn_type = vadc_chans[prop.channel].scale_fn_type; prop 768 drivers/iio/adc/qcom-spmi-vadc.c vadc->chan_props[index] = prop; prop 770 drivers/iio/adc/qcom-spmi-vadc.c vadc_chan = &vadc_chans[prop.channel]; prop 772 drivers/iio/adc/qcom-spmi-vadc.c iio_chan->channel = prop.channel; prop 1662 drivers/iio/adc/stm32-adc.c struct property *prop; prop 1709 drivers/iio/adc/stm32-adc.c of_property_for_each_u32(node, "st,adc-channels", prop, cur, val) { prop 580 drivers/iio/adc/ti_am335x_adc.c struct property *prop; prop 585 drivers/iio/adc/ti_am335x_adc.c of_property_for_each_u32(node, "ti,adc-channels", prop, cur, val) { prop 85 drivers/iio/light/acpi-als.c static int acpi_als_read_value(struct acpi_als *als, char *prop, s32 *val) prop 90 drivers/iio/light/acpi-als.c status = acpi_evaluate_integer(als->device->handle, prop, NULL, prop 94 drivers/iio/light/acpi-als.c ACPI_EXCEPTION((AE_INFO, status, "Error reading ALS %s", prop)); prop 329 drivers/iio/multiplexer/iio-mux.c #define of_property_for_each_string_index(np, propname, prop, s, i) \ prop 330 drivers/iio/multiplexer/iio-mux.c for (prop = of_find_property(np, propname, NULL), \ prop 331 drivers/iio/multiplexer/iio-mux.c s = of_prop_next_string(prop, NULL), \ prop 334 drivers/iio/multiplexer/iio-mux.c s = of_prop_next_string(prop, s), \ prop 344 drivers/iio/multiplexer/iio-mux.c struct property *prop; prop 370 drivers/iio/multiplexer/iio-mux.c of_property_for_each_string(np, "channels", prop, label) { prop 427 drivers/iio/multiplexer/iio-mux.c of_property_for_each_string_index(np, "channels", prop, label, state) { prop 154 drivers/input/keyboard/pxa27x_keypad.c const __be16 *prop; prop 186 drivers/input/keyboard/pxa27x_keypad.c prop = of_get_property(np, "marvell,direct-key-map", &proplen); prop 187 drivers/input/keyboard/pxa27x_keypad.c if (!prop) prop 200 drivers/input/keyboard/pxa27x_keypad.c code = be16_to_cpup(prop + i); prop 211 drivers/input/keyboard/pxa27x_keypad.c const __be32 *prop; prop 237 drivers/input/keyboard/pxa27x_keypad.c prop = of_get_property(np, rotaryname[i], &proplen); prop 242 drivers/input/keyboard/pxa27x_keypad.c if (!prop) prop 245 drivers/input/keyboard/pxa27x_keypad.c code = be32_to_cpup(prop); prop 492 drivers/input/keyboard/tegra-kbc.c u32 prop; prop 501 drivers/input/keyboard/tegra-kbc.c if (!of_property_read_u32(np, "nvidia,debounce-delay-ms", &prop)) prop 502 drivers/input/keyboard/tegra-kbc.c kbc->debounce_cnt = prop; prop 504 drivers/input/keyboard/tegra-kbc.c if (!of_property_read_u32(np, "nvidia,repeat-delay-ms", &prop)) prop 505 drivers/input/keyboard/tegra-kbc.c kbc->repeat_cnt = prop; prop 411 drivers/input/rmi4/rmi_bus.c const char *prop, bool optional) prop 416 drivers/input/rmi4/rmi_bus.c retval = of_property_read_u32(dev->of_node, prop, &val); prop 419 drivers/input/rmi4/rmi_bus.c prop, retval); prop 191 drivers/input/rmi4/rmi_bus.h const char *prop, bool optional); prop 162 drivers/input/touchscreen/bu21029_ts.c struct touchscreen_properties prop; prop 200 drivers/input/touchscreen/bu21029_ts.c touchscreen_report_pos(bu21029->in_dev, &bu21029->prop, prop 400 drivers/input/touchscreen/bu21029_ts.c touchscreen_parse_properties(in_dev, false, &bu21029->prop); prop 52 drivers/input/touchscreen/chipone_icn8318.c struct touchscreen_properties prop; prop 120 drivers/input/touchscreen/chipone_icn8318.c touchscreen_report_pos(data->input, &data->prop, prop 217 drivers/input/touchscreen/chipone_icn8318.c touchscreen_parse_properties(input, true, &data->prop); prop 72 drivers/input/touchscreen/chipone_icn8505.c struct touchscreen_properties prop; prop 351 drivers/input/touchscreen/chipone_icn8505.c touchscreen_report_pos(icn8505->input, &icn8505->prop, prop 448 drivers/input/touchscreen/chipone_icn8505.c touchscreen_parse_properties(input, true, &icn8505->prop); prop 88 drivers/input/touchscreen/edt-ft5x06.c struct touchscreen_properties prop; prop 253 drivers/input/touchscreen/edt-ft5x06.c touchscreen_report_pos(tsdata->input, &tsdata->prop, prop 1147 drivers/input/touchscreen/edt-ft5x06.c touchscreen_parse_properties(input, true, &tsdata->prop); prop 47 drivers/input/touchscreen/ektf2127.c struct touchscreen_properties prop; prop 90 drivers/input/touchscreen/ektf2127.c touchscreen_report_pos(ts->input, &ts->prop, prop 273 drivers/input/touchscreen/ektf2127.c touchscreen_parse_properties(input, true, &ts->prop); prop 32 drivers/input/touchscreen/exc3000.c struct touchscreen_properties prop; prop 38 drivers/input/touchscreen/exc3000.c struct touchscreen_properties *prop, prop 45 drivers/input/touchscreen/exc3000.c touchscreen_report_pos(input, prop, prop 136 drivers/input/touchscreen/exc3000.c exc3000_report_slots(input, &data->prop, buf + 4, slots); prop 173 drivers/input/touchscreen/exc3000.c touchscreen_parse_properties(input, true, &data->prop); prop 44 drivers/input/touchscreen/goodix.c struct touchscreen_properties prop; prop 322 drivers/input/touchscreen/goodix.c touchscreen_report_pos(ts->input_dev, &ts->prop, prop 337 drivers/input/touchscreen/goodix.c touchscreen_report_pos(ts->input_dev, &ts->prop, prop 754 drivers/input/touchscreen/goodix.c touchscreen_parse_properties(ts->input_dev, true, &ts->prop); prop 756 drivers/input/touchscreen/goodix.c if (!ts->prop.max_x || !ts->prop.max_y || !ts->max_touch_num) { prop 759 drivers/input/touchscreen/goodix.c ts->prop.max_x, ts->prop.max_y, ts->max_touch_num); prop 760 drivers/input/touchscreen/goodix.c ts->prop.max_x = GOODIX_MAX_WIDTH - 1; prop 761 drivers/input/touchscreen/goodix.c ts->prop.max_y = GOODIX_MAX_HEIGHT - 1; prop 764 drivers/input/touchscreen/goodix.c ABS_MT_POSITION_X, ts->prop.max_x); prop 766 drivers/input/touchscreen/goodix.c ABS_MT_POSITION_Y, ts->prop.max_y); prop 770 drivers/input/touchscreen/goodix.c ts->prop.invert_x = true; prop 771 drivers/input/touchscreen/goodix.c ts->prop.invert_y = true; prop 149 drivers/input/touchscreen/hideep.c struct touchscreen_properties prop; prop 770 drivers/input/touchscreen/hideep.c ts->prop.max_x = le16_to_cpup(val); prop 771 drivers/input/touchscreen/hideep.c ts->prop.max_y = le16_to_cpup(val + 1); prop 774 drivers/input/touchscreen/hideep.c ts->prop.max_x, ts->prop.max_y); prop 801 drivers/input/touchscreen/hideep.c touchscreen_parse_properties(ts->input_dev, true, &ts->prop); prop 803 drivers/input/touchscreen/hideep.c if (ts->prop.max_x == 0 || ts->prop.max_y == 0) { prop 42 drivers/input/touchscreen/ili210x.c struct touchscreen_properties prop; prop 160 drivers/input/touchscreen/ili210x.c touchscreen_report_pos(input, &priv->prop, x, y, prop 336 drivers/input/touchscreen/ili210x.c touchscreen_parse_properties(input, true, &priv->prop); prop 484 drivers/input/touchscreen/iqs5xx.c struct touchscreen_properties prop; prop 509 drivers/input/touchscreen/iqs5xx.c touchscreen_parse_properties(iqs5xx->input, true, &prop); prop 528 drivers/input/touchscreen/iqs5xx.c if (prop.swap_x_y) prop 531 drivers/input/touchscreen/iqs5xx.c if (prop.invert_x) prop 532 drivers/input/touchscreen/iqs5xx.c val ^= prop.swap_x_y ? IQS5XX_FLIP_Y : IQS5XX_FLIP_X; prop 534 drivers/input/touchscreen/iqs5xx.c if (prop.invert_y) prop 535 drivers/input/touchscreen/iqs5xx.c val ^= prop.swap_x_y ? IQS5XX_FLIP_X : IQS5XX_FLIP_Y; prop 541 drivers/input/touchscreen/iqs5xx.c if (prop.max_x > max_x_hw) { prop 543 drivers/input/touchscreen/iqs5xx.c prop.max_x, max_x_hw); prop 545 drivers/input/touchscreen/iqs5xx.c } else if (prop.max_x == 0) { prop 551 drivers/input/touchscreen/iqs5xx.c prop.swap_x_y ? ABS_MT_POSITION_Y : prop 555 drivers/input/touchscreen/iqs5xx.c max_x = (u16)prop.max_x; prop 558 drivers/input/touchscreen/iqs5xx.c if (prop.max_y > max_y_hw) { prop 560 drivers/input/touchscreen/iqs5xx.c prop.max_y, max_y_hw); prop 562 drivers/input/touchscreen/iqs5xx.c } else if (prop.max_y == 0) { prop 568 drivers/input/touchscreen/iqs5xx.c prop.swap_x_y ? ABS_MT_POSITION_X : prop 572 drivers/input/touchscreen/iqs5xx.c max_y = (u16)prop.max_y; prop 581 drivers/input/touchscreen/iqs5xx.c prop.swap_x_y ? IQS5XX_Y_RES : IQS5XX_X_RES, prop 587 drivers/input/touchscreen/iqs5xx.c prop.swap_x_y ? IQS5XX_X_RES : IQS5XX_Y_RES, prop 65 drivers/input/touchscreen/of_touchscreen.c struct touchscreen_properties *prop) prop 117 drivers/input/touchscreen/of_touchscreen.c if (!prop) prop 122 drivers/input/touchscreen/of_touchscreen.c prop->max_x = input_abs_get_max(input, axis); prop 123 drivers/input/touchscreen/of_touchscreen.c prop->max_y = input_abs_get_max(input, axis + 1); prop 125 drivers/input/touchscreen/of_touchscreen.c prop->invert_x = prop 127 drivers/input/touchscreen/of_touchscreen.c if (prop->invert_x) { prop 133 drivers/input/touchscreen/of_touchscreen.c prop->invert_y = prop 135 drivers/input/touchscreen/of_touchscreen.c if (prop->invert_y) { prop 141 drivers/input/touchscreen/of_touchscreen.c prop->swap_x_y = prop 143 drivers/input/touchscreen/of_touchscreen.c if (prop->swap_x_y) prop 149 drivers/input/touchscreen/of_touchscreen.c touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop, prop 152 drivers/input/touchscreen/of_touchscreen.c if (prop->invert_x) prop 153 drivers/input/touchscreen/of_touchscreen.c *x = prop->max_x - *x; prop 155 drivers/input/touchscreen/of_touchscreen.c if (prop->invert_y) prop 156 drivers/input/touchscreen/of_touchscreen.c *y = prop->max_y - *y; prop 158 drivers/input/touchscreen/of_touchscreen.c if (prop->swap_x_y) prop 174 drivers/input/touchscreen/of_touchscreen.c const struct touchscreen_properties *prop, prop 177 drivers/input/touchscreen/of_touchscreen.c touchscreen_apply_prop_to_x_y(prop, &x, &y); prop 196 drivers/input/touchscreen/of_touchscreen.c const struct touchscreen_properties *prop, prop 200 drivers/input/touchscreen/of_touchscreen.c touchscreen_apply_prop_to_x_y(prop, &x, &y); prop 32 drivers/input/touchscreen/pixcir_i2c_ts.c struct touchscreen_properties prop; prop 85 drivers/input/touchscreen/pixcir_i2c_ts.c touchscreen_set_mt_pos(&report->pos[i], &tsdata->prop, prop 486 drivers/input/touchscreen/pixcir_i2c_ts.c touchscreen_parse_properties(input, true, &tsdata->prop); prop 38 drivers/input/touchscreen/raspberrypi-ts.c struct touchscreen_properties prop; prop 98 drivers/input/touchscreen/raspberrypi-ts.c touchscreen_report_pos(input, &ts->prop, x, y, true); prop 191 drivers/input/touchscreen/raspberrypi-ts.c touchscreen_parse_properties(input, true, &ts->prop); prop 40 drivers/input/touchscreen/resistive-adc-touch.c struct touchscreen_properties prop; prop 63 drivers/input/touchscreen/resistive-adc-touch.c touchscreen_report_pos(st->input, &st->prop, x, y, false); prop 156 drivers/input/touchscreen/resistive-adc-touch.c touchscreen_parse_properties(input, false, &st->prop); prop 105 drivers/input/touchscreen/s6sy761.c struct touchscreen_properties prop; prop 444 drivers/input/touchscreen/s6sy761.c touchscreen_parse_properties(sdata->input, true, &sdata->prop); prop 71 drivers/input/touchscreen/silead.c struct touchscreen_properties prop; prop 98 drivers/input/touchscreen/silead.c touchscreen_parse_properties(data->input, true, &data->prop); prop 177 drivers/input/touchscreen/silead.c touchscreen_set_mt_pos(&data->pos[touch_nr], &data->prop, prop 47 drivers/input/touchscreen/st1232.c struct touchscreen_properties prop; prop 119 drivers/input/touchscreen/st1232.c touchscreen_report_pos(input_dev, &ts->prop, prop 262 drivers/input/touchscreen/st1232.c touchscreen_parse_properties(input_dev, true, &ts->prop); prop 83 drivers/input/touchscreen/stmfts.c struct touchscreen_properties prop; prop 665 drivers/input/touchscreen/stmfts.c touchscreen_parse_properties(sdata->input, true, &sdata->prop); prop 30 drivers/input/touchscreen/zet6223.c struct touchscreen_properties prop; prop 211 drivers/input/touchscreen/zet6223.c touchscreen_parse_properties(input, true, &ts->prop); prop 673 drivers/iommu/arm-smmu-v3.c const char *prop; prop 703 drivers/iommu/arm-smmu-v3.c arm_smmu_options[i].prop)) { prop 706 drivers/iommu/arm-smmu-v3.c arm_smmu_options[i].prop); prop 511 drivers/iommu/fsl_pamu.c const u32 *prop; prop 521 drivers/iommu/fsl_pamu.c prop = of_get_property(node, "cache-stash-id", NULL); prop 522 drivers/iommu/fsl_pamu.c if (!prop) { prop 529 drivers/iommu/fsl_pamu.c return be32_to_cpup(prop); prop 535 drivers/iommu/fsl_pamu.c prop = of_get_property(node, "reg", &len); prop 537 drivers/iommu/fsl_pamu.c if (be32_to_cpup(&prop[i]) == vcpu) { prop 548 drivers/iommu/fsl_pamu.c prop = of_get_property(node, "cache-stash-id", NULL); prop 549 drivers/iommu/fsl_pamu.c if (!prop) { prop 556 drivers/iommu/fsl_pamu.c return be32_to_cpup(prop); prop 559 drivers/iommu/fsl_pamu.c prop = of_get_property(node, "next-level-cache", NULL); prop 560 drivers/iommu/fsl_pamu.c if (!prop) { prop 568 drivers/iommu/fsl_pamu.c node = of_find_node_by_phandle(*prop); prop 716 drivers/iommu/fsl_pamu.c const u32 *prop; prop 719 drivers/iommu/fsl_pamu.c prop = of_get_property(node, "fsl,liodn", &len); prop 723 drivers/iommu/fsl_pamu.c liodn = be32_to_cpup(&prop[i]); prop 688 drivers/iommu/fsl_pamu_domain.c const u32 *prop; prop 708 drivers/iommu/fsl_pamu_domain.c prop = of_get_property(dev->of_node, "fsl,liodn", &len); prop 709 drivers/iommu/fsl_pamu_domain.c if (prop) prop 57 drivers/iommu/of_iommu.c const void *prop; prop 63 drivers/iommu/of_iommu.c prop = of_get_property(dn, addrname, NULL); prop 64 drivers/iommu/of_iommu.c if (!prop) prop 65 drivers/iommu/of_iommu.c prop = of_get_property(dn, "#address-cells", NULL); prop 67 drivers/iommu/of_iommu.c cells = prop ? be32_to_cpup(prop) : of_n_addr_cells(dn); prop 73 drivers/iommu/of_iommu.c prop = of_get_property(dn, sizename, NULL); prop 74 drivers/iommu/of_iommu.c cells = prop ? be32_to_cpup(prop) : of_n_size_cells(dn); prop 468 drivers/iommu/virtio-iommu.c struct virtio_iommu_probe_property *prop; prop 492 drivers/iommu/virtio-iommu.c prop = (void *)probe->properties; prop 493 drivers/iommu/virtio-iommu.c type = le16_to_cpu(prop->type) & VIRTIO_IOMMU_PROBE_T_MASK; prop 497 drivers/iommu/virtio-iommu.c len = le16_to_cpu(prop->length) + sizeof(*prop); prop 501 drivers/iommu/virtio-iommu.c ret = viommu_add_resv_mem(vdev, (void *)prop, len); prop 514 drivers/iommu/virtio-iommu.c prop = (void *)probe->properties + cur; prop 515 drivers/iommu/virtio-iommu.c type = le16_to_cpu(prop->type) & VIRTIO_IOMMU_PROBE_T_MASK; prop 114 drivers/irqchip/irq-atmel-aic-common.c struct property *prop; prop 123 drivers/irqchip/irq-atmel-aic-common.c of_property_for_each_u32(node, "atmel,external-irqs", prop, p, hwirq) { prop 194 drivers/irqchip/irq-pic32-evic.c struct property *prop; prop 200 drivers/irqchip/irq-pic32-evic.c of_property_for_each_u32(node, pname, prop, p, hwirq) { prop 603 drivers/leds/leds-max77693.c struct property *prop; prop 612 drivers/leds/leds-max77693.c prop = of_find_property(child_node, "led-sources", NULL); prop 613 drivers/leds/leds-max77693.c if (prop) { prop 617 drivers/leds/leds-max77693.c srcs = of_prop_next_u32(prop, srcs, prop 122 drivers/macintosh/ams/ams-core.c const u32 *prop; prop 125 drivers/macintosh/ams/ams-core.c prop = of_get_property(ams_info.of_node, "orientation", NULL); prop 126 drivers/macintosh/ams/ams-core.c if (!prop) prop 128 drivers/macintosh/ams/ams-core.c ams_info.orient1 = *prop; prop 129 drivers/macintosh/ams/ams-core.c ams_info.orient2 = *(prop + 1); prop 147 drivers/macintosh/ams/ams-pmu.c const u32 *prop; prop 159 drivers/macintosh/ams/ams-pmu.c prop = of_get_property(ams_info.of_node, "reg", NULL); prop 160 drivers/macintosh/ams/ams-pmu.c if (!prop) prop 163 drivers/macintosh/ams/ams-pmu.c ams_pmu_cmd = ((*prop) >> 8) & 0xff; prop 957 drivers/macintosh/smu.c struct property *prop; prop 980 drivers/macintosh/smu.c prop = kzalloc(tlen, GFP_KERNEL); prop 981 drivers/macintosh/smu.c if (prop == NULL) prop 983 drivers/macintosh/smu.c hdr = (struct smu_sdbp_header *)(prop + 1); prop 984 drivers/macintosh/smu.c prop->name = ((char *)prop) + tlen - 18; prop 985 drivers/macintosh/smu.c sprintf(prop->name, "sdb-partition-%02x", id); prop 986 drivers/macintosh/smu.c prop->length = len; prop 987 drivers/macintosh/smu.c prop->value = hdr; prop 988 drivers/macintosh/smu.c prop->next = NULL; prop 1003 drivers/macintosh/smu.c if (of_add_property(smu->of_node, prop)) { prop 1011 drivers/macintosh/smu.c kfree(prop); prop 473 drivers/macintosh/therm_adt746x.c const __be32 *prop; prop 478 drivers/macintosh/therm_adt746x.c prop = of_get_property(np, "hwsensor-params-version", NULL); prop 479 drivers/macintosh/therm_adt746x.c if (!prop) prop 481 drivers/macintosh/therm_adt746x.c vers = be32_to_cpup(prop); prop 90 drivers/macintosh/windfarm_pid.c s64 integ, deriv, prop; prop 131 drivers/macintosh/windfarm_pid.c prop = st->last_delta = (new_temp - adj); prop 132 drivers/macintosh/windfarm_pid.c prop *= st->param.gp; prop 134 drivers/macintosh/windfarm_pid.c DBG("deriv: %lx, prop: %lx\n", deriv, prop); prop 137 drivers/macintosh/windfarm_pid.c target = st->target + (s32)((deriv + prop) >> 36); prop 404 drivers/mailbox/mailbox.c struct property *prop; prop 419 drivers/mailbox/mailbox.c of_property_for_each_string(np, "mbox-names", prop, mbox_name) { prop 2076 drivers/media/dvb-core/dvb_frontend.c struct compat_dtv_properties prop, *tvps = NULL; prop 2079 drivers/media/dvb-core/dvb_frontend.c if (copy_from_user(&prop, compat_ptr(arg), sizeof(prop))) prop 2082 drivers/media/dvb-core/dvb_frontend.c tvps = ∝ prop 2106 drivers/media/dvb-core/dvb_frontend.c struct compat_dtv_properties prop, *tvps = NULL; prop 2110 drivers/media/dvb-core/dvb_frontend.c if (copy_from_user(&prop, compat_ptr(arg), sizeof(prop))) prop 2113 drivers/media/dvb-core/dvb_frontend.c tvps = ∝ prop 997 drivers/media/i2c/mt9v032.c struct property *prop; prop 1013 drivers/media/i2c/mt9v032.c prop = of_find_property(np, "link-frequencies", NULL); prop 1014 drivers/media/i2c/mt9v032.c if (prop) { prop 1016 drivers/media/i2c/mt9v032.c size_t size = prop->length / sizeof(*link_freqs); prop 258 drivers/media/radio/si4713/si4713.c static int si4713_read_property(struct si4713_device *sdev, u16 prop, u32 *pv) prop 269 drivers/media/radio/si4713/si4713.c msb(prop), prop 270 drivers/media/radio/si4713/si4713.c lsb(prop), prop 284 drivers/media/radio/si4713/si4713.c __func__, prop, *pv, val[0]); prop 295 drivers/media/radio/si4713/si4713.c static int si4713_write_property(struct si4713_device *sdev, u16 prop, u16 val) prop 308 drivers/media/radio/si4713/si4713.c msb(prop), prop 309 drivers/media/radio/si4713/si4713.c lsb(prop), prop 324 drivers/media/radio/si4713/si4713.c __func__, prop, val, resp[0]); prop 746 drivers/media/v4l2-core/v4l2-fwnode.c const char *prop) prop 754 drivers/media/v4l2-core/v4l2-fwnode.c prop, NULL, 0, prop 770 drivers/media/v4l2-core/v4l2-fwnode.c !fwnode_property_get_reference_args(dev_fwnode(dev), prop, NULL, prop 952 drivers/media/v4l2-core/v4l2-fwnode.c const char *prop, prop 968 drivers/media/v4l2-core/v4l2-fwnode.c ret = fwnode_property_get_reference_args(fwnode, prop, NULL, nprops, prop 1044 drivers/media/v4l2-core/v4l2-fwnode.c const char *prop = p->name; prop 1051 drivers/media/v4l2-core/v4l2-fwnode.c prop, index, prop 1070 drivers/media/v4l2-core/v4l2-fwnode.c prop, index, prop 68 drivers/memory/jz4780-nemc.c const __be32 *prop; prop 73 drivers/memory/jz4780-nemc.c while ((prop = of_get_address(dev->of_node, i++, NULL, NULL))) { prop 74 drivers/memory/jz4780-nemc.c bank = of_read_number(prop, 1); prop 274 drivers/memory/jz4780-nemc.c const __be32 *prop; prop 327 drivers/memory/jz4780-nemc.c while ((prop = of_get_address(child, i++, NULL, NULL))) { prop 328 drivers/memory/jz4780-nemc.c bank = of_read_number(prop, 1); prop 900 drivers/memory/tegra/tegra124-emc.c #define EMC_READ_PROP(prop, dtprop) { \ prop 901 drivers/memory/tegra/tegra124-emc.c err = of_property_read_u32(node, dtprop, &timing->prop); \ prop 903 drivers/memory/tegra/tegra124-emc.c dev_err(emc->dev, "timing %pOFn: failed to read " #prop ": %d\n", \ prop 490 drivers/mfd/omap-usb-host.c char prop[11]; prop 495 drivers/mfd/omap-usb-host.c snprintf(prop, sizeof(prop), "port%d-mode", i + 1); prop 496 drivers/mfd/omap-usb-host.c ret = of_property_read_string(node, prop, &mode); prop 394 drivers/mfd/palmas.c u32 prop; prop 396 drivers/mfd/palmas.c ret = of_property_read_u32(node, "ti,mux-pad1", &prop); prop 399 drivers/mfd/palmas.c pdata->pad1 = prop; prop 402 drivers/mfd/palmas.c ret = of_property_read_u32(node, "ti,mux-pad2", &prop); prop 405 drivers/mfd/palmas.c pdata->pad2 = prop; prop 409 drivers/mfd/palmas.c ret = of_property_read_u32(node, "ti,power-ctrl", &prop); prop 411 drivers/mfd/palmas.c pdata->power_ctrl = prop; prop 129 drivers/mfd/ti_am335x_tscadc.c struct property *prop; prop 147 drivers/mfd/ti_am335x_tscadc.c of_property_for_each_u32(node, "ti,adc-channels", prop, cur, val) { prop 376 drivers/mfd/tps65910.c unsigned int prop; prop 393 drivers/mfd/tps65910.c ret = of_property_read_u32(np, "ti,vmbch-threshold", &prop); prop 395 drivers/mfd/tps65910.c board_info->vmbch_threshold = prop; prop 397 drivers/mfd/tps65910.c ret = of_property_read_u32(np, "ti,vmbch2-threshold", &prop); prop 399 drivers/mfd/tps65910.c board_info->vmbch2_threshold = prop; prop 401 drivers/mfd/tps65910.c prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); prop 402 drivers/mfd/tps65910.c board_info->en_ck32k_xtal = prop; prop 404 drivers/mfd/tps65910.c prop = of_property_read_bool(np, "ti,sleep-enable"); prop 405 drivers/mfd/tps65910.c board_info->en_dev_slp = prop; prop 407 drivers/mfd/tps65910.c prop = of_property_read_bool(np, "ti,sleep-keep-therm"); prop 408 drivers/mfd/tps65910.c board_info->slp_keepon.therm_keepon = prop; prop 410 drivers/mfd/tps65910.c prop = of_property_read_bool(np, "ti,sleep-keep-ck32k"); prop 411 drivers/mfd/tps65910.c board_info->slp_keepon.clkout32k_keepon = prop; prop 413 drivers/mfd/tps65910.c prop = of_property_read_bool(np, "ti,sleep-keep-hsclk"); prop 414 drivers/mfd/tps65910.c board_info->slp_keepon.i2chs_keepon = prop; prop 19 drivers/misc/cxl/of.c const __be32 *prop; prop 21 drivers/misc/cxl/of.c prop = of_get_property(np, prop_name, NULL); prop 22 drivers/misc/cxl/of.c if (cxl_verbose && prop) prop 23 drivers/misc/cxl/of.c pr_info("%s: %s\n", prop_name, (char *) prop); prop 24 drivers/misc/cxl/of.c return prop; prop 30 drivers/misc/cxl/of.c const __be32 *prop; prop 32 drivers/misc/cxl/of.c prop = of_get_property(np, prop_name, NULL); prop 33 drivers/misc/cxl/of.c if (prop) prop 34 drivers/misc/cxl/of.c *val = be32_to_cpu(prop[0]); prop 35 drivers/misc/cxl/of.c if (cxl_verbose && prop) prop 37 drivers/misc/cxl/of.c return prop; prop 43 drivers/misc/cxl/of.c const __be64 *prop; prop 45 drivers/misc/cxl/of.c prop = of_get_property(np, prop_name, NULL); prop 46 drivers/misc/cxl/of.c if (prop) prop 47 drivers/misc/cxl/of.c *val = be64_to_cpu(prop[0]); prop 48 drivers/misc/cxl/of.c if (cxl_verbose && prop) prop 50 drivers/misc/cxl/of.c return prop; prop 56 drivers/misc/cxl/of.c const __be32 *prop; prop 60 drivers/misc/cxl/of.c prop = of_get_address(np, 0, &size, NULL); prop 65 drivers/misc/cxl/of.c *handle = of_read_number(prop, of_n_addr_cells(np)); prop 74 drivers/misc/cxl/of.c const __be32 *prop; prop 79 drivers/misc/cxl/of.c prop = of_get_property(np, prop_name, &len); prop 80 drivers/misc/cxl/of.c if (prop) { prop 82 drivers/misc/cxl/of.c for (i = 0; i < (len / 4); i += entry_size, prop += entry_size) { prop 83 drivers/misc/cxl/of.c type = be32_to_cpu(prop[0]); prop 84 drivers/misc/cxl/of.c addr = of_read_number(prop, naddr); prop 85 drivers/misc/cxl/of.c size = of_read_number(&prop[naddr], nsize); prop 144 drivers/misc/cxl/of.c const __be32 *prop; prop 153 drivers/misc/cxl/of.c prop = of_get_property(np, "compatible", &len); prop 156 drivers/misc/cxl/of.c p = (char *) prop + i; prop 193 drivers/misc/cxl/of.c prop = read_prop_dword(np, "ibm,min-ints-per-process", &afu->pp_irqs); prop 194 drivers/misc/cxl/of.c if (prop) { prop 253 drivers/misc/cxl/of.c prop = read_prop_dword(np, "ibm,process-mmio", &val); prop 254 drivers/misc/cxl/of.c if (prop && val == 1) prop 265 drivers/misc/cxl/of.c prop = read_prop_dword(np, "ibm,function-error-interrupt", &val); prop 266 drivers/misc/cxl/of.c if (prop) prop 349 drivers/misc/cxl/of.c const __be32 *prop; prop 362 drivers/misc/cxl/of.c prop = of_get_property(np, "compatible", &len); prop 365 drivers/misc/cxl/of.c p = (char *) prop + i; prop 372 drivers/misc/cxl/of.c prop = of_get_property(np, "reg", NULL); prop 373 drivers/misc/cxl/of.c if (prop) { prop 375 drivers/misc/cxl/of.c of_read_number(prop, naddr), prop 376 drivers/misc/cxl/of.c be32_to_cpu(prop[naddr])); prop 390 drivers/misc/cxl/of.c prop = read_prop_dword(np, "ibm,caia-version", &val); prop 391 drivers/misc/cxl/of.c if (prop) { prop 396 drivers/misc/cxl/of.c prop = read_prop_dword(np, "ibm,psl-revision", &val); prop 397 drivers/misc/cxl/of.c if (prop) prop 400 drivers/misc/cxl/of.c prop = read_prop_string(np, "status"); prop 401 drivers/misc/cxl/of.c if (prop) { prop 402 drivers/misc/cxl/of.c adapter->guest->status = kasprintf(GFP_KERNEL, "%s", (char *) prop); prop 407 drivers/misc/cxl/of.c prop = read_prop_dword(np, "vendor-id", &val); prop 408 drivers/misc/cxl/of.c if (prop) prop 411 drivers/misc/cxl/of.c prop = read_prop_dword(np, "device-id", &val); prop 412 drivers/misc/cxl/of.c if (prop) prop 421 drivers/misc/cxl/of.c prop = read_prop_dword(np, "subsystem-vendor-id", &val); prop 422 drivers/misc/cxl/of.c if (prop) prop 425 drivers/misc/cxl/of.c prop = read_prop_dword(np, "subsystem-id", &val); prop 426 drivers/misc/cxl/of.c if (prop) prop 375 drivers/misc/cxl/pci.c const __be32 *prop; prop 380 drivers/misc/cxl/pci.c while (np && !(prop = of_get_property(np, "ibm,chip-id", NULL))) prop 385 drivers/misc/cxl/pci.c *chipid = be32_to_cpup(prop); prop 411 drivers/misc/cxl/pci.c const __be32 *prop; prop 420 drivers/misc/cxl/pci.c prop = of_get_property(np, "ibm,phb-indications", NULL); prop 421 drivers/misc/cxl/pci.c if (!prop) { prop 426 drivers/misc/cxl/pci.c nbw = (u64)be32_to_cpu(prop[2]); prop 427 drivers/misc/cxl/pci.c asn = (u64)be32_to_cpu(prop[1]); prop 428 drivers/misc/cxl/pci.c capi = (u64)be32_to_cpu(prop[0]); prop 516 drivers/misc/habanalabs/debugfs.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 522 drivers/misc/habanalabs/debugfs.c addr >= prop->va_space_dram_start_address && prop 523 drivers/misc/habanalabs/debugfs.c addr < prop->va_space_dram_end_address) prop 526 drivers/misc/habanalabs/debugfs.c if (addr >= prop->va_space_host_start_address && prop 527 drivers/misc/habanalabs/debugfs.c addr < prop->va_space_host_end_address) prop 200 drivers/misc/habanalabs/firmware_if.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 232 drivers/misc/habanalabs/firmware_if.c memcpy(&prop->armcp_info, armcp_info_cpu_addr, prop 233 drivers/misc/habanalabs/firmware_if.c sizeof(prop->armcp_info)); prop 235 drivers/misc/habanalabs/firmware_if.c rc = hl_build_hwmon_channel_info(hdev, prop->armcp_info.sensors); prop 334 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 338 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].type = QUEUE_TYPE_EXT; prop 339 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].driver_only = 0; prop 343 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].type = QUEUE_TYPE_CPU; prop 344 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].driver_only = 1; prop 349 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].type = QUEUE_TYPE_INT; prop 350 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].driver_only = 0; prop 354 drivers/misc/habanalabs/goya/goya.c prop->hw_queues_props[i].type = QUEUE_TYPE_NA; prop 356 drivers/misc/habanalabs/goya/goya.c prop->completion_queues_count = NUMBER_OF_CMPLT_QUEUES; prop 358 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address = DRAM_PHYS_BASE; prop 359 drivers/misc/habanalabs/goya/goya.c prop->dram_size = DRAM_PHYS_DEFAULT_SIZE; prop 360 drivers/misc/habanalabs/goya/goya.c prop->dram_end_address = prop->dram_base_address + prop->dram_size; prop 361 drivers/misc/habanalabs/goya/goya.c prop->dram_user_base_address = DRAM_BASE_ADDR_USER; prop 363 drivers/misc/habanalabs/goya/goya.c prop->sram_base_address = SRAM_BASE_ADDR; prop 364 drivers/misc/habanalabs/goya/goya.c prop->sram_size = SRAM_SIZE; prop 365 drivers/misc/habanalabs/goya/goya.c prop->sram_end_address = prop->sram_base_address + prop->sram_size; prop 366 drivers/misc/habanalabs/goya/goya.c prop->sram_user_base_address = prop->sram_base_address + prop 369 drivers/misc/habanalabs/goya/goya.c prop->mmu_pgt_addr = MMU_PAGE_TABLES_ADDR; prop 370 drivers/misc/habanalabs/goya/goya.c prop->mmu_dram_default_page_addr = MMU_DRAM_DEFAULT_PAGE_ADDR; prop 372 drivers/misc/habanalabs/goya/goya.c prop->mmu_pgt_size = 0x800000; /* 8MB */ prop 374 drivers/misc/habanalabs/goya/goya.c prop->mmu_pgt_size = MMU_PAGE_TABLES_SIZE; prop 375 drivers/misc/habanalabs/goya/goya.c prop->mmu_pte_size = HL_PTE_SIZE; prop 376 drivers/misc/habanalabs/goya/goya.c prop->mmu_hop_table_size = HOP_TABLE_SIZE; prop 377 drivers/misc/habanalabs/goya/goya.c prop->mmu_hop0_tables_total_size = HOP0_TABLES_TOTAL_SIZE; prop 378 drivers/misc/habanalabs/goya/goya.c prop->dram_page_size = PAGE_SIZE_2MB; prop 380 drivers/misc/habanalabs/goya/goya.c prop->va_space_host_start_address = VA_HOST_SPACE_START; prop 381 drivers/misc/habanalabs/goya/goya.c prop->va_space_host_end_address = VA_HOST_SPACE_END; prop 382 drivers/misc/habanalabs/goya/goya.c prop->va_space_dram_start_address = VA_DDR_SPACE_START; prop 383 drivers/misc/habanalabs/goya/goya.c prop->va_space_dram_end_address = VA_DDR_SPACE_END; prop 384 drivers/misc/habanalabs/goya/goya.c prop->dram_size_for_default_page_mapping = prop 385 drivers/misc/habanalabs/goya/goya.c prop->va_space_dram_end_address; prop 386 drivers/misc/habanalabs/goya/goya.c prop->cfg_size = CFG_SIZE; prop 387 drivers/misc/habanalabs/goya/goya.c prop->max_asid = MAX_ASID; prop 388 drivers/misc/habanalabs/goya/goya.c prop->num_of_events = GOYA_ASYNC_EVENT_ID_SIZE; prop 389 drivers/misc/habanalabs/goya/goya.c prop->high_pll = PLL_HIGH_DEFAULT; prop 390 drivers/misc/habanalabs/goya/goya.c prop->cb_pool_cb_cnt = GOYA_CB_POOL_CB_CNT; prop 391 drivers/misc/habanalabs/goya/goya.c prop->cb_pool_cb_size = GOYA_CB_POOL_CB_SIZE; prop 392 drivers/misc/habanalabs/goya/goya.c prop->max_power_default = MAX_POWER_DEFAULT; prop 393 drivers/misc/habanalabs/goya/goya.c prop->tpc_enabled_mask = TPC_ENABLED_MASK; prop 394 drivers/misc/habanalabs/goya/goya.c prop->pcie_dbi_base_address = mmPCIE_DBI_BASE; prop 395 drivers/misc/habanalabs/goya/goya.c prop->pcie_aux_dbi_reg_addr = CFG_BASE + mmPCIE_AUX_DBI; prop 472 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 500 drivers/misc/habanalabs/goya/goya.c prop->dram_pci_bar_size = pci_resource_len(pdev, DDR_BAR_ID); prop 561 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 563 drivers/misc/habanalabs/goya/goya.c prop->psoc_pci_pll_nr = RREG32(mmPSOC_PCI_PLL_NR); prop 564 drivers/misc/habanalabs/goya/goya.c prop->psoc_pci_pll_nf = RREG32(mmPSOC_PCI_PLL_NF); prop 565 drivers/misc/habanalabs/goya/goya.c prop->psoc_pci_pll_od = RREG32(mmPSOC_PCI_PLL_OD); prop 566 drivers/misc/habanalabs/goya/goya.c prop->psoc_pci_pll_div_factor = RREG32(mmPSOC_PCI_PLL_DIV_FACTOR_1); prop 571 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 611 drivers/misc/habanalabs/goya/goya.c WREG32(mmMMU_LOG2_DDR_SIZE, ilog2(prop->dram_size)); prop 2461 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 2475 drivers/misc/habanalabs/goya/goya.c for (i = 0 ; i < prop->max_asid ; i++) { prop 2476 drivers/misc/habanalabs/goya/goya.c hop0_addr = prop->mmu_pgt_addr + prop 2477 drivers/misc/habanalabs/goya/goya.c (i * prop->mmu_hop_table_size); prop 2519 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 2551 drivers/misc/habanalabs/goya/goya.c ~(prop->dram_pci_bar_size - 0x1ull))) == U64_MAX) { prop 4060 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4077 drivers/misc/habanalabs/goya/goya.c (addr & ~(prop->dram_pci_bar_size - 0x1ull)); prop 4117 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4134 drivers/misc/habanalabs/goya/goya.c (addr & ~(prop->dram_pci_bar_size - 0x1ull)); prop 4682 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4683 drivers/misc/habanalabs/goya/goya.c u64 addr = prop->sram_base_address, sob_addr; prop 4684 drivers/misc/habanalabs/goya/goya.c u32 size = hdev->pldm ? 0x10000 : prop->sram_size; prop 4718 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4720 drivers/misc/habanalabs/goya/goya.c u64 addr = prop->mmu_pgt_addr; prop 4721 drivers/misc/habanalabs/goya/goya.c u32 size = prop->mmu_pgt_size + MMU_DRAM_DEFAULT_PAGE_SIZE + prop 4745 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4754 drivers/misc/habanalabs/goya/goya.c rc = hl_mmu_map(hdev->kernel_ctx, prop->dram_base_address + off, prop 4755 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off, PAGE_SIZE_2MB); prop 4758 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off); prop 4811 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off, PAGE_SIZE_2MB)) prop 4814 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off); prop 4821 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4851 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off, PAGE_SIZE_2MB)) prop 4854 drivers/misc/habanalabs/goya/goya.c prop->dram_base_address + off); prop 4978 drivers/misc/habanalabs/goya/goya.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 4989 drivers/misc/habanalabs/goya/goya.c dram_size = le64_to_cpu(prop->armcp_info.dram_size); prop 4999 drivers/misc/habanalabs/goya/goya.c prop->dram_size = dram_size; prop 5000 drivers/misc/habanalabs/goya/goya.c prop->dram_end_address = prop->dram_base_address + dram_size; prop 5003 drivers/misc/habanalabs/goya/goya.c if (!strlen(prop->armcp_info.card_name)) prop 5004 drivers/misc/habanalabs/goya/goya.c strncpy(prop->armcp_info.card_name, GOYA_DEFAULT_CARD_NAME, prop 362 drivers/misc/habanalabs/goya/goya_coresight.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 366 drivers/misc/habanalabs/goya/goya_coresight.c range_start = prop->va_space_dram_start_address; prop 367 drivers/misc/habanalabs/goya/goya_coresight.c range_end = prop->va_space_dram_end_address; prop 369 drivers/misc/habanalabs/goya/goya_coresight.c range_start = prop->dram_user_base_address; prop 370 drivers/misc/habanalabs/goya/goya_coresight.c range_end = prop->dram_end_address; prop 46 drivers/misc/habanalabs/habanalabs_ioctl.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 52 drivers/misc/habanalabs/habanalabs_ioctl.c sram_kmd_size = (prop->sram_user_base_address - prop 53 drivers/misc/habanalabs/habanalabs_ioctl.c prop->sram_base_address); prop 54 drivers/misc/habanalabs/habanalabs_ioctl.c dram_kmd_size = (prop->dram_user_base_address - prop 55 drivers/misc/habanalabs/habanalabs_ioctl.c prop->dram_base_address); prop 58 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.sram_base_address = prop->sram_user_base_address; prop 59 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.dram_base_address = prop->dram_user_base_address; prop 60 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.tpc_enabled_mask = prop->tpc_enabled_mask; prop 61 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.sram_size = prop->sram_size - sram_kmd_size; prop 62 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.dram_size = prop->dram_size - dram_kmd_size; prop 65 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.num_of_events = prop->num_of_events; prop 67 drivers/misc/habanalabs/habanalabs_ioctl.c prop->armcp_info.armcp_version, VERSION_MAX_LEN); prop 68 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.armcp_cpld_version = le32_to_cpu(prop->armcp_info.cpld_version); prop 69 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.psoc_pci_pll_nr = prop->psoc_pci_pll_nr; prop 70 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.psoc_pci_pll_nf = prop->psoc_pci_pll_nf; prop 71 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.psoc_pci_pll_od = prop->psoc_pci_pll_od; prop 72 drivers/misc/habanalabs/habanalabs_ioctl.c hw_ip.psoc_pci_pll_div_factor = prop->psoc_pci_pll_div_factor; prop 99 drivers/misc/habanalabs/habanalabs_ioctl.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 105 drivers/misc/habanalabs/habanalabs_ioctl.c dram_kmd_size = (prop->dram_user_base_address - prop 106 drivers/misc/habanalabs/habanalabs_ioctl.c prop->dram_base_address); prop 107 drivers/misc/habanalabs/habanalabs_ioctl.c dram_usage.dram_free_mem = (prop->dram_size - dram_kmd_size) - prop 424 drivers/misc/habanalabs/hwmon.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 434 drivers/misc/habanalabs/hwmon.c prop->armcp_info.card_name, hdev, prop 1520 drivers/misc/habanalabs/memory.c struct asic_fixed_properties *prop = &ctx->hdev->asic_prop; prop 1534 drivers/misc/habanalabs/memory.c dram_range_start = prop->va_space_dram_start_address; prop 1535 drivers/misc/habanalabs/memory.c dram_range_end = prop->va_space_dram_end_address; prop 1536 drivers/misc/habanalabs/memory.c host_range_start = prop->va_space_host_start_address; prop 1537 drivers/misc/habanalabs/memory.c host_range_end = prop->va_space_host_end_address; prop 1539 drivers/misc/habanalabs/memory.c dram_range_start = prop->dram_user_base_address; prop 1540 drivers/misc/habanalabs/memory.c dram_range_end = prop->dram_end_address; prop 1541 drivers/misc/habanalabs/memory.c host_range_start = prop->dram_user_base_address; prop 1542 drivers/misc/habanalabs/memory.c host_range_end = prop->dram_end_address; prop 1668 drivers/misc/habanalabs/memory.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 1672 drivers/misc/habanalabs/memory.c vm->dram_pg_pool = gen_pool_create(__ffs(prop->dram_page_size), -1); prop 1680 drivers/misc/habanalabs/memory.c rc = gen_pool_add(vm->dram_pg_pool, prop->dram_user_base_address, prop 1681 drivers/misc/habanalabs/memory.c prop->dram_end_address - prop->dram_user_base_address, prop 43 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 52 drivers/misc/habanalabs/mmu.c prop->mmu_hop_table_size); prop 58 drivers/misc/habanalabs/mmu.c shadow_addr = (u64) (uintptr_t) kzalloc(prop->mmu_hop_table_size, prop 72 drivers/misc/habanalabs/mmu.c gen_pool_free(hdev->mmu_pgt_pool, phys_addr, prop->mmu_hop_table_size); prop 239 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 249 drivers/misc/habanalabs/mmu.c num_of_hop3 = prop->dram_size_for_default_page_mapping; prop 250 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, prop->dram_page_size); prop 307 drivers/misc/habanalabs/mmu.c pte_val = (prop->mmu_dram_default_page_addr & PTE_PHYS_ADDR_MASK) | prop 339 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 349 drivers/misc/habanalabs/mmu.c num_of_hop3 = prop->dram_size_for_default_page_mapping; prop 350 drivers/misc/habanalabs/mmu.c do_div(num_of_hop3, prop->dram_page_size); prop 397 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 406 drivers/misc/habanalabs/mmu.c gen_pool_create(__ffs(prop->mmu_hop_table_size), -1); prop 413 drivers/misc/habanalabs/mmu.c rc = gen_pool_add(hdev->mmu_pgt_pool, prop->mmu_pgt_addr + prop 414 drivers/misc/habanalabs/mmu.c prop->mmu_hop0_tables_total_size, prop 415 drivers/misc/habanalabs/mmu.c prop->mmu_pgt_size - prop->mmu_hop0_tables_total_size, prop 422 drivers/misc/habanalabs/mmu.c hdev->mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, prop 423 drivers/misc/habanalabs/mmu.c prop->mmu_hop_table_size, prop 519 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 529 drivers/misc/habanalabs/mmu.c prop->va_space_dram_start_address, prop 530 drivers/misc/habanalabs/mmu.c prop->va_space_dram_end_address); prop 586 drivers/misc/habanalabs/mmu.c u64 default_pte = (prop->mmu_dram_default_page_addr & prop 711 drivers/misc/habanalabs/mmu.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 732 drivers/misc/habanalabs/mmu.c prop->va_space_dram_start_address, prop 733 drivers/misc/habanalabs/mmu.c prop->va_space_dram_end_address); prop 775 drivers/misc/habanalabs/mmu.c u64 default_pte = (prop->mmu_dram_default_page_addr & prop 148 drivers/misc/habanalabs/pci.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 154 drivers/misc/habanalabs/pci.c rc = hl_pci_elbi_write(hdev, prop->pcie_aux_dbi_reg_addr, 0x00300000); prop 155 drivers/misc/habanalabs/pci.c rc |= hl_pci_elbi_write(hdev, prop->pcie_dbi_base_address + dbi_offset, prop 199 drivers/misc/habanalabs/pci.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 232 drivers/misc/habanalabs/pci.c rc |= hl_pci_elbi_write(hdev, prop->pcie_aux_dbi_reg_addr, 0); prop 233 drivers/misc/habanalabs/pci.c rc |= hl_pci_elbi_write(hdev, prop->pcie_aux_dbi_reg_addr + 4, 0); prop 259 drivers/misc/habanalabs/pci.c struct asic_fixed_properties *prop = &hdev->asic_prop; prop 294 drivers/misc/habanalabs/pci.c rc |= hl_pci_elbi_write(hdev, prop->pcie_aux_dbi_reg_addr, 0); prop 295 drivers/misc/habanalabs/pci.c rc |= hl_pci_elbi_write(hdev, prop->pcie_aux_dbi_reg_addr + 4, 0); prop 2192 drivers/misc/ibmvmc.c const __be32 *prop; prop 2209 drivers/misc/ibmvmc.c prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-address-cells", prop 2211 drivers/misc/ibmvmc.c if (!prop) { prop 2215 drivers/misc/ibmvmc.c dma_window += be32_to_cpu(*prop); prop 2218 drivers/misc/ibmvmc.c prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-size-cells", prop 2220 drivers/misc/ibmvmc.c if (!prop) { prop 2224 drivers/misc/ibmvmc.c dma_window += be32_to_cpu(*prop); prop 144 drivers/misc/vexpress-syscfg.c struct property *prop; prop 156 drivers/misc/vexpress-syscfg.c prop = of_find_property(dev->of_node, prop 158 drivers/misc/vexpress-syscfg.c if (!prop) prop 161 drivers/misc/vexpress-syscfg.c num = prop->length / sizeof(u32) / 2; prop 162 drivers/misc/vexpress-syscfg.c val = prop->value; prop 895 drivers/mtd/mtdpart.c struct property *prop; prop 906 drivers/mtd/mtdpart.c of_property_for_each_string(np, "compatible", prop, compat) { prop 519 drivers/mtd/nand/raw/davinci_nand.c u32 prop; prop 528 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-chipselect", &prop)) prop 529 drivers/mtd/nand/raw/davinci_nand.c pdata->core_chipsel = prop; prop 534 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-mask-ale", &prop)) prop 535 drivers/mtd/nand/raw/davinci_nand.c pdata->mask_ale = prop; prop 537 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-mask-cle", &prop)) prop 538 drivers/mtd/nand/raw/davinci_nand.c pdata->mask_cle = prop; prop 540 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-mask-chipsel", &prop)) prop 541 drivers/mtd/nand/raw/davinci_nand.c pdata->mask_chipsel = prop; prop 552 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-ecc-bits", &prop)) prop 553 drivers/mtd/nand/raw/davinci_nand.c pdata->ecc_bits = prop; prop 556 drivers/mtd/nand/raw/davinci_nand.c "ti,davinci-nand-buswidth", &prop) && prop == 16) prop 204 drivers/mtd/nand/raw/fsl_upm.c const __be32 *prop; prop 226 drivers/mtd/nand/raw/fsl_upm.c prop = of_get_property(ofdev->dev.of_node, "fsl,upm-addr-offset", prop 228 drivers/mtd/nand/raw/fsl_upm.c if (!prop || size != sizeof(uint32_t)) { prop 233 drivers/mtd/nand/raw/fsl_upm.c fun->upm_addr_offset = *prop; prop 235 drivers/mtd/nand/raw/fsl_upm.c prop = of_get_property(ofdev->dev.of_node, "fsl,upm-cmd-offset", &size); prop 236 drivers/mtd/nand/raw/fsl_upm.c if (!prop || size != sizeof(uint32_t)) { prop 241 drivers/mtd/nand/raw/fsl_upm.c fun->upm_cmd_offset = *prop; prop 243 drivers/mtd/nand/raw/fsl_upm.c prop = of_get_property(ofdev->dev.of_node, prop 245 drivers/mtd/nand/raw/fsl_upm.c if (prop && (size / sizeof(uint32_t)) > 0) { prop 252 drivers/mtd/nand/raw/fsl_upm.c fun->mchip_offsets[i] = be32_to_cpu(prop[i]); prop 275 drivers/mtd/nand/raw/fsl_upm.c prop = of_get_property(ofdev->dev.of_node, "chip-delay", NULL); prop 276 drivers/mtd/nand/raw/fsl_upm.c if (prop) prop 277 drivers/mtd/nand/raw/fsl_upm.c fun->chip_delay = be32_to_cpup(prop); prop 281 drivers/mtd/nand/raw/fsl_upm.c prop = of_get_property(ofdev->dev.of_node, "fsl,upm-wait-flags", &size); prop 282 drivers/mtd/nand/raw/fsl_upm.c if (prop && size == sizeof(uint32_t)) prop 283 drivers/mtd/nand/raw/fsl_upm.c fun->wait_flags = be32_to_cpup(prop); prop 74 drivers/net/can/cc770/cc770_platform.c const u32 *prop; prop 78 drivers/net/can/cc770/cc770_platform.c prop = of_get_property(np, "bosch,external-clock-frequency", prop 80 drivers/net/can/cc770/cc770_platform.c if (prop && (prop_size == sizeof(u32))) prop 81 drivers/net/can/cc770/cc770_platform.c clkext = *prop; prop 112 drivers/net/can/cc770/cc770_platform.c prop = of_get_property(np, "bosch,clock-out-frequency", &prop_size); prop 113 drivers/net/can/cc770/cc770_platform.c if (prop && (prop_size == sizeof(u32)) && *prop > 0) { prop 114 drivers/net/can/cc770/cc770_platform.c u32 cdv = clkext / *prop; prop 121 drivers/net/can/cc770/cc770_platform.c prop = of_get_property(np, "bosch,slew-rate", prop 123 drivers/net/can/cc770/cc770_platform.c if (prop && (prop_size == sizeof(u32))) { prop 124 drivers/net/can/cc770/cc770_platform.c slew = *prop; prop 138 drivers/net/can/sja1000/sja1000_platform.c u32 prop; prop 140 drivers/net/can/sja1000/sja1000_platform.c err = of_property_read_u32(of, "reg-io-width", &prop); prop 142 drivers/net/can/sja1000/sja1000_platform.c prop = 1; /* 8 bit is default */ prop 144 drivers/net/can/sja1000/sja1000_platform.c switch (prop) { prop 159 drivers/net/can/sja1000/sja1000_platform.c err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); prop 161 drivers/net/can/sja1000/sja1000_platform.c priv->can.clock.freq = prop / 2; prop 165 drivers/net/can/sja1000/sja1000_platform.c err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); prop 167 drivers/net/can/sja1000/sja1000_platform.c priv->ocr |= prop & OCR_MODE_MASK; prop 171 drivers/net/can/sja1000/sja1000_platform.c err = of_property_read_u32(of, "nxp,tx-output-config", &prop); prop 173 drivers/net/can/sja1000/sja1000_platform.c priv->ocr |= (prop << OCR_TX_SHIFT) & OCR_TX_MASK; prop 177 drivers/net/can/sja1000/sja1000_platform.c err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); prop 178 drivers/net/can/sja1000/sja1000_platform.c if (!err && prop) { prop 179 drivers/net/can/sja1000/sja1000_platform.c u32 divider = priv->can.clock.freq * 2 / prop; prop 1396 drivers/net/ethernet/amd/sunlance.c const char *prop; prop 1410 drivers/net/ethernet/amd/sunlance.c prop = of_get_property(ledma_dp, "cable-selection", NULL); prop 1411 drivers/net/ethernet/amd/sunlance.c if (!prop || prop[0] == '\0') { prop 1421 drivers/net/ethernet/amd/sunlance.c prop = of_get_property(nd, "tpe-link-test?", NULL); prop 1422 drivers/net/ethernet/amd/sunlance.c if (!prop) prop 1425 drivers/net/ethernet/amd/sunlance.c if (strcmp(prop, "true")) { prop 1437 drivers/net/ethernet/amd/sunlance.c } else if (!strcmp(prop, "aui")) { prop 73 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h #define bfa_mfg_adapter_prop_init_gpio(gpio, card_type, prop) \ prop 76 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_PROTO; \ prop 81 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_TTV; \ prop 84 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(NPORTS, 2); \ prop 85 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(SPEED, 8); \ prop 89 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(NPORTS, 1); \ prop 90 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(SPEED, 8); \ prop 94 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(NPORTS, 2); \ prop 95 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(SPEED, 4); \ prop 99 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(NPORTS, 1); \ prop 100 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_SETP(SPEED, 4); \ prop 104 drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h (prop) |= BFI_ADAPTER_UNSUPP; \ prop 823 drivers/net/ethernet/freescale/fec_mpc52xx.c const u32 *prop; prop 939 drivers/net/ethernet/freescale/fec_mpc52xx.c prop = of_get_property(np, "current-speed", &prop_size); prop 940 drivers/net/ethernet/freescale/fec_mpc52xx.c if (prop && (prop_size >= sizeof(u32) * 2)) { prop 941 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->speed = prop[0]; prop 942 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->duplex = prop[1] ? DUPLEX_FULL : DUPLEX_HALF; prop 479 drivers/net/ethernet/freescale/fsl_pq_mdio.c const u32 *prop = of_get_property(tbi, "reg", NULL); prop 480 drivers/net/ethernet/freescale/fsl_pq_mdio.c if (!prop) { prop 487 drivers/net/ethernet/freescale/fsl_pq_mdio.c set_tbipa(*prop, pdev, prop 1316 drivers/net/ethernet/freescale/gianfar.h u32 prop; prop 861 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = mask; prop 871 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; prop 880 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; prop 1176 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = 0x0; prop 1213 drivers/net/ethernet/freescale/gianfar_ethtool.c for (; i < MAX_FILER_IDX && (tab->fe[i].ctrl | tab->fe[i].prop); i++) prop 1214 drivers/net/ethernet/freescale/gianfar_ethtool.c gfar_write_filer(priv, i, tab->fe[i].ctrl, tab->fe[i].prop); prop 3698 drivers/net/ethernet/freescale/ucc_geth.c const unsigned int *prop; prop 3718 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(np, "cell-index", NULL); prop 3719 drivers/net/ethernet/freescale/ucc_geth.c if (!prop) { prop 3720 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(np, "device-id", NULL); prop 3721 drivers/net/ethernet/freescale/ucc_geth.c if (!prop) prop 3725 drivers/net/ethernet/freescale/ucc_geth.c ucc_num = *prop - 1; prop 3747 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(np, "rx-clock", NULL); prop 3748 drivers/net/ethernet/freescale/ucc_geth.c if (!prop) { prop 3754 drivers/net/ethernet/freescale/ucc_geth.c if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) { prop 3758 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.rx_clock = *prop; prop 3770 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(np, "tx-clock", NULL); prop 3771 drivers/net/ethernet/freescale/ucc_geth.c if (!prop) { prop 3775 drivers/net/ethernet/freescale/ucc_geth.c if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) { prop 3779 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.tx_clock = *prop; prop 3805 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(np, "phy-connection-type", NULL); prop 3806 drivers/net/ethernet/freescale/ucc_geth.c if (!prop) { prop 3808 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(ug_info->phy_node, "interface", NULL); prop 3809 drivers/net/ethernet/freescale/ucc_geth.c if (prop != NULL) { prop 3810 drivers/net/ethernet/freescale/ucc_geth.c phy_interface = enet_to_phy_interface[*prop]; prop 3811 drivers/net/ethernet/freescale/ucc_geth.c max_speed = enet_to_speed[*prop]; prop 3815 drivers/net/ethernet/freescale/ucc_geth.c phy_interface = to_phy_interface((const char *)prop); prop 2456 drivers/net/ethernet/ibm/emac/core.c const u32 *prop = of_get_property(np, name, &len); prop 2457 drivers/net/ethernet/ibm/emac/core.c if (prop == NULL || len < sizeof(u32)) { prop 2463 drivers/net/ethernet/ibm/emac/core.c *val = *prop; prop 520 drivers/net/ethernet/ibm/emac/mal.c const u32 *prop; prop 535 drivers/net/ethernet/ibm/emac/mal.c prop = of_get_property(ofdev->dev.of_node, "num-tx-chans", NULL); prop 536 drivers/net/ethernet/ibm/emac/mal.c if (prop == NULL) { prop 543 drivers/net/ethernet/ibm/emac/mal.c mal->num_tx_chans = prop[0]; prop 545 drivers/net/ethernet/ibm/emac/mal.c prop = of_get_property(ofdev->dev.of_node, "num-rx-chans", NULL); prop 546 drivers/net/ethernet/ibm/emac/mal.c if (prop == NULL) { prop 553 drivers/net/ethernet/ibm/emac/mal.c mal->num_rx_chans = prop[0]; prop 287 drivers/net/ethernet/marvell/mvneta_bm.c char prop[15]; prop 307 drivers/net/ethernet/marvell/mvneta_bm.c sprintf(prop, "pool%d,capacity", i); prop 308 drivers/net/ethernet/marvell/mvneta_bm.c if (of_property_read_u32(dn, prop, &size)) { prop 333 drivers/net/ethernet/marvell/mvneta_bm.c sprintf(prop, "pool%d,pkt-size", i); prop 334 drivers/net/ethernet/marvell/mvneta_bm.c if (of_property_read_u32(dn, prop, &bm_pool->pkt_size)) prop 2497 drivers/net/ethernet/ti/cpsw.c u32 prop; prop 2502 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "slaves", &prop)) { prop 2506 drivers/net/ethernet/ti/cpsw.c data->slaves = prop; prop 2508 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "active_slave", &prop)) { prop 2512 drivers/net/ethernet/ti/cpsw.c data->active_slave = prop; prop 2521 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "cpdma_channels", &prop)) { prop 2525 drivers/net/ethernet/ti/cpsw.c data->channels = prop; prop 2527 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "ale_entries", &prop)) { prop 2531 drivers/net/ethernet/ti/cpsw.c data->ale_entries = prop; prop 2533 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "bd_ram_size", &prop)) { prop 2537 drivers/net/ethernet/ti/cpsw.c data->bd_ram_size = prop; prop 2539 drivers/net/ethernet/ti/cpsw.c if (of_property_read_u32(node, "mac_control", &prop)) { prop 2543 drivers/net/ethernet/ti/cpsw.c data->mac_control = prop; prop 2642 drivers/net/ethernet/ti/cpsw.c &prop)) { prop 2648 drivers/net/ethernet/ti/cpsw.c slave_data->dual_emac_res_vlan = prop; prop 615 drivers/net/ethernet/ti/cpts.c u32 prop; prop 617 drivers/net/ethernet/ti/cpts.c if (!of_property_read_u32(node, "cpts_clock_mult", &prop)) prop 618 drivers/net/ethernet/ti/cpts.c cpts->cc.mult = prop; prop 620 drivers/net/ethernet/ti/cpts.c if (!of_property_read_u32(node, "cpts_clock_shift", &prop)) prop 621 drivers/net/ethernet/ti/cpts.c cpts->cc.shift = prop; prop 313 drivers/net/ethernet/ti/davinci_mdio.c u32 prop; prop 318 drivers/net/ethernet/ti/davinci_mdio.c if (of_property_read_u32(node, "bus_freq", &prop)) { prop 322 drivers/net/ethernet/ti/davinci_mdio.c data->bus_freq = prop; prop 200 drivers/net/phy/phylink.c u32 prop[5]; prop 204 drivers/net/phy/phylink.c if (ret != ARRAY_SIZE(prop)) { prop 210 drivers/net/phy/phylink.c prop, ARRAY_SIZE(prop)); prop 212 drivers/net/phy/phylink.c pl->link_config.duplex = prop[1] ? prop 214 drivers/net/phy/phylink.c pl->link_config.speed = prop[2]; prop 215 drivers/net/phy/phylink.c if (prop[3]) prop 217 drivers/net/phy/phylink.c if (prop[4]) prop 20 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c struct property *prop; prop 28 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c prop = of_find_property(root, "compatible", NULL); prop 29 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c settings->board_type = of_prop_next_string(prop, NULL); prop 2032 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static char *prop[] = {"EVENT=INACCESSIBLE", NULL}; prop 2035 drivers/net/wireless/intel/iwlwifi/pcie/trans.c kobject_uevent_env(&pdev->dev.kobj, KOBJ_CHANGE, prop); prop 1491 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct property *prop; prop 1496 drivers/net/wireless/marvell/mwifiex/sta_cmd.c for_each_property_of_node(node, prop) { prop 1497 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (len > strlen(prop->name) || prop 1498 drivers/net/wireless/marvell/mwifiex/sta_cmd.c strncmp(prop->name, prefix, len)) prop 1502 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (prop->value && prop->length > 6 && prop 1503 drivers/net/wireless/marvell/mwifiex/sta_cmd.c prop->length <= MWIFIEX_SIZE_OF_CMD_BUFFER - S_DS_GEN) { prop 1506 drivers/net/wireless/marvell/mwifiex/sta_cmd.c prop, true); prop 1520 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct property *prop = data_buf; prop 1525 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (prop) { prop 1526 drivers/net/wireless/marvell/mwifiex/sta_cmd.c len = prop->length; prop 1527 drivers/net/wireless/marvell/mwifiex/sta_cmd.c ret = of_property_read_u8_array(adapter->dt_node, prop->name, prop 1533 drivers/net/wireless/marvell/mwifiex/sta_cmd.c prop->name); prop 180 drivers/of/address.c const __be32 *prop; prop 201 drivers/of/address.c prop = of_get_property(dev, bus->addresses, &psize); prop 202 drivers/of/address.c if (prop == NULL) prop 207 drivers/of/address.c for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) { prop 208 drivers/of/address.c u32 val = be32_to_cpu(prop[0]); prop 211 drivers/of/address.c *size = of_read_number(prop + na, ns); prop 213 drivers/of/address.c *flags = bus->get_flags(prop); prop 214 drivers/of/address.c return prop; prop 718 drivers/of/address.c const __be32 *prop; prop 735 drivers/of/address.c prop = of_get_property(dev, bus->addresses, &psize); prop 736 drivers/of/address.c if (prop == NULL) prop 741 drivers/of/address.c for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) prop 744 drivers/of/address.c *size = of_read_number(prop + na, ns); prop 746 drivers/of/address.c *flags = bus->get_flags(prop); prop 747 drivers/of/address.c return prop; prop 513 drivers/of/base.c struct property *prop; prop 519 drivers/of/base.c prop = __of_find_property(device, "compatible", NULL); prop 520 drivers/of/base.c for (cp = of_prop_next_string(prop, NULL); cp; prop 521 drivers/of/base.c cp = of_prop_next_string(prop, cp), index++) { prop 1816 drivers/of/base.c int __of_add_property(struct device_node *np, struct property *prop) prop 1820 drivers/of/base.c prop->next = NULL; prop 1823 drivers/of/base.c if (strcmp(prop->name, (*next)->name) == 0) prop 1829 drivers/of/base.c *next = prop; prop 1837 drivers/of/base.c int of_add_property(struct device_node *np, struct property *prop) prop 1845 drivers/of/base.c rc = __of_add_property(np, prop); prop 1849 drivers/of/base.c __of_add_property_sysfs(np, prop); prop 1854 drivers/of/base.c of_property_notify(OF_RECONFIG_ADD_PROPERTY, np, prop, NULL); prop 1859 drivers/of/base.c int __of_remove_property(struct device_node *np, struct property *prop) prop 1864 drivers/of/base.c if (*next == prop) prop 1871 drivers/of/base.c *next = prop->next; prop 1872 drivers/of/base.c prop->next = np->deadprops; prop 1873 drivers/of/base.c np->deadprops = prop; prop 1886 drivers/of/base.c int of_remove_property(struct device_node *np, struct property *prop) prop 1891 drivers/of/base.c if (!prop) prop 1897 drivers/of/base.c rc = __of_remove_property(np, prop); prop 1901 drivers/of/base.c __of_remove_property_sysfs(np, prop); prop 1906 drivers/of/base.c of_property_notify(OF_RECONFIG_REMOVE_PROPERTY, np, prop, NULL); prop 92 drivers/of/dynamic.c pr->dn, pr->prop->name); prop 112 drivers/of/dynamic.c struct property *prop, *old_prop = NULL; prop 119 drivers/of/dynamic.c prop = of_find_property(pr->dn, "status", NULL); prop 123 drivers/of/dynamic.c prop = pr->prop; prop 126 drivers/of/dynamic.c prop = pr->prop; prop 139 drivers/of/dynamic.c if (prop && !strcmp(prop->name, "status")) { prop 141 drivers/of/dynamic.c status_state = !strcmp(prop->value, "okay") || prop 142 drivers/of/dynamic.c !strcmp(prop->value, "ok"); prop 189 drivers/of/dynamic.c struct property *prop, struct property *oldprop) prop 198 drivers/of/dynamic.c pr.prop = prop; prop 310 drivers/of/dynamic.c struct property *prop, *next; prop 312 drivers/of/dynamic.c for (prop = prop_list; prop != NULL; prop = next) { prop 313 drivers/of/dynamic.c next = prop->next; prop 314 drivers/of/dynamic.c kfree(prop->name); prop 315 drivers/of/dynamic.c kfree(prop->value); prop 316 drivers/of/dynamic.c kfree(prop); prop 377 drivers/of/dynamic.c struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) prop 391 drivers/of/dynamic.c new->name = kstrdup(prop->name, allocflags); prop 392 drivers/of/dynamic.c new->value = kmemdup(prop->value, prop->length, allocflags); prop 393 drivers/of/dynamic.c new->length = prop->length; prop 485 drivers/of/dynamic.c ce->np, ce->prop->name); prop 520 drivers/of/dynamic.c rce->old_prop = ce->prop; prop 521 drivers/of/dynamic.c rce->prop = ce->old_prop; prop 523 drivers/of/dynamic.c if (!rce->prop) { prop 525 drivers/of/dynamic.c rce->prop = ce->prop; prop 553 drivers/of/dynamic.c ret = of_property_notify(ce->action, ce->np, ce->prop, ce->old_prop); prop 585 drivers/of/dynamic.c if (*propp == ce->prop) { prop 586 drivers/of/dynamic.c *propp = ce->prop->next; prop 587 drivers/of/dynamic.c ce->prop->next = NULL; prop 592 drivers/of/dynamic.c ret = __of_add_property(ce->np, ce->prop); prop 596 drivers/of/dynamic.c ce->prop->name); prop 601 drivers/of/dynamic.c ret = __of_remove_property(ce->np, ce->prop); prop 605 drivers/of/dynamic.c ce->prop->name); prop 613 drivers/of/dynamic.c if (*propp == ce->prop) { prop 614 drivers/of/dynamic.c *propp = ce->prop->next; prop 615 drivers/of/dynamic.c ce->prop->next = NULL; prop 620 drivers/of/dynamic.c ret = __of_update_property(ce->np, ce->prop, &old_prop); prop 624 drivers/of/dynamic.c ce->prop->name); prop 645 drivers/of/dynamic.c __of_add_property_sysfs(ce->np, ce->prop); prop 648 drivers/of/dynamic.c __of_remove_property_sysfs(ce->np, ce->prop); prop 651 drivers/of/dynamic.c __of_update_property_sysfs(ce->np, ce->prop, ce->old_prop); prop 909 drivers/of/dynamic.c struct device_node *np, struct property *prop) prop 920 drivers/of/dynamic.c ce->prop = prop; prop 922 drivers/of/dynamic.c if (action == OF_RECONFIG_UPDATE_PROPERTY && prop) prop 923 drivers/of/dynamic.c ce->old_prop = of_find_property(np, prop->name, NULL); prop 482 drivers/of/fdt.c const __be32 *prop; prop 486 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "reg", &len); prop 487 drivers/of/fdt.c if (!prop) prop 499 drivers/of/fdt.c base = dt_mem_next_cell(dt_root_addr_cells, &prop); prop 500 drivers/of/fdt.c size = dt_mem_next_cell(dt_root_size_cells, &prop); prop 526 drivers/of/fdt.c const __be32 *prop; prop 528 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "#size-cells", NULL); prop 529 drivers/of/fdt.c if (!prop || be32_to_cpup(prop) != dt_root_size_cells) prop 532 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "#address-cells", NULL); prop 533 drivers/of/fdt.c if (!prop || be32_to_cpup(prop) != dt_root_addr_cells) prop 536 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "ranges", NULL); prop 537 drivers/of/fdt.c if (!prop) prop 833 drivers/of/fdt.c const char *prop; prop 838 drivers/of/fdt.c prop = of_get_flat_dt_prop(dt_root, "compatible", &size); prop 839 drivers/of/fdt.c if (prop) { prop 841 drivers/of/fdt.c printk("'%s' ", prop); prop 842 drivers/of/fdt.c size -= strlen(prop) + 1; prop 843 drivers/of/fdt.c prop += strlen(prop) + 1; prop 879 drivers/of/fdt.c const __be32 *prop; prop 883 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "linux,initrd-start", &len); prop 884 drivers/of/fdt.c if (!prop) prop 886 drivers/of/fdt.c start = of_read_number(prop, len/4); prop 888 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "linux,initrd-end", &len); prop 889 drivers/of/fdt.c if (!prop) prop 891 drivers/of/fdt.c end = of_read_number(prop, len/4); prop 963 drivers/of/fdt.c const __be32 *prop; prop 971 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "#size-cells", NULL); prop 972 drivers/of/fdt.c if (prop) prop 973 drivers/of/fdt.c dt_root_size_cells = be32_to_cpup(prop); prop 976 drivers/of/fdt.c prop = of_get_flat_dt_prop(node, "#address-cells", NULL); prop 977 drivers/of/fdt.c if (prop) prop 978 drivers/of/fdt.c dt_root_addr_cells = be32_to_cpup(prop); prop 51 drivers/of/fdt_address.c const __be32 *prop; prop 54 drivers/of/fdt_address.c prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); prop 55 drivers/of/fdt_address.c if (prop) prop 56 drivers/of/fdt_address.c *addrc = be32_to_cpup(prop); prop 62 drivers/of/fdt_address.c prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); prop 63 drivers/of/fdt_address.c if (prop) prop 64 drivers/of/fdt_address.c *sizec = be32_to_cpup(prop); prop 87 drivers/of/kobj.c void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop) prop 92 drivers/of/kobj.c sysfs_remove_bin_file(&np->kobj, &prop->attr); prop 93 drivers/of/kobj.c kfree(prop->attr.attr.name); prop 96 drivers/of/kobj.c void __of_remove_property_sysfs(struct device_node *np, struct property *prop) prop 100 drivers/of/kobj.c __of_sysfs_remove_bin_file(np, prop); prop 32 drivers/of/of_mdio.c struct property *prop; prop 36 drivers/of/of_mdio.c of_property_for_each_string(device, "compatible", prop, cp) { prop 44 drivers/of/of_private.h struct property *prop, struct property *old_prop); prop 54 drivers/of/of_private.h struct property *prop, struct property *old_prop) prop 63 drivers/of/of_private.h void __of_remove_property_sysfs(struct device_node *np, struct property *prop); prop 73 drivers/of/of_private.h static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} prop 120 drivers/of/of_private.h struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags); prop 131 drivers/of/of_private.h extern int __of_add_property(struct device_node *np, struct property *prop); prop 133 drivers/of/of_private.h struct property *prop); prop 134 drivers/of/of_private.h extern int __of_remove_property(struct device_node *np, struct property *prop); prop 136 drivers/of/of_private.h struct property *prop); prop 147 drivers/of/of_private.h struct property *prop); prop 81 drivers/of/of_reserved_mem.c const __be32 *prop; prop 85 drivers/of/of_reserved_mem.c prop = of_get_flat_dt_prop(node, "size", &len); prop 86 drivers/of/of_reserved_mem.c if (!prop) prop 93 drivers/of/of_reserved_mem.c size = dt_mem_next_cell(dt_root_size_cells, &prop); prop 97 drivers/of/of_reserved_mem.c prop = of_get_flat_dt_prop(node, "alignment", &len); prop 98 drivers/of/of_reserved_mem.c if (prop) { prop 104 drivers/of/of_reserved_mem.c align = dt_mem_next_cell(dt_root_addr_cells, &prop); prop 118 drivers/of/of_reserved_mem.c prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); prop 119 drivers/of/of_reserved_mem.c if (prop) { prop 130 drivers/of/of_reserved_mem.c start = dt_mem_next_cell(dt_root_addr_cells, &prop); prop 132 drivers/of/of_reserved_mem.c &prop); prop 248 drivers/of/of_reserved_mem.c const __be32 *prop; prop 253 drivers/of/of_reserved_mem.c prop = of_get_flat_dt_prop(node, "phandle", &len); prop 254 drivers/of/of_reserved_mem.c if (!prop) prop 255 drivers/of/of_reserved_mem.c prop = of_get_flat_dt_prop(node, "linux,phandle", &len); prop 256 drivers/of/of_reserved_mem.c if (prop) prop 257 drivers/of/of_reserved_mem.c rmem->phandle = of_read_number(prop, len/4); prop 200 drivers/of/overlay.c struct overlay_changeset *ovcs, const struct property *prop) prop 215 drivers/of/overlay.c if (!prop->value) prop 217 drivers/of/overlay.c if (strnlen(prop->value, prop->length) >= prop->length) prop 219 drivers/of/overlay.c path = prop->value; prop 253 drivers/of/overlay.c new_prop->name = kstrdup(prop->name, GFP_KERNEL); prop 308 drivers/of/overlay.c struct property *new_prop = NULL, *prop; prop 318 drivers/of/overlay.c prop = of_find_property(target->np, overlay_prop->name, NULL); prop 320 drivers/of/overlay.c prop = NULL; prop 322 drivers/of/overlay.c if (prop) { prop 323 drivers/of/overlay.c if (!of_prop_cmp(prop->name, "#address-cells")) { prop 324 drivers/of/overlay.c if (!of_prop_val_eq(prop, overlay_prop)) { prop 331 drivers/of/overlay.c } else if (!of_prop_cmp(prop->name, "#size-cells")) { prop 332 drivers/of/overlay.c if (!of_prop_val_eq(prop, overlay_prop)) { prop 342 drivers/of/overlay.c if (prop) prop 352 drivers/of/overlay.c if (!prop) { prop 485 drivers/of/overlay.c struct property *prop; prop 488 drivers/of/overlay.c for_each_property_of_node(overlay_node, prop) { prop 489 drivers/of/overlay.c ret = add_changeset_property(ovcs, target, prop, 0); prop 492 drivers/of/overlay.c target->np, prop->name, ret); prop 517 drivers/of/overlay.c struct property *prop; prop 520 drivers/of/overlay.c for_each_property_of_node(overlay_symbols_node, prop) { prop 521 drivers/of/overlay.c ret = add_changeset_property(ovcs, target, prop, 1); prop 524 drivers/of/overlay.c target->np, prop->name, ret); prop 591 drivers/of/overlay.c !of_prop_cmp(ce_1->prop->name, ce_2->prop->name)) { prop 593 drivers/of/overlay.c ce_1->np, ce_1->prop->name); prop 225 drivers/of/platform.c const void *prop; prop 253 drivers/of/platform.c prop = of_get_property(node, "arm,primecell-periphid", NULL); prop 254 drivers/of/platform.c if (prop) prop 255 drivers/of/platform.c dev->periphid = of_read_ulong(prop, 1); prop 46 drivers/of/property.c struct property *prop = of_find_property(np, propname, NULL); prop 48 drivers/of/property.c if (!prop) prop 50 drivers/of/property.c if (!prop->value) prop 53 drivers/of/property.c if (prop->length % elem_size != 0) { prop 59 drivers/of/property.c return prop->length / elem_size; prop 81 drivers/of/property.c struct property *prop = of_find_property(np, propname, NULL); prop 83 drivers/of/property.c if (!prop) prop 85 drivers/of/property.c if (!prop->value) prop 87 drivers/of/property.c if (prop->length < min) prop 89 drivers/of/property.c if (max && prop->length > max) prop 93 drivers/of/property.c *len = prop->length; prop 95 drivers/of/property.c return prop->value; prop 396 drivers/of/property.c const struct property *prop = of_find_property(np, propname, NULL); prop 397 drivers/of/property.c if (!prop) prop 399 drivers/of/property.c if (!prop->value) prop 401 drivers/of/property.c if (strnlen(prop->value, prop->length) >= prop->length) prop 403 drivers/of/property.c *out_string = prop->value; prop 420 drivers/of/property.c const struct property *prop = of_find_property(np, propname, NULL); prop 425 drivers/of/property.c if (!prop) prop 427 drivers/of/property.c if (!prop->value) prop 430 drivers/of/property.c p = prop->value; prop 431 drivers/of/property.c end = p + prop->length; prop 460 drivers/of/property.c const struct property *prop = of_find_property(np, propname, NULL); prop 464 drivers/of/property.c if (!prop) prop 466 drivers/of/property.c if (!prop->value) prop 468 drivers/of/property.c p = prop->value; prop 469 drivers/of/property.c end = p + prop->length; prop 483 drivers/of/property.c const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, prop 488 drivers/of/property.c if (!prop) prop 492 drivers/of/property.c curv = prop->value; prop 497 drivers/of/property.c if (curv >= prop->value + prop->length) prop 506 drivers/of/property.c const char *of_prop_next_string(struct property *prop, const char *cur) prop 510 drivers/of/property.c if (!prop) prop 514 drivers/of/property.c return prop->value; prop 517 drivers/of/property.c if (curv >= prop->value + prop->length) prop 905 drivers/of/property.c const char *prop, const char *nargs_prop, prop 914 drivers/of/property.c ret = of_parse_phandle_with_args(to_of_node(fwnode), prop, prop 917 drivers/of/property.c ret = of_parse_phandle_with_fixed_args(to_of_node(fwnode), prop, prop 44 drivers/of/resolver.c struct property *prop; prop 52 drivers/of/resolver.c for_each_property_of_node(overlay, prop) { prop 54 drivers/of/resolver.c if (of_prop_cmp(prop->name, "phandle") && prop 55 drivers/of/resolver.c of_prop_cmp(prop->name, "linux,phandle")) prop 58 drivers/of/resolver.c if (prop->length < 4) prop 61 drivers/of/resolver.c phandle = be32_to_cpup(prop->value); prop 65 drivers/of/resolver.c *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); prop 76 drivers/of/resolver.c struct property *prop; prop 114 drivers/of/resolver.c for_each_property_of_node(refnode, prop) { prop 115 drivers/of/resolver.c if (!of_prop_cmp(prop->name, prop_name)) prop 120 drivers/of/resolver.c if (!prop) { prop 125 drivers/of/resolver.c if (offset < 0 || offset + sizeof(__be32) > prop->length) { prop 130 drivers/of/resolver.c *(__be32 *)(prop->value + offset) = cpu_to_be32(phandle); prop 163 drivers/of/resolver.c struct property *prop_fix, *prop; prop 182 drivers/of/resolver.c for_each_property_of_node(overlay, prop) { prop 183 drivers/of/resolver.c if (!of_prop_cmp(prop->name, prop_fix->name)) prop 187 drivers/of/resolver.c if (!prop) prop 192 drivers/of/resolver.c if ((off + 4) > prop->length) prop 195 drivers/of/resolver.c be32_add_cpu(prop->value + off, phandle_delta); prop 267 drivers/of/resolver.c struct property *prop; prop 316 drivers/of/resolver.c for_each_property_of_node(overlay_fixups, prop) { prop 319 drivers/of/resolver.c if (!of_prop_cmp(prop->name, "name")) prop 323 drivers/of/resolver.c prop->name, &refpath); prop 336 drivers/of/resolver.c err = update_usages_of_a_phandle_reference(overlay, prop, phandle); prop 150 drivers/of/unittest.c struct property *prop; prop 159 drivers/of/unittest.c prop = kcalloc(4, sizeof(*prop), GFP_KERNEL); prop 160 drivers/of/unittest.c if (!prop) { prop 166 drivers/of/unittest.c prop->name = "new-property"; prop 167 drivers/of/unittest.c prop->value = "new-property-data"; prop 168 drivers/of/unittest.c prop->length = strlen(prop->value) + 1; prop 169 drivers/of/unittest.c unittest(of_add_property(np, prop) == 0, "Adding a new property failed\n"); prop 172 drivers/of/unittest.c prop++; prop 173 drivers/of/unittest.c prop->name = "new-property"; prop 174 drivers/of/unittest.c prop->value = "new-property-data-should-fail"; prop 175 drivers/of/unittest.c prop->length = strlen(prop->value) + 1; prop 176 drivers/of/unittest.c unittest(of_add_property(np, prop) != 0, prop 180 drivers/of/unittest.c prop->value = "modify-property-data-should-pass"; prop 181 drivers/of/unittest.c prop->length = strlen(prop->value) + 1; prop 182 drivers/of/unittest.c unittest(of_update_property(np, prop) == 0, prop 186 drivers/of/unittest.c prop++; prop 187 drivers/of/unittest.c prop->name = "modify-property"; prop 188 drivers/of/unittest.c prop->value = "modify-missing-property-data-should-pass"; prop 189 drivers/of/unittest.c prop->length = strlen(prop->value) + 1; prop 190 drivers/of/unittest.c unittest(of_update_property(np, prop) == 0, prop 194 drivers/of/unittest.c unittest(of_remove_property(np, prop) == 0, prop 198 drivers/of/unittest.c prop++; prop 199 drivers/of/unittest.c prop->name = "large-property-PAGE_SIZEx8"; prop 200 drivers/of/unittest.c prop->length = PAGE_SIZE * 8; prop 201 drivers/of/unittest.c prop->value = kzalloc(prop->length, GFP_KERNEL); prop 202 drivers/of/unittest.c unittest(prop->value != NULL, "Unable to allocate large buffer\n"); prop 203 drivers/of/unittest.c if (prop->value) prop 204 drivers/of/unittest.c unittest(of_add_property(np, prop) == 0, prop 1100 drivers/of/unittest.c struct property *prop; prop 1125 drivers/of/unittest.c for (prop = np->properties; prop != NULL; prop = save_next) { prop 1126 drivers/of/unittest.c save_next = prop->next; prop 1127 drivers/of/unittest.c ret = of_add_property(dup, prop); prop 1129 drivers/of/unittest.c if (ret == -EEXIST && !strcmp(prop->name, "name")) prop 1132 drivers/of/unittest.c np, prop->name); prop 2389 drivers/of/unittest.c struct property *prop; prop 2475 drivers/of/unittest.c for_each_property_of_node(overlay_base_symbols, prop) { prop 2477 drivers/of/unittest.c new_prop = __of_prop_dup(prop, GFP_KERNEL); prop 2480 drivers/of/unittest.c prop->name); prop 2488 drivers/of/unittest.c if (!strcmp(prop->name, "name")) prop 2491 drivers/of/unittest.c prop->name); prop 2496 drivers/of/unittest.c prop->name); prop 377 drivers/opp/of.c struct property *prop = NULL; prop 384 drivers/opp/of.c prop = of_find_property(opp->np, name, NULL); prop 387 drivers/opp/of.c if (!prop) { prop 390 drivers/opp/of.c prop = of_find_property(opp->np, name, NULL); prop 393 drivers/opp/of.c if (!prop) { prop 443 drivers/opp/of.c prop = NULL; prop 447 drivers/opp/of.c prop = of_find_property(opp->np, name, NULL); prop 450 drivers/opp/of.c if (!prop) { prop 453 drivers/opp/of.c prop = of_find_property(opp->np, name, NULL); prop 456 drivers/opp/of.c if (prop) { prop 720 drivers/opp/of.c const struct property *prop; prop 724 drivers/opp/of.c prop = of_find_property(dev->of_node, "operating-points", NULL); prop 725 drivers/opp/of.c if (!prop) prop 727 drivers/opp/of.c if (!prop->value) prop 734 drivers/opp/of.c nr = prop->length / sizeof(u32); prop 740 drivers/opp/of.c val = prop->value; prop 77 drivers/opp/ti-opp-supply.c struct property *prop; prop 101 drivers/opp/ti-opp-supply.c prop = of_find_property(dev->of_node, "ti,efuse-settings", NULL); prop 102 drivers/opp/ti-opp-supply.c if (!prop) { prop 108 drivers/opp/ti-opp-supply.c proplen = prop->length / sizeof(int); prop 111 drivers/opp/ti-opp-supply.c if (data->num_vdd_table * 2 * sizeof(int) != prop->length) { prop 133 drivers/opp/ti-opp-supply.c val = prop->value; prop 2854 drivers/pci/pci.c static unsigned long pci_ea_flags(struct pci_dev *dev, u8 prop) prop 2858 drivers/pci/pci.c switch (prop) { prop 2878 drivers/pci/pci.c u8 prop) prop 2880 drivers/pci/pci.c if (bei <= PCI_EA_BEI_BAR5 && prop <= PCI_EA_P_IO) prop 2884 drivers/pci/pci.c (prop == PCI_EA_P_VF_MEM || prop == PCI_EA_P_VF_MEM_PREFETCH)) prop 2902 drivers/pci/pci.c u8 prop; prop 2915 drivers/pci/pci.c prop = (dw0 & PCI_EA_PP) >> 8; prop 2921 drivers/pci/pci.c if (prop > PCI_EA_P_BRIDGE_IO && prop < PCI_EA_P_MEM_RESERVED) prop 2922 drivers/pci/pci.c prop = (dw0 & PCI_EA_SP) >> 16; prop 2923 drivers/pci/pci.c if (prop > PCI_EA_P_BRIDGE_IO) prop 2926 drivers/pci/pci.c res = pci_ea_get_resource(dev, bei, prop); prop 2932 drivers/pci/pci.c flags = pci_ea_flags(dev, prop); prop 2934 drivers/pci/pci.c pci_err(dev, "Unsupported EA properties: %#x\n", prop); prop 3001 drivers/pci/pci.c bei, res, prop); prop 3004 drivers/pci/pci.c res, prop); prop 3007 drivers/pci/pci.c bei - PCI_EA_BEI_VF_BAR0, res, prop); prop 3010 drivers/pci/pci.c bei, res, prop); prop 182 drivers/pcmcia/electra_cf.c const unsigned int *prop; prop 244 drivers/pcmcia/electra_cf.c prop = of_get_property(np, "card-detect-gpio", NULL); prop 245 drivers/pcmcia/electra_cf.c if (!prop) prop 247 drivers/pcmcia/electra_cf.c cf->gpio_detect = *prop; prop 249 drivers/pcmcia/electra_cf.c prop = of_get_property(np, "card-vsense-gpio", NULL); prop 250 drivers/pcmcia/electra_cf.c if (!prop) prop 252 drivers/pcmcia/electra_cf.c cf->gpio_vsense = *prop; prop 254 drivers/pcmcia/electra_cf.c prop = of_get_property(np, "card-3v-gpio", NULL); prop 255 drivers/pcmcia/electra_cf.c if (!prop) prop 257 drivers/pcmcia/electra_cf.c cf->gpio_3v = *prop; prop 259 drivers/pcmcia/electra_cf.c prop = of_get_property(np, "card-5v-gpio", NULL); prop 260 drivers/pcmcia/electra_cf.c if (!prop) prop 262 drivers/pcmcia/electra_cf.c cf->gpio_5v = *prop; prop 56 drivers/pinctrl/berlin/berlin.c struct property *prop; prop 85 drivers/pinctrl/berlin/berlin.c of_property_for_each_string(node, "groups", prop, group_name) { prop 187 drivers/pinctrl/devicetree.c struct property *prop; prop 194 drivers/pinctrl/devicetree.c prop = of_find_property(np, "pinctrl-0", &size); prop 196 drivers/pinctrl/devicetree.c return prop ? true : false; prop 204 drivers/pinctrl/devicetree.c struct property *prop; prop 226 drivers/pinctrl/devicetree.c prop = of_find_property(np, propname, &size); prop 228 drivers/pinctrl/devicetree.c if (!prop) { prop 235 drivers/pinctrl/devicetree.c list = prop->value; prop 247 drivers/pinctrl/devicetree.c statename = prop->name + strlen("pinctrl-"); prop 258 drivers/pinctrl/devicetree.c prop->name, config); prop 353 drivers/pinctrl/freescale/pinctrl-mxs.c struct property *prop; prop 368 drivers/pinctrl/freescale/pinctrl-mxs.c prop = of_find_property(np, propname, &length); prop 369 drivers/pinctrl/freescale/pinctrl-mxs.c if (!prop) prop 1023 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct property *prop; prop 1032 drivers/pinctrl/mediatek/pinctrl-mtk-common.c prop = of_find_property(np, "pins-are-numbered", NULL); prop 1033 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (!prop) { prop 401 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct property *prop; prop 428 drivers/pinctrl/mvebu/pinctrl-mvebu.c of_property_for_each_string(np, "marvell,pins", prop, group) { prop 749 drivers/pinctrl/nomadik/pinctrl-abx500.c struct property *prop; prop 764 drivers/pinctrl/nomadik/pinctrl-abx500.c of_property_for_each_string(np, "groups", prop, group) { prop 787 drivers/pinctrl/nomadik/pinctrl-abx500.c of_property_for_each_string(np, "pins", prop, pin) { prop 1437 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct property *prop; prop 1454 drivers/pinctrl/nomadik/pinctrl-nomadik.c of_property_for_each_string(np, "groups", prop, group) { prop 1479 drivers/pinctrl/nomadik/pinctrl-nomadik.c of_property_for_each_string(np, "pins", prop, pin) { prop 301 drivers/pinctrl/pinconf-generic.c struct property *prop; prop 349 drivers/pinctrl/pinconf-generic.c of_property_for_each_string(np, subnode_target_type, prop, group) { prop 341 drivers/pinctrl/pinctrl-as3722.c u16 prop; prop 345 drivers/pinctrl/pinctrl-as3722.c prop = AS3722_GPIO_MODE_PULL_UP | prop 347 drivers/pinctrl/pinctrl-as3722.c if (!(as_pci->gpio_control[pin].mode_prop & prop)) prop 349 drivers/pinctrl/pinctrl-as3722.c prop = 0; prop 353 drivers/pinctrl/pinctrl-as3722.c prop = AS3722_GPIO_MODE_PULL_UP; prop 357 drivers/pinctrl/pinctrl-as3722.c prop = AS3722_GPIO_MODE_PULL_DOWN; prop 361 drivers/pinctrl/pinctrl-as3722.c prop = AS3722_GPIO_MODE_OPEN_DRAIN; prop 365 drivers/pinctrl/pinctrl-as3722.c prop = AS3722_GPIO_MODE_HIGH_IMPED; prop 373 drivers/pinctrl/pinctrl-as3722.c if (as_pci->gpio_control[pin].mode_prop & prop) prop 74 drivers/pinctrl/pinctrl-lantiq.c struct property *prop; prop 93 drivers/pinctrl/pinctrl-lantiq.c of_property_for_each_string(np, "lantiq,groups", prop, group) { prop 115 drivers/pinctrl/pinctrl-lantiq.c of_property_for_each_string(np, "lantiq,pins", prop, pin) { prop 125 drivers/pinctrl/pinctrl-lantiq.c of_property_for_each_string(np, "lantiq,groups", prop, group) { prop 186 drivers/pinctrl/samsung/pinctrl-samsung.c struct property *prop; prop 224 drivers/pinctrl/samsung/pinctrl-samsung.c of_property_for_each_string(np, "samsung,pins", prop, group) { prop 115 drivers/pinctrl/sh-pfc/pinctrl.c struct property *prop; prop 201 drivers/pinctrl/sh-pfc/pinctrl.c of_property_for_each_string(np, pmx->groups_prop_name, prop, group) { prop 225 drivers/pinctrl/sh-pfc/pinctrl.c of_property_for_each_string(np, pmx->pins_prop_name, prop, pin) { prop 84 drivers/pinctrl/sirf/pinctrl-sirf.c struct property *prop; prop 116 drivers/pinctrl/sirf/pinctrl-sirf.c of_property_for_each_string(np, "sirf,pins", prop, group) { prop 153 drivers/pinctrl/spear/pinctrl-spear.c struct property *prop; prop 185 drivers/pinctrl/spear/pinctrl-spear.c of_property_for_each_string(np, "st,pins", prop, group) { prop 847 drivers/pinctrl/sprd/pinctrl-sprd.c struct property *prop; prop 863 drivers/pinctrl/sprd/pinctrl-sprd.c of_property_for_each_string(np, "pins", prop, pin_name) { prop 326 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct property *prop; prop 366 drivers/pinctrl/sunxi/pinctrl-sunxi.c of_property_for_each_string(node, pin_prop, prop, group) { prop 159 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c struct property *prop; prop 205 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c of_property_for_each_string(np, "nvidia,lanes", prop, group) { prop 113 drivers/pinctrl/tegra/pinctrl-tegra.c struct property *prop; prop 157 drivers/pinctrl/tegra/pinctrl-tegra.c of_property_for_each_string(np, "nvidia,pins", prop, group) { prop 404 drivers/pinctrl/tegra/pinctrl-tegra.c const char *prop = "unknown"; prop 409 drivers/pinctrl/tegra/pinctrl-tegra.c prop = cfg_params[i].property; prop 416 drivers/pinctrl/tegra/pinctrl-tegra.c param, prop, g->name); prop 65 drivers/power/reset/reboot-mode.c struct property *prop; prop 72 drivers/power/reset/reboot-mode.c for_each_property_of_node(np, prop) { prop 73 drivers/power/reset/reboot-mode.c if (strncmp(prop->name, PREFIX, len)) prop 82 drivers/power/reset/reboot-mode.c if (of_property_read_u32(np, prop->name, &info->magic)) { prop 89 drivers/power/reset/reboot-mode.c info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); prop 97 drivers/power/reset/reboot-mode.c prop->name); prop 867 drivers/power/supply/ab8500_btemp.c enum power_supply_property prop; prop 868 drivers/power/supply/ab8500_btemp.c prop = ext->desc->properties[j]; prop 870 drivers/power/supply/ab8500_btemp.c if (power_supply_get_property(ext, prop, &ret)) prop 873 drivers/power/supply/ab8500_btemp.c switch (prop) { prop 1886 drivers/power/supply/ab8500_charger.c enum power_supply_property prop; prop 1887 drivers/power/supply/ab8500_charger.c prop = ext->desc->properties[j]; prop 1889 drivers/power/supply/ab8500_charger.c if (power_supply_get_property(ext, prop, &ret)) prop 1892 drivers/power/supply/ab8500_charger.c switch (prop) { prop 2183 drivers/power/supply/ab8500_fg.c enum power_supply_property prop; prop 2184 drivers/power/supply/ab8500_fg.c prop = ext->desc->properties[j]; prop 2186 drivers/power/supply/ab8500_fg.c if (power_supply_get_property(ext, prop, &ret)) prop 2189 drivers/power/supply/ab8500_fg.c switch (prop) { prop 965 drivers/power/supply/abx500_chargalg.c enum power_supply_property prop; prop 966 drivers/power/supply/abx500_chargalg.c prop = ext->desc->properties[j]; prop 978 drivers/power/supply/abx500_chargalg.c if (power_supply_get_property(ext, prop, &ret)) prop 980 drivers/power/supply/abx500_chargalg.c switch (prop) { prop 343 drivers/power/supply/act8945a_charger.c enum power_supply_property prop, prop 350 drivers/power/supply/act8945a_charger.c switch (prop) { prop 18 drivers/power/supply/apm_power.c #define PSY_PROP(psy, prop, val) (power_supply_get_property(psy, \ prop 19 drivers/power/supply/apm_power.c POWER_SUPPLY_PROP_##prop, val)) prop 21 drivers/power/supply/apm_power.c #define _MPSY_PROP(prop, val) (power_supply_get_property(main_battery, \ prop 22 drivers/power/supply/apm_power.c prop, val)) prop 24 drivers/power/supply/apm_power.c #define MPSY_PROP(prop, val) _MPSY_PROP(POWER_SUPPLY_PROP_##prop, val) prop 435 drivers/power/supply/axp288_fuel_gauge.c enum power_supply_property prop, prop 442 drivers/power/supply/axp288_fuel_gauge.c switch (prop) { prop 528 drivers/power/supply/axp288_fuel_gauge.c enum power_supply_property prop, prop 535 drivers/power/supply/axp288_fuel_gauge.c switch (prop) { prop 689 drivers/power/supply/bq2415x_charger.c #define bq2415x_set_default_value(bq, prop) \ prop 692 drivers/power/supply/bq2415x_charger.c if (bq->init_data.prop != -1) \ prop 693 drivers/power/supply/bq2415x_charger.c ret = bq2415x_set_##prop(bq, bq->init_data.prop); \ prop 812 drivers/power/supply/bq2415x_charger.c union power_supply_propval prop; prop 831 drivers/power/supply/bq2415x_charger.c &prop); prop 835 drivers/power/supply/bq2415x_charger.c if (!bq2415x_update_reported_mode(bq, prop.intval)) prop 1534 drivers/power/supply/bq2415x_charger.c union power_supply_propval prop; prop 1668 drivers/power/supply/bq2415x_charger.c POWER_SUPPLY_PROP_CURRENT_MAX, &prop); prop 1672 drivers/power/supply/bq2415x_charger.c bq2415x_update_reported_mode(bq, prop.intval); prop 397 drivers/power/supply/bq24257_charger.c enum power_supply_property prop, prop 402 drivers/power/supply/bq24257_charger.c switch (prop) { prop 243 drivers/power/supply/ds2782_battery.c enum power_supply_property prop, prop 249 drivers/power/supply/ds2782_battery.c switch (prop) { prop 358 drivers/power/supply/ltc2941-battery-gauge.c enum power_supply_property prop, prop 363 drivers/power/supply/ltc2941-battery-gauge.c switch (prop) { prop 879 drivers/power/supply/max17042_battery.c u32 prop; prop 890 drivers/power/supply/max17042_battery.c if (of_property_read_u32(np, "maxim,rsns-microohm", &prop) == 0) { prop 891 drivers/power/supply/max17042_battery.c pdata->r_sns = prop; prop 286 drivers/power/supply/max77650-charger.c unsigned int prop; prop 332 drivers/power/supply/max77650-charger.c "input-voltage-min-microvolt", &prop); prop 334 drivers/power/supply/max77650-charger.c rv = max77650_charger_set_vchgin_min(chg, prop); prop 340 drivers/power/supply/max77650-charger.c "input-current-limit-microamp", &prop); prop 342 drivers/power/supply/max77650-charger.c rv = max77650_charger_set_ichgin_lim(chg, prop); prop 125 drivers/power/supply/power_supply_hwmon.c int prop; prop 131 drivers/power/supply/power_supply_hwmon.c prop = power_supply_hwmon_to_property(type, attr, channel); prop 132 drivers/power/supply/power_supply_hwmon.c if (prop < 0 || !test_bit(prop, psyhw->props)) prop 135 drivers/power/supply/power_supply_hwmon.c if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 && prop 158 drivers/power/supply/power_supply_hwmon.c int ret, prop; prop 160 drivers/power/supply/power_supply_hwmon.c prop = power_supply_hwmon_to_property(type, attr, channel); prop 161 drivers/power/supply/power_supply_hwmon.c if (prop < 0) prop 162 drivers/power/supply/power_supply_hwmon.c return prop; prop 164 drivers/power/supply/power_supply_hwmon.c ret = power_supply_get_property(psy, prop, &pspval); prop 202 drivers/power/supply/power_supply_hwmon.c int prop; prop 204 drivers/power/supply/power_supply_hwmon.c prop = power_supply_hwmon_to_property(type, attr, channel); prop 205 drivers/power/supply/power_supply_hwmon.c if (prop < 0) prop 206 drivers/power/supply/power_supply_hwmon.c return prop; prop 232 drivers/power/supply/power_supply_hwmon.c return power_supply_set_property(psy, prop, &pspval); prop 313 drivers/power/supply/power_supply_hwmon.c const enum power_supply_property prop = desc->properties[i]; prop 315 drivers/power/supply/power_supply_hwmon.c switch (prop) { prop 331 drivers/power/supply/power_supply_hwmon.c set_bit(prop, psyhw->props); prop 259 drivers/power/supply/qcom_smbb.c const struct smbb_charger_attr *prop; prop 264 drivers/power/supply/qcom_smbb.c prop = &smbb_charger_attrs[which]; prop 266 drivers/power/supply/qcom_smbb.c if (val > prop->max || val < prop->min) { prop 268 drivers/power/supply/qcom_smbb.c prop->name, prop->min, prop->max); prop 272 drivers/power/supply/qcom_smbb.c if (prop->safe_reg) { prop 274 drivers/power/supply/qcom_smbb.c chg->addr + prop->safe_reg, &wval); prop 278 drivers/power/supply/qcom_smbb.c prop->name); prop 282 drivers/power/supply/qcom_smbb.c wval = prop->hw_fn(wval); prop 287 drivers/power/supply/qcom_smbb.c prop->name, wval); prop 292 drivers/power/supply/qcom_smbb.c wval = smbb_hw_lookup(val, prop->hw_fn); prop 294 drivers/power/supply/qcom_smbb.c rc = regmap_write(chg->regmap, chg->addr + prop->reg, wval); prop 296 drivers/power/supply/qcom_smbb.c dev_err(chg->dev, "unable to update %s", prop->name); prop 299 drivers/power/supply/qcom_smbb.c out = prop->hw_fn(wval); prop 303 drivers/power/supply/qcom_smbb.c prop->name, out); prop 306 drivers/power/supply/qcom_smbb.c dev_dbg(chg->dev, "%s <= %d\n", prop->name, out); prop 316 drivers/power/supply/qcom_smbb.c const struct smbb_charger_attr *prop; prop 320 drivers/power/supply/qcom_smbb.c prop = &smbb_charger_attrs[which]; prop 322 drivers/power/supply/qcom_smbb.c rc = regmap_read(chg->regmap, chg->addr + prop->reg, &val); prop 324 drivers/power/supply/qcom_smbb.c dev_err(chg->dev, "failed to read %s\n", prop->name); prop 327 drivers/power/supply/qcom_smbb.c val = prop->hw_fn(val); prop 328 drivers/power/supply/qcom_smbb.c dev_dbg(chg->dev, "%s => %d\n", prop->name, val); prop 338 drivers/power/supply/qcom_smbb.c const struct smbb_charger_attr *prop; prop 342 drivers/power/supply/qcom_smbb.c prop = &smbb_charger_attrs[which]; prop 344 drivers/power/supply/qcom_smbb.c rc = of_property_read_u32(chg->dev->of_node, prop->name, &val); prop 347 drivers/power/supply/qcom_smbb.c if (!rc || !prop->fail_ok) prop 932 drivers/power/supply/smb347-charger.c enum power_supply_property prop, prop 938 drivers/power/supply/smb347-charger.c switch (prop) { prop 973 drivers/power/supply/smb347-charger.c enum power_supply_property prop, prop 979 drivers/power/supply/smb347-charger.c switch (prop) { prop 1059 drivers/power/supply/smb347-charger.c enum power_supply_property prop, prop 1070 drivers/power/supply/smb347-charger.c switch (prop) { prop 192 drivers/power/supply/tps65090-charger.c unsigned int prop; prop 200 drivers/power/supply/tps65090-charger.c prop = of_property_read_bool(np, "ti,enable-low-current-chrg"); prop 201 drivers/power/supply/tps65090-charger.c pdata->enable_low_current_chrg = prop; prop 25 drivers/power/supply/wm97xx_battery.c static enum power_supply_property *prop; prop 200 drivers/power/supply/wm97xx_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); prop 201 drivers/power/supply/wm97xx_battery.c if (!prop) { prop 206 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_PRESENT; prop 208 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_STATUS; prop 210 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_TECHNOLOGY; prop 212 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_TEMP; prop 214 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_NOW; prop 216 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_MAX; prop 218 drivers/power/supply/wm97xx_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_MIN; prop 230 drivers/power/supply/wm97xx_battery.c bat_psy_desc.properties = prop; prop 243 drivers/power/supply/wm97xx_battery.c kfree(prop); prop 264 drivers/power/supply/wm97xx_battery.c kfree(prop); prop 131 drivers/power/supply/z2_battery.c enum power_supply_property *prop; prop 145 drivers/power/supply/z2_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); prop 146 drivers/power/supply/z2_battery.c if (!prop) prop 149 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_PRESENT; prop 151 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_STATUS; prop 153 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_TECHNOLOGY; prop 155 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_NOW; prop 157 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_MAX; prop 159 drivers/power/supply/z2_battery.c prop[i++] = POWER_SUPPLY_PROP_VOLTAGE_MIN; prop 170 drivers/power/supply/z2_battery.c charger->batt_ps_desc.properties = prop; prop 480 drivers/pwm/pwm-samsung.c struct property *prop; prop 490 drivers/pwm/pwm-samsung.c of_property_for_each_u32(np, "samsung,pwm-outputs", prop, cur, val) { prop 589 drivers/regulator/as3722-regulator.c u32 prop; prop 619 drivers/regulator/as3722-regulator.c ret = of_property_read_u32(reg_node, "ams,ext-control", &prop); prop 621 drivers/regulator/as3722-regulator.c if (prop < 3) prop 622 drivers/regulator/as3722-regulator.c reg_config->ext_control = prop; prop 626 drivers/regulator/as3722-regulator.c prop); prop 355 drivers/regulator/bd718x7-regulator.c const char *prop; prop 367 drivers/regulator/bd718x7-regulator.c ret = of_property_read_u32(np, dvs->prop, &uv); prop 395 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-run-voltage", prop 414 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-run-voltage", prop 434 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-run-voltage", prop 438 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-idle-voltage", prop 460 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-run-voltage", prop 464 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-idle-voltage", prop 468 drivers/regulator/bd718x7-regulator.c .prop = "rohm,dvs-suspend-voltage", prop 1472 drivers/regulator/palmas-regulator.c u32 prop; prop 1508 drivers/regulator/palmas-regulator.c ret = of_property_read_u32(np, "ti,roof-floor", &prop); prop 1516 drivers/regulator/palmas-regulator.c switch (prop) { prop 1530 drivers/regulator/palmas-regulator.c match->name, prop); prop 1537 drivers/regulator/palmas-regulator.c ret = of_property_read_u32(np, "ti,mode-sleep", &prop); prop 1539 drivers/regulator/palmas-regulator.c rinit->mode_sleep = prop; prop 367 drivers/regulator/tps6507x-regulator.c u32 prop; prop 370 drivers/regulator/tps6507x-regulator.c ret = of_property_read_u32(np, "ti,defdcdc_default", &prop); prop 372 drivers/regulator/tps6507x-regulator.c info->defdcdc_default = prop; prop 1005 drivers/regulator/tps65910-regulator.c unsigned int prop; prop 1053 drivers/regulator/tps65910-regulator.c "ti,regulator-ext-sleep-control", &prop); prop 1055 drivers/regulator/tps65910-regulator.c pmic_plat_data->regulator_ext_sleep_control[idx] = prop; prop 487 drivers/remoteproc/stm32_rproc.c static int stm32_rproc_get_syscon(struct device_node *np, const char *prop, prop 492 drivers/remoteproc/stm32_rproc.c syscon->map = syscon_regmap_lookup_by_phandle(np, prop); prop 499 drivers/remoteproc/stm32_rproc.c err = of_property_read_u32_index(np, prop, 1, &syscon->reg); prop 503 drivers/remoteproc/stm32_rproc.c err = of_property_read_u32_index(np, prop, 2, &syscon->mask); prop 1174 drivers/rpmsg/qcom_glink_native.c const struct property *prop = NULL; prop 1184 drivers/rpmsg/qcom_glink_native.c prop = of_find_property(np, "qcom,intents", NULL); prop 1185 drivers/rpmsg/qcom_glink_native.c if (prop) { prop 1186 drivers/rpmsg/qcom_glink_native.c val = prop->value; prop 1187 drivers/rpmsg/qcom_glink_native.c num_groups = prop->length / sizeof(u32) / 2; prop 149 drivers/sbus/char/openprom.c struct property *prop; prop 155 drivers/sbus/char/openprom.c prop = dp->properties; prop 156 drivers/sbus/char/openprom.c if (!prop) prop 158 drivers/sbus/char/openprom.c len = strlen(prop->name); prop 160 drivers/sbus/char/openprom.c prop = of_find_property(dp, op->oprom_array, NULL); prop 162 drivers/sbus/char/openprom.c if (!prop || prop 163 drivers/sbus/char/openprom.c !prop->next || prop 164 drivers/sbus/char/openprom.c (len = strlen(prop->next->name)) + 1 > bufsize) prop 167 drivers/sbus/char/openprom.c prop = prop->next; prop 170 drivers/sbus/char/openprom.c memcpy(op->oprom_array, prop->name, len); prop 421 drivers/sbus/char/openprom.c struct property *prop; prop 437 drivers/sbus/char/openprom.c prop = dp->properties; prop 439 drivers/sbus/char/openprom.c prop = of_find_property(dp, str, NULL); prop 440 drivers/sbus/char/openprom.c if (prop) prop 441 drivers/sbus/char/openprom.c prop = prop->next; prop 445 drivers/sbus/char/openprom.c if (!prop) prop 448 drivers/sbus/char/openprom.c len = prop->length; prop 457 drivers/sbus/char/openprom.c copy_to_user(op.op_buf, prop->value, len)) prop 241 drivers/sbus/char/oradax.c char *prop, *dax_name; prop 252 drivers/sbus/char/oradax.c prop = (char *)mdesc_get_property(hp, pn, "name", &len); prop 253 drivers/sbus/char/oradax.c if (prop == NULL) prop 255 drivers/sbus/char/oradax.c if (strncmp(prop, "dax", strlen("dax"))) prop 257 drivers/sbus/char/oradax.c dax_dbg("Found node 0x%llx = %s", pn, prop); prop 259 drivers/sbus/char/oradax.c prop = (char *)mdesc_get_property(hp, pn, "compatible", &len); prop 260 drivers/sbus/char/oradax.c if (prop == NULL) prop 262 drivers/sbus/char/oradax.c dax_dbg("Found node 0x%llx = %s", pn, prop); prop 273 drivers/sbus/char/oradax.c if (strncmp(prop, DAX2_STR, strlen(DAX2_STR)) == 0) { prop 279 drivers/sbus/char/oradax.c } else if (strncmp(prop, DAX1_STR, strlen(DAX1_STR)) == 0) { prop 286 drivers/sbus/char/oradax.c dax_err("Unknown dax type: %s", prop); prop 2597 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c const __be32 *prop; prop 2614 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-address-cells", prop 2616 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (!prop) { prop 2620 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c dma_window += be32_to_cpu(*prop); prop 2623 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-size-cells", prop 2625 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (!prop) { prop 2629 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c dma_window += be32_to_cpu(*prop); prop 129 drivers/scsi/isci/port.c struct sci_port_properties *prop) prop 134 drivers/scsi/isci/port.c prop->index = iport->logical_port_index; prop 135 drivers/scsi/isci/port.c prop->phy_mask = sci_port_get_phys(iport); prop 136 drivers/scsi/isci/port.c sci_port_get_sas_address(iport, &prop->local.sas_address); prop 137 drivers/scsi/isci/port.c sci_port_get_protocols(iport, &prop->local.protocols); prop 138 drivers/scsi/isci/port.c sci_port_get_attached_sas_address(iport, &prop->remote.sas_address); prop 235 drivers/scsi/isci/port.h struct sci_port_properties *prop); prop 537 drivers/scsi/megaraid/mbox_defs.h uint8_t prop[MAX_LOGICAL_DRIVES_8LD]; prop 42 drivers/soc/fsl/qbman/dpaa_sys.c struct property *prop; prop 66 drivers/soc/fsl/qbman/dpaa_sys.c prop = of_find_property(mem_node, "reg", &len); prop 67 drivers/soc/fsl/qbman/dpaa_sys.c if (!prop) { prop 68 drivers/soc/fsl/qbman/dpaa_sys.c prop = devm_kzalloc(dev, sizeof(*prop), GFP_KERNEL); prop 69 drivers/soc/fsl/qbman/dpaa_sys.c if (!prop) prop 71 drivers/soc/fsl/qbman/dpaa_sys.c prop->value = res_array = devm_kzalloc(dev, sizeof(__be32) * 4, prop 73 drivers/soc/fsl/qbman/dpaa_sys.c if (!prop->value) prop 79 drivers/soc/fsl/qbman/dpaa_sys.c prop->length = sizeof(__be32) * 4; prop 80 drivers/soc/fsl/qbman/dpaa_sys.c prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); prop 81 drivers/soc/fsl/qbman/dpaa_sys.c if (!prop->name) prop 83 drivers/soc/fsl/qbman/dpaa_sys.c err = of_add_property(mem_node, prop); prop 168 drivers/soc/fsl/qe/qe.c const u32 *prop; prop 178 drivers/soc/fsl/qe/qe.c prop = of_get_property(qe, "brg-frequency", &size); prop 179 drivers/soc/fsl/qe/qe.c if (prop && size == sizeof(*prop)) prop 180 drivers/soc/fsl/qe/qe.c brg_clk = *prop; prop 568 drivers/soc/fsl/qe/qe.c struct property *prop; prop 606 drivers/soc/fsl/qe/qe.c prop = of_find_property(fw, "extended-modes", NULL); prop 607 drivers/soc/fsl/qe/qe.c if (prop && (prop->length == sizeof(u64))) { prop 608 drivers/soc/fsl/qe/qe.c const u64 *iprop = prop->value; prop 613 drivers/soc/fsl/qe/qe.c prop = of_find_property(fw, "virtual-traps", NULL); prop 614 drivers/soc/fsl/qe/qe.c if (prop && (prop->length == 32)) { prop 615 drivers/soc/fsl/qe/qe.c const u32 *iprop = prop->value; prop 632 drivers/soc/fsl/qe/qe.c const u32 *prop; prop 638 drivers/soc/fsl/qe/qe.c prop = of_get_property(qe, "fsl,qe-num-riscs", &size); prop 639 drivers/soc/fsl/qe/qe.c if (prop && size == sizeof(*prop)) prop 640 drivers/soc/fsl/qe/qe.c num_of_risc = *prop; prop 20 drivers/soundwire/bus.c struct sdw_master_prop *prop = NULL; prop 101 drivers/soundwire/bus.c prop = &bus->prop; prop 102 drivers/soundwire/bus.c bus->params.max_dr_freq = prop->max_clk_freq * SDW_DOUBLE_RATE_FACTOR; prop 167 drivers/soundwire/bus.c int retry = bus->prop.err_threshold; prop 187 drivers/soundwire/bus.c int retry = bus->prop.err_threshold; prop 208 drivers/soundwire/bus.c int retry = bus->prop.err_threshold; prop 292 drivers/soundwire/bus.c if (slave && !slave->prop.paging_support) prop 306 drivers/soundwire/bus.c } else if (!slave->prop.paging_support) { prop 635 drivers/soundwire/bus.c struct sdw_slave_prop *prop = &slave->prop; prop 657 drivers/soundwire/bus.c if (!slave->prop.dp0_prop) prop 661 drivers/soundwire/bus.c val = prop->dp0_prop->imp_def_interrupts; prop 107 drivers/soundwire/bus_type.c if (slave->prop.clk_stop_timeout == 0) prop 108 drivers/soundwire/bus_type.c slave->prop.clk_stop_timeout = 300; prop 111 drivers/soundwire/bus_type.c slave->prop.clk_stop_timeout); prop 945 drivers/soundwire/cadence_master.c struct sdw_master_prop *prop = &bus->prop; prop 959 drivers/soundwire/cadence_master.c divider = (prop->mclk_freq / prop->max_clk_freq) - 1; prop 970 drivers/soundwire/cadence_master.c val = cdns_set_initial_frame_shape(prop->default_row, prop 971 drivers/soundwire/cadence_master.c prop->default_col); prop 1012 drivers/soundwire/cadence_master.c struct sdw_master_prop *prop = &bus->prop; prop 1022 drivers/soundwire/cadence_master.c divider = prop->mclk_freq * SDW_DOUBLE_RATE_FACTOR / prop 952 drivers/soundwire/intel.c struct sdw_master_prop *prop = &bus->prop; prop 969 drivers/soundwire/intel.c &prop->mclk_freq); prop 976 drivers/soundwire/intel.c prop->hw_disabled = true; prop 1038 drivers/soundwire/intel.c if (sdw->cdns.bus.prop.hw_disabled) { prop 1097 drivers/soundwire/intel.c if (!sdw->cdns.bus.prop.hw_disabled) { prop 32 drivers/soundwire/mipi_disco.c struct sdw_master_prop *prop = &bus->prop; prop 39 drivers/soundwire/mipi_disco.c &prop->revision); prop 53 drivers/soundwire/mipi_disco.c prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE0); prop 57 drivers/soundwire/mipi_disco.c prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE1); prop 61 drivers/soundwire/mipi_disco.c &prop->max_clk_freq); prop 65 drivers/soundwire/mipi_disco.c prop->num_clk_freq = nval; prop 66 drivers/soundwire/mipi_disco.c prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq, prop 67 drivers/soundwire/mipi_disco.c sizeof(*prop->clk_freq), prop 69 drivers/soundwire/mipi_disco.c if (!prop->clk_freq) prop 74 drivers/soundwire/mipi_disco.c prop->clk_freq, prop->num_clk_freq); prop 81 drivers/soundwire/mipi_disco.c if (!prop->max_clk_freq && prop->clk_freq) { prop 82 drivers/soundwire/mipi_disco.c prop->max_clk_freq = prop->clk_freq[0]; prop 83 drivers/soundwire/mipi_disco.c for (i = 1; i < prop->num_clk_freq; i++) { prop 84 drivers/soundwire/mipi_disco.c if (prop->clk_freq[i] > prop->max_clk_freq) prop 85 drivers/soundwire/mipi_disco.c prop->max_clk_freq = prop->clk_freq[i]; prop 91 drivers/soundwire/mipi_disco.c prop->num_clk_gears = nval; prop 92 drivers/soundwire/mipi_disco.c prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, prop 93 drivers/soundwire/mipi_disco.c sizeof(*prop->clk_gears), prop 95 drivers/soundwire/mipi_disco.c if (!prop->clk_gears) prop 100 drivers/soundwire/mipi_disco.c prop->clk_gears, prop 101 drivers/soundwire/mipi_disco.c prop->num_clk_gears); prop 105 drivers/soundwire/mipi_disco.c &prop->default_frame_rate); prop 108 drivers/soundwire/mipi_disco.c &prop->default_row); prop 111 drivers/soundwire/mipi_disco.c &prop->default_col); prop 113 drivers/soundwire/mipi_disco.c prop->dynamic_frame = fwnode_property_read_bool(link, prop 117 drivers/soundwire/mipi_disco.c &prop->err_threshold); prop 288 drivers/soundwire/mipi_disco.c struct sdw_slave_prop *prop = &slave->prop; prop 294 drivers/soundwire/mipi_disco.c &prop->mipi_revision); prop 296 drivers/soundwire/mipi_disco.c prop->wake_capable = device_property_read_bool(dev, prop 298 drivers/soundwire/mipi_disco.c prop->wake_capable = !prop->wake_capable; prop 300 drivers/soundwire/mipi_disco.c prop->test_mode_capable = device_property_read_bool(dev, prop 303 drivers/soundwire/mipi_disco.c prop->clk_stop_mode1 = false; prop 306 drivers/soundwire/mipi_disco.c prop->clk_stop_mode1 = true; prop 308 drivers/soundwire/mipi_disco.c prop->simple_clk_stop_capable = device_property_read_bool(dev, prop 312 drivers/soundwire/mipi_disco.c &prop->clk_stop_timeout); prop 315 drivers/soundwire/mipi_disco.c &prop->ch_prep_timeout); prop 319 drivers/soundwire/mipi_disco.c &prop->reset_behave); prop 321 drivers/soundwire/mipi_disco.c prop->high_PHY_capable = device_property_read_bool(dev, prop 324 drivers/soundwire/mipi_disco.c prop->paging_support = device_property_read_bool(dev, prop 327 drivers/soundwire/mipi_disco.c prop->bank_delay_support = device_property_read_bool(dev, prop 331 drivers/soundwire/mipi_disco.c "mipi-sdw-port15-read-behavior", &prop->p15_behave); prop 334 drivers/soundwire/mipi_disco.c &prop->master_count); prop 337 drivers/soundwire/mipi_disco.c &prop->source_ports); prop 340 drivers/soundwire/mipi_disco.c &prop->sink_ports); prop 347 drivers/soundwire/mipi_disco.c prop->dp0_prop = devm_kzalloc(&slave->dev, prop 348 drivers/soundwire/mipi_disco.c sizeof(*prop->dp0_prop), prop 350 drivers/soundwire/mipi_disco.c if (!prop->dp0_prop) prop 353 drivers/soundwire/mipi_disco.c sdw_slave_read_dp0(slave, port, prop->dp0_prop); prop 363 drivers/soundwire/mipi_disco.c nval = hweight32(prop->source_ports); prop 364 drivers/soundwire/mipi_disco.c prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, prop 365 drivers/soundwire/mipi_disco.c sizeof(*prop->src_dpn_prop), prop 367 drivers/soundwire/mipi_disco.c if (!prop->src_dpn_prop) prop 371 drivers/soundwire/mipi_disco.c sdw_slave_read_dpn(slave, prop->src_dpn_prop, nval, prop 372 drivers/soundwire/mipi_disco.c prop->source_ports, "source"); prop 374 drivers/soundwire/mipi_disco.c nval = hweight32(prop->sink_ports); prop 375 drivers/soundwire/mipi_disco.c prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, prop 376 drivers/soundwire/mipi_disco.c sizeof(*prop->sink_dpn_prop), prop 378 drivers/soundwire/mipi_disco.c if (!prop->sink_dpn_prop) prop 382 drivers/soundwire/mipi_disco.c sdw_slave_read_dpn(slave, prop->sink_dpn_prop, nval, prop 383 drivers/soundwire/mipi_disco.c prop->sink_ports, "sink"); prop 386 drivers/soundwire/mipi_disco.c nval = prop->source_ports | prop->sink_ports; prop 130 drivers/soundwire/stream.c struct sdw_slave_prop *slave_prop = &s_rt->slave->prop; prop 1404 drivers/soundwire/stream.c num_ports = hweight32(slave->prop.source_ports); prop 1405 drivers/soundwire/stream.c dpn_prop = slave->prop.src_dpn_prop; prop 1407 drivers/soundwire/stream.c num_ports = hweight32(slave->prop.sink_ports); prop 1408 drivers/soundwire/stream.c dpn_prop = slave->prop.sink_dpn_prop; prop 1467 drivers/soundwire/stream.c struct sdw_master_prop *prop; prop 1474 drivers/soundwire/stream.c prop = &bus->prop; prop 1478 drivers/soundwire/stream.c if ((prop->max_clk_freq % stream->params.rate) != 0) { prop 389 drivers/spi/spi-davinci.c u32 prop; prop 397 drivers/spi/spi-davinci.c if (!of_property_read_u32(np, "ti,spi-wdelay", &prop)) prop 398 drivers/spi/spi-davinci.c spicfg->wdelay = (u8)prop; prop 619 drivers/spi/spi-fsl-espi.c u32 csmode, cs, prop; prop 638 drivers/spi/spi-fsl-espi.c ret = of_property_read_u32(nc, "fsl,csbef", &prop); prop 641 drivers/spi/spi-fsl-espi.c csmode |= CSMODE_BEF(prop); prop 645 drivers/spi/spi-fsl-espi.c ret = of_property_read_u32(nc, "fsl,csaft", &prop); prop 648 drivers/spi/spi-fsl-espi.c csmode |= CSMODE_AFT(prop); prop 119 drivers/spi/spi-fsl-lib.c const void *prop; prop 146 drivers/spi/spi-fsl-lib.c prop = of_get_property(np, "mode", NULL); prop 147 drivers/spi/spi-fsl-lib.c if (prop && !strcmp(prop, "cpu-qe")) prop 149 drivers/spi/spi-fsl-lib.c else if (prop && !strcmp(prop, "qe")) prop 910 drivers/staging/fbtft/fbtft-core.c struct property *prop; prop 918 drivers/staging/fbtft/fbtft-core.c prop = of_find_property(node, "init", NULL); prop 919 drivers/staging/fbtft/fbtft-core.c p = of_prop_next_u32(prop, NULL, &val); prop 939 drivers/staging/fbtft/fbtft-core.c p = of_prop_next_u32(prop, p, &val); prop 969 drivers/staging/fbtft/fbtft-core.c p = of_prop_next_u32(prop, p, &val); prop 18 drivers/staging/greybus/power_supply.c enum power_supply_property prop; prop 82 drivers/staging/greybus/power_supply.c enum power_supply_property prop; prop 85 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop); prop 89 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop); prop 92 drivers/staging/greybus/power_supply.c { .prop = GB_POWER_SUPPLY_PROP_STATUS, prop 96 drivers/staging/greybus/power_supply.c { .prop = GB_POWER_SUPPLY_PROP_TEMP, prop 100 drivers/staging/greybus/power_supply.c { .prop = GB_POWER_SUPPLY_PROP_ONLINE, prop 108 drivers/staging/greybus/power_supply.c int prop; prop 112 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_STATUS; prop 115 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_TYPE; prop 118 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_HEALTH; prop 121 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_PRESENT; prop 124 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ONLINE; prop 127 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_AUTHENTIC; prop 130 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TECHNOLOGY; prop 133 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CYCLE_COUNT; prop 136 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_MAX; prop 139 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_MIN; prop 142 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN; prop 145 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN; prop 148 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_NOW; prop 151 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_AVG; prop 154 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_OCV; prop 157 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_VOLTAGE_BOOT; prop 160 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CURRENT_MAX; prop 163 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CURRENT_NOW; prop 166 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CURRENT_AVG; prop 169 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CURRENT_BOOT; prop 172 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_POWER_NOW; prop 175 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_POWER_AVG; prop 178 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN; prop 181 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN; prop 184 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_FULL; prop 187 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_EMPTY; prop 190 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_NOW; prop 193 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_AVG; prop 196 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_COUNTER; prop 199 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT; prop 202 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX; prop 205 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE; prop 208 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX; prop 211 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT; prop 214 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX; prop 217 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT; prop 220 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN; prop 223 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN; prop 226 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_FULL; prop 229 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_EMPTY; prop 232 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_NOW; prop 235 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_ENERGY_AVG; prop 238 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CAPACITY; prop 241 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN; prop 244 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX; prop 247 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CAPACITY_LEVEL; prop 250 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP; prop 253 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_MAX; prop 256 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_MIN; prop 259 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_ALERT_MIN; prop 262 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_ALERT_MAX; prop 265 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_AMBIENT; prop 268 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN; prop 271 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX; prop 274 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW; prop 277 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG; prop 280 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TIME_TO_FULL_NOW; prop 283 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TIME_TO_FULL_AVG; prop 286 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_TYPE; prop 289 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_SCOPE; prop 292 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT; prop 295 drivers/staging/greybus/power_supply.c prop = POWER_SUPPLY_PROP_CALIBRATE; prop 298 drivers/staging/greybus/power_supply.c prop = -1; prop 302 drivers/staging/greybus/power_supply.c if (prop < 0) prop 303 drivers/staging/greybus/power_supply.c return prop; prop 305 drivers/staging/greybus/power_supply.c *psp = (enum power_supply_property)prop; prop 321 drivers/staging/greybus/power_supply.c if (gbpsy->props[i].prop == psp) prop 329 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop; prop 331 drivers/staging/greybus/power_supply.c prop = get_psy_prop(gbpsy, psp); prop 332 drivers/staging/greybus/power_supply.c if (!prop) prop 334 drivers/staging/greybus/power_supply.c return prop->is_writeable ? 1 : 0; prop 359 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop) prop 370 drivers/staging/greybus/power_supply.c if ((prop->val == GB_POWER_SUPPLY_STATUS_CHARGING) && prop 393 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop) prop 396 drivers/staging/greybus/power_supply.c int val = prop->val; prop 397 drivers/staging/greybus/power_supply.c int prev_val = prop->previous_val; prop 403 drivers/staging/greybus/power_supply.c if (prop->prop == psyc->prop) { prop 414 drivers/staging/greybus/power_supply.c psyc->prop_changed(gbpsy, prop); prop 430 drivers/staging/greybus/power_supply.c enum power_supply_property prop) prop 441 drivers/staging/greybus/power_supply.c gbpsy->props_raw[total_props(gbpsy) - 1] = prop; prop 569 drivers/staging/greybus/power_supply.c gbpsy->props[i - r].prop = psp; prop 593 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop; prop 599 drivers/staging/greybus/power_supply.c prop = get_psy_prop(gbpsy, psp); prop 600 drivers/staging/greybus/power_supply.c if (!prop) prop 603 drivers/staging/greybus/power_supply.c req.property = prop->gb_prop; prop 611 drivers/staging/greybus/power_supply.c if (val == prop->val) prop 614 drivers/staging/greybus/power_supply.c prop->previous_val = prop->val; prop 615 drivers/staging/greybus/power_supply.c prop->val = val; prop 617 drivers/staging/greybus/power_supply.c check_changed(gbpsy, prop); prop 626 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop; prop 628 drivers/staging/greybus/power_supply.c prop = get_psy_prop(gbpsy, psp); prop 629 drivers/staging/greybus/power_supply.c if (!prop) prop 632 drivers/staging/greybus/power_supply.c val->intval = prop->val; prop 710 drivers/staging/greybus/power_supply.c gbpsy->props[i].prop); prop 769 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *prop; prop 777 drivers/staging/greybus/power_supply.c prop = get_psy_prop(gbpsy, psp); prop 778 drivers/staging/greybus/power_supply.c if (!prop) { prop 784 drivers/staging/greybus/power_supply.c req.property = prop->gb_prop; prop 793 drivers/staging/greybus/power_supply.c prop->val = val; prop 687 drivers/thermal/of-thermal.c u32 prop; prop 691 drivers/thermal/of-thermal.c ret = of_property_read_u32(np, "contribution", &prop); prop 693 drivers/thermal/of-thermal.c __tbp->usage = prop; prop 810 drivers/thermal/of-thermal.c int prop; prop 813 drivers/thermal/of-thermal.c ret = of_property_read_u32(np, "temperature", &prop); prop 818 drivers/thermal/of-thermal.c trip->temperature = prop; prop 820 drivers/thermal/of-thermal.c ret = of_property_read_u32(np, "hysteresis", &prop); prop 825 drivers/thermal/of-thermal.c trip->hysteresis = prop; prop 860 drivers/thermal/of-thermal.c u32 prop, coef[2]; prop 871 drivers/thermal/of-thermal.c ret = of_property_read_u32(np, "polling-delay-passive", &prop); prop 876 drivers/thermal/of-thermal.c tz->passive_delay = prop; prop 878 drivers/thermal/of-thermal.c ret = of_property_read_u32(np, "polling-delay", &prop); prop 883 drivers/thermal/of-thermal.c tz->polling_delay = prop; prop 1029 drivers/thermal/of-thermal.c u32 prop; prop 1052 drivers/thermal/of-thermal.c if (!of_property_read_u32(child, "sustainable-power", &prop)) prop 1053 drivers/thermal/of-thermal.c tzp->sustainable_power = prop; prop 311 drivers/tty/serial/8250/8250_aspeed_vuart.c u32 clk, prop; prop 361 drivers/tty/serial/8250/8250_aspeed_vuart.c if (of_property_read_u32(np, "current-speed", &prop) == 0) prop 362 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.custom_divisor = clk / (16 * prop); prop 365 drivers/tty/serial/8250/8250_aspeed_vuart.c if (of_property_read_u32(np, "reg-offset", &prop) == 0) prop 366 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.mapbase += prop; prop 369 drivers/tty/serial/8250/8250_aspeed_vuart.c if (of_property_read_u32(np, "reg-shift", &prop) == 0) prop 370 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.regshift = prop; prop 373 drivers/tty/serial/8250/8250_aspeed_vuart.c if (of_property_read_u32(np, "fifo-size", &prop) == 0) prop 374 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.fifosize = prop; prop 76 drivers/tty/serial/8250/8250_ingenic.c const __be32 *prop; prop 83 drivers/tty/serial/8250/8250_ingenic.c prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); prop 84 drivers/tty/serial/8250/8250_ingenic.c if (!prop) prop 87 drivers/tty/serial/8250/8250_ingenic.c dev->port.uartclk = be32_to_cpup(prop); prop 60 drivers/tty/serial/8250/8250_of.c u32 clk, spd, prop; prop 108 drivers/tty/serial/8250/8250_of.c if (of_property_read_u32(np, "reg-offset", &prop) == 0) prop 109 drivers/tty/serial/8250/8250_of.c port->mapbase += prop; prop 112 drivers/tty/serial/8250/8250_of.c if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { prop 113 drivers/tty/serial/8250/8250_of.c switch (prop) { prop 126 drivers/tty/serial/8250/8250_of.c prop); prop 139 drivers/tty/serial/8250/8250_of.c if (of_property_read_u32(np, "reg-shift", &prop) == 0) prop 140 drivers/tty/serial/8250/8250_of.c port->regshift = prop; prop 143 drivers/tty/serial/8250/8250_of.c if (of_property_read_u32(np, "fifo-size", &prop) == 0) prop 144 drivers/tty/serial/8250/8250_of.c port->fifosize = prop; prop 792 drivers/tty/serial/uartlite.c const __be32 *prop; prop 794 drivers/tty/serial/uartlite.c prop = of_get_property(pdev->dev.of_node, "port-number", NULL); prop 795 drivers/tty/serial/uartlite.c if (prop) prop 796 drivers/tty/serial/uartlite.c id = be32_to_cpup(prop); prop 715 drivers/tty/sysrq.c struct property *prop; prop 727 drivers/tty/sysrq.c of_property_for_each_u32(np, "keyset", prop, p, key) { prop 181 drivers/uio/uio_fsl_elbc_gpcm.c const void *prop; prop 184 drivers/uio/uio_fsl_elbc_gpcm.c prop = of_get_property(priv->dev->of_node, prop 186 drivers/uio/uio_fsl_elbc_gpcm.c if (prop) prop 187 drivers/uio/uio_fsl_elbc_gpcm.c win0_offset = of_read_ulong(prop, 1); prop 2469 drivers/usb/gadget/udc/fsl_qe_udc.c const void *prop; prop 2475 drivers/usb/gadget/udc/fsl_qe_udc.c prop = of_get_property(np, "mode", NULL); prop 2476 drivers/usb/gadget/udc/fsl_qe_udc.c if (!prop || strcmp(prop, "peripheral")) prop 44 drivers/usb/host/fsl-mph-dr-of.c const unsigned char *prop; prop 47 drivers/usb/host/fsl-mph-dr-of.c prop = of_get_property(np, "dr_mode", NULL); prop 48 drivers/usb/host/fsl-mph-dr-of.c if (prop) { prop 50 drivers/usb/host/fsl-mph-dr-of.c if (!strcmp(prop, dr_mode_data[i].dr_mode)) prop 178 drivers/usb/host/fsl-mph-dr-of.c const unsigned char *prop; prop 216 drivers/usb/host/fsl-mph-dr-of.c prop = of_get_property(np, "phy_type", NULL); prop 217 drivers/usb/host/fsl-mph-dr-of.c pdata->phy_mode = determine_usb_phy(prop); prop 1143 drivers/usb/host/xhci-tegra.c char prop[8]; prop 1146 drivers/usb/host/xhci-tegra.c snprintf(prop, sizeof(prop), "%s-%d", prop 1149 drivers/usb/host/xhci-tegra.c phy = devm_phy_optional_get(&pdev->dev, prop); prop 1152 drivers/usb/host/xhci-tegra.c "failed to get PHY %s: %ld\n", prop, prop 382 drivers/usb/misc/usb251xb.c struct property *prop; prop 386 drivers/usb/misc/usb251xb.c of_property_for_each_u32(dev->of_node, prop_name, prop, p, port) { prop 232 drivers/video/backlight/pwm_bl.c struct property *prop; prop 257 drivers/video/backlight/pwm_bl.c prop = of_find_property(node, "brightness-levels", &length); prop 258 drivers/video/backlight/pwm_bl.c if (!prop) prop 1689 drivers/video/fbdev/fsl-diu-fb.c const void *prop; prop 1736 drivers/video/fbdev/fsl-diu-fb.c prop = of_get_property(np, "edid", &ret); prop 1737 drivers/video/fbdev/fsl-diu-fb.c if (prop && ret == EDID_LENGTH) { prop 1738 drivers/video/fbdev/fsl-diu-fb.c memcpy(data->edid_data, prop, EDID_LENGTH); prop 1896 drivers/video/fbdev/fsl-diu-fb.c const u32 *prop; prop 1928 drivers/video/fbdev/fsl-diu-fb.c prop = of_get_property(np, "d-cache-size", NULL); prop 1929 drivers/video/fbdev/fsl-diu-fb.c if (prop == NULL) { prop 1940 drivers/video/fbdev/fsl-diu-fb.c coherence_data_size = be32_to_cpup(prop) * 13; prop 1946 drivers/video/fbdev/fsl-diu-fb.c prop = of_get_property(np, "d-cache-line-size", NULL); prop 1947 drivers/video/fbdev/fsl-diu-fb.c if (prop == NULL) { prop 1953 drivers/video/fbdev/fsl-diu-fb.c d_cache_line_size = be32_to_cpup(prop); prop 5074 drivers/video/fbdev/omap2/omapfb/dss/dsi.c struct property *prop; prop 5085 drivers/video/fbdev/omap2/omapfb/dss/dsi.c prop = of_find_property(ep, "lanes", &len); prop 5086 drivers/video/fbdev/omap2/omapfb/dss/dsi.c if (prop == NULL) { prop 95 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c struct property *prop; prop 97 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c prop = of_find_property(np, "compatible", NULL); prop 99 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c if (prop) prop 15 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c struct property *prop; prop 18 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c prop = of_find_property(ep, "lanes", &len); prop 19 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c if (prop) { prop 32 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c static int __init omapdss_count_strings(const struct property *prop) prop 34 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c const char *p = prop->value; prop 38 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c for (i = 0; total < prop->length; total += l, p += l, i++) prop 47 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c struct property *prop; prop 49 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop = kzalloc(sizeof(*prop), GFP_KERNEL); prop 50 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (!prop) prop 53 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop->name = "compatible"; prop 54 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop->value = compat; prop 55 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop->length = len; prop 57 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c of_update_property(node, prop); prop 82 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c struct property *prop; prop 87 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c prop = of_find_property(node, "compatible", NULL); prop 89 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (!prop || !prop->value) prop 92 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (strnlen(prop->value, prop->length) >= prop->length) prop 96 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (strncmp(prefix, prop->value, strlen(prefix)) == 0) prop 99 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c num_strs = omapdss_count_strings(prop); prop 101 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c new_len = prop->length + strlen(prefix) * num_strs; prop 106 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); prop 316 drivers/video/fbdev/simplefb.c struct property *prop; prop 325 drivers/video/fbdev/simplefb.c for_each_property_of_node(np, prop) { prop 326 drivers/video/fbdev/simplefb.c p = strstr(prop->name, SUPPLY_SUFFIX); prop 327 drivers/video/fbdev/simplefb.c if (p && p != prop->name) prop 340 drivers/video/fbdev/simplefb.c for_each_property_of_node(np, prop) { prop 343 drivers/video/fbdev/simplefb.c p = strstr(prop->name, SUPPLY_SUFFIX); prop 344 drivers/video/fbdev/simplefb.c if (!p || p == prop->name) prop 347 drivers/video/fbdev/simplefb.c strlcpy(name, prop->name, prop 348 drivers/video/fbdev/simplefb.c strlen(prop->name) - strlen(SUPPLY_SUFFIX) + 1); prop 1956 drivers/video/fbdev/sm501fb.c const u8 *prop; prop 1966 drivers/video/fbdev/sm501fb.c prop = of_get_property(np, "edid", &len); prop 1967 drivers/video/fbdev/sm501fb.c if (prop && len == EDID_LENGTH) { prop 1968 drivers/video/fbdev/sm501fb.c info->edid_data = kmemdup(prop, EDID_LENGTH, prop 413 drivers/video/fbdev/xilinxfb.c const u32 *prop; prop 454 drivers/video/fbdev/xilinxfb.c prop = of_get_property(pdev->dev.of_node, "phys-size", &size); prop 455 drivers/video/fbdev/xilinxfb.c if ((prop) && (size >= sizeof(u32) * 2)) { prop 456 drivers/video/fbdev/xilinxfb.c pdata.screen_width_mm = prop[0]; prop 457 drivers/video/fbdev/xilinxfb.c pdata.screen_height_mm = prop[1]; prop 460 drivers/video/fbdev/xilinxfb.c prop = of_get_property(pdev->dev.of_node, "resolution", &size); prop 461 drivers/video/fbdev/xilinxfb.c if ((prop) && (size >= sizeof(u32) * 2)) { prop 462 drivers/video/fbdev/xilinxfb.c pdata.xres = prop[0]; prop 463 drivers/video/fbdev/xilinxfb.c pdata.yres = prop[1]; prop 466 drivers/video/fbdev/xilinxfb.c prop = of_get_property(pdev->dev.of_node, "virtual-resolution", &size); prop 467 drivers/video/fbdev/xilinxfb.c if ((prop) && (size >= sizeof(u32) * 2)) { prop 468 drivers/video/fbdev/xilinxfb.c pdata.xvirt = prop[0]; prop 469 drivers/video/fbdev/xilinxfb.c pdata.yvirt = prop[1]; prop 28 drivers/video/of_display_timing.c struct property *prop; prop 31 drivers/video/of_display_timing.c prop = of_find_property(np, name, &length); prop 32 drivers/video/of_display_timing.c if (!prop) { prop 733 drivers/virt/fsl_hypervisor.c const uint32_t *prop; prop 746 drivers/virt/fsl_hypervisor.c prop = of_get_property(parent, "hv-handle", &len); prop 747 drivers/virt/fsl_hypervisor.c if (!prop) prop 748 drivers/virt/fsl_hypervisor.c prop = of_get_property(parent, "reg", &len); prop 750 drivers/virt/fsl_hypervisor.c if (!prop || (len != sizeof(uint32_t))) { prop 756 drivers/virt/fsl_hypervisor.c handle = be32_to_cpup(prop); prop 34 fs/openpromfs/inode.c struct property *prop; prop 69 fs/openpromfs/inode.c struct property *prop = f->private; prop 73 fs/openpromfs/inode.c len = prop->length; prop 74 fs/openpromfs/inode.c pval = prop->value; prop 155 fs/openpromfs/inode.c m->private = oi->u.prop; prop 185 fs/openpromfs/inode.c struct property *prop; prop 217 fs/openpromfs/inode.c prop = dp->properties; prop 218 fs/openpromfs/inode.c while (prop) { prop 219 fs/openpromfs/inode.c int n = strlen(prop->name); prop 221 fs/openpromfs/inode.c if (len == n && !strncmp(prop->name, name, len)) { prop 223 fs/openpromfs/inode.c ent_data.prop = prop; prop 224 fs/openpromfs/inode.c ino = prop->unique_id; prop 228 fs/openpromfs/inode.c prop = prop->next; prop 258 fs/openpromfs/inode.c inode->i_size = ent_oi->u.prop->length; prop 271 fs/openpromfs/inode.c struct property *prop; prop 309 fs/openpromfs/inode.c prop = dp->properties; prop 310 fs/openpromfs/inode.c while (i && prop) { prop 311 fs/openpromfs/inode.c prop = prop->next; prop 314 fs/openpromfs/inode.c while (prop) { prop 315 fs/openpromfs/inode.c if (!dir_emit(ctx, prop->name, strlen(prop->name), prop 316 fs/openpromfs/inode.c prop->unique_id, DT_REG)) prop 320 fs/openpromfs/inode.c prop = prop->next; prop 56 include/linux/extcon-provider.h unsigned int prop, prop 59 include/linux/extcon-provider.h unsigned int prop, prop 62 include/linux/extcon-provider.h unsigned int id, unsigned int prop); prop 115 include/linux/extcon-provider.h unsigned int prop, prop 122 include/linux/extcon-provider.h unsigned int id, unsigned int prop, prop 129 include/linux/extcon-provider.h unsigned int id, unsigned int prop) prop 185 include/linux/extcon.h unsigned int prop, prop 188 include/linux/extcon.h unsigned int id, unsigned int prop); prop 239 include/linux/extcon.h unsigned int prop, prop 246 include/linux/extcon.h unsigned int id, unsigned int prop) prop 93 include/linux/fwnode.h const char *prop, const char *nargs_prop, prop 21 include/linux/input/touchscreen.h struct touchscreen_properties *prop); prop 24 include/linux/input/touchscreen.h const struct touchscreen_properties *prop, prop 28 include/linux/input/touchscreen.h const struct touchscreen_properties *prop, prop 99 include/linux/of.h struct property *prop; prop 400 include/linux/of.h extern int of_add_property(struct device_node *np, struct property *prop); prop 401 include/linux/of.h extern int of_remove_property(struct device_node *np, struct property *prop); prop 540 include/linux/of.h const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, prop 549 include/linux/of.h const char *of_prop_next_string(struct property *prop, const char *cur); prop 924 include/linux/of.h static inline const __be32 *of_prop_next_u32(struct property *prop, prop 930 include/linux/of.h static inline const char *of_prop_next_string(struct property *prop, prop 1177 include/linux/of.h struct property *prop = of_find_property(np, propname, NULL); prop 1179 include/linux/of.h return prop ? true : false; prop 1216 include/linux/of.h #define of_property_for_each_u32(np, propname, prop, p, u) \ prop 1217 include/linux/of.h for (prop = of_find_property(np, propname, NULL), \ prop 1218 include/linux/of.h p = of_prop_next_u32(prop, NULL, &u); \ prop 1220 include/linux/of.h p = of_prop_next_u32(prop, p, &u)) prop 1222 include/linux/of.h #define of_property_for_each_string(np, propname, prop, s) \ prop 1223 include/linux/of.h for (prop = of_find_property(np, propname, NULL), \ prop 1224 include/linux/of.h s = of_prop_next_string(prop, NULL); \ prop 1226 include/linux/of.h s = of_prop_next_string(prop, s)) prop 1324 include/linux/of.h struct property *prop; prop 1361 include/linux/of.h struct property *prop); prop 1376 include/linux/of.h struct device_node *np, struct property *prop) prop 1378 include/linux/of.h return of_changeset_action(ocs, OF_RECONFIG_ADD_PROPERTY, np, prop); prop 1382 include/linux/of.h struct device_node *np, struct property *prop) prop 1384 include/linux/of.h return of_changeset_action(ocs, OF_RECONFIG_REMOVE_PROPERTY, np, prop); prop 1388 include/linux/of.h struct device_node *np, struct property *prop) prop 1390 include/linux/of.h return of_changeset_action(ocs, OF_RECONFIG_UPDATE_PROPERTY, np, prop); prop 21 include/linux/of_pdt.h int (*getproplen)(phandle node, const char *prop); prop 22 include/linux/of_pdt.h int (*getproperty)(phandle node, const char *prop, char *buf, prop 75 include/linux/property.h const char *prop, const char *nargs_prop, prop 558 include/linux/soundwire/sdw.h struct sdw_slave_prop prop; prop 758 include/linux/soundwire/sdw.h struct sdw_master_prop prop; prop 1919 lib/vsprintf.c struct property *prop; prop 1985 lib/vsprintf.c of_property_for_each_string(dn, "compatible", prop, p) { prop 16 net/mac80211/debugfs_key.c #define KEY_READ(name, prop, format_string) \ prop 23 net/mac80211/debugfs_key.c format_string, key->prop); \ prop 97 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop) prop 108 net/smc/smc_clc.c prop->prefix_len = inet_mask_len(ifa->ifa_mask); prop 109 net/smc/smc_clc.c prop->outgoing_subnet = ifa->ifa_address & ifa->ifa_mask; prop 118 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop, prop 139 net/smc/smc_clc.c prop->ipv6_prefixes_cnt = cnt; prop 148 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop, prop 157 net/smc/smc_clc.c memset(prop, 0, sizeof(*prop)); prop 174 net/smc/smc_clc.c rc = smc_clc_prfx_set4_rcu(dst, addr->sin_addr.s_addr, prop); prop 178 net/smc/smc_clc.c prop); prop 181 net/smc/smc_clc.c rc = smc_clc_prfx_set6_rcu(dst, prop, ipv6_prfx); prop 192 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop) prop 200 net/smc/smc_clc.c if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && prop 201 net/smc/smc_clc.c inet_ifa_match(prop->outgoing_subnet, ifa)) prop 210 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop) prop 221 net/smc/smc_clc.c ipv6_prfx = (struct smc_clc_ipv6_prefix *)((u8 *)prop + sizeof(*prop)); prop 222 net/smc/smc_clc.c max = min_t(u8, prop->ipv6_prefixes_cnt, SMC_CLC_MAX_V6_PREFIX); prop 239 net/smc/smc_clc.c struct smc_clc_msg_proposal_prefix *prop) prop 253 net/smc/smc_clc.c if (!prop->ipv6_prefixes_cnt) prop 254 net/smc/smc_clc.c rc = smc_clc_prfx_match4_rcu(dst->dev, prop); prop 256 net/smc/smc_clc.c rc = smc_clc_prfx_match6_rcu(dst->dev, prop); prop 179 net/smc/smc_clc.h smc_get_clc_msg_smcd(struct smc_clc_msg_proposal *prop) prop 181 net/smc/smc_clc.h if (ntohs(prop->iparea_offset) != sizeof(struct smc_clc_msg_smcd)) prop 184 net/smc/smc_clc.h return (struct smc_clc_msg_smcd *)(prop + 1); prop 191 net/smc/smc_clc.h struct smc_clc_msg_proposal_prefix *prop); prop 747 net/tipc/bearer.c struct nlattr *prop; prop 761 net/tipc/bearer.c prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_BEARER_PROP); prop 762 net/tipc/bearer.c if (!prop) prop 774 net/tipc/bearer.c nla_nest_end(msg->skb, prop); prop 789 net/tipc/bearer.c nla_nest_cancel(msg->skb, prop); prop 1093 net/tipc/bearer.c struct nlattr *prop; prop 1107 net/tipc/bearer.c prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_MEDIA_PROP); prop 1108 net/tipc/bearer.c if (!prop) prop 1120 net/tipc/bearer.c nla_nest_end(msg->skb, prop); prop 1127 net/tipc/bearer.c nla_nest_cancel(msg->skb, prop); prop 2332 net/tipc/link.c int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]) prop 2336 net/tipc/link.c err = nla_parse_nested_deprecated(props, TIPC_NLA_PROP_MAX, prop, prop 2439 net/tipc/link.c struct nlattr *prop; prop 2470 net/tipc/link.c prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK_PROP); prop 2471 net/tipc/link.c if (!prop) prop 2482 net/tipc/link.c nla_nest_end(msg->skb, prop); prop 2494 net/tipc/link.c nla_nest_cancel(msg->skb, prop); prop 2559 net/tipc/link.c struct nlattr *prop; prop 2594 net/tipc/link.c prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK_PROP); prop 2595 net/tipc/link.c if (!prop) prop 2605 net/tipc/link.c nla_nest_end(msg->skb, prop); prop 2618 net/tipc/link.c nla_nest_cancel(msg->skb, prop); prop 130 net/tipc/link.h int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]); prop 398 net/tipc/netlink_compat.c struct nlattr *prop; prop 425 net/tipc/netlink_compat.c prop = nla_nest_start_noflag(skb, TIPC_NLA_BEARER_PROP); prop 426 net/tipc/netlink_compat.c if (!prop) prop 430 net/tipc/netlink_compat.c nla_nest_end(skb, prop); prop 473 net/tipc/netlink_compat.c struct nlattr *prop[], struct nlattr *stats[]) prop 476 net/tipc/netlink_compat.c nla_get_u32(prop[TIPC_NLA_PROP_WIN])); prop 516 net/tipc/netlink_compat.c struct nlattr *prop[TIPC_NLA_PROP_MAX + 1]; prop 532 net/tipc/netlink_compat.c err = nla_parse_nested_deprecated(prop, TIPC_NLA_PROP_MAX, prop 564 net/tipc/netlink_compat.c __fill_bc_link_stat(msg, prop, stats); prop 577 net/tipc/netlink_compat.c nla_get_u32(prop[TIPC_NLA_PROP_PRIO])); prop 580 net/tipc/netlink_compat.c nla_get_u32(prop[TIPC_NLA_PROP_TOL]), prop 581 net/tipc/netlink_compat.c nla_get_u32(prop[TIPC_NLA_PROP_WIN])); prop 694 net/tipc/netlink_compat.c struct nlattr *prop; prop 707 net/tipc/netlink_compat.c prop = nla_nest_start_noflag(skb, TIPC_NLA_MEDIA_PROP); prop 708 net/tipc/netlink_compat.c if (!prop) prop 712 net/tipc/netlink_compat.c nla_nest_end(skb, prop); prop 721 net/tipc/netlink_compat.c struct nlattr *prop; prop 734 net/tipc/netlink_compat.c prop = nla_nest_start_noflag(skb, TIPC_NLA_BEARER_PROP); prop 735 net/tipc/netlink_compat.c if (!prop) prop 739 net/tipc/netlink_compat.c nla_nest_end(skb, prop); prop 748 net/tipc/netlink_compat.c struct nlattr *prop; prop 761 net/tipc/netlink_compat.c prop = nla_nest_start_noflag(skb, TIPC_NLA_LINK_PROP); prop 762 net/tipc/netlink_compat.c if (!prop) prop 766 net/tipc/netlink_compat.c nla_nest_end(skb, prop); prop 1895 net/tipc/node.c int prop) prop 1911 net/tipc/node.c if (prop == TIPC_NLA_PROP_TOL) prop 1914 net/tipc/node.c else if (prop == TIPC_NLA_PROP_MTU) prop 82 net/tipc/node.h void tipc_node_apply_property(struct net *net, struct tipc_bearer *b, int prop); prop 78 net/wireless/of.c struct property *prop; prop 91 net/wireless/of.c prop = of_find_property(np, "ieee80211-freq-limit", &len); prop 92 net/wireless/of.c if (!prop) prop 111 net/wireless/of.c p = of_prop_next_u32(prop, p, &limit->start_freq_khz); prop 117 net/wireless/of.c p = of_prop_next_u32(prop, p, &limit->end_freq_khz); prop 63 scripts/dtc/checks.c struct property *prop, prop 74 scripts/dtc/checks.c if (prop && prop->srcpos) prop 75 scripts/dtc/checks.c pos = prop->srcpos; prop 93 scripts/dtc/checks.c if (prop) prop 94 scripts/dtc/checks.c xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); prop 105 scripts/dtc/checks.c if (!prop && pos) { prop 126 scripts/dtc/checks.c #define FAIL_PROP(c, dti, node, prop, ...) \ prop 130 scripts/dtc/checks.c check_msg((c), dti, node, prop, __VA_ARGS__); \ prop 201 scripts/dtc/checks.c struct property *prop; prop 204 scripts/dtc/checks.c prop = get_property(node, propname); prop 205 scripts/dtc/checks.c if (!prop) prop 208 scripts/dtc/checks.c if (!data_is_one_string(prop->val)) prop 209 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "property is not a string"); prop 220 scripts/dtc/checks.c struct property *prop; prop 224 scripts/dtc/checks.c prop = get_property(node, propname); prop 225 scripts/dtc/checks.c if (!prop) prop 228 scripts/dtc/checks.c str = prop->val.val; prop 229 scripts/dtc/checks.c rem = prop->val.len; prop 233 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "property is not a string list"); prop 248 scripts/dtc/checks.c struct property *prop; prop 251 scripts/dtc/checks.c prop = get_property(node, propname); prop 252 scripts/dtc/checks.c if (!prop) prop 255 scripts/dtc/checks.c if (prop->val.len != sizeof(cell_t)) prop 256 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "property is not a single cell"); prop 284 scripts/dtc/checks.c struct property *prop, *prop2; prop 286 scripts/dtc/checks.c for_each_property(node, prop) { prop 287 scripts/dtc/checks.c for (prop2 = prop->next; prop2; prop2 = prop2->next) { prop 290 scripts/dtc/checks.c if (streq(prop->name, prop2->name)) prop 291 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "Duplicate property name"); prop 337 scripts/dtc/checks.c struct property *prop = get_property(node, "reg"); prop 344 scripts/dtc/checks.c if (!prop) { prop 345 scripts/dtc/checks.c prop = get_property(node, "ranges"); prop 346 scripts/dtc/checks.c if (prop && !prop->val.len) prop 347 scripts/dtc/checks.c prop = NULL; prop 350 scripts/dtc/checks.c if (prop) { prop 363 scripts/dtc/checks.c struct property *prop; prop 365 scripts/dtc/checks.c for_each_property(node, prop) { prop 366 scripts/dtc/checks.c int n = strspn(prop->name, c->data); prop 368 scripts/dtc/checks.c if (n < strlen(prop->name)) prop 369 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "Bad character '%c' in property name", prop 370 scripts/dtc/checks.c prop->name[n]); prop 379 scripts/dtc/checks.c struct property *prop; prop 381 scripts/dtc/checks.c for_each_property(node, prop) { prop 382 scripts/dtc/checks.c const char *name = prop->name; prop 385 scripts/dtc/checks.c if (n == strlen(prop->name)) prop 401 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "Character '%c' not recommended in property name", prop 408 scripts/dtc/checks.c #define DESCLABEL_ARGS(node,prop,mark) \ prop 410 scripts/dtc/checks.c ((prop) ? "'" : ""), \ prop 411 scripts/dtc/checks.c ((prop) ? (prop)->name : ""), \ prop 412 scripts/dtc/checks.c ((prop) ? "' in " : ""), (node)->fullpath prop 416 scripts/dtc/checks.c struct property *prop, struct marker *mark) prop 434 scripts/dtc/checks.c if ((othernode != node) || (otherprop != prop) || (othermark != mark)) prop 437 scripts/dtc/checks.c label, DESCLABEL_ARGS(node, prop, mark), prop 445 scripts/dtc/checks.c struct property *prop; prop 450 scripts/dtc/checks.c for_each_property(node, prop) { prop 451 scripts/dtc/checks.c struct marker *m = prop->val.markers; prop 453 scripts/dtc/checks.c for_each_label(prop->labels, l) prop 454 scripts/dtc/checks.c check_duplicate_label(c, dti, l->label, node, prop, NULL); prop 457 scripts/dtc/checks.c check_duplicate_label(c, dti, m->ref, node, prop, m); prop 466 scripts/dtc/checks.c struct property *prop; prop 470 scripts/dtc/checks.c prop = get_property(node, propname); prop 471 scripts/dtc/checks.c if (!prop) prop 474 scripts/dtc/checks.c if (prop->val.len != sizeof(cell_t)) { prop 475 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "bad length (%d) %s property", prop 476 scripts/dtc/checks.c prop->val.len, prop->name); prop 480 scripts/dtc/checks.c m = prop->val.markers; prop 488 scripts/dtc/checks.c prop->name); prop 498 scripts/dtc/checks.c phandle = propval_cell(prop); prop 501 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "bad value (0x%x) in %s property", prop 502 scripts/dtc/checks.c phandle, prop->name); prop 548 scripts/dtc/checks.c struct property **pp, *prop = NULL; prop 552 scripts/dtc/checks.c prop = *pp; prop 556 scripts/dtc/checks.c if (!prop) prop 559 scripts/dtc/checks.c if ((prop->val.len != node->basenamelen+1) prop 560 scripts/dtc/checks.c || (memcmp(prop->val.val, node->name, node->basenamelen) != 0)) { prop 562 scripts/dtc/checks.c " of base node name)", prop->val.val); prop 566 scripts/dtc/checks.c *pp = prop->next; prop 567 scripts/dtc/checks.c free(prop->name); prop 568 scripts/dtc/checks.c data_free(prop->val); prop 569 scripts/dtc/checks.c free(prop); prop 583 scripts/dtc/checks.c struct property *prop; prop 585 scripts/dtc/checks.c for_each_property(node, prop) { prop 586 scripts/dtc/checks.c struct marker *m = prop->val.markers; prop 591 scripts/dtc/checks.c assert(m->offset + sizeof(cell_t) <= prop->val.len); prop 599 scripts/dtc/checks.c *((fdt32_t *)(prop->val.val + m->offset)) = prop 605 scripts/dtc/checks.c *((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); prop 618 scripts/dtc/checks.c struct property *prop; prop 620 scripts/dtc/checks.c for_each_property(node, prop) { prop 621 scripts/dtc/checks.c struct marker *m = prop->val.markers; prop 626 scripts/dtc/checks.c assert(m->offset <= prop->val.len); prop 636 scripts/dtc/checks.c prop->val = data_insert_at_marker(prop->val, m, path, prop 672 scripts/dtc/checks.c struct property *prop; prop 674 scripts/dtc/checks.c for_each_property(node, prop) { prop 675 scripts/dtc/checks.c const char *s = strrchr(prop->name, '-'); prop 679 scripts/dtc/checks.c c->data = prop->name; prop 688 scripts/dtc/checks.c struct property *prop; prop 693 scripts/dtc/checks.c for_each_property(node, prop) { prop 694 scripts/dtc/checks.c if (!prop->val.val || !get_node_by_path(dti->dt, prop->val.val)) { prop 695 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "aliases property is not a valid node (%s)", prop 696 scripts/dtc/checks.c prop->val.val); prop 699 scripts/dtc/checks.c if (strspn(prop->name, LOWERCASE DIGITS "-") != strlen(prop->name)) prop 708 scripts/dtc/checks.c struct property *prop; prop 713 scripts/dtc/checks.c prop = get_property(node, "#address-cells"); prop 714 scripts/dtc/checks.c if (prop) prop 715 scripts/dtc/checks.c node->addr_cells = propval_cell(prop); prop 717 scripts/dtc/checks.c prop = get_property(node, "#size-cells"); prop 718 scripts/dtc/checks.c if (prop) prop 719 scripts/dtc/checks.c node->size_cells = propval_cell(prop); prop 732 scripts/dtc/checks.c struct property *prop; prop 735 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 736 scripts/dtc/checks.c if (!prop) prop 744 scripts/dtc/checks.c if (prop->val.len == 0) prop 745 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "property is empty"); prop 751 scripts/dtc/checks.c if (!entrylen || (prop->val.len % entrylen) != 0) prop 752 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "property has invalid length (%d bytes) " prop 754 scripts/dtc/checks.c prop->val.len, addr_cells, size_cells); prop 761 scripts/dtc/checks.c struct property *prop; prop 764 scripts/dtc/checks.c prop = get_property(node, "ranges"); prop 765 scripts/dtc/checks.c if (!prop) prop 769 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "Root node has a \"ranges\" property"); prop 779 scripts/dtc/checks.c if (prop->val.len == 0) { prop 781 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "empty \"ranges\" property but its " prop 786 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "empty \"ranges\" property but its " prop 790 scripts/dtc/checks.c } else if ((prop->val.len % entrylen) != 0) { prop 791 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "\"ranges\" property has invalid length (%d bytes) " prop 793 scripts/dtc/checks.c "#size-cells == %d)", prop->val.len, prop 805 scripts/dtc/checks.c struct property *prop; prop 808 scripts/dtc/checks.c prop = get_property(node, "device_type"); prop 809 scripts/dtc/checks.c if (!prop || !streq(prop->val.val, "pci")) prop 818 scripts/dtc/checks.c prop = get_property(node, "ranges"); prop 819 scripts/dtc/checks.c if (!prop) prop 827 scripts/dtc/checks.c prop = get_property(node, "bus-range"); prop 828 scripts/dtc/checks.c if (!prop) prop 831 scripts/dtc/checks.c if (prop->val.len != (sizeof(cell_t) * 2)) { prop 832 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "value must be 2 cells"); prop 835 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 837 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "1st cell must be less than or equal to 2nd cell"); prop 839 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "maximum bus number must be less than 256"); prop 846 scripts/dtc/checks.c struct property *prop; prop 853 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 854 scripts/dtc/checks.c if (!prop) prop 857 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 860 scripts/dtc/checks.c prop = get_property(node->parent, "bus-range"); prop 861 scripts/dtc/checks.c if (!prop) { prop 864 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 869 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "PCI bus number %d out of range, expected (%d - %d)", prop 876 scripts/dtc/checks.c struct property *prop; prop 885 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 886 scripts/dtc/checks.c if (!prop) { prop 891 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 893 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "PCI reg config space address cells 2 and 3 must be 0"); prop 900 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "PCI reg address is not configuration space"); prop 902 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "PCI reg config space address register number must be 0"); prop 925 scripts/dtc/checks.c struct property *prop; prop 928 scripts/dtc/checks.c prop = get_property(node, "compatible"); prop 929 scripts/dtc/checks.c if (!prop) prop 932 scripts/dtc/checks.c for (str = prop->val.val, end = str + prop->val.len; str < end; prop 950 scripts/dtc/checks.c struct property *prop; prop 960 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 961 scripts/dtc/checks.c if (prop) prop 962 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 964 scripts/dtc/checks.c prop = get_property(node, "ranges"); prop 965 scripts/dtc/checks.c if (prop && prop->val.len) prop 967 scripts/dtc/checks.c cells = ((cell_t *)prop->val.val) + node_addr_cells(node); prop 1019 scripts/dtc/checks.c struct property *prop; prop 1029 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 1030 scripts/dtc/checks.c if (prop) prop 1031 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 1044 scripts/dtc/checks.c for (len = prop->val.len; len > 0; len -= 4) { prop 1047 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "I2C address must be less than 10-bits, got \"0x%x\"", prop 1072 scripts/dtc/checks.c struct property *prop; prop 1073 scripts/dtc/checks.c for_each_property(child, prop) { prop 1074 scripts/dtc/checks.c if (strprefixeq(prop->name, 4, "spi-")) { prop 1101 scripts/dtc/checks.c struct property *prop; prop 1113 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 1114 scripts/dtc/checks.c if (prop) prop 1115 scripts/dtc/checks.c cells = (cell_t *)prop->val.val; prop 1181 scripts/dtc/checks.c struct property *prop; prop 1192 scripts/dtc/checks.c prop = get_property(child, "reg"); prop 1193 scripts/dtc/checks.c if (prop) prop 1204 scripts/dtc/checks.c struct property *prop; prop 1206 scripts/dtc/checks.c prop = get_property(node, "status"); prop 1207 scripts/dtc/checks.c if (prop) { prop 1208 scripts/dtc/checks.c char *str = prop->val.val; prop 1274 scripts/dtc/checks.c struct property *prop; prop 1284 scripts/dtc/checks.c prop = get_property(chosen, "interrupt-controller"); prop 1285 scripts/dtc/checks.c if (prop) prop 1286 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1306 scripts/dtc/checks.c struct property *prop; prop 1311 scripts/dtc/checks.c prop = get_property(node, "bootargs"); prop 1312 scripts/dtc/checks.c if (!prop) prop 1315 scripts/dtc/checks.c c->data = prop->name; prop 1323 scripts/dtc/checks.c struct property *prop; prop 1328 scripts/dtc/checks.c prop = get_property(node, "stdout-path"); prop 1329 scripts/dtc/checks.c if (!prop) { prop 1330 scripts/dtc/checks.c prop = get_property(node, "linux,stdout-path"); prop 1331 scripts/dtc/checks.c if (!prop) prop 1333 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, "Use 'stdout-path' instead"); prop 1336 scripts/dtc/checks.c c->data = prop->name; prop 1350 scripts/dtc/checks.c struct property *prop, prop 1356 scripts/dtc/checks.c if (prop->val.len % sizeof(cell_t)) { prop 1357 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1359 scripts/dtc/checks.c prop->val.len, sizeof(cell_t)); prop 1363 scripts/dtc/checks.c for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { prop 1368 scripts/dtc/checks.c phandle = propval_cell_n(prop, cell); prop 1383 scripts/dtc/checks.c if (prop->val.markers) { prop 1384 scripts/dtc/checks.c struct marker *m = prop->val.markers; prop 1390 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1397 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1412 scripts/dtc/checks.c prop->name, cell); prop 1416 scripts/dtc/checks.c if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { prop 1417 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1419 scripts/dtc/checks.c prop->val.len, cellsize); prop 1429 scripts/dtc/checks.c struct property *prop; prop 1431 scripts/dtc/checks.c prop = get_property(node, provider->prop_name); prop 1432 scripts/dtc/checks.c if (!prop) prop 1435 scripts/dtc/checks.c check_property_phandle_args(c, dti, node, prop, provider); prop 1458 scripts/dtc/checks.c static bool prop_is_gpio(struct property *prop) prop 1466 scripts/dtc/checks.c if (strstr(prop->name, "nr-gpio")) prop 1469 scripts/dtc/checks.c str = strrchr(prop->name, '-'); prop 1473 scripts/dtc/checks.c str = prop->name; prop 1484 scripts/dtc/checks.c struct property *prop; prop 1490 scripts/dtc/checks.c for_each_property(node, prop) { prop 1493 scripts/dtc/checks.c if (!prop_is_gpio(prop)) prop 1496 scripts/dtc/checks.c provider.prop_name = prop->name; prop 1499 scripts/dtc/checks.c check_property_phandle_args(c, dti, node, prop, &provider); prop 1509 scripts/dtc/checks.c struct property *prop; prop 1511 scripts/dtc/checks.c for_each_property(node, prop) { prop 1514 scripts/dtc/checks.c if (!prop_is_gpio(prop)) prop 1517 scripts/dtc/checks.c str = strstr(prop->name, "gpio"); prop 1521 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1530 scripts/dtc/checks.c struct property *prop; prop 1532 scripts/dtc/checks.c prop = get_property(node, "interrupt-controller"); prop 1533 scripts/dtc/checks.c if (prop) prop 1536 scripts/dtc/checks.c prop = get_property(node, "interrupt-map"); prop 1537 scripts/dtc/checks.c if (prop) prop 1548 scripts/dtc/checks.c struct property *irq_prop, *prop = NULL; prop 1559 scripts/dtc/checks.c while (parent && !prop) { prop 1565 scripts/dtc/checks.c prop = get_property(parent, "interrupt-parent"); prop 1566 scripts/dtc/checks.c if (prop) { prop 1567 scripts/dtc/checks.c phandle = propval_cell(prop); prop 1573 scripts/dtc/checks.c FAIL_PROP(c, dti, parent, prop, "Invalid phandle"); prop 1579 scripts/dtc/checks.c FAIL_PROP(c, dti, parent, prop, "Bad phandle"); prop 1597 scripts/dtc/checks.c prop = get_property(irq_node, "#interrupt-cells"); prop 1598 scripts/dtc/checks.c if (!prop) { prop 1603 scripts/dtc/checks.c irq_cells = propval_cell(prop); prop 1605 scripts/dtc/checks.c FAIL_PROP(c, dti, node, prop, prop 1653 scripts/dtc/checks.c struct property *prop = get_property(child, "reg"); prop 1656 scripts/dtc/checks.c if (prop && propval_cell(prop) != 0) prop 1673 scripts/dtc/checks.c struct property *prop; prop 1675 scripts/dtc/checks.c prop = get_property(node, "reg"); prop 1676 scripts/dtc/checks.c if (!prop || !unitname) prop 1679 scripts/dtc/checks.c if (!(prop->val.val && prop->val.len == sizeof(cell_t))) { prop 1684 scripts/dtc/checks.c snprintf(unit_addr, sizeof(unit_addr), "%x", propval_cell(prop)); prop 1717 scripts/dtc/checks.c struct property *prop; prop 1719 scripts/dtc/checks.c prop = get_property(endpoint, "remote-endpoint"); prop 1720 scripts/dtc/checks.c if (!prop) prop 1723 scripts/dtc/checks.c phandle = propval_cell(prop); prop 1730 scripts/dtc/checks.c FAIL_PROP(c, dti, endpoint, prop, "graph phandle is not valid"); prop 35 scripts/dtc/dtc-parser.y struct property *prop; prop 70 scripts/dtc/dtc-parser.y %type <prop> propdef prop 212 scripts/dtc/dtc.h void add_property(struct node *node, struct property *prop); prop 214 scripts/dtc/dtc.h void delete_property(struct property *prop); prop 224 scripts/dtc/dtc.h cell_t propval_cell(struct property *prop); prop 225 scripts/dtc/dtc.h cell_t propval_cell_n(struct property *prop, int n); prop 229 scripts/dtc/dtc.h struct node **node, struct property **prop); prop 112 scripts/dtc/fdtget.c int prop; prop 114 scripts/dtc/fdtget.c prop = fdt_first_property_offset(blob, node); prop 117 scripts/dtc/fdtget.c if (prop < 0) prop 118 scripts/dtc/fdtget.c return prop == -FDT_ERR_NOTFOUND ? 0 : prop; prop 119 scripts/dtc/fdtget.c data = fdt_get_property_by_offset(blob, prop, NULL); prop 123 scripts/dtc/fdtget.c prop = fdt_next_property_offset(blob, prop); prop 240 scripts/dtc/fdtget.c const char *prop; prop 258 scripts/dtc/fdtget.c prop = args_per_step == 1 ? NULL : arg[i + 1]; prop 260 scripts/dtc/fdtget.c if (show_data_for_item(blob, disp, node, prop)) prop 239 scripts/dtc/flattree.c struct property *prop; prop 255 scripts/dtc/flattree.c for_each_property(tree, prop) { prop 258 scripts/dtc/flattree.c if (streq(prop->name, "name")) prop 261 scripts/dtc/flattree.c nameoff = stringtable_insert(strbuf, prop->name); prop 263 scripts/dtc/flattree.c emit->property(etarget, prop->labels); prop 264 scripts/dtc/flattree.c emit->cell(etarget, prop->val.len); prop 267 scripts/dtc/flattree.c if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) prop 270 scripts/dtc/flattree.c emit->data(etarget, prop->val); prop 748 scripts/dtc/flattree.c struct property *prop; prop 757 scripts/dtc/flattree.c prop = flat_read_property(dtbuf, strbuf, flags); prop 758 scripts/dtc/flattree.c add_property(node, prop); prop 37 scripts/dtc/fstree.c struct property *prop; prop 46 scripts/dtc/fstree.c prop = build_property(xstrdup(de->d_name), prop 50 scripts/dtc/fstree.c add_property(tree, prop); prop 59 scripts/dtc/libfdt/fdt_addresses.c uint8_t data[sizeof(fdt64_t) * 2], *prop; prop 72 scripts/dtc/libfdt/fdt_addresses.c prop = data; prop 77 scripts/dtc/libfdt/fdt_addresses.c fdt32_st(prop, (uint32_t)addr); prop 79 scripts/dtc/libfdt/fdt_addresses.c fdt64_st(prop, addr); prop 85 scripts/dtc/libfdt/fdt_addresses.c prop += addr_cells * sizeof(fdt32_t); prop 90 scripts/dtc/libfdt/fdt_addresses.c fdt32_st(prop, (uint32_t)size); prop 92 scripts/dtc/libfdt/fdt_addresses.c fdt64_st(prop, size); prop 564 scripts/dtc/libfdt/fdt_overlay.c const void *prop; prop 568 scripts/dtc/libfdt/fdt_overlay.c prop = fdt_getprop_by_offset(fdto, property, &name, prop 575 scripts/dtc/libfdt/fdt_overlay.c ret = fdt_setprop(fdt, target, name, prop, prop_len); prop 696 scripts/dtc/libfdt/fdt_overlay.c int root_sym, ov_sym, prop, path_len, fragment, target; prop 724 scripts/dtc/libfdt/fdt_overlay.c fdt_for_each_property_offset(prop, fdto, ov_sym) { prop 725 scripts/dtc/libfdt/fdt_overlay.c path = fdt_getprop_by_offset(fdto, prop, &name, &path_len); prop 346 scripts/dtc/libfdt/fdt_ro.c const struct fdt_property *prop; prop 354 scripts/dtc/libfdt/fdt_ro.c prop = fdt_offset_ptr_(fdt, offset); prop 357 scripts/dtc/libfdt/fdt_ro.c *lenp = fdt32_ld(&prop->len); prop 359 scripts/dtc/libfdt/fdt_ro.c return prop; prop 388 scripts/dtc/libfdt/fdt_ro.c const struct fdt_property *prop; prop 390 scripts/dtc/libfdt/fdt_ro.c if (!(prop = fdt_get_property_by_offset_(fdt, offset, lenp))) { prop 394 scripts/dtc/libfdt/fdt_ro.c if (fdt_string_eq_(fdt, fdt32_ld(&prop->nameoff), prop 398 scripts/dtc/libfdt/fdt_ro.c return prop; prop 438 scripts/dtc/libfdt/fdt_ro.c const struct fdt_property *prop; prop 440 scripts/dtc/libfdt/fdt_ro.c prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, prop 442 scripts/dtc/libfdt/fdt_ro.c if (!prop) prop 446 scripts/dtc/libfdt/fdt_ro.c if (fdt_version(fdt) < 0x10 && (poffset + sizeof(*prop)) % 8 && prop 447 scripts/dtc/libfdt/fdt_ro.c fdt32_ld(&prop->len) >= 8) prop 448 scripts/dtc/libfdt/fdt_ro.c return prop->data + 4; prop 449 scripts/dtc/libfdt/fdt_ro.c return prop->data; prop 455 scripts/dtc/libfdt/fdt_ro.c const struct fdt_property *prop; prop 457 scripts/dtc/libfdt/fdt_ro.c prop = fdt_get_property_by_offset_(fdt, offset, lenp); prop 458 scripts/dtc/libfdt/fdt_ro.c if (!prop) prop 463 scripts/dtc/libfdt/fdt_ro.c name = fdt_get_string(fdt, fdt32_ld(&prop->nameoff), prop 474 scripts/dtc/libfdt/fdt_ro.c if (fdt_version(fdt) < 0x10 && (offset + sizeof(*prop)) % 8 && prop 475 scripts/dtc/libfdt/fdt_ro.c fdt32_ld(&prop->len) >= 8) prop 476 scripts/dtc/libfdt/fdt_ro.c return prop->data + 4; prop 477 scripts/dtc/libfdt/fdt_ro.c return prop->data; prop 801 scripts/dtc/libfdt/fdt_ro.c const void *prop; prop 804 scripts/dtc/libfdt/fdt_ro.c prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); prop 805 scripts/dtc/libfdt/fdt_ro.c if (!prop) prop 808 scripts/dtc/libfdt/fdt_ro.c return !fdt_stringlist_contains(prop, len, compatible); prop 843 scripts/dtc/libfdt/fdt_ro.c const void *prop; prop 887 scripts/dtc/libfdt/fdt_ro.c prop = fdt_getprop_by_offset(fdt, offset, &propname, prop 889 scripts/dtc/libfdt/fdt_ro.c if (!prop) prop 171 scripts/dtc/libfdt/fdt_rw.c int len, struct fdt_property **prop) prop 176 scripts/dtc/libfdt/fdt_rw.c *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); prop 177 scripts/dtc/libfdt/fdt_rw.c if (!*prop) prop 180 scripts/dtc/libfdt/fdt_rw.c if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), prop 184 scripts/dtc/libfdt/fdt_rw.c (*prop)->len = cpu_to_fdt32(len); prop 189 scripts/dtc/libfdt/fdt_rw.c int len, struct fdt_property **prop) prop 204 scripts/dtc/libfdt/fdt_rw.c *prop = fdt_offset_ptr_w_(fdt, nextoffset); prop 205 scripts/dtc/libfdt/fdt_rw.c proplen = sizeof(**prop) + FDT_TAGALIGN(len); prop 207 scripts/dtc/libfdt/fdt_rw.c err = fdt_splice_struct_(fdt, *prop, 0, proplen); prop 214 scripts/dtc/libfdt/fdt_rw.c (*prop)->tag = cpu_to_fdt32(FDT_PROP); prop 215 scripts/dtc/libfdt/fdt_rw.c (*prop)->nameoff = cpu_to_fdt32(namestroff); prop 216 scripts/dtc/libfdt/fdt_rw.c (*prop)->len = cpu_to_fdt32(len); prop 246 scripts/dtc/libfdt/fdt_rw.c struct fdt_property *prop; prop 251 scripts/dtc/libfdt/fdt_rw.c err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); prop 253 scripts/dtc/libfdt/fdt_rw.c err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); prop 257 scripts/dtc/libfdt/fdt_rw.c *prop_data = prop->data; prop 279 scripts/dtc/libfdt/fdt_rw.c struct fdt_property *prop; prop 284 scripts/dtc/libfdt/fdt_rw.c prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); prop 285 scripts/dtc/libfdt/fdt_rw.c if (prop) { prop 287 scripts/dtc/libfdt/fdt_rw.c err = fdt_splice_struct_(fdt, prop->data, prop 292 scripts/dtc/libfdt/fdt_rw.c prop->len = cpu_to_fdt32(newlen); prop 293 scripts/dtc/libfdt/fdt_rw.c memcpy(prop->data + oldlen, val, len); prop 295 scripts/dtc/libfdt/fdt_rw.c err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); prop 298 scripts/dtc/libfdt/fdt_rw.c memcpy(prop->data, val, len); prop 305 scripts/dtc/libfdt/fdt_rw.c struct fdt_property *prop; prop 310 scripts/dtc/libfdt/fdt_rw.c prop = fdt_get_property_w(fdt, nodeoffset, name, &len); prop 311 scripts/dtc/libfdt/fdt_rw.c if (!prop) prop 314 scripts/dtc/libfdt/fdt_rw.c proplen = sizeof(*prop) + FDT_TAGALIGN(len); prop 315 scripts/dtc/libfdt/fdt_rw.c return fdt_splice_struct_(fdt, prop, proplen, 0); prop 287 scripts/dtc/libfdt/fdt_sw.c struct fdt_property *prop; prop 303 scripts/dtc/libfdt/fdt_sw.c prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); prop 304 scripts/dtc/libfdt/fdt_sw.c if (! prop) { prop 310 scripts/dtc/libfdt/fdt_sw.c prop->tag = cpu_to_fdt32(FDT_PROP); prop 311 scripts/dtc/libfdt/fdt_sw.c prop->nameoff = cpu_to_fdt32(nameoff); prop 312 scripts/dtc/libfdt/fdt_sw.c prop->len = cpu_to_fdt32(len); prop 313 scripts/dtc/libfdt/fdt_sw.c *valp = prop->data; prop 355 scripts/dtc/libfdt/fdt_sw.c struct fdt_property *prop = prop 359 scripts/dtc/libfdt/fdt_sw.c nameoff = fdt32_to_cpu(prop->nameoff); prop 361 scripts/dtc/libfdt/fdt_sw.c prop->nameoff = cpu_to_fdt32(nameoff); prop 61 scripts/dtc/libfdt/fdt_wip.c struct fdt_property *prop; prop 64 scripts/dtc/libfdt/fdt_wip.c prop = fdt_get_property_w(fdt, nodeoffset, name, &len); prop 65 scripts/dtc/libfdt/fdt_wip.c if (!prop) prop 68 scripts/dtc/libfdt/fdt_wip.c fdt_nop_region_(prop, len + sizeof(*prop)); prop 266 scripts/dtc/livetree.c void add_property(struct node *node, struct property *prop) prop 270 scripts/dtc/livetree.c prop->next = NULL; prop 276 scripts/dtc/livetree.c *p = prop; prop 281 scripts/dtc/livetree.c struct property *prop = node->proplist; prop 283 scripts/dtc/livetree.c while (prop) { prop 284 scripts/dtc/livetree.c if (streq(prop->name, name)) { prop 285 scripts/dtc/livetree.c delete_property(prop); prop 288 scripts/dtc/livetree.c prop = prop->next; prop 292 scripts/dtc/livetree.c void delete_property(struct property *prop) prop 294 scripts/dtc/livetree.c prop->deleted = 1; prop 295 scripts/dtc/livetree.c delete_labels(&prop->labels); prop 327 scripts/dtc/livetree.c struct property *prop; prop 333 scripts/dtc/livetree.c for_each_property(node, prop) prop 334 scripts/dtc/livetree.c delete_property(prop); prop 426 scripts/dtc/livetree.c struct property *prop; prop 428 scripts/dtc/livetree.c for_each_property(node, prop) prop 429 scripts/dtc/livetree.c if (streq(prop->name, propname)) prop 430 scripts/dtc/livetree.c return prop; prop 435 scripts/dtc/livetree.c cell_t propval_cell(struct property *prop) prop 437 scripts/dtc/livetree.c assert(prop->val.len == sizeof(cell_t)); prop 438 scripts/dtc/livetree.c return fdt32_to_cpu(*((fdt32_t *)prop->val.val)); prop 441 scripts/dtc/livetree.c cell_t propval_cell_n(struct property *prop, int n) prop 443 scripts/dtc/livetree.c assert(prop->val.len / sizeof(cell_t) >= n); prop 444 scripts/dtc/livetree.c return fdt32_to_cpu(*((fdt32_t *)prop->val.val + n)); prop 450 scripts/dtc/livetree.c struct property *prop; prop 455 scripts/dtc/livetree.c for_each_property(tree, prop) { prop 458 scripts/dtc/livetree.c for_each_label(prop->labels, l) prop 460 scripts/dtc/livetree.c return prop; prop 464 scripts/dtc/livetree.c prop = get_property_by_label(c, label, node); prop 465 scripts/dtc/livetree.c if (prop) prop 466 scripts/dtc/livetree.c return prop; prop 474 scripts/dtc/livetree.c struct node **node, struct property **prop) prop 483 scripts/dtc/livetree.c *prop = p; prop 491 scripts/dtc/livetree.c m = get_marker_label(c, label, node, prop); prop 496 scripts/dtc/livetree.c *prop = NULL; prop 709 scripts/dtc/livetree.c struct property *prop, **tbl; prop 711 scripts/dtc/livetree.c for_each_property_withdel(node, prop) prop 719 scripts/dtc/livetree.c for_each_property_withdel(node, prop) prop 720 scripts/dtc/livetree.c tbl[i++] = prop; prop 868 scripts/dtc/livetree.c struct property *prop; prop 871 scripts/dtc/livetree.c for_each_property(node, prop) { prop 872 scripts/dtc/livetree.c m = prop->val.markers; prop 888 scripts/dtc/livetree.c struct node *node, struct property *prop, prop 897 scripts/dtc/livetree.c if (strchr(node->fullpath, ':') || strchr(prop->name, ':')) prop 901 scripts/dtc/livetree.c node->fullpath, prop->name, m->offset); prop 913 scripts/dtc/livetree.c struct property *prop; prop 917 scripts/dtc/livetree.c for_each_property(node, prop) { prop 918 scripts/dtc/livetree.c m = prop->val.markers; prop 922 scripts/dtc/livetree.c add_fixup_entry(dti, fn, node, prop, m); prop 933 scripts/dtc/livetree.c struct property *prop; prop 936 scripts/dtc/livetree.c for_each_property(node, prop) { prop 937 scripts/dtc/livetree.c m = prop->val.markers; prop 954 scripts/dtc/livetree.c struct property *prop, struct marker *m, prop 985 scripts/dtc/livetree.c append_to_property(wn, prop->name, &value_32, sizeof(value_32), TYPE_UINT32); prop 994 scripts/dtc/livetree.c struct property *prop; prop 998 scripts/dtc/livetree.c for_each_property(node, prop) { prop 999 scripts/dtc/livetree.c m = prop->val.markers; prop 1003 scripts/dtc/livetree.c add_local_fixup_entry(dti, lfn, node, prop, m, refnode); prop 163 scripts/dtc/treesource.c static enum markertype guess_value_type(struct property *prop) prop 165 scripts/dtc/treesource.c int len = prop->val.len; prop 166 scripts/dtc/treesource.c const char *p = prop->val.val; prop 167 scripts/dtc/treesource.c struct marker *m = prop->val.markers; prop 180 scripts/dtc/treesource.c if ((m->offset > 0) && (prop->val.val[m->offset - 1] != '\0')) prop 196 scripts/dtc/treesource.c static void write_propval(FILE *f, struct property *prop) prop 198 scripts/dtc/treesource.c size_t len = prop->val.len; prop 199 scripts/dtc/treesource.c struct marker *m = prop->val.markers; prop 207 scripts/dtc/treesource.c srcstr = srcpos_string_first(prop->srcpos, annotate); prop 221 scripts/dtc/treesource.c dummy_marker.type = guess_value_type(prop); prop 222 scripts/dtc/treesource.c dummy_marker.next = prop->val.markers; prop 231 scripts/dtc/treesource.c const char *p = &prop->val.val[m->offset]; prop 272 scripts/dtc/treesource.c srcstr = srcpos_string_first(prop->srcpos, annotate); prop 283 scripts/dtc/treesource.c struct property *prop; prop 305 scripts/dtc/treesource.c for_each_property(tree, prop) { prop 307 scripts/dtc/treesource.c for_each_label(prop->labels, l) prop 309 scripts/dtc/treesource.c fprintf(f, "%s", prop->name); prop 310 scripts/dtc/treesource.c write_propval(f, prop); prop 112 scripts/dtc/yamltree.c static void yaml_propval(yaml_emitter_t *emitter, struct property *prop) prop 115 scripts/dtc/yamltree.c int len = prop->val.len; prop 116 scripts/dtc/yamltree.c struct marker *m = prop->val.markers; prop 120 scripts/dtc/yamltree.c (yaml_char_t *)YAML_STR_TAG, (yaml_char_t*)prop->name, prop 121 scripts/dtc/yamltree.c strlen(prop->name), 1, 1, YAML_PLAIN_SCALAR_STYLE); prop 135 scripts/dtc/yamltree.c die("No markers present in property '%s' value\n", prop->name); prop 143 scripts/dtc/yamltree.c char *data = &prop->val.val[m->offset]; prop 178 scripts/dtc/yamltree.c struct property *prop; prop 189 scripts/dtc/yamltree.c for_each_property(tree, prop) prop 190 scripts/dtc/yamltree.c yaml_propval(emitter, prop); prop 347 scripts/kconfig/conf.c struct property *prop; prop 354 scripts/kconfig/conf.c prop = menu->prompt; prop 355 scripts/kconfig/conf.c if (prop) { prop 358 scripts/kconfig/conf.c switch (prop->type) { prop 362 scripts/kconfig/confdata.c struct property *prop; prop 372 scripts/kconfig/confdata.c for_all_defaults(sym_defconfig_list, prop) { prop 373 scripts/kconfig/confdata.c if (expr_calc_value(prop->visible.expr) == no || prop 374 scripts/kconfig/confdata.c prop->expr->type != E_SYMBOL) prop 376 scripts/kconfig/confdata.c sym_calc_value(prop->expr->left.sym); prop 377 scripts/kconfig/confdata.c name = sym_get_string_value(prop->expr->left.sym); prop 1172 scripts/kconfig/confdata.c struct property *prop; prop 1185 scripts/kconfig/confdata.c prop = sym_get_choice_prop(csym); prop 1189 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) prop 1199 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { prop 1220 scripts/kconfig/confdata.c struct property *prop; prop 1224 scripts/kconfig/confdata.c prop = sym_get_choice_prop(csym); prop 1229 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { prop 120 scripts/kconfig/expr.h struct property *prop; prop 207 scripts/kconfig/expr.h for (st = sym->prop; st; st = st->next) \ prop 212 scripts/kconfig/expr.h for (st = sym->prop; st; st = st->next) \ prop 1336 scripts/kconfig/gconf.c struct property *prop; prop 1346 scripts/kconfig/gconf.c prop = child->prompt; prop 1348 scripts/kconfig/gconf.c ptype = prop ? prop->type : P_UNKNOWN; prop 116 scripts/kconfig/lkc.h struct symbol *prop_get_symbol(struct property *prop); prop 468 scripts/kconfig/mconf.c struct property *prop; prop 486 scripts/kconfig/mconf.c prop = menu->prompt; prop 488 scripts/kconfig/mconf.c if (prop && menu != current_menu) { prop 490 scripts/kconfig/mconf.c switch (prop->type) { prop 31 scripts/kconfig/menu.c static void prop_warn(struct property *prop, const char *fmt, ...) prop 35 scripts/kconfig/menu.c fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); prop 129 scripts/kconfig/menu.c struct property *prop = prop_alloc(type, current_entry->sym); prop 131 scripts/kconfig/menu.c prop->menu = current_entry; prop 132 scripts/kconfig/menu.c prop->expr = expr; prop 133 scripts/kconfig/menu.c prop->visible.expr = dep; prop 137 scripts/kconfig/menu.c prop_warn(prop, "leading whitespace ignored"); prop 142 scripts/kconfig/menu.c prop_warn(prop, "prompt redefined"); prop 164 scripts/kconfig/menu.c prop->visible.expr prop 165 scripts/kconfig/menu.c = expr_alloc_and(prop->visible.expr, prop 170 scripts/kconfig/menu.c current_entry->prompt = prop; prop 172 scripts/kconfig/menu.c prop->text = prompt; prop 174 scripts/kconfig/menu.c return prop; prop 228 scripts/kconfig/menu.c struct property *prop; prop 232 scripts/kconfig/menu.c for (prop = sym->prop; prop; prop = prop->next) { prop 233 scripts/kconfig/menu.c switch (prop->type) { prop 236 scripts/kconfig/menu.c prop->expr->type != E_SYMBOL) prop 237 scripts/kconfig/menu.c prop_warn(prop, prop 240 scripts/kconfig/menu.c if (prop->expr->type != E_SYMBOL) prop 242 scripts/kconfig/menu.c sym2 = prop_get_symbol(prop); prop 245 scripts/kconfig/menu.c prop_warn(prop, prop 255 scripts/kconfig/menu.c prop_warn(prop, prop 262 scripts/kconfig/menu.c use = prop->type == P_SELECT ? "select" : "imply"; prop 263 scripts/kconfig/menu.c sym2 = prop_get_symbol(prop); prop 265 scripts/kconfig/menu.c prop_warn(prop, prop 271 scripts/kconfig/menu.c prop_warn(prop, prop 278 scripts/kconfig/menu.c prop_warn(prop, "range is only allowed " prop 280 scripts/kconfig/menu.c if (!menu_validate_number(sym, prop->expr->left.sym) || prop 281 scripts/kconfig/menu.c !menu_validate_number(sym, prop->expr->right.sym)) prop 282 scripts/kconfig/menu.c prop_warn(prop, "range is invalid"); prop 294 scripts/kconfig/menu.c struct property *prop; prop 353 scripts/kconfig/menu.c prop = menu->sym->prop; prop 359 scripts/kconfig/menu.c prop = menu->prompt; prop 362 scripts/kconfig/menu.c for (; prop; prop = prop->next) { prop 363 scripts/kconfig/menu.c if (prop->menu != menu) prop 386 scripts/kconfig/menu.c dep = rewrite_m(prop->visible.expr); prop 392 scripts/kconfig/menu.c prop->visible.expr = dep; prop 398 scripts/kconfig/menu.c if (prop->type == P_SELECT) { prop 399 scripts/kconfig/menu.c struct symbol *es = prop_get_symbol(prop); prop 402 scripts/kconfig/menu.c } else if (prop->type == P_IMPLY) { prop 403 scripts/kconfig/menu.c struct symbol *es = prop_get_symbol(prop); prop 499 scripts/kconfig/menu.c for (prop = menu->sym->prop; prop; prop = prop->next) { prop 500 scripts/kconfig/menu.c if (prop->type == P_DEFAULT) prop 501 scripts/kconfig/menu.c prop_warn(prop, "defaults for choice " prop 503 scripts/kconfig/menu.c if (prop->menu == menu) prop 505 scripts/kconfig/menu.c if (prop->type == P_PROMPT && prop 506 scripts/kconfig/menu.c prop->menu->parent->sym != sym) prop 507 scripts/kconfig/menu.c prop_warn(prop, "choice value used outside its choice group"); prop 518 scripts/kconfig/menu.c for (prop = menu->sym->prop; prop; prop = prop->next) { prop 519 scripts/kconfig/menu.c if (prop->menu != menu) prop 521 scripts/kconfig/menu.c prop->visible.expr = expr_alloc_and(expr_copy(basedep), prop 522 scripts/kconfig/menu.c prop->visible.expr); prop 526 scripts/kconfig/menu.c prop = sym_get_choice_prop(sym); prop 527 scripts/kconfig/menu.c for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) prop 701 scripts/kconfig/menu.c static void get_prompt_str(struct gstr *r, struct property *prop, prop 708 scripts/kconfig/menu.c str_printf(r, "Prompt: %s\n", prop->text); prop 709 scripts/kconfig/menu.c menu = prop->menu->parent; prop 720 scripts/kconfig/menu.c if (menu_is_visible(prop->menu)) { prop 727 scripts/kconfig/menu.c jump->target = prop->menu; prop 763 scripts/kconfig/menu.c struct property *prop = NULL; prop 765 scripts/kconfig/menu.c for_all_properties(sym, prop, P_SYMBOL) prop 767 scripts/kconfig/menu.c return prop; prop 774 scripts/kconfig/menu.c struct property *prop; prop 776 scripts/kconfig/menu.c for_all_properties(sym, prop, tok) { prop 782 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); prop 794 scripts/kconfig/menu.c struct property *prop; prop 801 scripts/kconfig/menu.c prop = sym_get_range_prop(sym); prop 802 scripts/kconfig/menu.c if (prop) { prop 804 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); prop 809 scripts/kconfig/menu.c for_all_prompts(sym, prop) prop 810 scripts/kconfig/menu.c get_prompt_str(r, prop, head); prop 812 scripts/kconfig/menu.c prop = get_symbol_prop(sym); prop 813 scripts/kconfig/menu.c if (prop) { prop 814 scripts/kconfig/menu.c str_printf(r, " Defined at %s:%d\n", prop->menu->file->name, prop 815 scripts/kconfig/menu.c prop->menu->lineno); prop 816 scripts/kconfig/menu.c if (!expr_is_yes(prop->visible.expr)) { prop 818 scripts/kconfig/menu.c expr_gstr_print(prop->visible.expr, r); prop 738 scripts/kconfig/nconf.c struct property *prop; prop 748 scripts/kconfig/nconf.c prop = menu->prompt; prop 750 scripts/kconfig/nconf.c if (prop && menu != current_menu) { prop 595 scripts/kconfig/parser.y struct property *prop; prop 621 scripts/kconfig/parser.y for (prop = sym->prop; prop; prop = prop->next) { prop 622 scripts/kconfig/parser.y if (prop->menu != menu) prop 624 scripts/kconfig/parser.y switch (prop->type) { prop 627 scripts/kconfig/parser.y print_quoted_string(out, prop->text); prop 628 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { prop 630 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); prop 636 scripts/kconfig/parser.y expr_fprint(prop->expr, out); prop 637 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { prop 639 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); prop 648 scripts/kconfig/parser.y expr_fprint(prop->expr, out); prop 653 scripts/kconfig/parser.y expr_fprint(prop->expr, out); prop 658 scripts/kconfig/parser.y expr_fprint(prop->expr, out); prop 663 scripts/kconfig/parser.y print_quoted_string(out, prop->text); prop 668 scripts/kconfig/parser.y fprintf(out, "%s\n", prop->sym->name); prop 671 scripts/kconfig/parser.y fprintf(out, " unknown prop %d!\n", prop->type); prop 685 scripts/kconfig/parser.y struct property *prop; prop 693 scripts/kconfig/parser.y else if ((prop = menu->prompt)) { prop 694 scripts/kconfig/parser.y switch (prop->type) { prop 697 scripts/kconfig/parser.y print_quoted_string(out, prop->text); prop 702 scripts/kconfig/parser.y print_quoted_string(out, prop->text); prop 708 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { prop 710 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); prop 107 scripts/kconfig/qconf.cc struct property *prop; prop 120 scripts/kconfig/qconf.cc prop = menu->prompt; prop 123 scripts/kconfig/qconf.cc if (prop) switch (prop->type) { prop 1141 scripts/kconfig/qconf.cc for (struct property *prop = sym->prop; prop; prop = prop->next) { prop 1142 scripts/kconfig/qconf.cc switch (prop->type) { prop 1145 scripts/kconfig/qconf.cc debug += QString().sprintf("prompt: <a href=\"m%p\">", prop->menu); prop 1146 scripts/kconfig/qconf.cc debug += print_filter(prop->text); prop 1152 scripts/kconfig/qconf.cc debug += prop_get_type_name(prop->type); prop 1154 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); prop 1160 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); prop 1166 scripts/kconfig/qconf.cc debug += prop_get_type_name(prop->type); prop 1169 scripts/kconfig/qconf.cc if (prop->visible.expr) { prop 1171 scripts/kconfig/qconf.cc expr_print(prop->visible.expr, expr_print_help, &debug, E_NONE); prop 1314 scripts/kconfig/qconf.cc struct property *prop; prop 1325 scripts/kconfig/qconf.cc for_all_prompts((*p), prop) prop 1326 scripts/kconfig/qconf.cc lastItem = new ConfigItem(list->list, lastItem, prop->menu, prop 1327 scripts/kconfig/qconf.cc menu_is_visible(prop->menu)); prop 70 scripts/kconfig/symbol.c struct property *prop; prop 72 scripts/kconfig/symbol.c for_all_choices(sym, prop) prop 73 scripts/kconfig/symbol.c return prop; prop 79 scripts/kconfig/symbol.c struct property *prop; prop 81 scripts/kconfig/symbol.c for_all_defaults(sym, prop) { prop 82 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); prop 83 scripts/kconfig/symbol.c if (prop->visible.tri != no) prop 84 scripts/kconfig/symbol.c return prop; prop 91 scripts/kconfig/symbol.c struct property *prop; prop 93 scripts/kconfig/symbol.c for_all_properties(sym, prop, P_RANGE) { prop 94 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); prop 95 scripts/kconfig/symbol.c if (prop->visible.tri != no) prop 96 scripts/kconfig/symbol.c return prop; prop 119 scripts/kconfig/symbol.c struct property *prop; prop 134 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); prop 135 scripts/kconfig/symbol.c if (!prop) prop 138 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->left.sym, base); prop 140 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->right.sym, base); prop 153 scripts/kconfig/symbol.c struct property *prop; prop 156 scripts/kconfig/symbol.c for (prop = sym->prop; prop; prop = prop->next) { prop 157 scripts/kconfig/symbol.c if (prop->menu) prop 158 scripts/kconfig/symbol.c prop->menu->flags |= MENU_CHANGED; prop 173 scripts/kconfig/symbol.c struct property *prop; prop 183 scripts/kconfig/symbol.c for_all_prompts(sym, prop) { prop 184 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); prop 191 scripts/kconfig/symbol.c prop->visible.tri == mod && choice_sym->curr.tri == yes) prop 192 scripts/kconfig/symbol.c prop->visible.tri = no; prop 194 scripts/kconfig/symbol.c tri = EXPR_OR(tri, prop->visible.tri); prop 243 scripts/kconfig/symbol.c struct property *prop; prop 247 scripts/kconfig/symbol.c for_all_defaults(sym, prop) { prop 248 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); prop 249 scripts/kconfig/symbol.c if (prop->visible.tri == no) prop 251 scripts/kconfig/symbol.c def_sym = prop_get_symbol(prop); prop 257 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 258 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) prop 269 scripts/kconfig/symbol.c struct property *prop; prop 275 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 276 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) { prop 322 scripts/kconfig/symbol.c struct property *prop; prop 334 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 335 scripts/kconfig/symbol.c sym_calc_value(prop_get_symbol(prop)); prop 371 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 372 scripts/kconfig/symbol.c newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; prop 387 scripts/kconfig/symbol.c prop = sym_get_default_prop(sym); prop 388 scripts/kconfig/symbol.c if (prop) { prop 389 scripts/kconfig/symbol.c newval.tri = EXPR_AND(expr_calc_value(prop->expr), prop 390 scripts/kconfig/symbol.c prop->visible.tri); prop 415 scripts/kconfig/symbol.c prop = sym_get_default_prop(sym); prop 416 scripts/kconfig/symbol.c if (prop) { prop 417 scripts/kconfig/symbol.c struct symbol *ds = prop_get_symbol(prop); prop 445 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 446 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, choice_sym) { prop 511 scripts/kconfig/symbol.c struct property *prop; prop 516 scripts/kconfig/symbol.c prop = sym_get_choice_prop(cs); prop 517 scripts/kconfig/symbol.c for (e = prop->expr; e; e = e->left.expr) { prop 598 scripts/kconfig/symbol.c struct property *prop; prop 607 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); prop 608 scripts/kconfig/symbol.c if (!prop) prop 611 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 10) && prop 612 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 10); prop 616 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); prop 617 scripts/kconfig/symbol.c if (!prop) prop 620 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 16) && prop 621 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 16); prop 696 scripts/kconfig/symbol.c struct property *prop; prop 707 scripts/kconfig/symbol.c prop = sym_get_default_prop(sym); prop 708 scripts/kconfig/symbol.c if (prop != NULL) { prop 713 scripts/kconfig/symbol.c val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); prop 721 scripts/kconfig/symbol.c ds = prop_get_symbol(prop); prop 1010 scripts/kconfig/symbol.c struct property *prop; prop 1041 scripts/kconfig/symbol.c struct property *prop; prop 1060 scripts/kconfig/symbol.c prop = stack->prop; prop 1061 scripts/kconfig/symbol.c if (prop == NULL) prop 1062 scripts/kconfig/symbol.c prop = stack->sym->prop; prop 1066 scripts/kconfig/symbol.c for (prop = sym->prop; prop; prop = prop->next) { prop 1067 scripts/kconfig/symbol.c menu = prop->menu; prop 1068 scripts/kconfig/symbol.c if (prop->menu) prop 1074 scripts/kconfig/symbol.c prop->file->name, prop->lineno); prop 1088 scripts/kconfig/symbol.c prop->file->name, prop->lineno, prop 1093 scripts/kconfig/symbol.c prop->file->name, prop->lineno, prop 1098 scripts/kconfig/symbol.c prop->file->name, prop->lineno, prop 1103 scripts/kconfig/symbol.c prop->file->name, prop->lineno, prop 1105 scripts/kconfig/symbol.c prop_get_type_name(prop->type), prop 1109 scripts/kconfig/symbol.c prop->file->name, prop->lineno, prop 1111 scripts/kconfig/symbol.c prop_get_type_name(prop->type), prop 1163 scripts/kconfig/symbol.c struct property *prop; prop 1185 scripts/kconfig/symbol.c for (prop = sym->prop; prop; prop = prop->next) { prop 1186 scripts/kconfig/symbol.c if (prop->type == P_CHOICE || prop->type == P_SELECT || prop 1187 scripts/kconfig/symbol.c prop->type == P_IMPLY) prop 1189 scripts/kconfig/symbol.c stack.prop = prop; prop 1190 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->visible.expr); prop 1193 scripts/kconfig/symbol.c if (prop->type != P_DEFAULT || sym_is_choice(sym)) prop 1195 scripts/kconfig/symbol.c stack.expr = &prop->expr; prop 1196 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->expr); prop 1211 scripts/kconfig/symbol.c struct property *prop; prop 1217 scripts/kconfig/symbol.c prop = sym_get_choice_prop(choice); prop 1218 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) prop 1227 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) { prop 1233 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) prop 1248 scripts/kconfig/symbol.c struct property *prop; prop 1262 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); prop 1263 scripts/kconfig/symbol.c sym2 = sym_check_deps(prop_get_symbol(prop)); prop 1278 scripts/kconfig/symbol.c struct property *prop; prop 1281 scripts/kconfig/symbol.c prop = xmalloc(sizeof(*prop)); prop 1282 scripts/kconfig/symbol.c memset(prop, 0, sizeof(*prop)); prop 1283 scripts/kconfig/symbol.c prop->type = type; prop 1284 scripts/kconfig/symbol.c prop->sym = sym; prop 1285 scripts/kconfig/symbol.c prop->file = current_file; prop 1286 scripts/kconfig/symbol.c prop->lineno = zconf_lineno(); prop 1290 scripts/kconfig/symbol.c for (propp = &sym->prop; *propp; propp = &(*propp)->next) prop 1292 scripts/kconfig/symbol.c *propp = prop; prop 1295 scripts/kconfig/symbol.c return prop; prop 1298 scripts/kconfig/symbol.c struct symbol *prop_get_symbol(struct property *prop) prop 1300 scripts/kconfig/symbol.c if (prop->expr && (prop->expr->type == E_SYMBOL || prop 1301 scripts/kconfig/symbol.c prop->expr->type == E_LIST)) prop 1302 scripts/kconfig/symbol.c return prop->expr->left.sym; prop 1452 security/selinux/ss/policydb.c u32 prop = le32_to_cpu(buf[2]); prop 1454 security/selinux/ss/policydb.c if (prop & TYPEDATUM_PROPERTY_PRIMARY) prop 1456 security/selinux/ss/policydb.c if (prop & TYPEDATUM_PROPERTY_ATTRIBUTE) prop 922 sound/ppc/pmac.c const unsigned int *prop; prop 984 sound/ppc/pmac.c prop = of_get_property(sound, "sub-frame", NULL); prop 985 sound/ppc/pmac.c if (prop && *prop < 16) prop 986 sound/ppc/pmac.c chip->subframe = *prop; prop 987 sound/ppc/pmac.c prop = of_get_property(sound, "layout-id", NULL); prop 988 sound/ppc/pmac.c if (prop) { prop 1036 sound/ppc/pmac.c prop = of_get_property(sound, "device-id", NULL); prop 1037 sound/ppc/pmac.c if (prop) prop 1038 sound/ppc/pmac.c chip->device_id = *prop; prop 1068 sound/ppc/pmac.c prop = of_get_property(sound, "sample-rates", &l); prop 1069 sound/ppc/pmac.c if (! prop) prop 1070 sound/ppc/pmac.c prop = of_get_property(sound, "output-frame-rates", &l); prop 1071 sound/ppc/pmac.c if (prop) { prop 1075 sound/ppc/pmac.c unsigned int r = *prop++; prop 1124 sound/ppc/tumbler.c const u32 *prop = NULL; prop 1134 sound/ppc/tumbler.c prop = of_get_property(node, platform, NULL); prop 1135 sound/ppc/tumbler.c if (prop) { prop 1136 sound/ppc/tumbler.c if (prop[3] == 0x9 && prop[4] == 0x9) { prop 1140 sound/ppc/tumbler.c if (prop[3] == 0x1 && prop[4] == 0x1) { prop 617 sound/soc/codecs/ak4613.c char prop[32]; prop 622 sound/soc/codecs/ak4613.c snprintf(prop, sizeof(prop), "asahi-kasei,in%d-single-end", i + 1); prop 623 sound/soc/codecs/ak4613.c if (!of_get_property(np, prop, NULL)) prop 629 sound/soc/codecs/ak4613.c snprintf(prop, sizeof(prop), "asahi-kasei,out%d-single-end", i + 1); prop 630 sound/soc/codecs/ak4613.c if (!of_get_property(np, prop, NULL)) prop 2788 sound/soc/codecs/arizona.c struct property *prop; prop 2796 sound/soc/codecs/arizona.c of_property_for_each_u32(np, "wlf,inmode", prop, cur, val) { prop 2805 sound/soc/codecs/arizona.c of_property_for_each_u32(np, "wlf,dmic-ref", prop, cur, val) { prop 2814 sound/soc/codecs/arizona.c of_property_for_each_u32(np, "wlf,out-mono", prop, cur, val) { prop 2823 sound/soc/codecs/arizona.c of_property_for_each_u32(np, "wlf,max-channels-clocked", prop, cur, val) { prop 2832 sound/soc/codecs/arizona.c of_property_for_each_u32(np, "wlf,out-volume-limit", prop, cur, val) { prop 376 sound/soc/fsl/mpc5200_dma.c const __be32 *prop; prop 400 sound/soc/fsl/mpc5200_dma.c prop = of_get_property(op->dev.of_node, "cell-index", &size); prop 401 sound/soc/fsl/mpc5200_dma.c if (!prop || size < sizeof *prop) { prop 408 sound/soc/fsl/mpc5200_dma.c psc_dma->id = be32_to_cpu(*prop); prop 40 sound/soc/generic/simple-card-utils.c char prop[128]; prop 46 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); prop 47 sound/soc/generic/simple-card-utils.c of_property_read_u32(np, prop, &data->convert_rate); prop 50 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); prop 51 sound/soc/generic/simple-card-utils.c of_property_read_u32(np, prop, &data->convert_channels); prop 131 sound/soc/generic/simple-card-utils.c char prop[128]; prop 133 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%sname", prefix); prop 134 sound/soc/generic/simple-card-utils.c ret = snd_soc_of_parse_card_name(card, prop); prop 403 sound/soc/generic/simple-card-utils.c char prop[128]; prop 408 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%s%s", prefix, "routing"); prop 410 sound/soc/generic/simple-card-utils.c if (!of_property_read_bool(node, prop)) prop 413 sound/soc/generic/simple-card-utils.c return snd_soc_of_parse_audio_routing(card, prop); prop 421 sound/soc/generic/simple-card-utils.c char prop[128]; prop 426 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%s%s", prefix, "widgets"); prop 428 sound/soc/generic/simple-card-utils.c if (of_property_read_bool(node, prop)) prop 429 sound/soc/generic/simple-card-utils.c return snd_soc_of_parse_audio_simple_widgets(card, prop); prop 444 sound/soc/generic/simple-card-utils.c char prop[128]; prop 450 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%s%s", prefix, "pin-switches"); prop 452 sound/soc/generic/simple-card-utils.c if (!of_property_read_bool(dev->of_node, prop)) prop 460 sound/soc/generic/simple-card-utils.c ret = of_property_read_string_array(dev->of_node, prop, prop 499 sound/soc/generic/simple-card-utils.c char prop[128]; prop 511 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%shp-det-gpio", prefix); prop 516 sound/soc/generic/simple-card-utils.c snprintf(prop, sizeof(prop), "%smic-det-gpio", prefix); prop 522 sound/soc/generic/simple-card-utils.c det = of_get_named_gpio_flags(dev->of_node, prop, 0, &flags); prop 102 sound/soc/generic/simple-card.c char prop[128]; prop 104 sound/soc/generic/simple-card.c snprintf(prop, sizeof(prop), "%smclk-fs", PREFIX); prop 105 sound/soc/generic/simple-card.c of_property_read_u32(top, prop, &props->mclk_fs); prop 107 sound/soc/generic/simple-card.c snprintf(prop, sizeof(prop), "%smclk-fs", prefix); prop 108 sound/soc/generic/simple-card.c of_property_read_u32(node, prop, &props->mclk_fs); prop 109 sound/soc/generic/simple-card.c of_property_read_u32(cpu, prop, &props->mclk_fs); prop 110 sound/soc/generic/simple-card.c of_property_read_u32(codec, prop, &props->mclk_fs); prop 259 sound/soc/generic/simple-card.c char prop[128]; prop 282 sound/soc/generic/simple-card.c snprintf(prop, sizeof(prop), "%splat", prefix); prop 283 sound/soc/generic/simple-card.c plat = of_get_child_by_name(node, prop); prop 1833 sound/soc/sh/fsi.c char prop[128]; prop 1845 sound/soc/sh/fsi.c sprintf(prop, "%s,%s", name, of_parse_property[i].name); prop 1846 sound/soc/sh/fsi.c if (of_get_property(np, prop, NULL)) prop 410 sound/soc/sh/rcar/adg.c struct property *prop; prop 440 sound/soc/sh/rcar/adg.c prop = of_find_property(np, "clock-frequency", NULL); prop 441 sound/soc/sh/rcar/adg.c if (!prop) prop 444 sound/soc/sh/rcar/adg.c req_size = prop->length / sizeof(u32); prop 3200 sound/soc/soc-core.c char prop[128]; prop 3229 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%sformat", prefix); prop 3230 sound/soc/soc-core.c ret = of_property_read_string(np, prop, &str); prop 3245 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix); prop 3246 sound/soc/soc-core.c if (of_property_read_bool(np, prop)) prop 3256 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%sbitclock-inversion", prefix); prop 3257 sound/soc/soc-core.c bit = !!of_get_property(np, prop, NULL); prop 3259 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%sframe-inversion", prefix); prop 3260 sound/soc/soc-core.c frame = !!of_get_property(np, prop, NULL); prop 3282 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%sbitclock-master", prefix); prop 3283 sound/soc/soc-core.c bit = !!of_get_property(np, prop, NULL); prop 3285 sound/soc/soc-core.c *bitclkmaster = of_parse_phandle(np, prop, 0); prop 3287 sound/soc/soc-core.c snprintf(prop, sizeof(prop), "%sframe-master", prefix); prop 3288 sound/soc/soc-core.c frame = !!of_get_property(np, prop, NULL); prop 3290 sound/soc/soc-core.c *framemaster = of_parse_phandle(np, prop, 0); prop 518 sound/soc/ti/omap-mcbsp.c #define THRESHOLD_PROP_BUILDER(prop) \ prop 519 sound/soc/ti/omap-mcbsp.c static ssize_t prop##_show(struct device *dev, \ prop 524 sound/soc/ti/omap-mcbsp.c return sprintf(buf, "%u\n", mcbsp->prop); \ prop 527 sound/soc/ti/omap-mcbsp.c static ssize_t prop##_store(struct device *dev, \ prop 542 sound/soc/ti/omap-mcbsp.c mcbsp->prop = val; \ prop 546 sound/soc/ti/omap-mcbsp.c static DEVICE_ATTR(prop, 0644, prop##_show, prop##_store) prop 253 sound/soc/ti/omap-twl4030.c struct property *prop; prop 286 sound/soc/ti/omap-twl4030.c prop = of_find_property(node, "ti,audio-routing", NULL); prop 287 sound/soc/ti/omap-twl4030.c if (prop) { prop 244 tools/bpf/bpftool/json_writer.c void jsonw_string_field(json_writer_t *self, const char *prop, const char *val) prop 246 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 250 tools/bpf/bpftool/json_writer.c void jsonw_bool_field(json_writer_t *self, const char *prop, bool val) prop 252 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 257 tools/bpf/bpftool/json_writer.c void jsonw_float_field(json_writer_t *self, const char *prop, double val) prop 259 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 265 tools/bpf/bpftool/json_writer.c const char *prop, prop 269 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 273 tools/bpf/bpftool/json_writer.c void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) prop 275 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 279 tools/bpf/bpftool/json_writer.c void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) prop 281 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 286 tools/bpf/bpftool/json_writer.c const char *prop, prop 289 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 293 tools/bpf/bpftool/json_writer.c void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) prop 295 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 299 tools/bpf/bpftool/json_writer.c void jsonw_null_field(json_writer_t *self, const char *prop) prop 301 tools/bpf/bpftool/json_writer.c jsonw_name(self, prop); prop 48 tools/bpf/bpftool/json_writer.h void jsonw_string_field(json_writer_t *self, const char *prop, const char *val); prop 49 tools/bpf/bpftool/json_writer.h void jsonw_bool_field(json_writer_t *self, const char *prop, bool value); prop 50 tools/bpf/bpftool/json_writer.h void jsonw_float_field(json_writer_t *self, const char *prop, double num); prop 51 tools/bpf/bpftool/json_writer.h void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num); prop 52 tools/bpf/bpftool/json_writer.h void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num); prop 53 tools/bpf/bpftool/json_writer.h void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num); prop 54 tools/bpf/bpftool/json_writer.h void jsonw_null_field(json_writer_t *self, const char *prop); prop 55 tools/bpf/bpftool/json_writer.h void jsonw_lluint_field(json_writer_t *self, const char *prop, prop 57 tools/bpf/bpftool/json_writer.h void jsonw_float_field_fmt(json_writer_t *self, const char *prop, prop 277 virt/kvm/arm/vgic/vgic-its.c u8 prop; prop 282 virt/kvm/arm/vgic/vgic-its.c &prop, 1); prop 290 virt/kvm/arm/vgic/vgic-its.c irq->priority = LPI_PROP_PRIORITY(prop); prop 291 virt/kvm/arm/vgic/vgic-its.c irq->enabled = LPI_PROP_ENABLE_BIT(prop); prop 302 virt/kvm/arm/vgic/vgic-its.c return its_prop_update_vlpi(irq->host_irq, prop, needs_inv);