Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd-pltfrm.c133 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local
142 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg()
143 if (!of_parse_phandle(np, prop_name, 0)) { in ufshcd_populate_vreg()
145 __func__, prop_name); in ufshcd_populate_vreg()
155 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg()
156 if (of_property_read_u32(np, prop_name, &vreg->max_uA)) { in ufshcd_populate_vreg()
157 dev_info(dev, "%s: unable to find %s\n", __func__, prop_name); in ufshcd_populate_vreg()
/Linux-v5.4/drivers/gpio/
Dgpiolib-devres.c209 char prop_name[32]; /* 32 is max size of property name */ in devm_fwnode_get_index_gpiod_from_child() local
221 snprintf(prop_name, sizeof(prop_name), "%s-%s", in devm_fwnode_get_index_gpiod_from_child()
224 snprintf(prop_name, sizeof(prop_name), "%s", in devm_fwnode_get_index_gpiod_from_child()
227 desc = fwnode_get_named_gpiod(child, prop_name, index, flags, in devm_fwnode_get_index_gpiod_from_child()
Dgpiolib-of.c356 char prop_name[32]; /* 32 is max size of property name */ in of_find_spi_gpio() local
372 snprintf(prop_name, sizeof(prop_name), "%s-%s", "gpio", con_id); in of_find_spi_gpio()
374 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio()
457 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local
465 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio()
468 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio()
471 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dmobility.c183 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()
Dmsi.c127 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument
135 p = of_get_property(dn, prop_name, NULL); in check_req()
137 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req()
143 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
/Linux-v5.4/drivers/of/
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.c376 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument
383 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
1085 const char *prop_name) in of_find_node_with_property() argument
1094 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
/Linux-v5.4/drivers/phy/qualcomm/
Dphy-qcom-ufs.c225 char prop_name[MAX_PROP_NAME]; in ufs_qcom_phy_init_vreg() local
236 snprintf(prop_name, MAX_PROP_NAME, "%s-max-microamp", name); in ufs_qcom_phy_init_vreg()
238 prop_name, &vreg->max_uA); in ufs_qcom_phy_init_vreg()
241 __func__, prop_name); in ufs_qcom_phy_init_vreg()
246 __func__, prop_name); in ufs_qcom_phy_init_vreg()
Dphy-qcom-qmp.c1868 char prop_name[MAX_PROP_NAME]; in qcom_qmp_phy_create() local
1929 snprintf(prop_name, sizeof(prop_name), "pipe%d", id); in qcom_qmp_phy_create()
1930 qphy->pipe_clk = of_clk_get_by_name(np, prop_name); in qcom_qmp_phy_create()
1946 snprintf(prop_name, sizeof(prop_name), "lane%d", id); in qcom_qmp_phy_create()
1947 qphy->lane_rst = of_reset_control_get(np, prop_name); in qcom_qmp_phy_create()
/Linux-v5.4/arch/powerpc/platforms/512x/
Dmpc512x_shared.c378 char *prop_name) in get_fifo_size() argument
382 fp = of_get_property(np, prop_name, NULL); in get_fifo_size()
387 prop_name, np, DEFAULT_FIFO_SIZE); in get_fifo_size()
/Linux-v5.4/arch/powerpc/sysdev/
Dmsi_bitmap.c221 char *prop_name = "msi-available-ranges"; in test_of_node() local
248 prop.name = prop_name; in test_of_node()
/Linux-v5.4/drivers/opp/
Dof.c381 if (opp_table->prop_name) { in opp_parse_supplies()
383 opp_table->prop_name); in opp_parse_supplies()
444 if (opp_table->prop_name) { in opp_parse_supplies()
446 opp_table->prop_name); in opp_parse_supplies()
Dopp.h190 const char *prop_name; member
Dcore.c1512 if (opp_table->prop_name) in dev_pm_opp_set_prop_name()
1515 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in dev_pm_opp_set_prop_name()
1516 if (!opp_table->prop_name) { in dev_pm_opp_set_prop_name()
1538 kfree(opp_table->prop_name); in dev_pm_opp_put_prop_name()
1539 opp_table->prop_name = NULL; in dev_pm_opp_put_prop_name()
/Linux-v5.4/arch/sparc/include/asm/
Doplib_32.h161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
Doplib_64.h241 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
/Linux-v5.4/include/linux/
Dof.h302 struct device_node *from, const char *prop_name);
644 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument
1255 #define for_each_node_with_property(dn, prop_name) \ argument
1256 for (dn = of_find_node_with_property(NULL, prop_name); dn; \
1257 dn = of_find_node_with_property(dn, prop_name))
/Linux-v5.4/arch/m68k/include/asm/
Doplib.h268 extern int prom_setprop(int node, char *prop_name, char *prop_value,
/Linux-v5.4/drivers/fpga/
Daltera-fpga2sdram.c79 char *prop_name; member
/Linux-v5.4/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()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-rza1.c894 char const *prop_name = "pinmux"; in rza1_parse_pinmux_node() local
903 of_pins = of_find_property(np, prop_name, NULL); in rza1_parse_pinmux_node()
905 dev_dbg(rza1_pctl->dev, "Missing %s property\n", prop_name); in rza1_parse_pinmux_node()
948 ret = of_property_read_u32_index(np, prop_name, i, &of_pinconf); in rza1_parse_pinmux_node()
962 mux_conf->port, mux_conf->pin, prop_name); in rza1_parse_pinmux_node()
/Linux-v5.4/fs/unicode/
Dmkutf8data.c43 const char *prop_name = PROP_NAME; variable
2244 printf("Parsing %s\n", prop_name); in ignore_init()
2245 file = fopen(prop_name, "r"); in ignore_init()
2247 open_fail(prop_name, errno); in ignore_init()
2256 line_fail(prop_name, line); in ignore_init()
2278 line_fail(prop_name, line); in ignore_init()
2299 file_fail(prop_name); in ignore_init()
3375 prop_name = optarg; in main()
/Linux-v5.4/drivers/usb/misc/
Dusb251xb.c378 const char *prop_name, u8 port_cnt, in usb251xb_get_ports_field() argument
386 of_property_for_each_u32(dev->of_node, prop_name, prop, p, port) { in usb251xb_get_ports_field()

12