Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/linux-6.3-rc2/drivers/soundwire/
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()
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-6.3-rc2/scripts/dtc/
A Dchecks.c74 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 Dlivetree.c270 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-6.3-rc2/arch/powerpc/mm/
A Ddrmem.c72 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-6.3-rc2/scripts/kconfig/
A Dmenu.c134 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 Dsymbol.c161 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-6.3-rc2/drivers/staging/greybus/
A Dpower_supply.c108 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-6.3-rc2/drivers/misc/cxl/
A Dof.c24 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 …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_mode_config.c233 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 …]
A Ddrm_blend.c221 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-6.3-rc2/drivers/platform/x86/amd/pmf/
A Dsps.c25 config_store.prop[i][j].spl = output.prop[idx].spl; in amd_pmf_load_defaults_sps()
26 config_store.prop[i][j].sppt = output.prop[idx].sppt; in amd_pmf_load_defaults_sps()
27 config_store.prop[i][j].sppt_apu_only = in amd_pmf_load_defaults_sps()
28 output.prop[idx].sppt_apu_only; in amd_pmf_load_defaults_sps()
29 config_store.prop[i][j].fppt = output.prop[idx].fppt; in amd_pmf_load_defaults_sps()
30 config_store.prop[i][j].stt_min = output.prop[idx].stt_min; in amd_pmf_load_defaults_sps()
32 output.prop[idx].stt_skin_temp[STT_TEMP_APU]; in amd_pmf_load_defaults_sps()
35 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()
53 config_store.prop[src][idx].stt_min, NULL); in amd_pmf_update_slider()
63 &table->prop[src][idx].sppt_apu_only); in amd_pmf_update_slider()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dprom_64.c115 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 Dprom_32.c78 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-6.3-rc2/arch/powerpc/platforms/83xx/
A Dusb.c47 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-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Domapdss-boot-init.c34 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-6.3-rc2/drivers/of/
A Ddynamic.c124 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()
420 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup()
552 if (!rce->prop) { in __of_changeset_entry_invert()
554 rce->prop = ce->prop; in __of_changeset_entry_invert()
[all …]
A Dresolver.c44 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 Dkexec.c113 *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()
205 const void *prop; in remove_ima_buffer() local
211 if (!prop) in remove_ima_buffer()
285 const void *prop; in of_kexec_alloc_and_setup_fdt() local
328 if (prop) { in of_kexec_alloc_and_setup_fdt()
[all …]
/linux-6.3-rc2/drivers/input/
A Dtouchscreen.c119 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-6.3-rc2/drivers/soc/fsl/qbman/
A Ddpaa_sys.c42 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-6.3-rc2/sound/soc/codecs/
A Dsdw-mockup.c157 struct sdw_slave_prop *prop = &slave->prop; in sdw_mockup_read_prop() local
164 prop->paging_support = false; in sdw_mockup_read_prop()
173 prop->source_ports = BIT(8); in sdw_mockup_read_prop()
174 prop->sink_ports = BIT(1); in sdw_mockup_read_prop()
180 if (!prop->src_dpn_prop) in sdw_mockup_read_prop()
184 dpn = prop->src_dpn_prop; in sdw_mockup_read_prop()
185 addr = prop->source_ports; in sdw_mockup_read_prop()
198 if (!prop->sink_dpn_prop) in sdw_mockup_read_prop()
202 dpn = prop->sink_dpn_prop; in sdw_mockup_read_prop()
203 addr = prop->sink_ports; in sdw_mockup_read_prop()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbfa_defs_mfg_comm.h76 (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-6.3-rc2/drivers/iio/adc/
A Dqcom-spmi-adc5.c255 buf[2] = prop->channel; in adc5_configure()
295 buf[2] = prop->channel; in adc7_configure()
454 prop->prescale, in adc_read_raw_common()
659 prop->channel = chan; in adc5_get_fw_channel_data()
660 prop->sid = sid; in adc5_get_fw_channel_data()
676 prop->decimation = ret; in adc5_get_fw_channel_data()
689 prop->prescale = ret; in adc5_get_fw_channel_data()
691 prop->prescale = in adc5_get_fw_channel_data()
734 prop->avg_samples = ret; in adc5_get_fw_channel_data()
850 prop.scale_fn_type = in adc5_get_fw_data()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
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-6.3-rc2/drivers/power/supply/
A Dpower_supply_hwmon.c132 if (prop >= 0 && test_bit(prop, psyhw->props)) in power_supply_hwmon_has_input()
163 int prop; in power_supply_hwmon_is_visible() local
173 if (prop < 0 || !test_bit(prop, psyhw->props)) in power_supply_hwmon_is_visible()
212 int ret, prop; in power_supply_hwmon_read() local
215 if (prop < 0) in power_supply_hwmon_read()
216 return prop; in power_supply_hwmon_read()
256 int prop; in power_supply_hwmon_write() local
259 if (prop < 0) in power_supply_hwmon_write()
260 return prop; in power_supply_hwmon_write()
358 switch (prop) { in power_supply_add_hwmon_sysfs()
[all …]

Completed in 69 milliseconds

12345678910>>...23