Home
last modified time | relevance | path

Searched refs:prop_name (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/of/
Dproperty.c1110 const char *prop_name, int index, in parse_prop_cells() argument
1116 if (strcmp(prop_name, list_name)) in parse_prop_cells()
1128 const char *prop_name, int index) \
1130 return parse_prop_cells(np, prop_name, index, name, cells); \
1164 const char *prop_name, int index, in parse_suffix_prop_cells() argument
1170 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells()
1173 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells()
1182 const char *prop_name, int index) \
1184 return parse_suffix_prop_cells(np, prop_name, index, suffix, cells); \
1209 const char *prop_name, int index);
[all …]
Dcpu.c53 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument
60 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
Dresolver.c77 char *value, *cur, *end, *node_path, *prop_name, *s; in update_usages_of_a_phandle_reference() local
98 prop_name = s; in update_usages_of_a_phandle_reference()
115 if (!of_prop_cmp(prop->name, prop_name)) in update_usages_of_a_phandle_reference()
Ddynamic.c947 const char *prop_name, const char *str) in of_changeset_add_prop_string() argument
951 prop.name = (char *)prop_name; in of_changeset_add_prop_string()
975 const char *prop_name, in of_changeset_add_prop_string_array() argument
982 prop.name = (char *)prop_name; in of_changeset_add_prop_string_array()
1020 const char *prop_name, in of_changeset_add_prop_u32_array() argument
1033 prop.name = (char *)prop_name; in of_changeset_add_prop_u32_array()
/linux-6.6.21/drivers/misc/cxl/
Dof.c17 const char *prop_name) in read_prop_string() argument
21 prop = of_get_property(np, prop_name, NULL); in read_prop_string()
23 pr_info("%s: %s\n", prop_name, (char *) prop); in read_prop_string()
28 const char *prop_name, u32 *val) in read_prop_dword() argument
32 prop = of_get_property(np, prop_name, NULL); in read_prop_dword()
36 pr_info("%s: %#x (%u)\n", prop_name, *val, *val); in read_prop_dword()
41 const char *prop_name, u64 *val) in read_prop64_dword() argument
45 prop = of_get_property(np, prop_name, NULL); in read_prop64_dword()
49 pr_info("%s: %#llx (%llu)\n", prop_name, *val, *val); in read_prop64_dword()
69 static int read_phys_addr(struct device_node *np, char *prop_name, in read_phys_addr() argument
[all …]
Dflash.c150 char *prop_name; in update_node() local
152 prop_name = prop_data; in update_node()
153 prop_data += strlen(prop_name) + 1; in update_node()
158 ret = update_property(dn, prop_name, vd, in update_node()
162 prop_name, ret); in update_node()
/linux-6.6.21/drivers/ufs/host/
Dufshcd-pltfrm.c126 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local
135 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg()
136 if (!phandle_exists(np, prop_name, 0)) { in ufshcd_populate_vreg()
138 __func__, prop_name); in ufshcd_populate_vreg()
150 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg()
151 if (of_property_read_u32(np, prop_name, &vreg->max_uA)) { in ufshcd_populate_vreg()
152 dev_info(dev, "%s: unable to find %s\n", __func__, prop_name); in ufshcd_populate_vreg()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dmobility.c224 char *prop_name; in update_dt_node() local
226 prop_name = prop_data; in update_dt_node()
227 prop_data += strlen(prop_name) + 1; in update_dt_node()
238 prop_name, NULL)); in update_dt_node()
243 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node()
247 prop_name, rc); in update_dt_node()
Dmsi.c115 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument
123 p = of_get_property(dn, prop_name, NULL); in check_req()
125 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req()
131 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
/linux-6.6.21/drivers/power/supply/
Dpower_supply_sysfs.c24 const char *prop_name; member
34 .prop_name = #_name, \
367 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible()
418 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs()
463 pwr_attr->prop_name, prop_buf); in add_prop_uevent()
/linux-6.6.21/include/linux/
Dof.h307 struct device_node *from, const char *prop_name);
545 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument
1439 #define for_each_node_with_property(dn, prop_name) \ argument
1440 for (dn = of_find_node_with_property(NULL, prop_name); dn; \
1441 dn = of_find_node_with_property(dn, prop_name))
1588 const char *prop_name, const char *str);
1591 const char *prop_name,
1595 const char *prop_name,
1599 const char *prop_name, in of_changeset_add_prop_u32() argument
1602 return of_changeset_add_prop_u32_array(ocs, np, prop_name, &val, 1); in of_changeset_add_prop_u32()
Dpm_opp.h86 const char *prop_name; member
654 .prop_name = name, in dev_pm_opp_set_prop_name()
/linux-6.6.21/drivers/gpio/
Dgpiolib-of.c631 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local
640 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio()
643 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio()
646 desc = of_get_named_gpiod_flags(np, prop_name, idx, &of_flags); in of_find_gpio()
/linux-6.6.21/arch/powerpc/platforms/512x/
Dmpc512x_shared.c364 char *prop_name) in get_fifo_size() argument
368 fp = of_get_property(np, prop_name, NULL); in get_fifo_size()
373 prop_name, np, DEFAULT_FIFO_SIZE); in get_fifo_size()
/linux-6.6.21/drivers/phy/qualcomm/
Dphy-qcom-snps-femto-v2.c93 const char *prop_name; member
551 for (i = 0; cfg[i].prop_name != NULL; i++) { in qcom_snps_hsphy_read_override_param_seq()
552 ret = of_property_read_s32(node, cfg[i].prop_name, &val); in qcom_snps_hsphy_read_override_param_seq()
559 cfg[i].prop_name, val, hsphy->update_seq_cfg[i].value); in qcom_snps_hsphy_read_override_param_seq()
/linux-6.6.21/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c54 static int get_property(const char *prop_path, const char *prop_name, in get_property() argument
59 int len = snprintf(path, sizeof(path), "%s/%s", prop_path, prop_name); in get_property()
/linux-6.6.21/arch/powerpc/sysdev/
Dmsi_bitmap.c222 char *prop_name = "msi-available-ranges"; in test_of_node() local
249 prop.name = prop_name; in test_of_node()
/linux-6.6.21/arch/sparc/include/asm/
Doplib_32.h161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
Doplib_64.h241 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
/linux-6.6.21/arch/m68k/include/asm/
Doplib.h268 extern int prom_setprop(int node, char *prop_name, char *prop_value,
/linux-6.6.21/drivers/fpga/
Daltera-fpga2sdram.c79 char *prop_name; member
/linux-6.6.21/drivers/pinctrl/renesas/
Dpinctrl-rza1.c891 char const *prop_name = "pinmux"; in rza1_parse_pinmux_node() local
900 of_pins = of_find_property(np, prop_name, NULL); in rza1_parse_pinmux_node()
902 dev_dbg(rza1_pctl->dev, "Missing %s property\n", prop_name); in rza1_parse_pinmux_node()
947 ret = of_property_read_u32_index(np, prop_name, i, &of_pinconf); in rza1_parse_pinmux_node()
961 mux_conf->port, mux_conf->pin, prop_name); in rza1_parse_pinmux_node()
/linux-6.6.21/drivers/opp/
Dcore.c2125 if (!opp_table->prop_name) { in _opp_set_prop_name()
2126 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in _opp_set_prop_name()
2127 if (!opp_table->prop_name) in _opp_set_prop_name()
2144 if (opp_table->prop_name) { in _opp_put_prop_name()
2145 kfree(opp_table->prop_name); in _opp_put_prop_name()
2146 opp_table->prop_name = NULL; in _opp_put_prop_name()
2582 if (config->prop_name) { in dev_pm_opp_set_config()
2583 ret = _opp_set_prop_name(opp_table, config->prop_name); in dev_pm_opp_set_config()
Dopp.h222 const char *prop_name; member
/linux-6.6.21/drivers/net/phy/
Dadin.c232 const char *prop_name, in adin_get_reg_value() argument
240 if (device_property_read_u32(dev, prop_name, &val)) in adin_get_reg_value()
247 val, prop_name, dflt); in adin_get_reg_value()

12