Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/ufs/
Dufshcd-pltfrm.c145 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local
154 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg()
155 if (!of_parse_phandle(np, prop_name, 0)) { in ufshcd_populate_vreg()
157 __func__, prop_name); in ufshcd_populate_vreg()
168 snprintf(prop_name, MAX_PROP_SIZE, "%s-fixed-regulator", name); in ufshcd_populate_vreg()
169 if (of_property_read_bool(np, prop_name)) in ufshcd_populate_vreg()
172 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg()
173 ret = of_property_read_u32(np, prop_name, &vreg->max_uA); in ufshcd_populate_vreg()
176 __func__, prop_name, ret); in ufshcd_populate_vreg()
/linux-4.1.27/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.c1667 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local
1674 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio()
1677 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio()
1680 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
/linux-4.1.27/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.c130 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument
143 p = of_get_property(dn, prop_name, NULL); in check_req()
145 pr_debug("rtas_msi: No %s on %s\n", prop_name, dn->full_name); in check_req()
151 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
/linux-4.1.27/drivers/thermal/
Ddb8500_thermal.c320 char prop_name[32]; in db8500_thermal_parse_dt() local
338 sprintf(prop_name, "trip%d-temp", i); in db8500_thermal_parse_dt()
339 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
344 sprintf(prop_name, "trip%d-type", i); in db8500_thermal_parse_dt()
345 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
359 sprintf(prop_name, "trip%d-cdev-num", i); in db8500_thermal_parse_dt()
360 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
367 sprintf(prop_name, "trip%d-cdev-name%d", i, j); in db8500_thermal_parse_dt()
368 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/sysdev/
Dmsi_bitmap.c214 char *prop_name = "msi-available-ranges"; in test_of_node() local
240 prop.name = prop_name; in test_of_node()
/linux-4.1.27/include/linux/
Dof.h273 struct device_node *from, const char *prop_name);
449 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument
900 #define for_each_node_with_property(dn, prop_name) \ argument
901 for (dn = of_find_node_with_property(NULL, prop_name); dn; \
902 dn = of_find_node_with_property(dn, prop_name))
/linux-4.1.27/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.1.27/arch/m68k/include/asm/
Doplib.h267 extern int prom_setprop(int node, char *prop_name, char *prop_value,
/linux-4.1.27/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()
928 const char *prop_name) in of_find_node_with_property() argument
937 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
/linux-4.1.27/drivers/regulator/
Dcore.c145 char prop_name[32]; /* 32 is max size of property name */ in of_get_regulator() local
149 snprintf(prop_name, 32, "%s-supply", supply); in of_get_regulator()
150 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
154 prop_name, dev->of_node->full_name); in of_get_regulator()