/kernel/linux/linux-6.6/drivers/of/ |
H A D | property.c | 1094 * @prop_name: Name of property to be parsed. Expected to hold phandle values 1110 const char *prop_name, int index, in parse_prop_cells() 1116 if (strcmp(prop_name, list_name)) in parse_prop_cells() 1128 const char *prop_name, int index) \ 1130 return parse_prop_cells(np, prop_name, index, name, cells); \ 1148 * @prop_name: Name of property to be parsed. Expected to hold phandle values 1164 const char *prop_name, int index, in parse_suffix_prop_cells() 1170 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells() 1173 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells() 1182 const char *prop_name, in 1109 parse_prop_cells(struct device_node *np, const char *prop_name, int index, const char *list_name, const char *cells_name) parse_prop_cells() argument 1163 parse_suffix_prop_cells(struct device_node *np, const char *prop_name, int index, const char *suffix, const char *cells_name) parse_suffix_prop_cells() argument 1244 parse_gpios(struct device_node *np, const char *prop_name, int index) parse_gpios() argument 1254 parse_iommu_maps(struct device_node *np, const char *prop_name, int index) parse_iommu_maps() argument 1263 parse_gpio_compat(struct device_node *np, const char *prop_name, int index) parse_gpio_compat() argument 1285 parse_interrupts(struct device_node *np, const char *prop_name, int index) parse_interrupts() argument 1300 parse_remote_endpoint(struct device_node *np, const char *prop_name, int index) parse_remote_endpoint() argument 1371 of_link_property(struct device_node *con_np, const char *prop_name) of_link_property() argument [all...] |
H 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()
|
H A D | cpu.c | 48 * Checks if the given "prop_name" property holds the physical id of the 53 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property() 60 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 52 __of_find_n_match_cpu_property(struct device_node *cpun, const char *prop_name, int cpu, unsigned int *thread) __of_find_n_match_cpu_property() argument
|
H A D | dynamic.c | 938 * @prop_name: name of the property to be added 947 const char *prop_name, const char *str) in of_changeset_add_prop_string() 951 prop.name = (char *)prop_name; in of_changeset_add_prop_string() 965 * @prop_name: name of the property to be added 975 const char *prop_name, in of_changeset_add_prop_string_array() 982 prop.name = (char *)prop_name; in of_changeset_add_prop_string_array() 1010 * @prop_name: name of the property to be added 1020 const char *prop_name, in of_changeset_add_prop_u32_array() 1033 prop.name = (char *)prop_name; in of_changeset_add_prop_u32_array() 945 of_changeset_add_prop_string(struct of_changeset *ocs, struct device_node *np, const char *prop_name, const char *str) of_changeset_add_prop_string() argument 973 of_changeset_add_prop_string_array(struct of_changeset *ocs, struct device_node *np, const char *prop_name, const char **str_array, size_t sz) of_changeset_add_prop_string_array() argument 1018 of_changeset_add_prop_u32_array(struct of_changeset *ocs, struct device_node *np, const char *prop_name, const u32 *array, size_t sz) of_changeset_add_prop_u32_array() argument
|
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | of.c | 17 const char *prop_name) in read_prop_string() 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() 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() 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 16 read_prop_string(const struct device_node *np, const char *prop_name) read_prop_string() argument 27 read_prop_dword(const struct device_node *np, const char *prop_name, u32 *val) read_prop_dword() argument 40 read_prop64_dword(const struct device_node *np, const char *prop_name, u64 *val) read_prop64_dword() argument [all...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | of.c | 17 const char *prop_name) in read_prop_string() 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() 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() 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 16 read_prop_string(const struct device_node *np, const char *prop_name) read_prop_string() argument 27 read_prop_dword(const struct device_node *np, const char *prop_name, u32 *val) read_prop_dword() argument 40 read_prop64_dword(const struct device_node *np, const char *prop_name, u64 *val) read_prop64_dword() argument [all...] |
H A D | flash.c | 150 char *prop_name; in update_node() local 152 prop_name = prop_data; in update_node() 153 prop_data += strlen(prop_name) + 1; in update_node() 158 ret = update_property(dn, prop_name, vd, in update_node() 162 prop_name, ret); in update_node()
|
/kernel/linux/linux-5.10/drivers/of/ |
H A D | property.c | 1191 * @prop_name: Name of property to be parsed. Expected to hold phandle values 1207 const char *prop_name, int index, in parse_prop_cells() 1213 if (strcmp(prop_name, list_name)) in parse_prop_cells() 1225 const char *prop_name, int index) \ 1227 return parse_prop_cells(np, prop_name, index, name, cells); \ 1245 * @prop_name: Name of property to be parsed. Expected to hold phandle values 1261 const char *prop_name, int index, in parse_suffix_prop_cells() 1267 if (strcmp_suffix(prop_name, suffix)) in parse_suffix_prop_cells() 1270 if (of_parse_phandle_with_args(np, prop_name, cells_name, index, in parse_suffix_prop_cells() 1279 const char *prop_name, in 1206 parse_prop_cells(struct device_node *np, const char *prop_name, int index, const char *list_name, const char *cells_name) parse_prop_cells() argument 1260 parse_suffix_prop_cells(struct device_node *np, const char *prop_name, int index, const char *suffix, const char *cells_name) parse_suffix_prop_cells() argument 1332 parse_gpios(struct device_node *np, const char *prop_name, int index) parse_gpios() argument 1342 parse_iommu_maps(struct device_node *np, const char *prop_name, int index) parse_iommu_maps() argument 1401 of_link_property(struct device *dev, struct device_node *con_np, const char *prop_name) of_link_property() argument [all...] |
H 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()
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
H A D | ufshcd-pltfrm.c | 126 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()
|
/kernel/linux/linux-6.6/drivers/ufs/host/ |
H A D | ufshcd-pltfrm.c | 126 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/syscalls/ |
H 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 195 char *prop_name; in update_dt_node() local 197 prop_name = prop_data; in update_dt_node() 198 prop_data += strlen(prop_name) + 1; in update_dt_node() 209 prop_name, NULL)); in update_dt_node() 214 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node() 218 " property\n", prop_name); in update_dt_node()
|
H A D | msi.c | 128 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument 136 p = of_get_property(dn, prop_name, NULL); in check_req() 138 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 144 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H 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, id in of_find_gpio() [all...] |
/kernel/linux/linux-6.6/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 | 115 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument 123 p = of_get_property(dn, prop_name, NULL); in check_req() 125 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 131 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 24 const char *prop_name; member 34 .prop_name = #_name, \ 357 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible() 405 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs() 450 pwr_attr->prop_name, prop_buf); in add_prop_uevent()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 24 const char *prop_name; member 34 .prop_name = #_name, \ 367 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible() 418 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs() 463 pwr_attr->prop_name, prop_buf); in add_prop_uevent()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib-of.c | 631 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio() local 640 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id, in of_find_gpio() 643 snprintf(prop_name, sizeof(prop_name), "%s", in of_find_gpio() 646 desc = of_get_named_gpiod_flags(np, prop_name, idx, &of_flags); in of_find_gpio()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | of.h | 307 struct device_node *from, const char *prop_name); 545 struct device_node *from, const char *prop_name) in of_find_node_with_property() 1439 #define for_each_node_with_property(dn, prop_name) \ 1440 for (dn = of_find_node_with_property(NULL, prop_name); dn; \ 1441 dn = of_find_node_with_property(dn, prop_name)) 1588 const char *prop_name, const char *str); 1591 const char *prop_name, 1595 const char *prop_name, 1599 const char *prop_name, in of_changeset_add_prop_u32() 1602 return of_changeset_add_prop_u32_array(ocs, np, prop_name, in of_changeset_add_prop_u32() 544 of_find_node_with_property( struct device_node *from, const char *prop_name) of_find_node_with_property() argument 1597 of_changeset_add_prop_u32(struct of_changeset *ocs, struct device_node *np, const char *prop_name, const u32 val) of_changeset_add_prop_u32() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
H A D | mpc512x_shared.c | 378 char *prop_name) in get_fifo_size() 382 fp = of_get_property(np, prop_name, NULL); in get_fifo_size() 387 prop_name, np, DEFAULT_FIFO_SIZE); in get_fifo_size() 377 get_fifo_size(struct device_node *np, char *prop_name) get_fifo_size() argument
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/512x/ |
H A D | mpc512x_shared.c | 364 char *prop_name) in get_fifo_size() 368 fp = of_get_property(np, prop_name, NULL); in get_fifo_size() 373 prop_name, np, DEFAULT_FIFO_SIZE); in get_fifo_size() 363 get_fifo_size(struct device_node *np, char *prop_name) get_fifo_size() argument
|
/kernel/linux/linux-6.6/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()
|