Home
last modified time | relevance | path

Searched full:prop (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/linux/scripts/dtc/
H A Dchecks.c63 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()
127 #define FAIL_PROP(c, dti, node, prop, ...) \ argument
131 check_msg((c), dti, node, prop, __VA_ARGS__); \
210 struct property *prop; in check_is_string() local
229 struct property *prop; check_is_string_list() local
257 struct property *prop; check_is_cell() local
293 struct property *prop, *prop2; check_duplicate_property_names() local
361 struct property *prop = get_property(node, "reg"); check_unit_address_vs_reg() local
387 struct property *prop; check_property_name_chars() local
403 struct property *prop; check_property_name_chars_strict() local
432 DESCLABEL_ARGS(node,prop,mark) global() argument
440 check_duplicate_label(struct check * c,struct dt_info * dti,const char * label,struct node * node,struct property * prop,struct marker * mark) check_duplicate_label() argument
469 struct property *prop; check_duplicate_label_node() local
490 struct property *prop; check_phandle_prop() local
572 struct property **pp, *prop = NULL; check_name_properties() local
607 struct property *prop; fixup_phandle_references() local
642 struct property *prop; fixup_path_references() local
695 struct property *prop; check_names_is_string_list() local
710 struct property *prop; check_alias_paths() local
735 struct property *prop; fixup_addr_size_cells() local
759 struct property *prop; check_reg_format() local
788 struct property *prop; check_ranges_format() local
835 struct property *prop; check_pci_bridge() local
876 struct property *prop; check_pci_device_bus_num() local
906 struct property *prop; check_pci_device_reg() local
953 struct property *prop; node_is_compatible() local
978 struct property *prop; check_simple_bus_reg() local
1050 struct property *prop; check_i2c_bus_reg() local
1111 struct property *prop; check_spi_bus_bridge() local
1140 struct property *prop; check_spi_bus_reg() local
1220 struct property *prop; check_avoid_unnecessary_addr_size() local
1243 struct property *prop; node_is_disabled() local
1313 struct property *prop; check_obsolete_chosen_interrupt_controller() local
1345 struct property *prop; check_chosen_node_bootargs() local
1362 struct property *prop; check_chosen_node_stdout_path() local
1389 check_property_phandle_args(struct check * c,struct dt_info * dti,struct node * node,struct property * prop,const struct provider * provider) check_property_phandle_args() argument
1471 struct property *prop; check_provider_cells_property() local
1501 prop_is_gpio(struct property * prop) prop_is_gpio() argument
1520 struct property *prop; check_gpios_property() local
1545 struct property *prop; check_deprecated_gpio_property() local
1563 struct property *prop; node_is_interrupt_provider() local
1580 struct property *prop; check_interrupt_provider() local
1603 struct property *prop, *irq_map_prop; check_interrupt_map() local
1692 struct property *irq_prop, *prop = NULL; check_interrupts_property() local
1797 struct property *prop; check_graph_reg() local
1841 struct property *prop; get_remote_endpoint() local
1892 struct property *prop = get_property(child, "reg"); check_graph_child_address() local
[all...]
H A Dlivetree.c267 void add_property(struct node *node, struct property *prop) in add_property() argument
271 prop->next = NULL; in add_property()
277 *p = prop; in add_property()
282 struct property *prop = node->proplist; in delete_property_by_name() local
284 while (prop) { in delete_property_by_name()
285 if (streq(prop->name, name)) { in delete_property_by_name()
286 delete_property(prop); in delete_property_by_name()
289 prop = prop->next; in delete_property_by_name()
293 void delete_property(struct property *prop) in delete_property() argument
295 prop->deleted = 1; in delete_property()
[all …]
H A Dtreesource.c142 static void add_string_markers(struct property *prop) in add_string_markers() argument
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()
164 static enum markertype guess_value_type(struct property *prop) in guess_value_type() argument
166 int len = prop->val.len; in guess_value_type()
167 const char *p = prop->val.val; in guess_value_type()
168 struct marker *m = prop->val.markers; in guess_value_type()
181 if ((m->offset > 0) && (prop->val.val[m->offset - 1] != '\0')) in guess_value_type()
190 add_string_markers(prop); in guess_value_type()
[all …]
/linux/drivers/soundwire/
H A Dmipi_disco.c32 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()
76 prop->clk_freq, prop->num_clk_freq); in sdw_master_read_prop()
[all …]
/linux/arch/powerpc/mm/
H A Ddrmem.c40 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 …]
/linux/drivers/staging/greybus/
H A Dpower_supply.c18 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 …]
/linux/drivers/base/test/
H A Dproperty-entry-test.c13 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 …]
/linux/scripts/kconfig/
H A Dmenu.c52 static void prop_warn(const struct property *prop, const char *fmt, ...) in prop_warn()
56 fprintf(stderr, "%s:%d:warning: ", prop->filename, prop->lineno); in prop_warn()
153 struct property *prop; in menu_add_prop() local
155 prop = xmalloc(sizeof(*prop)); in menu_add_prop()
156 memset(prop, 0, sizeof(*prop)); in menu_add_prop()
157 prop->type = type; in menu_add_prop()
158 prop in menu_add_prop()
51 prop_warn(const struct property * prop,const char * fmt,...) prop_warn() argument
181 struct property *prop = menu_add_prop(type, NULL, dep); menu_add_prompt() local
244 struct property *prop; sym_check_prop() local
308 struct property *prop; _menu_finalize() local
613 get_prompt_str(struct gstr * r,struct property * prop,struct list_head * head) get_prompt_str() argument
676 struct property *prop; get_symbol_props_str() local
696 struct property *prop; get_symbol_str() local
[all...]
H A Dsymbol.c110 struct property *prop; in sym_get_default_prop()
112 for_all_defaults(sym, prop) { in sym_get_default_prop()
113 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
114 if (prop->visible.tri != no) in sym_get_default_prop()
115 return prop; in sym_get_default_prop()
122 struct property *prop; in sym_get_range_prop()
124 for_all_properties(sym, prop, P_RANGE) { in sym_get_range_prop()
125 prop->visible.tri = expr_calc_value(prop in sym_get_range_prop()
108 struct property *prop; sym_get_default_prop() local
120 struct property *prop; sym_get_range_prop() local
148 struct property *prop; sym_validate_range() local
196 struct property *prop; sym_calc_visibility() local
253 struct property *prop; sym_choice_default() local
390 struct property *prop; sym_calc_value() local
678 struct property *prop; sym_string_within_range() local
776 struct property *prop; sym_get_string_default() local
1047 struct property *prop; global() member
1179 struct property *prop; sym_check_sym_deps() local
1300 prop_get_symbol(const struct property * prop) prop_get_symbol() argument
[all...]
H A Dparser.y495 struct property *prop;
498 for (prop = menu->sym->prop; prop; prop = prop->next) {
499 if (prop->type == P_DEFAULT) {
501 prop->filename, prop->lineno,
506 if (prop
494 struct property *prop; global() variable
650 struct property *prop; print_symbol() local
737 struct property *prop; zconfdump() local
[all...]
/linux/tools/testing/selftests/power_supply/
H A Dhelpers.sh12 PROP="$1"
15 PROP_PATH="$SYSFS_SUPPLIES"/"$DEVNAME"/"$PROP"
16 TEST_NAME="$DEVNAME".sysfs."$PROP"
57 PROP=$1
59 PROP_PATH="$SYSFS_SUPPLIES"/"$DEVNAME"/"$PROP"
60 TEST_NAME="$DEVNAME".sysfs."$PROP"
77 PROP=$1
80 TEST_NAME="$DEVNAME".sysfs."$PROP"
82 _check_sysfs_prop_available "$PROP" || return
83 DATA=$(cat "$SYSFS_SUPPLIES"/"$DEVNAME"/"$PROP")
[all …]
/linux/drivers/of/
H A Ddynamic.c77 #define _do_print(func, prefix, action, node, prop, ...) ({ \ argument
80 prop ? ":" : "", prop ? prop->name : ""); \
90 of_changeset_action_debug("notify: ", action, pr->dn, pr->prop); in of_reconfig_notify()
109 struct property *prop, *old_prop = NULL; in of_reconfig_get_state_change() local
116 prop = of_find_property(pr->dn, "status", NULL); in of_reconfig_get_state_change()
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()
138 status_state = !strcmp(prop->value, "okay") || in of_reconfig_get_state_change()
139 !strcmp(prop->value, "ok"); in of_reconfig_get_state_change()
[all …]
H A Dkexec.c94 * @prop: Device tree property
95 * @len: Size of @prop
101 static int do_get_kexec_buffer(const void *prop, int len, unsigned long *addr, in do_get_kexec_buffer() argument
113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer()
114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
133 const void *prop; in ima_get_kexec_buffer() local
135 prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); in ima_get_kexec_buffer()
136 if (!prop) in ima_get_kexec_buffer()
139 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); in ima_get_kexec_buffer()
173 struct property *prop; in ima_free_kexec_buffer() local
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Domapdss-boot-init.c32 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 …]
/linux/drivers/input/
H A Dtouchscreen.c57 * @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 …]
/linux/drivers/platform/x86/amd/pmf/
H A Dsps.c70 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults()
71 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults()
72 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults()
73 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults()
74 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_defaults()
76 data->prop[i][j].stt_skin_temp[STT_TEMP_APU]); in amd_pmf_dump_sps_defaults()
78 data->prop[i][j].stt_skin_temp[STT_TEMP_HS2]); 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()
[all …]
/linux/drivers/iio/adc/
H A Dqcom-spmi-vadc.c211 struct vadc_channel_prop *prop) in vadc_configure() argument
224 ret = vadc_write(vadc, VADC_ADC_CH_SEL_CTL, prop->channel); in vadc_configure()
229 decimation = prop->decimation << VADC_ADC_DIG_DEC_RATIO_SEL_SHIFT; in vadc_configure()
235 ret = vadc_write(vadc, VADC_HW_SETTLE_DELAY, prop->hw_settle_time); in vadc_configure()
239 ret = vadc_write(vadc, VADC_FAST_AVG_CTL, prop->avg_samples); in vadc_configure()
243 if (prop->avg_samples) in vadc_configure()
304 struct vadc_channel_prop *prop, u16 *data) in vadc_do_conversion() argument
311 ret = vadc_configure(vadc, prop); in vadc_do_conversion()
326 timeout = BIT(prop->avg_samples) * VADC_CONV_TIME_MIN_US * 2; in vadc_do_conversion()
356 struct vadc_channel_prop *prop; in vadc_measure_ref_points() local
[all …]
/linux/fs/openpromfs/
H A Dinode.c34 struct property *prop; member
69 struct property *prop = f->private; in property_show() local
73 len = prop->length; in property_show()
74 pval = prop->value; in property_show()
155 m->private = oi->u.prop; in property_open()
185 struct property *prop; in openpromfs_lookup() local
217 prop = dp->properties; in openpromfs_lookup()
218 while (prop) { in openpromfs_lookup()
219 int n = strlen(prop->name); in openpromfs_lookup()
221 if (len == n && !strncmp(prop->name, name, len)) { in openpromfs_lookup()
[all …]
/linux/arch/powerpc/platforms/83xx/
H A Dusb_834x.c26 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/sound/soc/codecs/
H A Dsdw-mockup.c135 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()
154 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop()
155 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_mockup_read_prop()
156 sizeof(*prop->src_dpn_prop), 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()
[all …]
/linux/scripts/dtc/libfdt/
H A Dfdt_rw.c185 int len, struct fdt_property **prop) in fdt_resize_property_() argument
190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
191 if (!*prop) in fdt_resize_property_()
194 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_()
198 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_()
203 int len, struct fdt_property **prop) in fdt_add_property_() argument
218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
221 err = fdt_splice_struct_(fdt, *prop, 0, proplen); in fdt_add_property_()
229 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in fdt_add_property_()
[all …]
/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v2_hr.c48 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_mmu_v2_hr_init() local
50 return hl_mmu_hr_init(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size, in hl_mmu_v2_hr_init()
51 prop->mmu_pgt_size); in hl_mmu_v2_hr_init()
66 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_mmu_v2_hr_fini() local
68 hl_mmu_hr_fini(hdev, &hdev->mmu_priv.hr, prop->pmmu.hop_table_size); in hl_mmu_v2_hr_fini()
121 struct asic_fixed_properties *prop; in _hl_mmu_v2_hr_unmap() local
126 prop = &hdev->asic_prop; in _hl_mmu_v2_hr_unmap()
129 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v2_hr_unmap()
214 struct asic_fixed_properties *prop = &hdev->asic_prop; in _hl_mmu_v2_hr_map() local
226 mmu_prop = &prop->dmmu; in _hl_mmu_v2_hr_map()
[all …]
H A Dmmu_v1.c29 struct asic_fixed_properties *prop = &hdev->asic_prop; in dram_default_mapping_init() local
34 if ((!prop->dram_supports_virtual_memory) || in dram_default_mapping_init()
39 num_of_hop3 = prop->dram_size_for_default_page_mapping; in dram_default_mapping_init()
40 do_div(num_of_hop3, prop->dram_page_size); in dram_default_mapping_init()
97 pte_val = (prop->mmu_dram_default_page_addr & HOP_PHYS_ADDR_MASK) | in dram_default_mapping_init()
129 struct asic_fixed_properties *prop = &hdev->asic_prop; in dram_default_mapping_fini() local
134 if ((!prop->dram_supports_virtual_memory) || in dram_default_mapping_fini()
139 num_of_hop3 = prop->dram_size_for_default_page_mapping; in dram_default_mapping_fini()
140 do_div(num_of_hop3, prop->dram_page_size); in dram_default_mapping_fini()
224 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_mmu_v1_unmap() local
[all …]
/linux/arch/powerpc/kernel/
H A Dprom_parse.c16 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/arch/sparc/kernel/
H A Dprom_32.c78 struct property *prop; in sbus_path_component() local
80 prop = of_find_property(dp, "reg", NULL); in sbus_path_component()
81 if (!prop) in sbus_path_component()
84 regs = prop->value; in sbus_path_component()
96 struct property *prop; in pci_path_component() local
99 prop = of_find_property(dp, "reg", NULL); in pci_path_component()
100 if (!prop) in pci_path_component()
103 regs = prop->value; in pci_path_component()
122 struct property *prop; in ebus_path_component() local
124 prop = of_find_property(dp, "reg", NULL); in ebus_path_component()
[all …]

12345678910>>...21