/openbmc/linux/drivers/soundwire/ |
H 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 …]
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties.c | 122 qapi_enum_lookup(prop->info->enum_table, prop->defval.i)); in qdev_propinfo_set_default_value_enum() 908 prop->driver, prop->property); in qdev_prop_check_globals() 915 prop->driver, prop->property, prop->value); in qdev_prop_check_globals() 979 op = object_property_add(obj, prop->name, prop->info->name, in qdev_property_add_static() 989 prop->info->set_default_value(op, prop); in qdev_property_add_static() 1003 op = prop->info->create(oc, name, prop); in qdev_class_add_property() 1013 prop->info->set_default_value(op, prop); in qdev_class_add_property() 1031 prop->info->print(obj, prop, buffer, sizeof(buffer)); in qdev_get_legacy_property() 1054 if (!prop->info->print && prop->info->get) { in qdev_class_add_legacy_property() 1069 for (prop = props; prop && prop->name; prop++) { in device_class_set_props() [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | checks.c | 90 if (prop) in check_msg() 186 if (!prop) in check_is_string() 206 if (!prop) in check_is_string_list() 233 if (!prop) in check_is_cell() 322 if (prop && !prop->val.len) in check_unit_address_vs_reg() 387 ((prop) ? (prop)->name : ""), \ 452 prop->val.len, prop->name); in check_phandle_prop() 676 if (prop) in fixup_addr_size_cells() 680 if (prop) in fixup_addr_size_cells() 771 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge() [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H 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 …]
|
/openbmc/linux/scripts/dtc/ |
H 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 …]
|
/openbmc/linux/scripts/kconfig/ |
H 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() 490 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() 509 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() [all …]
|
H A D | symbol.c | 162 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 …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | symbol.c | 194 for (prop = sym->prop; prop; prop = prop->next) { in sym_set_changed() 1152 prop = stack->prop; in sym_check_print_recursive() 1154 prop = stack->sym->prop; in sym_check_print_recursive() 1158 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_print_recursive() 1170 prop->file->name, prop->lineno, in sym_check_print_recursive() 1176 prop->file->name, prop->lineno, in sym_check_print_recursive() 1191 prop->file->name, prop->lineno, in sym_check_print_recursive() 1253 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_sym_deps() 1256 stack.prop = prop; in sym_check_sym_deps() 1351 prop = xmalloc(sizeof(*prop)); in prop_alloc() [all …]
|
H A D | menu.c | 35 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn() 132 prop->expr = expr; in menu_add_prop() 174 return prop; in menu_add_prop() 238 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_prop() 359 prop = menu->sym->prop; in menu_finalize() 368 for (; prop; prop = prop->next) { in menu_finalize() 505 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() 524 for (prop = menu->sym->prop; prop; prop = prop->next) { in menu_finalize() 773 return prop; in get_symbol_prop() 808 if (prop) { in get_symbol_str() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H 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 …]
|
/openbmc/linux/drivers/misc/cxl/ |
H 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() 396 if (prop) in cxl_of_read_adapter_properties() 407 if (prop) in cxl_of_read_adapter_properties() 411 if (prop) in cxl_of_read_adapter_properties() [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | fdt_test.py | 52 prop = node.props['intval'] 56 prop = node.props['intarray'] 59 self.assertEquals(2, len(prop.value)) 63 prop = node.props['byteval'] 65 self.assertEquals(chr(8), prop.value) 67 prop = node.props['bytearray'] 71 self.assertEquals(3, len(prop.value)) 74 prop = node.props['longbytearray'] 78 prop = node.props['stringval'] 82 prop = node.props['stringarray'] [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_mode_config.c | 233 if (!prop) in drm_mode_create_standard_properties() 239 if (!prop) in drm_mode_create_standard_properties() 245 if (!prop) in drm_mode_create_standard_properties() 251 if (!prop) in drm_mode_create_standard_properties() 257 if (!prop) in drm_mode_create_standard_properties() 263 if (!prop) in drm_mode_create_standard_properties() 269 if (!prop) in drm_mode_create_standard_properties() 275 if (!prop) in drm_mode_create_standard_properties() 281 if (!prop) in drm_mode_create_standard_properties() 287 if (!prop) in drm_mode_create_standard_properties() [all …]
|
H 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 …]
|
/openbmc/qemu/qom/ |
H A D | object.c | 543 prop->init(obj, prop); in object_class_property_init_all() 675 prop->release(obj, prop->name, prop->opaque); in object_property_del_all() 697 prop->release(obj, prop->name, prop->opaque); in object_property_del_child() 1286 prop = g_malloc0(sizeof(*prop)); in object_property_try_add() 1324 prop = g_malloc0(sizeof(*prop)); in object_class_property_add() 1423 prop->release(obj, name, prop->opaque); in object_property_del() 1443 prop->get(obj, v, name, prop->opaque, &err); in object_property_get() 1463 prop->set(obj, v, name, prop->opaque, errp); in object_property_set() 1599 prop->set(obj, v, prop->name, prop->opaque, &error_abort); in object_property_init_defval() 2506 TMProperty *prop = g_malloc0(sizeof(*prop)); in object_property_add_tm() local [all …]
|
H A D | qom-qmp-cmds.c | 36 ObjectProperty *prop; in qmp_qom_list() local 56 value->name = g_strdup(prop->name); in qmp_qom_list() 57 value->type = g_strdup(prop->type); in qmp_qom_list() 126 ObjectProperty *prop; in qmp_device_list_properties() local 151 if (strcmp(prop->name, "type") == 0 || in qmp_device_list_properties() 152 strcmp(prop->name, "realized") == 0 || in qmp_device_list_properties() 167 info->name = g_strdup(prop->name); in qmp_device_list_properties() 168 info->type = g_strdup(prop->type); in qmp_device_list_properties() 185 ObjectProperty *prop; in qmp_qom_list_properties() local 212 info->name = g_strdup(prop->name); in qmp_qom_list_properties() [all …]
|
/openbmc/linux/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 51 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 79 config_store.prop[i][j].spl = output.prop[idx].spl; in amd_pmf_load_defaults_sps() 80 config_store.prop[i][j].sppt = output.prop[idx].sppt; in amd_pmf_load_defaults_sps() 81 config_store.prop[i][j].sppt_apu_only = in amd_pmf_load_defaults_sps() 82 output.prop[idx].sppt_apu_only; in amd_pmf_load_defaults_sps() 83 config_store.prop[i][j].fppt = output.prop[idx].fppt; in amd_pmf_load_defaults_sps() 84 config_store.prop[i][j].stt_min = output.prop[idx].stt_min; in amd_pmf_load_defaults_sps() 89 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps() 108 config_store.prop[src][idx].stt_min, NULL); in amd_pmf_update_slider() 118 &table->prop[src][idx].sppt_apu_only); in amd_pmf_update_slider() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H 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 …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H 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 …]
|
/openbmc/linux/drivers/of/ |
H A D | dynamic.c | 79 prop ? ":" : "", prop ? prop->name : ""); \ 119 prop = pr->prop; in of_reconfig_get_state_change() 122 prop = pr->prop; in of_reconfig_get_state_change() 135 if (prop && !strcmp(prop->name, "status")) { in of_reconfig_get_state_change() 194 pr.prop = prop; in of_property_notify() 313 for (prop = prop_list; prop != NULL; prop = next) { in property_list_free() 317 kfree(prop); in property_list_free() 419 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup() 561 rce->prop = ce->prop; in __of_changeset_entry_invert() 916 ce->prop = prop; in of_changeset_action() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/input/ |
H 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 …]
|
/openbmc/u-boot/tools/dtoc/ |
H A D | test_fdt.py | 43 prop = node.props[prop_name] 46 offset = prop.GetOffset() + 12 198 prop = node.props['clocks'] 225 prop = node.props['clocks'] 295 prop.Widen(prop2) 301 prop.Widen(prop2) 311 prop2.Widen(prop) 320 prop.Widen(prop2) 329 prop.Widen(prop2) 394 prop.SetData(val) [all …]
|
H A D | test_fdt | 43 prop = node.props[prop_name] 46 offset = prop.GetOffset() + 12 198 prop = node.props['clocks'] 225 prop = node.props['clocks'] 295 prop.Widen(prop2) 301 prop.Widen(prop2) 311 prop2.Widen(prop) 320 prop.Widen(prop2) 329 prop.Widen(prop2) 394 prop.SetData(val) [all …]
|
/openbmc/linux/arch/powerpc/platforms/83xx/ |
H 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()
|