| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | checks.c | 63 struct property *prop, in check_msg() argument 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 93 if (prop) in check_msg() 94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 105 if (!prop && pos) { in check_msg() 126 #define FAIL_PROP(c, dti, node, prop, ...) \ argument 130 check_msg((c), dti, node, prop, __VA_ARGS__); \ 201 struct property *prop; in check_is_string() local 204 prop = get_property(node, propname); in check_is_string() [all …]
|
| /kernel/linux/linux-5.10/drivers/soundwire/ |
| 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() 53 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE0); in sdw_master_read_prop() 57 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE1); in sdw_master_read_prop() 61 &prop->max_clk_freq); in sdw_master_read_prop() 65 prop->num_clk_freq = nval; in sdw_master_read_prop() 66 prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq, in sdw_master_read_prop() 67 sizeof(*prop->clk_freq), in sdw_master_read_prop() 69 if (!prop->clk_freq) in sdw_master_read_prop() 74 prop->clk_freq, prop->num_clk_freq); in sdw_master_read_prop() [all …]
|
| /kernel/linux/linux-6.6/drivers/soundwire/ |
| 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() 53 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE0); in sdw_master_read_prop() 57 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE1); in sdw_master_read_prop() 61 &prop->max_clk_freq); in sdw_master_read_prop() 65 prop->num_clk_freq = nval; in sdw_master_read_prop() 66 prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq, in sdw_master_read_prop() 67 sizeof(*prop->clk_freq), in sdw_master_read_prop() 69 if (!prop->clk_freq) in sdw_master_read_prop() 74 prop->clk_freq, prop->num_clk_freq); in sdw_master_read_prop() [all …]
|
| /kernel/linux/linux-6.6/scripts/dtc/ |
| D | checks.c | 63 struct property *prop, in check_msg() argument 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 93 if (prop) in check_msg() 94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 105 if (!prop && pos) { in check_msg() 126 #define FAIL_PROP(c, dti, node, prop, ...) \ argument 130 check_msg((c), dti, node, prop, __VA_ARGS__); \ 209 struct property *prop; in check_is_string() local 212 prop = get_property(node, propname); in check_is_string() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/mm/ |
| D | drmem.c | 40 static struct property *clone_property(struct property *prop, u32 prop_sz) in clone_property() argument 48 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in clone_property() 65 struct property *prop) in drmem_update_dt_v1() argument 72 new_prop = clone_property(prop, prop->length); in drmem_update_dt_v1() 104 struct property *prop) in drmem_update_dt_v2() argument 130 new_prop = clone_property(prop, prop_sz); in drmem_update_dt_v2() 175 struct property *prop; in drmem_update_dt() local 187 prop = of_find_property(memory, "ibm,dynamic-memory", NULL); in drmem_update_dt() 188 if (prop) { in drmem_update_dt() 189 rc = drmem_update_dt_v1(memory, prop); in drmem_update_dt() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/ |
| D | drmem.c | 39 static struct property *clone_property(struct property *prop, u32 prop_sz) in clone_property() argument 47 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in clone_property() 64 struct property *prop) in drmem_update_dt_v1() argument 71 new_prop = clone_property(prop, prop->length); in drmem_update_dt_v1() 103 struct property *prop) in drmem_update_dt_v2() argument 129 new_prop = clone_property(prop, prop_sz); in drmem_update_dt_v2() 174 struct property *prop; in drmem_update_dt() local 181 prop = of_find_property(memory, "ibm,dynamic-memory", NULL); in drmem_update_dt() 182 if (prop) { in drmem_update_dt() 183 rc = drmem_update_dt_v1(memory, prop); in drmem_update_dt() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/greybus/ |
| D | power_supply.c | 18 enum power_supply_property prop; member 82 enum power_supply_property prop; member 85 struct gb_power_supply_prop *prop); 89 struct gb_power_supply_prop *prop); 92 { .prop = GB_POWER_SUPPLY_PROP_STATUS, 96 { .prop = GB_POWER_SUPPLY_PROP_TEMP, 100 { .prop = GB_POWER_SUPPLY_PROP_ONLINE, 108 int prop; in get_psp_from_gb_prop() local 112 prop = POWER_SUPPLY_PROP_STATUS; in get_psp_from_gb_prop() 115 prop = POWER_SUPPLY_PROP_CHARGE_TYPE; in get_psp_from_gb_prop() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/greybus/ |
| D | power_supply.c | 18 enum power_supply_property prop; member 82 enum power_supply_property prop; member 85 struct gb_power_supply_prop *prop); 89 struct gb_power_supply_prop *prop); 92 { .prop = GB_POWER_SUPPLY_PROP_STATUS, 96 { .prop = GB_POWER_SUPPLY_PROP_TEMP, 100 { .prop = GB_POWER_SUPPLY_PROP_ONLINE, 108 int prop; in get_psp_from_gb_prop() local 112 prop = POWER_SUPPLY_PROP_STATUS; in get_psp_from_gb_prop() 115 prop = POWER_SUPPLY_PROP_CHARGE_TYPE; in get_psp_from_gb_prop() [all …]
|
| /kernel/linux/linux-6.6/scripts/kconfig/ |
| D | menu.c | 32 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument 36 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn() 132 struct property *prop; in menu_add_prop() local 134 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 135 memset(prop, 0, sizeof(*prop)); in menu_add_prop() 136 prop->type = type; in menu_add_prop() 137 prop->file = current_file; in menu_add_prop() 138 prop->lineno = zconf_lineno(); in menu_add_prop() 139 prop->menu = current_entry; in menu_add_prop() 140 prop->expr = expr; in menu_add_prop() [all …]
|
| D | symbol.c | 79 struct property *prop; in sym_get_choice_prop() local 81 for_all_choices(sym, prop) in sym_get_choice_prop() 82 return prop; in sym_get_choice_prop() 88 struct property *prop; in sym_get_default_prop() local 90 for_all_defaults(sym, prop) { in sym_get_default_prop() 91 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 92 if (prop->visible.tri != no) in sym_get_default_prop() 93 return prop; in sym_get_default_prop() 100 struct property *prop; in sym_get_range_prop() local 102 for_all_properties(sym, prop, P_RANGE) { in sym_get_range_prop() [all …]
|
| /kernel/linux/linux-5.10/scripts/kconfig/ |
| D | menu.c | 31 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument 35 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn() 131 struct property *prop; in menu_add_prop() local 133 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 134 memset(prop, 0, sizeof(*prop)); in menu_add_prop() 135 prop->type = type; in menu_add_prop() 136 prop->file = current_file; in menu_add_prop() 137 prop->lineno = zconf_lineno(); in menu_add_prop() 138 prop->menu = current_entry; in menu_add_prop() 139 prop->expr = expr; in menu_add_prop() [all …]
|
| D | symbol.c | 76 struct property *prop; in sym_get_choice_prop() local 78 for_all_choices(sym, prop) in sym_get_choice_prop() 79 return prop; in sym_get_choice_prop() 85 struct property *prop; in sym_get_default_prop() local 87 for_all_defaults(sym, prop) { in sym_get_default_prop() 88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 89 if (prop->visible.tri != no) in sym_get_default_prop() 90 return prop; in sym_get_default_prop() 97 struct property *prop; in sym_get_range_prop() local 99 for_all_properties(sym, prop, P_RANGE) { in sym_get_range_prop() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_mode_config.c | 220 struct drm_property *prop; in drm_mode_create_standard_properties() local 227 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, in drm_mode_create_standard_properties() 230 if (!prop) in drm_mode_create_standard_properties() 232 dev->mode_config.plane_type_property = prop; in drm_mode_create_standard_properties() 234 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, in drm_mode_create_standard_properties() 236 if (!prop) in drm_mode_create_standard_properties() 238 dev->mode_config.prop_src_x = prop; in drm_mode_create_standard_properties() 240 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, in drm_mode_create_standard_properties() 242 if (!prop) in drm_mode_create_standard_properties() 244 dev->mode_config.prop_src_y = prop; in drm_mode_create_standard_properties() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/test/ |
| D | property-entry-test.c | 13 PROPERTY_ENTRY_U8("prop-u8", 8), in pe_test_uints() 14 PROPERTY_ENTRY_U16("prop-u16", 16), in pe_test_uints() 15 PROPERTY_ENTRY_U32("prop-u32", 32), in pe_test_uints() 16 PROPERTY_ENTRY_U64("prop-u64", 64), in pe_test_uints() 30 error = fwnode_property_count_u8(node, "prop-u8"); in pe_test_uints() 33 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints() 37 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints() 41 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints() 44 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints() 47 error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1); in pe_test_uints() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/amd/pmf/ |
| D | sps.c | 51 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 52 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults() 53 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults() 54 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults() 55 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_defaults() 57 data->prop[i][j].stt_skin_temp[STT_TEMP_APU]); in amd_pmf_dump_sps_defaults() 59 data->prop[i][j].stt_skin_temp[STT_TEMP_HS2]); 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_mode_config.c | 223 struct drm_property *prop; in drm_mode_create_standard_properties() local 230 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, in drm_mode_create_standard_properties() 233 if (!prop) in drm_mode_create_standard_properties() 235 dev->mode_config.plane_type_property = prop; in drm_mode_create_standard_properties() 237 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, in drm_mode_create_standard_properties() 239 if (!prop) in drm_mode_create_standard_properties() 241 dev->mode_config.prop_src_x = prop; in drm_mode_create_standard_properties() 243 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, in drm_mode_create_standard_properties() 245 if (!prop) in drm_mode_create_standard_properties() 247 dev->mode_config.prop_src_y = prop; in drm_mode_create_standard_properties() [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/cxl/ |
| D | of.c | 19 const __be32 *prop; in read_prop_string() local 21 prop = of_get_property(np, prop_name, NULL); in read_prop_string() 22 if (cxl_verbose && prop) in read_prop_string() 23 pr_info("%s: %s\n", prop_name, (char *) prop); in read_prop_string() 24 return prop; in read_prop_string() 30 const __be32 *prop; in read_prop_dword() local 32 prop = of_get_property(np, prop_name, NULL); in read_prop_dword() 33 if (prop) in read_prop_dword() 34 *val = be32_to_cpu(prop[0]); in read_prop_dword() 35 if (cxl_verbose && prop) in read_prop_dword() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/cxl/ |
| D | of.c | 19 const __be32 *prop; in read_prop_string() local 21 prop = of_get_property(np, prop_name, NULL); in read_prop_string() 22 if (cxl_verbose && prop) in read_prop_string() 23 pr_info("%s: %s\n", prop_name, (char *) prop); in read_prop_string() 24 return prop; in read_prop_string() 30 const __be32 *prop; in read_prop_dword() local 32 prop = of_get_property(np, prop_name, NULL); in read_prop_dword() 33 if (prop) in read_prop_dword() 34 *val = be32_to_cpu(prop[0]); in read_prop_dword() 35 if (cxl_verbose && prop) in read_prop_dword() [all …]
|
| /kernel/linux/linux-5.10/drivers/base/test/ |
| D | property-entry-test.c | 13 PROPERTY_ENTRY_U8("prop-u8", 8), in pe_test_uints() 14 PROPERTY_ENTRY_U16("prop-u16", 16), in pe_test_uints() 15 PROPERTY_ENTRY_U32("prop-u32", 32), in pe_test_uints() 16 PROPERTY_ENTRY_U64("prop-u64", 64), in pe_test_uints() 30 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints() 34 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints() 38 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints() 41 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints() 44 error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1); in pe_test_uints() 47 error = fwnode_property_read_u16(node, "prop-u16", &val_u16); in pe_test_uints() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | omapdss-boot-init.c | 32 static int __init omapdss_count_strings(const struct property *prop) in omapdss_count_strings() argument 34 const char *p = prop->value; in omapdss_count_strings() 38 for (i = 0; total < prop->length; total += l, p += l, i++) 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() 57 of_update_property(node, prop); in omapdss_update_prop() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | omapdss-boot-init.c | 32 static int __init omapdss_count_strings(const struct property *prop) in omapdss_count_strings() argument 34 const char *p = prop->value; in omapdss_count_strings() 38 for (i = 0; total < prop->length; total += l, p += l, i++) 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() 57 of_update_property(node, prop); in omapdss_update_prop() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/ |
| D | usb.c | 29 const void *prop, *dr_mode; in mpc834x_usb_cfg() local 45 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg() 47 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg() 48 !strcmp(prop, "utmi_wide"))) { 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() 71 prop = of_get_property(np, "port0", NULL); in mpc834x_usb_cfg() 72 if (prop) { in mpc834x_usb_cfg() 78 prop = of_get_property(np, "port1", NULL); in mpc834x_usb_cfg() 79 if (prop) { in mpc834x_usb_cfg() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | of_touchscreen.c | 56 * @prop: pointer to a struct touchscreen_properties into which to store 65 struct touchscreen_properties *prop) in touchscreen_parse_properties() argument 118 if (!prop) in touchscreen_parse_properties() 121 prop->max_x = input_abs_get_max(input, axis_x); in touchscreen_parse_properties() 122 prop->max_y = input_abs_get_max(input, axis_y); in touchscreen_parse_properties() 124 prop->invert_x = in touchscreen_parse_properties() 126 if (prop->invert_x) { in touchscreen_parse_properties() 132 prop->invert_y = in touchscreen_parse_properties() 134 if (prop->invert_y) { in touchscreen_parse_properties() 140 prop->swap_x_y = in touchscreen_parse_properties() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
| D | omapdss-boot-init.c | 32 static int __init omapdss_count_strings(const struct property *prop) in omapdss_count_strings() argument 34 const char *p = prop->value; in omapdss_count_strings() 38 for (i = 0; total < prop->length; total += l, p += l, i++) 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() 57 of_update_property(node, prop); in omapdss_update_prop() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/ |
| D | touchscreen.c | 57 * @prop: pointer to a struct touchscreen_properties into which to store 66 struct touchscreen_properties *prop) in touchscreen_parse_properties() argument 119 if (!prop) in touchscreen_parse_properties() 122 prop->max_x = input_abs_get_max(input, axis_x); in touchscreen_parse_properties() 123 prop->max_y = input_abs_get_max(input, axis_y); 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() [all …]
|