Home
last modified time | relevance | path

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

/drivers/of/
Dproperty.c1162 const char *prop_name, int index, in parse_prop_cells() argument
1168 if (strcmp(prop_name, list_name)) in parse_prop_cells()
1180 const char *prop_name, int index) \
1182 return parse_prop_cells(np, prop_name, index, name, cells); \
1216 const char *prop_name, int index, in parse_suffix_prop_cells() argument
1222 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells()
1225 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells()
1234 const char *prop_name, int index) \
1236 return parse_suffix_prop_cells(np, prop_name, index, suffix, cells); \
1257 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.c314 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument
321 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
1086 const char *prop_name) in of_find_node_with_property() argument
1095 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/scsi/ufs/
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.c3816 char prop_name[32]; /* 32 is max size of property name */ in fwnode_gpiod_get_index() local
3821 snprintf(prop_name, sizeof(prop_name), "%s-%s", in fwnode_gpiod_get_index()
3824 snprintf(prop_name, sizeof(prop_name), "%s", in fwnode_gpiod_get_index()
3827 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()
946 ret = of_property_read_u32_index(np, prop_name, i, &of_pinconf); in rza1_parse_pinmux_node()
960 mux_conf->port, mux_conf->pin, prop_name); in rza1_parse_pinmux_node()
/drivers/net/phy/
Dadin.c196 const char *prop_name, in adin_get_reg_value() argument
204 if (device_property_read_u32(dev, prop_name, &val)) in adin_get_reg_value()
211 val, prop_name, dflt); in adin_get_reg_value()
/drivers/opp/
Dof.c491 if (opp_table->prop_name) { in opp_parse_supplies()
493 opp_table->prop_name); in opp_parse_supplies()
554 if (opp_table->prop_name) { in opp_parse_supplies()
556 opp_table->prop_name); in opp_parse_supplies()
Dopp.h194 const char *prop_name; member
Dcore.c1677 if (opp_table->prop_name) in dev_pm_opp_set_prop_name()
1680 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in dev_pm_opp_set_prop_name()
1681 if (!opp_table->prop_name) { in dev_pm_opp_set_prop_name()
1703 kfree(opp_table->prop_name); in dev_pm_opp_put_prop_name()
1704 opp_table->prop_name = NULL; in dev_pm_opp_put_prop_name()
/drivers/fpga/
Daltera-fpga2sdram.c79 char *prop_name; member
/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/phy/qualcomm/
Dphy-qcom-qmp.c3733 char prop_name[MAX_PROP_NAME]; in qcom_qmp_phy_create() local
3796 snprintf(prop_name, sizeof(prop_name), "pipe%d", id); in qcom_qmp_phy_create()
3797 qphy->pipe_clk = devm_get_clk_from_child(dev, np, prop_name); in qcom_qmp_phy_create()
3813 snprintf(prop_name, sizeof(prop_name), "lane%d", id); in qcom_qmp_phy_create()
3814 qphy->lane_rst = of_reset_control_get(np, prop_name); in qcom_qmp_phy_create()
/drivers/regulator/
Dcore.c448 const char *prop_name) in of_get_child_regulator() argument
454 regnode = of_parse_phandle(child, prop_name, 0); in of_get_child_regulator()
457 regnode = of_get_child_regulator(child, prop_name); in of_get_child_regulator()
483 char prop_name[64]; /* 64 is max size of property name */ in of_get_regulator() local
487 snprintf(prop_name, 64, "%s-supply", supply); in of_get_regulator()
488 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
491 regnode = of_get_child_regulator(dev->of_node, prop_name); in of_get_regulator()
496 prop_name, dev->of_node); in of_get_regulator()
/drivers/acpi/
Dproperty.c1219 const struct fwnode_handle *fwnode, const char *prop_name, in acpi_graph_get_child_prop_value() argument
1227 if (fwnode_property_read_u32(child, prop_name, &nr)) in acpi_graph_get_child_prop_value()
/drivers/i2c/
Di2c-core-base.c1708 static void i2c_parse_timing(struct device *dev, char *prop_name, u32 *cur_val_p, in i2c_parse_timing() argument
1713 ret = device_property_read_u32(dev, prop_name, cur_val_p); in i2c_parse_timing()
1717 dev_dbg(dev, "%s: %u\n", prop_name, *cur_val_p); in i2c_parse_timing()