Home
last modified time | relevance | path

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

/drivers/of/
Dproperty.c1167 const char *prop_name, int index, in parse_prop_cells() argument
1173 if (strcmp(prop_name, list_name)) in parse_prop_cells()
1185 const char *prop_name, int index) \
1187 return parse_prop_cells(np, prop_name, index, name, cells); \
1221 const char *prop_name, int index, in parse_suffix_prop_cells() argument
1227 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells()
1230 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells()
1239 const char *prop_name, int index) \
1241 return parse_suffix_prop_cells(np, prop_name, index, suffix, cells); \
1264 const char *prop_name, int index);
[all …]
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()
Dbase.c315 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument
322 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
1058 const char *prop_name) in of_find_node_with_property() argument
1067 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
/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.c149 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()
/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()
/drivers/gpio/
Dgpiolib-of.c375 char prop_name[32]; /* 32 is max size of property name */ in of_find_spi_gpio() local
391 snprintf(prop_name, sizeof(prop_name), "%s-%s", "gpio", con_id); in of_find_spi_gpio()
393 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio()
495 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local
503 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio()
506 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio()
509 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
Dgpiolib.c3755 char prop_name[32]; /* 32 is max size of property name */ in fwnode_gpiod_get_index() local
3760 snprintf(prop_name, sizeof(prop_name), "%s-%s", in fwnode_gpiod_get_index()
3763 snprintf(prop_name, sizeof(prop_name), "%s", in fwnode_gpiod_get_index()
3766 desc = fwnode_get_named_gpiod(fwnode, prop_name, index, flags, in fwnode_gpiod_get_index()
/drivers/power/supply/
Dpower_supply_sysfs.c24 const char *prop_name; member
34 .prop_name = #_name, \
358 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible()
406 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs()
451 pwr_attr->prop_name, prop_buf); in add_prop_uevent()
/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()
/drivers/fpga/
Daltera-fpga2sdram.c79 char *prop_name; member
/drivers/net/phy/
Dadin.c223 const char *prop_name, in adin_get_reg_value() argument
231 if (device_property_read_u32(dev, prop_name, &val)) in adin_get_reg_value()
238 val, prop_name, dflt); in adin_get_reg_value()
/drivers/opp/
Dof.c584 if (opp_table->prop_name) { in opp_parse_supplies()
586 opp_table->prop_name); in opp_parse_supplies()
647 if (opp_table->prop_name) { in opp_parse_supplies()
649 opp_table->prop_name); in opp_parse_supplies()
Dopp.h202 const char *prop_name; member
Dcore.c1921 if (opp_table->prop_name) in dev_pm_opp_set_prop_name()
1924 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in dev_pm_opp_set_prop_name()
1925 if (!opp_table->prop_name) { in dev_pm_opp_set_prop_name()
1947 kfree(opp_table->prop_name); in dev_pm_opp_put_prop_name()
1948 opp_table->prop_name = NULL; in dev_pm_opp_put_prop_name()
/drivers/usb/misc/
Dusb251xb.c382 const char *prop_name, u8 port_cnt, in usb251xb_get_ports_field() argument
390 of_property_for_each_u32(dev->of_node, prop_name, prop, p, port) { in usb251xb_get_ports_field()
/drivers/regulator/
Dcore.c438 const char *prop_name) in of_get_child_regulator() argument
444 regnode = of_parse_phandle(child, prop_name, 0); in of_get_child_regulator()
447 regnode = of_get_child_regulator(child, prop_name); in of_get_child_regulator()
473 char prop_name[64]; /* 64 is max size of property name */ in of_get_regulator() local
477 snprintf(prop_name, 64, "%s-supply", supply); in of_get_regulator()
478 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
481 regnode = of_get_child_regulator(dev->of_node, prop_name); in of_get_regulator()
486 prop_name, dev->of_node); in of_get_regulator()
/drivers/acpi/
Dproperty.c1199 const struct fwnode_handle *fwnode, const char *prop_name, in acpi_graph_get_child_prop_value() argument
1207 if (fwnode_property_read_u32(child, prop_name, &nr)) in acpi_graph_get_child_prop_value()
/drivers/i2c/
Di2c-core-base.c1767 static void i2c_parse_timing(struct device *dev, char *prop_name, u32 *cur_val_p, in i2c_parse_timing() argument
1772 ret = device_property_read_u32(dev, prop_name, cur_val_p); in i2c_parse_timing()
1776 dev_dbg(dev, "%s: %u\n", prop_name, *cur_val_p); in i2c_parse_timing()
/drivers/phy/qualcomm/
Dphy-qcom-qmp.c5414 char prop_name[MAX_PROP_NAME]; in qcom_qmp_phy_create() local
5489 snprintf(prop_name, sizeof(prop_name), "pipe%d", id); in qcom_qmp_phy_create()
5490 qphy->pipe_clk = devm_get_clk_from_child(dev, np, prop_name); in qcom_qmp_phy_create()
5506 snprintf(prop_name, sizeof(prop_name), "lane%d", id); in qcom_qmp_phy_create()
5507 qphy->lane_rst = of_reset_control_get(np, prop_name); in qcom_qmp_phy_create()