| /linux/drivers/soundwire/ |
| A D | mipi_disco.c | 32 struct sdw_master_prop *prop = &bus->prop; in sdw_master_read_prop() local 39 &prop->revision); in sdw_master_read_prop() 66 prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq, in sdw_master_read_prop() 76 prop->clk_freq, prop->num_clk_freq); in sdw_master_read_prop() 83 if (!prop->max_clk_freq && prop->clk_freq) { in sdw_master_read_prop() 84 prop->max_clk_freq = prop->clk_freq[0]; in sdw_master_read_prop() 86 if (prop->clk_freq[i] > prop->max_clk_freq) in sdw_master_read_prop() 87 prop->max_clk_freq = prop->clk_freq[i]; in sdw_master_read_prop() 94 prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, in sdw_master_read_prop() 303 struct sdw_slave_prop *prop = &slave->prop; in sdw_slave_read_prop() local [all …]
|
| /linux/scripts/dtc/ |
| A D | checks.c | 74 if (prop && prop->srcpos) in check_msg() 93 if (prop) in check_msg() 214 if (!prop) in check_is_string() 234 if (!prop) in check_is_string_list() 261 if (!prop) in check_is_cell() 370 if (prop && !prop->val.len) in check_unit_address_vs_reg() 435 ((prop) ? (prop)->name : ""), \ 500 prop->val.len, prop->name); in check_phandle_prop() 741 if (prop) in fixup_addr_size_cells() 839 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge() [all …]
|
| A D | treesource.c | 144 int l, len = prop->val.len; in add_string_markers() 145 const char *p = prop->val.val; in add_string_markers() 157 nextp = &prop->val.markers; in add_string_markers() 166 int len = prop->val.len; in guess_value_type() 167 const char *p = prop->val.val; in guess_value_type() 190 add_string_markers(prop); in guess_value_type() 201 size_t len = prop->val.len; in write_propval() 301 struct property *prop; in write_tree_source_node() local 323 for_each_property(tree, prop) { in write_tree_source_node() 327 fprintf(f, "%s", prop->name); in write_tree_source_node() [all …]
|
| /linux/arch/powerpc/mm/ |
| A D | drmem.c | 72 new_prop = clone_property(prop, prop->length); in drmem_update_dt_v1() 188 if (prop) { in drmem_update_dt() 192 if (prop) in drmem_update_dt() 215 *prop = p; in read_drconf_v1_cell() 249 *prop = p; in read_drconf_v2_cell() 304 if (prop) { in walk_drmem_lmbs_early() 309 if (prop) in walk_drmem_lmbs_early() 418 if (prop) in walk_drmem_lmbs() 455 p = prop; in init_drmem_v2_lmbs() 468 p = prop; in init_drmem_v2_lmbs() [all …]
|
| /linux/drivers/staging/greybus/ |
| A D | power_supply.c | 108 int prop; in get_psp_from_gb_prop() local 298 prop = -1; in get_psp_from_gb_prop() 302 if (prop < 0) in get_psp_from_gb_prop() 303 return prop; in get_psp_from_gb_prop() 332 if (!prop) in is_psy_prop_writeable() 403 if (prop->prop == psyc->prop) { in check_changed() 600 if (!prop) in __gb_power_supply_property_update() 614 prop->previous_val = prop->val; in __gb_power_supply_property_update() 615 prop->val = val; in __gb_power_supply_property_update() 629 if (!prop) in __gb_power_supply_property_get() [all …]
|
| /linux/drivers/gpu/drm/ |
| A D | drm_mode_config.c | 231 if (!prop) in drm_mode_create_standard_properties() 237 if (!prop) in drm_mode_create_standard_properties() 243 if (!prop) in drm_mode_create_standard_properties() 249 if (!prop) in drm_mode_create_standard_properties() 255 if (!prop) in drm_mode_create_standard_properties() 261 if (!prop) in drm_mode_create_standard_properties() 267 if (!prop) in drm_mode_create_standard_properties() 273 if (!prop) in drm_mode_create_standard_properties() 279 if (!prop) in drm_mode_create_standard_properties() 285 if (!prop) in drm_mode_create_standard_properties() [all …]
|
| A D | drm_blend.c | 221 struct drm_property *prop; in drm_plane_create_alpha_property() local 225 if (!prop) in drm_plane_create_alpha_property() 284 struct drm_property *prop; in drm_plane_create_rotation_property() local 293 if (!prop) in drm_plane_create_rotation_property() 373 struct drm_property *prop; in drm_plane_create_zpos_property() local 376 if (!prop) in drm_plane_create_zpos_property() 381 plane->zpos_property = prop; in drm_plane_create_zpos_property() 411 struct drm_property *prop; in drm_plane_create_zpos_immutable_property() local 415 if (!prop) in drm_plane_create_zpos_immutable_property() 575 struct drm_property *prop; in drm_plane_create_blend_mode_property() local [all …]
|
| /linux/drivers/of/ |
| A D | dynamic.c | 80 prop ? ":" : "", prop ? prop->name : ""); \ 120 prop = pr->prop; in of_reconfig_get_state_change() 123 prop = pr->prop; in of_reconfig_get_state_change() 136 if (prop && !strcmp(prop->name, "status")) { in of_reconfig_get_state_change() 195 pr.prop = prop; in of_property_notify() 314 kfree(prop); in __of_prop_free() 321 for (prop = prop_list; prop != NULL; prop = next) { in property_list_free() 425 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup() 563 rce->prop = ce->prop; in __of_changeset_entry_invert() 918 ce->prop = prop; in of_changeset_action() [all …]
|
| A D | resolver.c | 45 struct property *prop; in adjust_overlay_phandles() local 59 if (prop->length < 4) in adjust_overlay_phandles() 62 phandle = be32_to_cpup(prop->value); in adjust_overlay_phandles() 77 struct property *prop; in update_usages_of_a_phandle_reference() local 117 if (!prop) in update_usages_of_a_phandle_reference() 154 struct property *prop_fix, *prop; in adjust_local_phandle_references() local 178 if (!prop) in adjust_local_phandle_references() 183 if ((off + 4) > prop->length) in adjust_local_phandle_references() 254 struct property *prop; in of_resolve_phandles() local 310 prop->name, &refpath); in of_resolve_phandles() [all …]
|
| A D | kexec.c | 113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer() 133 const void *prop; in ima_get_kexec_buffer() local 136 if (!prop) in ima_get_kexec_buffer() 173 struct property *prop; in ima_free_kexec_buffer() local 176 if (!prop) in ima_free_kexec_buffer() 179 ret = do_get_kexec_buffer(prop->value, prop->length, &addr, &size); in ima_free_kexec_buffer() 206 const void *prop; in remove_ima_buffer() local 212 if (!prop) in remove_ima_buffer() 286 const void *prop; in of_kexec_alloc_and_setup_fdt() local 329 if (prop) { in of_kexec_alloc_and_setup_fdt() [all …]
|
| /linux/scripts/kconfig/ |
| A D | menu.c | 56 fprintf(stderr, "%s:%d:warning: ", prop->filename, prop->lineno); in prop_warn() 155 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 156 memset(prop, 0, sizeof(*prop)); in menu_add_prop() 172 *propp = prop; in menu_add_prop() 175 return prop; in menu_add_prop() 199 prop->visible.expr = expr_alloc_and(prop->visible.expr, in menu_add_prompt() 207 return prop; in menu_add_prompt() 238 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_prop() 325 prop = menu->sym->prop; in _menu_finalize() 334 for (; prop; prop = prop->next) { in _menu_finalize() [all …]
|
| A D | symbol.c | 113 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 115 return prop; in sym_get_default_prop() 125 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 127 return prop; in sym_get_range_prop() 166 if (!prop) in sym_validate_range() 204 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 691 if (!prop) in sym_string_within_range() 700 if (!prop) in sym_string_within_range() 1204 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_sym_deps() 1207 stack.prop = prop; in sym_check_sym_deps() [all …]
|
| A D | parser.y | 501 struct property *prop; variable 504 for (prop = menu->sym->prop; prop; prop = prop->next) { 507 prop->filename, prop->lineno, 512 if (prop->menu != menu && prop->type == P_PROMPT && 515 prop->filename, prop->lineno, 649 struct property *prop; in print_symbol() local 675 for (prop = sym->prop; prop; prop = prop->next) { in print_symbol() 676 if (prop->menu != menu) in print_symbol() 678 switch (prop->type) { in print_symbol() 732 struct property *prop; in zconfdump() local [all …]
|
| /linux/arch/sparc/kernel/ |
| A D | prom_64.c | 115 if (!prop) in sun4u_path_component() 128 if (!prop) in sun4u_path_component() 130 if (prop) { in sun4u_path_component() 151 if (!prop) in sbus_path_component() 170 if (!prop) in pci_path_component() 195 if (!prop) in upa_path_component() 201 if (!prop) in upa_path_component() 218 if (!prop) in vdev_path_component() 234 if (!prop) in ebus_path_component() 253 if (!prop) in i2c_path_component() [all …]
|
| A D | prom_32.c | 78 struct property *prop; in sbus_path_component() local 81 if (!prop) in sbus_path_component() 84 regs = prop->value; in sbus_path_component() 100 if (!prop) in pci_path_component() 103 regs = prop->value; in pci_path_component() 125 if (!prop) in ebus_path_component() 128 regs = prop->value; in ebus_path_component() 149 if (!prop) { in ambapp_path_component() 152 regs = prop->value; in ambapp_path_component() 158 if (!prop) in ambapp_path_component() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | omapdss-boot-init.c | 34 const char *p = prop->value; in omapdss_count_strings() 47 struct property *prop; in omapdss_update_prop() local 49 prop = kzalloc(sizeof(*prop), GFP_KERNEL); in omapdss_update_prop() 50 if (!prop) in omapdss_update_prop() 53 prop->name = "compatible"; in omapdss_update_prop() 54 prop->value = compat; in omapdss_update_prop() 55 prop->length = len; in omapdss_update_prop() 82 struct property *prop; in omapdss_omapify_node() local 89 if (!prop || !prop->value) in omapdss_omapify_node() 92 if (strnlen(prop->value, prop->length) >= prop->length) in omapdss_omapify_node() [all …]
|
| /linux/drivers/input/ |
| A D | touchscreen.c | 119 if (!prop) in touchscreen_parse_properties() 125 prop->invert_x = in touchscreen_parse_properties() 127 if (prop->invert_x) { in touchscreen_parse_properties() 133 prop->invert_y = in touchscreen_parse_properties() 135 if (prop->invert_y) { in touchscreen_parse_properties() 141 prop->swap_x_y = in touchscreen_parse_properties() 143 if (prop->swap_x_y) in touchscreen_parse_properties() 152 if (prop->invert_x) in touchscreen_apply_prop_to_x_y() 153 *x = prop->max_x - *x; in touchscreen_apply_prop_to_x_y() 155 if (prop->invert_y) in touchscreen_apply_prop_to_x_y() [all …]
|
| /linux/arch/powerpc/platforms/83xx/ |
| A D | usb_834x.c | 26 const void *prop, *dr_mode; in mpc834x_usb_cfg() local 42 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg() 44 if (prop && in mpc834x_usb_cfg() 45 (!strcmp(prop, "utmi") || !strcmp(prop, "utmi_wide"))) { in mpc834x_usb_cfg() 49 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg() 57 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg() 68 prop = of_get_property(np, "port0", NULL); in mpc834x_usb_cfg() 69 if (prop) { in mpc834x_usb_cfg() 74 prop = of_get_property(np, "port1", NULL); in mpc834x_usb_cfg() 75 if (prop) { in mpc834x_usb_cfg()
|
| /linux/drivers/platform/x86/amd/pmf/ |
| A D | sps.c | 70 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 176 config_store.prop[i][j].spl = output.prop[idx].spl; in amd_pmf_load_defaults_sps() 177 config_store.prop[i][j].sppt = output.prop[idx].sppt; in amd_pmf_load_defaults_sps() 178 config_store.prop[i][j].sppt_apu_only = in amd_pmf_load_defaults_sps() 179 output.prop[idx].sppt_apu_only; in amd_pmf_load_defaults_sps() 180 config_store.prop[i][j].fppt = output.prop[idx].fppt; in amd_pmf_load_defaults_sps() 181 config_store.prop[i][j].stt_min = output.prop[idx].stt_min; in amd_pmf_load_defaults_sps() 186 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps() 218 config_store.prop[src][idx].stt_min, NULL); in amd_pmf_update_slider() 228 &table->prop[src][idx].sppt_apu_only); in amd_pmf_update_slider() [all …]
|
| /linux/sound/soc/codecs/ |
| A D | sdw-mockup.c | 135 struct sdw_slave_prop *prop = &slave->prop; in sdw_mockup_read_prop() local 142 prop->paging_support = false; in sdw_mockup_read_prop() 151 prop->source_ports = BIT(8); in sdw_mockup_read_prop() 152 prop->sink_ports = BIT(1); in sdw_mockup_read_prop() 158 if (!prop->src_dpn_prop) in sdw_mockup_read_prop() 162 dpn = prop->src_dpn_prop; in sdw_mockup_read_prop() 163 addr = prop->source_ports; in sdw_mockup_read_prop() 176 if (!prop->sink_dpn_prop) in sdw_mockup_read_prop() 180 dpn = prop->sink_dpn_prop; in sdw_mockup_read_prop() 181 addr = prop->sink_ports; in sdw_mockup_read_prop() [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| A D | bfa_defs_mfg_comm.h | 76 (prop) |= BFI_ADAPTER_PROTO; \ 81 (prop) |= BFI_ADAPTER_TTV; \ 84 (prop) |= BFI_ADAPTER_SETP(NPORTS, 2); \ 85 (prop) |= BFI_ADAPTER_SETP(SPEED, 8); \ 89 (prop) |= BFI_ADAPTER_SETP(NPORTS, 1); \ 90 (prop) |= BFI_ADAPTER_SETP(SPEED, 8); \ 94 (prop) |= BFI_ADAPTER_SETP(NPORTS, 2); \ 95 (prop) |= BFI_ADAPTER_SETP(SPEED, 4); \ 99 (prop) |= BFI_ADAPTER_SETP(NPORTS, 1); \ 100 (prop) |= BFI_ADAPTER_SETP(SPEED, 4); \ [all …]
|
| /linux/arch/powerpc/kernel/ |
| A D | prom_parse.c | 16 const __be32 *prop; in of_parse_dma_window() local 22 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); in of_parse_dma_window() 23 if (!prop) in of_parse_dma_window() 24 prop = of_get_property(dn, "#address-cells", NULL); in of_parse_dma_window() 26 cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn); in of_parse_dma_window() 31 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL); in of_parse_dma_window() 32 cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn); in of_parse_dma_window()
|
| /linux/drivers/iio/adc/ |
| A D | qcom-spmi-adc5.c | 255 buf[2] = prop->channel; in adc5_configure() 295 buf[2] = prop->channel; in adc7_configure() 454 prop->prescale, in adc_read_raw_common() 668 prop->channel = chan; in adc5_get_fw_channel_data() 669 prop->sid = sid; in adc5_get_fw_channel_data() 685 prop->decimation = ret; in adc5_get_fw_channel_data() 698 prop->prescale = ret; in adc5_get_fw_channel_data() 700 prop->prescale = in adc5_get_fw_channel_data() 743 prop->avg_samples = ret; in adc5_get_fw_channel_data() 856 prop.scale_fn_type = in adc5_get_fw_data() [all …]
|
| /linux/arch/riscv/kernel/pi/ |
| A D | fdt_early.c | 12 fdt64_t *prop; in get_kaslr_seed() local 19 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len); in get_kaslr_seed() 20 if (!prop || len != sizeof(u64)) in get_kaslr_seed() 23 ret = fdt64_to_cpu(*prop); in get_kaslr_seed() 24 *prop = 0; in get_kaslr_seed() 139 const void *prop; in early_cpu_isa_ext_available() local 142 prop = fdt_getprop(fdt, node, "riscv,isa-extensions", &len); in early_cpu_isa_ext_available() 143 if (prop && fdt_stringlist_contains(prop, len, ext_name)) in early_cpu_isa_ext_available() 146 prop = fdt_getprop(fdt, node, "riscv,isa", &len); in early_cpu_isa_ext_available() 147 if (prop && isa_string_contains(prop, ext_name)) in early_cpu_isa_ext_available()
|
| /linux/drivers/soc/fsl/qbman/ |
| A D | dpaa_sys.c | 70 struct property *prop; in qbman_init_private_mem() local 72 prop = devm_kzalloc(dev, sizeof(*prop), GFP_KERNEL); in qbman_init_private_mem() 73 if (!prop) in qbman_init_private_mem() 75 prop->value = res_array = devm_kzalloc(dev, sizeof(__be32) * 4, in qbman_init_private_mem() 77 if (!prop->value) in qbman_init_private_mem() 83 prop->length = sizeof(__be32) * 4; in qbman_init_private_mem() 84 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); in qbman_init_private_mem() 85 if (!prop->name) in qbman_init_private_mem() 87 err = of_add_property(mem_node, prop); in qbman_init_private_mem()
|