| /linux/drivers/ufs/host/ |
| H A D | ufshcd-pltfrm.c | 124 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local 133 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg() 134 if (!phandle_exists(np, prop_name, 0)) { in ufshcd_populate_vreg() 136 __func__, prop_name); in ufshcd_populate_vreg() 153 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg() 154 if (of_property_read_u32(np, prop_name, &vreg->max_uA)) { in ufshcd_populate_vreg() 155 dev_info(dev, "%s: unable to find %s\n", __func__, prop_name); in ufshcd_populate_vreg() 221 const char *prop_name = "tx-precode-enable-g6"; in ufshcd_parse_tx_precode_enable() local 228 count = of_property_count_u32_elems(dev->of_node, prop_name); in ufshcd_parse_tx_precode_enable() 237 prop_name, count, num_elems); in ufshcd_parse_tx_precode_enable() [all …]
|
| /linux/drivers/of/ |
| H A D | property.c | 1298 const char *prop_name, int index, in parse_prop_cells() argument 1304 if (strcmp(prop_name, list_name)) in parse_prop_cells() 1316 const char *prop_name, int index) \ 1318 return parse_prop_cells(np, prop_name, index, name, cells); \ 1341 const char *prop_name, int index, in parse_suffix_prop_cells() argument 1347 if (!strends(prop_name, suffix)) in parse_suffix_prop_cells() 1350 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells() 1359 const char *prop_name, int index) \ 1361 return parse_suffix_prop_cells(np, prop_name, index, suffix, cells); \ 1388 const char *prop_name, int index); [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | mobility.c | 224 char *prop_name; in update_dt_node() local 226 prop_name = prop_data; in update_dt_node() 227 prop_data += strlen(prop_name) + 1; in update_dt_node() 238 prop_name, NULL)); in update_dt_node() 243 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node() 247 prop_name, rc); in update_dt_node()
|
| H A D | msi.c | 122 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument 130 p = of_get_property(dn, prop_name, NULL); in check_req() 132 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 138 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
|
| /linux/drivers/regulator/ |
| H A D | of_regulator.c | 574 * @prop_name: Combination regulator supply name and "-supply" 583 const char *prop_name) in of_get_child_regulator() argument 589 regnode = of_parse_phandle(child, prop_name, 0); in of_get_child_regulator() 593 regnode = of_get_child_regulator(child, prop_name); in of_get_child_regulator() 619 char prop_name[64]; /* 64 is max size of property name */ in of_get_regulator() local 623 snprintf(prop_name, 64, "%s-supply", supply); in of_get_regulator() 624 regnode = of_parse_phandle(node, prop_name, 0); in of_get_regulator() 628 regnode = of_get_child_regulator(dev->of_node, prop_name); in of_get_regulator() 632 dev_dbg(dev, "Looking up %s property in node %pOF failed\n", prop_name, dev->of_node); in of_get_regulator()
|
| /linux/include/linux/ |
| H A D | of.h | 311 struct device_node *from, const char *prop_name); 590 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument 1585 #define for_each_node_with_property(dn, prop_name) \ argument 1586 for (dn = of_find_node_with_property(NULL, prop_name); dn; \ 1587 dn = of_find_node_with_property(dn, prop_name)) 1734 const char *prop_name, const char *str); 1737 const char *prop_name, 1741 const char *prop_name, 1745 const char *prop_name, in of_changeset_add_prop_u32() argument 1748 return of_changeset_add_prop_u32_array(ocs, np, prop_name, &val, 1); in of_changeset_add_prop_u32() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | simple-amplifier.c | 480 const char *prop_name; member 487 .prop_name = "vddio-supply", 491 .prop_name = "vdda1-supply", 495 .prop_name = "vdda2-supply", 521 if (!of_property_present(dev->of_node, supply->prop_name)) in simple_amp_add_power_supplies() 527 supply->prop_name, ret); in simple_amp_add_power_supplies() 533 supply->prop_name, ret); in simple_amp_add_power_supplies() 536 } while ((++supply)->prop_name); in simple_amp_add_power_supplies()
|
| H A D | cs35l56.c | 1778 const char *prop_name, in cs35l56_process_xu_onchip_speaker_id() 1784 count = fwnode_property_count_u32(parent_node, prop_name); in cs35l56_process_xu_onchip_speaker_id() 1786 dev_dbg(dev, "%s not found in %s\n", prop_name, fwnode_get_name(parent_node)); in cs35l56_process_xu_onchip_speaker_id() 1791 dev_err(dev, "Get %s error:%d\n", prop_name, count); in cs35l56_process_xu_onchip_speaker_id() 1796 dev_err(dev, "%s too many entries (%d)\n", prop_name, count); in cs35l56_process_xu_properties() 1800 ret = fwnode_property_read_u32_array(parent_node, prop_name, dest, count); in cs35l56_process_xu_properties() 1802 dev_err(dev, "Error reading %s: %d\n", prop_name, ret); in cs35l56_process_xu_properties() 1724 cs35l56_read_fwnode_u32_array(struct device * dev,struct fwnode_handle * parent_node,const char * prop_name,int max_count,u32 * dest) cs35l56_read_fwnode_u32_array() argument
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 363 prop_name: Option<CString>, field 395 if self.prop_name.is_some() { in set_prop_name() 399 self.prop_name = Some(name); in set_prop_name() 457 let prop_name = self in set() localVariable 458 .prop_name in set() 479 prop_name, in set()
|
| /linux/drivers/soundwire/ |
| H A D | mipi_disco.c | 379 char prop_name[30]; in sdw_slave_read_lane_mapping() local 386 snprintf(prop_name, sizeof(prop_name), "mipi-sdw-lane-%d-mapping", i); in sdw_slave_read_lane_mapping() 387 ret = device_property_read_string(dev, prop_name, &prop_val); in sdw_slave_read_lane_mapping()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-snps-femto-v2.c | 93 const char *prop_name; member 551 for (i = 0; cfg[i].prop_name != NULL; i++) { in qcom_snps_hsphy_read_override_param_seq() 552 ret = of_property_read_s32(node, cfg[i].prop_name, &val); in qcom_snps_hsphy_read_override_param_seq() 559 cfg[i].prop_name, val, hsphy->update_seq_cfg[i].value); in qcom_snps_hsphy_read_override_param_seq()
|
| /linux/arch/powerpc/platforms/512x/ |
| H A D | mpc512x_shared.c | 364 char *prop_name) in get_fifo_size() argument 368 fp = of_get_property(np, prop_name, NULL); in get_fifo_size() 373 prop_name, np, DEFAULT_FIFO_SIZE); in get_fifo_size()
|
| /linux/tools/testing/selftests/powerpc/syscalls/ |
| H A D | rtas_filter.c | 54 static int get_property(const char *prop_path, const char *prop_name, in get_property() argument 59 int len = snprintf(path, sizeof(path), "%s/%s", prop_path, prop_name); in get_property()
|
| /linux/arch/powerpc/sysdev/ |
| H A D | msi_bitmap.c | 219 char *prop_name = "msi-available-ranges"; in test_of_node() local 246 prop.name = prop_name; in test_of_node()
|
| /linux/arch/sparc/include/asm/ |
| H A D | oplib_32.h | 161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
| H A D | oplib_64.h | 241 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | pinctrl-rza1.c | 895 char const *prop_name = "pinmux"; in rza1_parse_pinmux_node() local 904 of_pins = of_find_property(np, prop_name, NULL); in rza1_parse_pinmux_node() 906 dev_dbg(rza1_pctl->dev, "Missing %s property\n", prop_name); in rza1_parse_pinmux_node() 951 ret = of_property_read_u32_index(np, prop_name, i, &of_pinconf); in rza1_parse_pinmux_node() 965 mux_conf->port, mux_conf->pin, prop_name); in rza1_parse_pinmux_node()
|
| /linux/arch/m68k/include/asm/ |
| H A D | oplib.h | 270 extern int prom_setprop(int node, char *prop_name, char *prop_value,
|
| /linux/drivers/opp/ |
| H A D | core.c | 2215 if (!opp_table->prop_name) { in _opp_set_prop_name() 2216 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in _opp_set_prop_name() 2217 if (!opp_table->prop_name) in _opp_set_prop_name() 2226 if (opp_table->prop_name) { in _opp_put_prop_name() 2227 kfree(opp_table->prop_name); in _opp_put_prop_name() 2228 opp_table->prop_name = NULL; in _opp_put_prop_name() 2578 if (config->prop_name) { in dev_pm_opp_set_config() 2579 ret = _opp_set_prop_name(opp_table, config->prop_name); in dev_pm_opp_set_config()
|
| H A D | opp.h | 233 const char *prop_name; member
|
| H A D | of.c | 566 if (opp_table->prop_name) { in _parse_named_prop() 568 opp_table->prop_name); in _parse_named_prop()
|
| /linux/drivers/cpufreq/ |
| H A D | sun50i-cpufreq-nvmem.c | 268 config.prop_name = name; in sun50i_cpufreq_nvmem_probe()
|
| H A D | sti-cpufreq.c | 164 .prop_name = name, in sti_cpufreq_set_opp_info()
|
| /linux/fs/unicode/ |
| H A D | mkutf8data.c | 43 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() 3390 prop_name = optarg; in main()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal.c | 793 struct device_node *np, const char *prop_name) in opal_add_one_export() argument 800 rc = of_property_read_u64_array(np, prop_name, &vals[0], 2); in opal_add_one_export()
|