/linux-4.4.14/drivers/scsi/ufs/ |
D | ufshcd-pltfrm.c | 132 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/ |
D | devres.c | 139 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()
|
D | gpiolib.c | 1815 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/ |
D | mobility.c | 181 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()
|
D | msi.c | 132 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/ |
D | db8500_thermal.c | 319 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/ |
D | phy-qcom-ufs.c | 252 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/ |
D | mpc512x_shared.c | 382 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/ |
D | of.h | 274 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/ |
D | msi_bitmap.c | 222 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/ |
D | oplib_32.h | 160 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
D | oplib_64.h | 240 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | oplib.h | 267 extern int prom_setprop(int node, char *prop_name, char *prop_value,
|
/linux-4.4.14/drivers/of/ |
D | base.c | 336 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/ |
D | core.c | 186 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/ |
D | soc-core.c | 3295 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()
|