Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/ufs/
Dufshcd-pltfrm.c132 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local
141 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg()
142 if (!of_parse_phandle(np, prop_name, 0)) { in ufshcd_populate_vreg()
144 __func__, prop_name); in ufshcd_populate_vreg()
155 snprintf(prop_name, MAX_PROP_SIZE, "%s-fixed-regulator", name); in ufshcd_populate_vreg()
156 if (of_property_read_bool(np, prop_name)) in ufshcd_populate_vreg()
159 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg()
160 ret = of_property_read_u32(np, prop_name, &vreg->max_uA); in ufshcd_populate_vreg()
163 __func__, prop_name, ret); in ufshcd_populate_vreg()
/linux-4.4.14/drivers/gpio/
Ddevres.c139 char prop_name[32]; /* 32 is max size of property name */ in devm_get_gpiod_from_child() local
151 snprintf(prop_name, sizeof(prop_name), "%s-%s", in devm_get_gpiod_from_child()
154 snprintf(prop_name, sizeof(prop_name), "%s", in devm_get_gpiod_from_child()
157 desc = fwnode_get_named_gpiod(child, prop_name); in devm_get_gpiod_from_child()
Dgpiolib.c1815 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local
1822 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio()
1825 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio()
1828 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dmobility.c181 char *prop_name; in update_dt_node() local
183 prop_name = prop_data; in update_dt_node()
184 prop_data += strlen(prop_name) + 1; in update_dt_node()
194 prop = of_find_property(dn, prop_name, NULL); in update_dt_node()
200 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node()
204 " property\n", prop_name); in update_dt_node()
Dmsi.c132 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument
145 p = of_get_property(dn, prop_name, NULL); in check_req()
147 pr_debug("rtas_msi: No %s on %s\n", prop_name, dn->full_name); in check_req()
153 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
/linux-4.4.14/drivers/thermal/
Ddb8500_thermal.c319 char prop_name[32]; in db8500_thermal_parse_dt() local
337 sprintf(prop_name, "trip%d-temp", i); in db8500_thermal_parse_dt()
338 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
343 sprintf(prop_name, "trip%d-type", i); in db8500_thermal_parse_dt()
344 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
358 sprintf(prop_name, "trip%d-cdev-num", i); in db8500_thermal_parse_dt()
359 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
366 sprintf(prop_name, "trip%d-cdev-name%d", i, j); in db8500_thermal_parse_dt()
367 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
/linux-4.4.14/drivers/phy/
Dphy-qcom-ufs.c252 char prop_name[MAX_PROP_NAME]; in __ufs_qcom_phy_init_vreg() local
270 snprintf(prop_name, MAX_PROP_NAME, "%s-max-microamp", name); in __ufs_qcom_phy_init_vreg()
272 prop_name, &vreg->max_uA); in __ufs_qcom_phy_init_vreg()
275 __func__, prop_name); in __ufs_qcom_phy_init_vreg()
280 __func__, prop_name); in __ufs_qcom_phy_init_vreg()
285 snprintf(prop_name, MAX_PROP_NAME, "%s-always-on", name); in __ufs_qcom_phy_init_vreg()
286 if (of_get_property(dev->of_node, prop_name, NULL)) in __ufs_qcom_phy_init_vreg()
/linux-4.4.14/arch/powerpc/platforms/512x/
Dmpc512x_shared.c382 char *prop_name) in get_fifo_size() argument
386 fp = of_get_property(np, prop_name, NULL); in get_fifo_size()
391 prop_name, np->full_name, DEFAULT_FIFO_SIZE); in get_fifo_size()
/linux-4.4.14/include/linux/
Dof.h274 struct device_node *from, const char *prop_name);
455 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument
906 #define for_each_node_with_property(dn, prop_name) \ argument
907 for (dn = of_find_node_with_property(NULL, prop_name); dn; \
908 dn = of_find_node_with_property(dn, prop_name))
/linux-4.4.14/arch/powerpc/sysdev/
Dmsi_bitmap.c222 char *prop_name = "msi-available-ranges"; in test_of_node() local
248 prop.name = prop_name; in test_of_node()
/linux-4.4.14/arch/sparc/include/asm/
Doplib_32.h160 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
Doplib_64.h240 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
/linux-4.4.14/arch/m68k/include/asm/
Doplib.h267 extern int prom_setprop(int node, char *prop_name, char *prop_value,
/linux-4.4.14/drivers/of/
Dbase.c336 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument
343 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
925 const char *prop_name) in of_find_node_with_property() argument
934 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
/linux-4.4.14/drivers/regulator/
Dcore.c186 char prop_name[32]; /* 32 is max size of property name */ in of_get_regulator() local
190 snprintf(prop_name, 32, "%s-supply", supply); in of_get_regulator()
191 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
195 prop_name, dev->of_node->full_name); in of_get_regulator()
/linux-4.4.14/sound/soc/
Dsoc-core.c3295 const char *prop_name, in snd_soc_of_get_slot_mask() argument
3299 const __be32 *of_slot_mask = of_get_property(np, prop_name, &val); in snd_soc_of_get_slot_mask()