Searched refs:prop (Results 1 - 25 of 552) sorted by relevance

1234567891011>>

/linux-master/arch/riscv/kernel/pi/
H A Dfdt_early.c16 fdt64_t *prop; local
23 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len);
24 if (!prop || len != sizeof(u64))
27 ret = fdt64_to_cpu(*prop);
28 *prop = 0;
/linux-master/arch/powerpc/kernel/
H A Dprom_parse.c16 const __be32 *prop; local
22 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL);
23 if (!prop)
24 prop = of_get_property(dn, "#address-cells", NULL);
26 cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn);
31 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL);
32 cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn);
/linux-master/drivers/soundwire/
H A Dmipi_disco.c32 struct sdw_master_prop *prop = &bus->prop; local
39 &prop->revision);
53 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE0);
57 prop->clk_stop_modes |= BIT(SDW_CLK_STOP_MODE1);
61 &prop->max_clk_freq);
65 prop->num_clk_freq = nval;
66 prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq,
67 sizeof(*prop
289 struct sdw_slave_prop *prop = &slave->prop; local
[all...]
/linux-master/include/linux/input/
H A Dtouchscreen.h21 struct touchscreen_properties *prop);
24 const struct touchscreen_properties *prop,
28 const struct touchscreen_properties *prop,
/linux-master/arch/powerpc/include/asm/
H A Dparport.h19 const u32 *prop; local
26 prop = of_get_property(np, "reg", &propsize);
27 if (!prop || propsize > 6*sizeof(u32))
29 io1 = prop[1]; io2 = prop[2];
/linux-master/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c70 struct property *prop; local
72 prop = devm_kzalloc(dev, sizeof(*prop), GFP_KERNEL);
73 if (!prop)
75 prop->value = res_array = devm_kzalloc(dev, sizeof(__be32) * 4,
77 if (!prop->value)
83 prop->length = sizeof(__be32) * 4;
84 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL);
85 if (!prop->name)
87 err = of_add_property(mem_node, prop);
[all...]
/linux-master/arch/powerpc/platforms/83xx/
H A Dusb_834x.c26 const void *prop, *dr_mode; local
42 prop = of_get_property(np, "phy_type", NULL);
44 if (prop &&
45 (!strcmp(prop, "utmi") || !strcmp(prop, "utmi_wide"))) {
49 } else if (prop && !strcmp(prop, "serial")) {
57 } else if (prop && !strcmp(prop, "ulpi")) {
68 prop
[all...]
H A Dusb_837x.c24 const void *prop; local
32 prop = of_get_property(np, "phy_type", NULL);
34 if (!prop || (strcmp(prop, "ulpi") && strcmp(prop, "serial"))) {
/linux-master/arch/powerpc/mm/
H A Ddrmem.c40 static struct property *clone_property(struct property *prop, u32 prop_sz) argument
48 new_prop->name = kstrdup(prop->name, GFP_KERNEL);
65 struct property *prop)
72 new_prop = clone_property(prop, prop->length);
104 struct property *prop)
130 new_prop = clone_property(prop, prop_sz);
175 struct property *prop; local
187 prop = of_find_property(memory, "ibm,dynamic-memory", NULL);
188 if (prop) {
64 drmem_update_dt_v1(struct device_node *memory, struct property *prop) argument
103 drmem_update_dt_v2(struct device_node *memory, struct property *prop) argument
201 read_drconf_v1_cell(struct drmem_lmb *lmb, const __be32 **prop) argument
219 __walk_drmem_v1_lmbs(const __be32 *prop, const __be32 *usm, void *data, int (*func)(struct drmem_lmb *, const __be32 **, void *)) argument
237 read_drconf_v2_cell(struct of_drconf_cell_v2 *dr_cell, const __be32 **prop) argument
253 __walk_drmem_v2_lmbs(const __be32 *prop, const __be32 *usm, void *data, int (*func)(struct drmem_lmb *, const __be32 **, void *)) argument
288 const __be32 *prop, *usm; local
342 drmem_update_lmbs(struct property *prop) argument
360 const __be32 *prop; local
383 const __be32 *prop; local
397 const __be32 *prop, *usm; local
425 init_drmem_v1_lmbs(const __be32 *prop) argument
442 init_drmem_v2_lmbs(const __be32 *prop) argument
491 const __be32 *prop; local
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs_mfg_comm.h73 #define bfa_mfg_adapter_prop_init_gpio(gpio, card_type, prop) \
76 (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) |
[all...]
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Domapdss-boot-init.c32 static int __init omapdss_count_strings(const struct property *prop) argument
34 const char *p = prop->value;
38 for (i = 0; total < prop->length; total += l, p += l, i++)
47 struct property *prop; local
49 prop = kzalloc(sizeof(*prop), GFP_KERNEL);
50 if (!prop)
53 prop->name = "compatible";
54 prop->value = compat;
55 prop
82 struct property *prop; local
[all...]
/linux-master/drivers/misc/cxl/
H A Dof.c19 const __be32 *prop; local
21 prop = of_get_property(np, prop_name, NULL);
22 if (cxl_verbose && prop)
23 pr_info("%s: %s\n", prop_name, (char *) prop);
24 return prop;
30 const __be32 *prop; local
32 prop = of_get_property(np, prop_name, NULL);
33 if (prop)
34 *val = be32_to_cpu(prop[0]);
35 if (cxl_verbose && prop)
43 const __be64 *prop; local
56 const __be32 *prop; local
74 const __be32 *prop; local
144 const __be32 *prop; local
348 const __be32 *prop; local
[all...]
/linux-master/drivers/input/
H A Dtouchscreen.c57 * @prop: pointer to a struct touchscreen_properties into which to store
66 struct touchscreen_properties *prop)
119 if (!prop)
122 prop->max_x = input_abs_get_max(input, axis_x);
123 prop->max_y = input_abs_get_max(input, axis_y);
125 prop->invert_x =
127 if (prop->invert_x) {
133 prop->invert_y =
135 if (prop->invert_y) {
141 prop
65 touchscreen_parse_properties(struct input_dev *input, bool multitouch, struct touchscreen_properties *prop) argument
149 touchscreen_apply_prop_to_x_y(const struct touchscreen_properties *prop, unsigned int *x, unsigned int *y) argument
173 touchscreen_set_mt_pos(struct input_mt_pos *pos, const struct touchscreen_properties *prop, unsigned int x, unsigned int y) argument
195 touchscreen_report_pos(struct input_dev *input, const struct touchscreen_properties *prop, unsigned int x, unsigned int y, bool multitouch) argument
[all...]
/linux-master/arch/arm64/kernel/pi/
H A Dkaslr_early.c26 fdt64_t *prop; local
33 prop = fdt_getprop_w(fdt, node, seed_str, &len);
34 if (!prop || len != sizeof(u64))
37 ret = fdt64_to_cpu(*prop);
38 *prop = 0;
/linux-master/scripts/dtc/
H A Dchecks.c63 struct property *prop,
74 if (prop && prop->srcpos)
75 pos = prop->srcpos;
93 if (prop)
94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name);
105 if (!prop && pos) {
126 #define FAIL_PROP(c, dti, node, prop, ...) \
130 check_msg((c), dti, node, prop, __VA_ARGS__); \
209 struct property *prop; local
61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) argument
228 struct property *prop; local
256 struct property *prop; local
292 struct property *prop, *prop2; local
360 struct property *prop = get_property(node, "reg"); local
386 struct property *prop; local
402 struct property *prop; local
437 check_duplicate_label(struct check *c, struct dt_info *dti, const char *label, struct node *node, struct property *prop, struct marker *mark) argument
468 struct property *prop; local
489 struct property *prop; local
571 struct property **pp, *prop = NULL; local
606 struct property *prop; local
641 struct property *prop; local
694 struct property *prop; local
709 struct property *prop; local
734 struct property *prop; local
758 struct property *prop; local
787 struct property *prop; local
834 struct property *prop; local
875 struct property *prop; local
905 struct property *prop; local
952 struct property *prop; local
977 struct property *prop; local
1049 struct property *prop; local
1109 struct property *prop; local
1138 struct property *prop; local
1218 struct property *prop; local
1241 struct property *prop; local
1311 struct property *prop; local
1343 struct property *prop; local
1360 struct property *prop; local
1384 check_property_phandle_args(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const struct provider *provider) argument
1469 struct property *prop; local
1499 prop_is_gpio(struct property *prop) argument
1518 struct property *prop; local
1543 struct property *prop; local
1561 struct property *prop; local
1578 struct property *prop; local
1601 struct property *prop, *irq_map_prop; local
1686 struct property *irq_prop, *prop = NULL; local
1791 struct property *prop = get_property(child, "reg"); local
1811 struct property *prop; local
1855 struct property *prop; local
[all...]
/linux-master/tools/bpf/bpftool/
H A Djson_writer.h52 void jsonw_string_field(json_writer_t *self, const char *prop, const char *val);
53 void jsonw_bool_field(json_writer_t *self, const char *prop, bool value);
54 void jsonw_float_field(json_writer_t *self, const char *prop, double num);
55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
56 void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num);
57 void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num);
58 void jsonw_null_field(json_writer_t *self, const char *prop);
59 void jsonw_lluint_field(json_writer_t *self, const char *prop,
61 void jsonw_float_field_fmt(json_writer_t *self, const char *prop,
/linux-master/tools/testing/selftests/bpf/
H A Djson_writer.h52 void jsonw_string_field(json_writer_t *self, const char *prop, const char *val);
53 void jsonw_bool_field(json_writer_t *self, const char *prop, bool value);
54 void jsonw_float_field(json_writer_t *self, const char *prop, double num);
55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
56 void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num);
57 void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num);
58 void jsonw_null_field(json_writer_t *self, const char *prop);
59 void jsonw_lluint_field(json_writer_t *self, const char *prop,
61 void jsonw_float_field_fmt(json_writer_t *self, const char *prop,
/linux-master/drivers/staging/greybus/
H A Dpower_supply.c18 enum power_supply_property prop; member in struct:gb_power_supply_prop
82 enum power_supply_property prop; member in struct:gb_power_supply_changes
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; local
112 prop = POWER_SUPPLY_PROP_STATUS;
115 prop
329 struct gb_power_supply_prop *prop; local
358 gb_power_supply_state_change(struct gb_power_supply *gbpsy, struct gb_power_supply_prop *prop) argument
392 check_changed(struct gb_power_supply *gbpsy, struct gb_power_supply_prop *prop) argument
429 prop_append(struct gb_power_supply *gbpsy, enum power_supply_property prop) argument
593 struct gb_power_supply_prop *prop; local
626 struct gb_power_supply_prop *prop; local
769 struct gb_power_supply_prop *prop; local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_mode_config.c221 struct drm_property *prop; local
228 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE,
231 if (!prop)
233 dev->mode_config.plane_type_property = prop;
235 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC,
237 if (!prop)
239 dev->mode_config.prop_src_x = prop;
241 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC,
243 if (!prop)
245 dev->mode_config.prop_src_y = prop;
[all...]
H A Ddrm_blend.c221 struct drm_property *prop; local
223 prop = drm_property_create_range(plane->dev, 0, "alpha",
225 if (!prop)
228 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE);
229 plane->alpha_property = prop;
284 struct drm_property *prop; local
290 prop = drm_property_create_bitmask(plane->dev, 0, "rotation",
293 if (!prop)
296 drm_object_attach_property(&plane->base, prop, rotation);
301 plane->rotation_property = prop;
373 struct drm_property *prop; local
411 struct drm_property *prop; local
575 struct drm_property *prop; local
[all...]
/linux-master/arch/sparc/kernel/
H A Dprom_64.c112 struct property *prop; local
114 prop = of_find_property(dp, "reg", NULL);
115 if (!prop)
118 regs = prop->value;
127 prop = of_find_property(dp, "upa-portid", NULL);
128 if (!prop)
129 prop = of_find_property(dp, "portid", NULL);
130 if (prop) {
138 *(u32 *)prop->value,
148 struct property *prop; local
166 struct property *prop; local
192 struct property *prop; local
214 struct property *prop; local
231 struct property *prop; local
249 struct property *prop; local
269 struct property *prop; local
291 struct property *prop; local
393 struct property *prop = of_find_property(cpun, "reg", NULL); local
[all...]
H A Dprom_common.c36 struct property *prop; local
39 prop = of_find_property(np, name, &len);
40 if (!prop || len != 4)
43 return *(int *) prop->value;
67 struct property *prop = *prevp; local
69 if (!strcasecmp(prop->name, name)) {
70 void *old_val = prop->value;
77 prop->value = new_val;
78 prop->length = len;
80 if (OF_IS_DYNAMIC(prop))
[all...]
/linux-master/drivers/of/
H A Ddynamic.c76 #define _do_print(func, prefix, action, node, prop, ...) ({ \
79 prop ? ":" : "", prop ? prop->name : ""); \
89 of_changeset_action_debug("notify: ", action, pr->dn, pr->prop);
108 struct property *prop, *old_prop = NULL; local
115 prop = of_find_property(pr->dn, "status", NULL);
119 prop = pr->prop;
122 prop
184 of_property_notify(int action, struct device_node *np, struct property *prop, struct property *oldprop) argument
311 struct property *prop, *next; local
404 __of_prop_dup(const struct property *prop, gfp_t allocflags) argument
901 of_changeset_action(struct of_changeset *ocs, unsigned long action, struct device_node *np, struct property *prop) argument
961 struct property prop; local
990 struct property prop; local
1035 struct property prop; local
[all...]
H A Dresolver.c44 struct property *prop; local
52 for_each_property_of_node(overlay, prop) {
54 if (of_prop_cmp(prop->name, "phandle") &&
55 of_prop_cmp(prop->name, "linux,phandle"))
58 if (prop->length < 4)
61 phandle = be32_to_cpup(prop->value);
65 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle);
76 struct property *prop; local
114 for_each_property_of_node(refnode, prop) {
115 if (!of_prop_cmp(prop
163 struct property *prop_fix, *prop; local
267 struct property *prop; local
[all...]
/linux-master/scripts/kconfig/
H A Dsymbol.c74 struct property *prop; local
76 for_all_choices(sym, prop)
77 return prop;
83 struct property *prop; local
85 for_all_defaults(sym, prop) {
86 prop->visible.tri = expr_calc_value(prop->visible.expr);
87 if (prop->visible.tri != no)
88 return prop;
95 struct property *prop; local
123 struct property *prop; local
155 struct property *prop; local
174 struct property *prop; local
244 struct property *prop; local
270 struct property *prop; local
331 struct property *prop; local
524 struct property *prop; local
611 struct property *prop; local
709 struct property *prop; local
975 struct property *prop; member in struct:dep_stack
1006 struct property *prop; local
1128 struct property *prop; local
1176 struct property *prop; local
1213 struct property *prop; local
1241 prop_get_symbol(struct property *prop) argument
[all...]

Completed in 285 milliseconds

1234567891011>>