/Linux-v4.19/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-v4.19/drivers/misc/cxl/ |
D | of.c | 21 const char *prop_name) in read_prop_string() argument 25 prop = of_get_property(np, prop_name, NULL); in read_prop_string() 27 pr_info("%s: %s\n", prop_name, (char *) prop); in read_prop_string() 32 const char *prop_name, u32 *val) in read_prop_dword() argument 36 prop = of_get_property(np, prop_name, NULL); in read_prop_dword() 40 pr_info("%s: %#x (%u)\n", prop_name, *val, *val); in read_prop_dword() 45 const char *prop_name, u64 *val) in read_prop64_dword() argument 49 prop = of_get_property(np, prop_name, NULL); in read_prop64_dword() 53 pr_info("%s: %#llx (%llu)\n", prop_name, *val, *val); in read_prop64_dword() 73 static int read_phys_addr(struct device_node *np, char *prop_name, in read_phys_addr() argument [all …]
|
D | flash.c | 149 char *prop_name; in update_node() local 151 prop_name = prop_data; in update_node() 152 prop_data += strlen(prop_name) + 1; in update_node() 157 ret = update_property(dn, prop_name, vd, in update_node() 161 prop_name, ret); in update_node()
|
/Linux-v4.19/drivers/gpio/ |
D | gpiolib-of.c | 169 char prop_name[32]; /* 32 is max size of property name */ in of_find_spi_gpio() local 185 snprintf(prop_name, sizeof(prop_name), "%s-%s", "gpio", con_id); in of_find_spi_gpio() 187 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio() 227 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local 235 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio() 238 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio() 241 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
|
D | devres.c | 191 char prop_name[32]; /* 32 is max size of property name */ in devm_fwnode_get_index_gpiod_from_child() local 203 snprintf(prop_name, sizeof(prop_name), "%s-%s", in devm_fwnode_get_index_gpiod_from_child() 206 snprintf(prop_name, sizeof(prop_name), "%s", in devm_fwnode_get_index_gpiod_from_child() 209 desc = fwnode_get_named_gpiod(child, prop_name, index, flags, in devm_fwnode_get_index_gpiod_from_child()
|
/Linux-v4.19/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-v4.19/arch/powerpc/platforms/pseries/ |
D | mobility.c | 183 char *prop_name; in update_dt_node() local 185 prop_name = prop_data; in update_dt_node() 186 prop_data += strlen(prop_name) + 1; in update_dt_node() 197 prop_name, NULL)); in update_dt_node() 202 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node() 206 " 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 140 p = of_get_property(dn, prop_name, NULL); in check_req() 142 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 148 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
|
/Linux-v4.19/drivers/of/ |
D | resolver.c | 77 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()
|
D | base.c | 325 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument 332 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 997 const char *prop_name) in of_find_node_with_property() argument 1006 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
|
/Linux-v4.19/drivers/phy/qualcomm/ |
D | phy-qcom-ufs.c | 219 char prop_name[MAX_PROP_NAME]; in ufs_qcom_phy_init_vreg() local 230 snprintf(prop_name, MAX_PROP_NAME, "%s-max-microamp", name); in ufs_qcom_phy_init_vreg() 232 prop_name, &vreg->max_uA); in ufs_qcom_phy_init_vreg() 235 __func__, prop_name); in ufs_qcom_phy_init_vreg() 240 __func__, prop_name); in ufs_qcom_phy_init_vreg()
|
D | phy-qcom-qmp.c | 1433 char prop_name[MAX_PROP_NAME]; in qcom_qmp_phy_create() local 1468 snprintf(prop_name, sizeof(prop_name), "pipe%d", id); in qcom_qmp_phy_create() 1469 qphy->pipe_clk = of_clk_get_by_name(np, prop_name); in qcom_qmp_phy_create() 1485 snprintf(prop_name, sizeof(prop_name), "lane%d", id); in qcom_qmp_phy_create() 1486 qphy->lane_rst = of_reset_control_get(np, prop_name); in qcom_qmp_phy_create()
|
/Linux-v4.19/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, DEFAULT_FIFO_SIZE); in get_fifo_size()
|
/Linux-v4.19/drivers/opp/ |
D | of.c | 123 if (opp_table->prop_name) { in opp_parse_supplies() 125 opp_table->prop_name); in opp_parse_supplies() 172 if (opp_table->prop_name) { in opp_parse_supplies() 174 opp_table->prop_name); in opp_parse_supplies()
|
D | opp.h | 172 const char *prop_name; member
|
D | core.c | 1228 if (opp_table->prop_name) in dev_pm_opp_set_prop_name() 1231 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in dev_pm_opp_set_prop_name() 1232 if (!opp_table->prop_name) { in dev_pm_opp_set_prop_name() 1254 kfree(opp_table->prop_name); in dev_pm_opp_put_prop_name() 1255 opp_table->prop_name = NULL; in dev_pm_opp_put_prop_name()
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 223 char *prop_name = "msi-available-ranges"; in test_of_node() local 250 prop.name = prop_name; in test_of_node()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | oplib_32.h | 161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
D | oplib_64.h | 241 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | oplib.h | 268 extern int prom_setprop(int node, char *prop_name, char *prop_value,
|
/Linux-v4.19/include/linux/ |
D | of.h | 305 struct device_node *from, const char *prop_name); 638 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument 1220 #define for_each_node_with_property(dn, prop_name) \ argument 1221 for (dn = of_find_node_with_property(NULL, prop_name); dn; \ 1222 dn = of_find_node_with_property(dn, prop_name))
|
/Linux-v4.19/drivers/fpga/ |
D | altera-fpga2sdram.c | 79 char *prop_name; member
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-rza1.c | 909 char const *prop_name = "pinmux"; in rza1_parse_pinmux_node() local 918 of_pins = of_find_property(np, prop_name, NULL); in rza1_parse_pinmux_node() 920 dev_dbg(rza1_pctl->dev, "Missing %s property\n", prop_name); in rza1_parse_pinmux_node() 963 ret = of_property_read_u32_index(np, prop_name, i, &of_pinconf); in rza1_parse_pinmux_node() 977 mux_conf->port, mux_conf->pin, prop_name); in rza1_parse_pinmux_node()
|
/Linux-v4.19/drivers/acpi/ |
D | property.c | 1117 const struct fwnode_handle *fwnode, const char *prop_name, in acpi_graph_get_child_prop_value() argument 1125 if (fwnode_property_read_u32(child, prop_name, &nr)) in acpi_graph_get_child_prop_value()
|
/Linux-v4.19/scripts/dtc/ |
D | checks.c | 1141 const char *prop_name; member 1230 prop = get_property(node, provider->prop_name); in check_provider_cells_property() 1295 provider.prop_name = prop->name; in check_gpios_property()
|