| /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() 74 prop->clk_freq, prop->num_clk_freq); in sdw_master_read_prop() 81 if (!prop->max_clk_freq && prop->clk_freq) { in sdw_master_read_prop() 82 prop->max_clk_freq = prop->clk_freq[0]; in sdw_master_read_prop() 84 if (prop->clk_freq[i] > prop->max_clk_freq) in sdw_master_read_prop() 85 prop->max_clk_freq = prop->clk_freq[i]; in sdw_master_read_prop() 92 prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, in sdw_master_read_prop() 289 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() 213 if (!prop) in check_is_string() 233 if (!prop) in check_is_string_list() 260 if (!prop) in check_is_cell() 369 if (prop && !prop->val.len) in check_unit_address_vs_reg() 434 ((prop) ? (prop)->name : ""), \ 499 prop->val.len, prop->name); in check_phandle_prop() 838 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge() 992 if (prop && prop->val.len) in check_simple_bus_reg() [all …]
|
| A D | livetree.c | 270 prop->next = NULL; in add_property() 276 *p = prop; in add_property() 283 while (prop) { in delete_property_by_name() 288 prop = prop->next; in delete_property_by_name() 294 prop->deleted = 1; in delete_property() 430 return prop; in get_property() 460 return prop; in get_property_by_label() 465 if (prop) in get_property_by_label() 466 return prop; in get_property_by_label() 483 *prop = p; in get_marker_label() [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/scripts/kconfig/ |
| A D | menu.c | 134 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 135 memset(prop, 0, sizeof(*prop)); in menu_add_prop() 154 return prop; in menu_add_prop() 188 prop->visible.expr = expr_alloc_and(prop->visible.expr, in menu_add_prompt() 196 return prop; in menu_add_prompt() 227 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_prop() 346 prop = menu->sym->prop; in menu_finalize() 355 for (; prop; prop = prop->next) { in menu_finalize() 492 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() 511 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() [all …]
|
| A D | symbol.c | 161 for (prop = sym->prop; prop; prop = prop->next) { in sym_set_changed() 1021 prop = stack->prop; in sym_check_print_recursive() 1023 prop = stack->sym->prop; in sym_check_print_recursive() 1027 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_print_recursive() 1049 prop->file->name, prop->lineno, in sym_check_print_recursive() 1054 prop->file->name, prop->lineno, in sym_check_print_recursive() 1059 prop->file->name, prop->lineno, in sym_check_print_recursive() 1064 prop->file->name, prop->lineno, in sym_check_print_recursive() 1070 prop->file->name, prop->lineno, in sym_check_print_recursive() 1146 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_sym_deps() [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/misc/cxl/ |
| A D | of.c | 24 return prop; in read_prop_string() 33 if (prop) in read_prop_dword() 37 return prop; in read_prop_dword() 46 if (prop) in read_prop64_dword() 50 return prop; in read_prop64_dword() 80 if (prop) { in read_phys_addr() 266 if (prop) in cxl_of_read_afu_properties() 397 if (prop) in cxl_of_read_adapter_properties() 408 if (prop) in cxl_of_read_adapter_properties() 412 if (prop) in cxl_of_read_adapter_properties() [all …]
|
| /linux/drivers/gpu/drm/ |
| A D | drm_mode_config.c | 230 if (!prop) in drm_mode_create_standard_properties() 236 if (!prop) in drm_mode_create_standard_properties() 242 if (!prop) in drm_mode_create_standard_properties() 248 if (!prop) in drm_mode_create_standard_properties() 254 if (!prop) in drm_mode_create_standard_properties() 260 if (!prop) in drm_mode_create_standard_properties() 266 if (!prop) in drm_mode_create_standard_properties() 272 if (!prop) in drm_mode_create_standard_properties() 278 if (!prop) in drm_mode_create_standard_properties() 284 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() 576 struct drm_property *prop; in drm_plane_create_blend_mode_property() 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/arch/powerpc/platforms/83xx/ |
| A D | usb.c | 47 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg() 52 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg() 60 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg() 72 if (prop) { in mpc834x_usb_cfg() 79 if (prop) { in mpc834x_usb_cfg() 105 const void *prop; in mpc831x_usb_cfg() local 137 if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg() 172 if (prop && (!strcmp(prop, "utmi_wide") || in mpc831x_usb_cfg() 187 } else if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg() 216 const void *prop; in mpc837x_usb_cfg() local [all …]
|
| /linux/drivers/misc/habanalabs/common/mmu/ |
| A D | mmu.c | 17 prop->dmmu.start_addr, in hl_is_dram_va() 18 prop->dmmu.end_addr); in hl_is_dram_va() 358 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_map_contiguous() 361 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_map_contiguous() 364 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_map_contiguous() 416 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_unmap_contiguous() 419 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_unmap_contiguous() 422 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_unmap_contiguous() 498 p = &prop->pmmu; in hl_mmu_pa_page_with_offset() 500 p = &prop->dmmu; in hl_mmu_pa_page_with_offset() [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/of/ |
| A D | dynamic.c | 124 prop = pr->prop; in of_reconfig_get_state_change() 127 prop = pr->prop; in of_reconfig_get_state_change() 140 if (prop && !strcmp(prop->name, "status")) { in of_reconfig_get_state_change() 199 pr.prop = prop; in of_property_notify() 314 for (prop = prop_list; prop != NULL; prop = next) { in property_list_free() 315 next = prop->next; in property_list_free() 318 kfree(prop); in property_list_free() 396 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup() 527 if (!rce->prop) { in __of_changeset_entry_invert() 529 rce->prop = ce->prop; in __of_changeset_entry_invert() [all …]
|
| A D | resolver.c | 44 struct property *prop; in adjust_overlay_phandles() local 58 if (prop->length < 4) in adjust_overlay_phandles() 61 phandle = be32_to_cpup(prop->value); in adjust_overlay_phandles() 76 struct property *prop; in update_usages_of_a_phandle_reference() local 120 if (!prop) { in update_usages_of_a_phandle_reference() 163 struct property *prop_fix, *prop; in adjust_local_phandle_references() local 187 if (!prop) in adjust_local_phandle_references() 192 if ((off + 4) > prop->length) in adjust_local_phandle_references() 267 struct property *prop; in of_resolve_phandles() local 323 prop->name, &refpath); in of_resolve_phandles() [all …]
|
| A D | kexec.c | 112 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer() 130 const void *prop; in ima_get_kexec_buffer() local 136 if (!prop) in ima_get_kexec_buffer() 157 struct property *prop; in ima_free_kexec_buffer() local 163 if (!prop) in ima_free_kexec_buffer() 166 ret = do_get_kexec_buffer(prop->value, prop->length, &addr, &size); in ima_free_kexec_buffer() 191 const void *prop; in remove_ima_buffer() local 197 if (!prop) in remove_ima_buffer() 271 const void *prop; in of_kexec_alloc_and_setup_fdt() local 314 if (prop) { in of_kexec_alloc_and_setup_fdt() [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/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() 647 prop->channel = chan; in adc5_get_dt_channel_data() 648 prop->sid = sid; in adc5_get_dt_channel_data() 666 prop->decimation = ret; in adc5_get_dt_channel_data() 679 prop->prescale = ret; in adc5_get_dt_channel_data() 681 prop->prescale = in adc5_get_dt_channel_data() 724 prop->avg_samples = ret; in adc5_get_dt_channel_data() 840 prop.scale_fn_type = in adc5_get_dt_data() [all …]
|
| A D | qcom-spmi-vadc.c | 240 if (prop->avg_samples) in vadc_configure() 353 struct vadc_channel_prop *prop; in vadc_measure_ref_points() local 367 if (!prop) in vadc_measure_ref_points() 670 prop->channel = chan; in vadc_get_dt_channel_data() 680 prop->decimation = ret; in vadc_get_dt_channel_data() 693 prop->prescale = ret; in vadc_get_dt_channel_data() 695 prop->prescale = vadc_chans[prop->channel].prescale_index; in vadc_get_dt_channel_data() 706 prop->hw_settle_time = ret; in vadc_get_dt_channel_data() 719 prop->avg_samples = ret; in vadc_get_dt_channel_data() 738 struct vadc_channel_prop prop; in vadc_get_dt_data() local [all …]
|
| /linux/drivers/soc/fsl/qbman/ |
| A D | dpaa_sys.c | 42 struct property *prop; in qbman_init_private_mem() local 66 prop = of_find_property(mem_node, "reg", &len); in qbman_init_private_mem() 67 if (!prop) { in qbman_init_private_mem() 68 prop = devm_kzalloc(dev, sizeof(*prop), GFP_KERNEL); in qbman_init_private_mem() 69 if (!prop) in qbman_init_private_mem() 71 prop->value = res_array = devm_kzalloc(dev, sizeof(__be32) * 4, in qbman_init_private_mem() 73 if (!prop->value) in qbman_init_private_mem() 79 prop->length = sizeof(__be32) * 4; in qbman_init_private_mem() 80 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); in qbman_init_private_mem() 81 if (!prop->name) in qbman_init_private_mem() [all …]
|
| /linux/sound/soc/codecs/ |
| A D | sdw-mockup.c | 171 struct sdw_slave_prop *prop = &slave->prop; in sdw_mockup_read_prop() local 178 prop->paging_support = false; in sdw_mockup_read_prop() 187 prop->source_ports = BIT(8); in sdw_mockup_read_prop() 188 prop->sink_ports = BIT(1); in sdw_mockup_read_prop() 194 if (!prop->src_dpn_prop) in sdw_mockup_read_prop() 198 dpn = prop->src_dpn_prop; in sdw_mockup_read_prop() 199 addr = prop->source_ports; in sdw_mockup_read_prop() 212 if (!prop->sink_dpn_prop) in sdw_mockup_read_prop() 216 dpn = prop->sink_dpn_prop; in sdw_mockup_read_prop() 217 addr = prop->sink_ports; in sdw_mockup_read_prop() [all …]
|
| /linux/fs/openpromfs/ |
| A D | inode.c | 34 struct property *prop; member 73 len = prop->length; in property_show() 74 pval = prop->value; in property_show() 218 while (prop) { in openpromfs_lookup() 223 ent_data.prop = prop; in openpromfs_lookup() 228 prop = prop->next; in openpromfs_lookup() 314 while (i && prop) { in openpromfs_readdir() 315 prop = prop->next; in openpromfs_readdir() 318 while (prop) { in openpromfs_readdir() 319 if (!dir_emit(ctx, prop->name, strlen(prop->name), in openpromfs_readdir() [all …]
|
| /linux/arch/powerpc/kernel/ |
| A D | btext.c | 168 const u32 *prop; in btext_initialize() local 171 if (prop == NULL) in btext_initialize() 173 if (prop == NULL) in btext_initialize() 175 width = *prop; in btext_initialize() 177 if (prop == NULL) in btext_initialize() 179 if (prop == NULL) in btext_initialize() 181 height = *prop; in btext_initialize() 187 depth = *prop; in btext_initialize() 192 if (prop && *prop != 0xffffffffu) in btext_initialize() 193 pitch = *prop; in btext_initialize() [all …]
|