/linux/drivers/of/ |
A D | property.c | 1165 const char *prop_name, int index, in parse_prop_cells() argument 1171 if (strcmp(prop_name, list_name)) in parse_prop_cells() 1183 const char *prop_name, int index) \ 1219 const char *prop_name, int index, in parse_suffix_prop_cells() argument 1225 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells() 1262 const char *prop_name, int index); 1308 const char *prop_name, int index) in parse_iommu_maps() argument 1310 if (strcmp(prop_name, "iommu-map")) in parse_iommu_maps() 1321 if (strcmp(prop_name, "gpio") && strcmp(prop_name, "gpios")) in parse_gpio_compat() 1339 const char *prop_name, int index) in parse_interrupts() argument [all …]
|
A 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()
|
A D | base.c | 337 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() argument 344 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 1080 const char *prop_name) in of_find_node_with_property() argument 1089 if (of_prop_cmp(pp->name, prop_name) == 0) { in of_find_node_with_property()
|
/linux/drivers/misc/cxl/ |
A D | of.c | 17 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() 79 prop = of_get_property(np, prop_name, &len); in read_phys_addr() 100 type, prop_name); in read_phys_addr() [all …]
|
A 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/drivers/scsi/ufs/ |
A D | ufshcd-pltfrm.c | 109 char prop_name[MAX_PROP_SIZE]; in ufshcd_populate_vreg() local 118 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); in ufshcd_populate_vreg() 119 if (!of_parse_phandle(np, prop_name, 0)) { in ufshcd_populate_vreg() 121 __func__, prop_name); in ufshcd_populate_vreg() 131 snprintf(prop_name, MAX_PROP_SIZE, "%s-max-microamp", name); in ufshcd_populate_vreg() 132 if (of_property_read_u32(np, prop_name, &vreg->max_uA)) { in ufshcd_populate_vreg() 133 dev_info(dev, "%s: unable to find %s\n", __func__, prop_name); in ufshcd_populate_vreg()
|
/linux/tools/testing/selftests/powerpc/syscalls/ |
A D | rtas_filter.c | 83 static int open_prop_file(const char *prop_path, const char *prop_name, int *fd) in open_prop_file() argument 89 len = strlen(prop_path) + strlen(prop_name) + 1 + 1; in open_prop_file() 94 snprintf(path, len, "%s/%s", prop_path, prop_name); in open_prop_file() 104 static int get_property(const char *prop_path, const char *prop_name, in get_property() argument 109 rc = open_prop_file(prop_path, prop_name, &fd); in get_property()
|
/linux/drivers/gpio/ |
A D | gpiolib-of.c | 375 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()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | mobility.c | 197 char *prop_name; in update_dt_node() local 199 prop_name = prop_data; in update_dt_node() 200 prop_data += strlen(prop_name) + 1; in update_dt_node() 211 prop_name, NULL)); in update_dt_node() 216 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node() 220 prop_name, rc); in update_dt_node()
|
A D | msi.c | 114 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument 122 p = of_get_property(dn, prop_name, NULL); in check_req() 124 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 130 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
|
/linux/drivers/power/supply/ |
A D | power_supply_sysfs.c | 24 const char *prop_name; member 34 .prop_name = #_name, \ 356 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible() 404 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs() 449 pwr_attr->prop_name, prop_buf); in add_prop_uevent()
|
/linux/arch/powerpc/platforms/512x/ |
A D | mpc512x_shared.c | 378 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/arch/powerpc/sysdev/ |
A D | msi_bitmap.c | 221 char *prop_name = "msi-available-ranges"; in test_of_node() local 248 prop.name = prop_name; in test_of_node()
|
/linux/include/linux/ |
A D | of.h | 302 struct device_node *from, const char *prop_name); 669 struct device_node *from, const char *prop_name) in of_find_node_with_property() argument 1312 #define for_each_node_with_property(dn, prop_name) \ argument 1313 for (dn = of_find_node_with_property(NULL, prop_name); dn; \ 1314 dn = of_find_node_with_property(dn, prop_name))
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl-rza1.c | 891 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()
|
/linux/arch/sparc/include/asm/ |
A D | oplib_32.h | 161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
A D | oplib_64.h | 241 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
|
/linux/arch/m68k/include/asm/ |
A D | oplib.h | 268 extern int prom_setprop(int node, char *prop_name, char *prop_value,
|
/linux/drivers/fpga/ |
A D | altera-fpga2sdram.c | 79 char *prop_name; member
|
/linux/drivers/net/phy/ |
A D | adin.c | 223 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()
|
/linux/drivers/opp/ |
A D | of.c | 584 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()
|
A D | opp.h | 201 const char *prop_name; member
|
A D | core.c | 1918 if (opp_table->prop_name) in dev_pm_opp_set_prop_name() 1921 opp_table->prop_name = kstrdup(name, GFP_KERNEL); in dev_pm_opp_set_prop_name() 1922 if (!opp_table->prop_name) { in dev_pm_opp_set_prop_name() 1944 kfree(opp_table->prop_name); in dev_pm_opp_put_prop_name() 1945 opp_table->prop_name = NULL; in dev_pm_opp_put_prop_name()
|
/linux/fs/unicode/ |
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() 3375 prop_name = optarg; in main()
|
/linux/drivers/usb/misc/ |
A D | usb251xb.c | 382 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()
|