/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
H A D | gpiolib-of.c | 64 char propname[32]; in of_gpio_get_count() local 74 snprintf(propname, sizeof(propname), "%s-%s", con_id, gpio_suffixes[i]); in of_gpio_get_count() 76 snprintf(propname, sizeof(propname), "%s", gpio_suffixes[i]); in of_gpio_get_count() 79 ret = of_gpio_named_count(dev->of_node, propname); in of_gpio_get_count() 135 static void of_gpio_flags_quirks(struct device_node *np, const char *propname, enum of_gpio_flags *flags, int index) in of_gpio_flags_quirks() argument 143 (!(strcmp(propname, "enable-gpio") && strcmp(propname, "enable-gpios")) && in of_gpio_flags_quirks() 174 if (IS_ENABLED(CONFIG_SPI_MASTER) && !strcmp(propname, "c in of_gpio_flags_quirks() 233 of_get_named_gpiod_flags(struct device_node *np, const char *propname, int index, enum of_gpio_flags *flags) of_get_named_gpiod_flags() argument 298 gpiod_get_from_of_node(struct device_node *node, const char *propname, int index, enum gpiod_flags dflags, const char *label) gpiod_get_from_of_node() argument [all...] |
/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
H A D | checks.c | 201 char *propname = c->data; in check_is_string() local 203 prop = get_property(node, propname); in check_is_string() 212 #define WARNING_IF_NOT_STRING(nm, propname) WARNING(nm, check_is_string, (propname)) 213 #define ERROR_IF_NOT_STRING(nm, propname) ERROR(nm, check_is_string, (propname)) 219 char *propname = c->data; in check_is_string_list() local 222 prop = get_property(node, propname); in check_is_string_list() 239 #define WARNING_IF_NOT_STRING_LIST(nm, propname) WARNING(nm, check_is_string_list, (propname)) 245 char *propname = c->data; check_is_cell() local 451 check_phandle_prop(struct check *c, struct dt_info *dti, struct node *node, const char *propname) check_phandle_prop() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_platform.c | 97 int osal_of_property_read_u32(const void *np, const char *propname, unsigned int *value) in osal_of_property_read_u32() argument 99 return of_property_read_u32((struct device_node*)np, propname, value); in osal_of_property_read_u32()
|
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/ |
H A D | power_supply_core.c | 747 char *propname;
in power_supply_get_battery_info() local 750 propname = kasprintf(GFP_KERNEL, "ocv-capacity-table-%d", index);
in power_supply_get_battery_info() 751 list = of_get_property(battery_np, propname, &size);
in power_supply_get_battery_info() 753 dev_err(&psy->dev, "failed to get %s\n", propname);
in power_supply_get_battery_info() 754 kfree(propname);
in power_supply_get_battery_info() 760 kfree(propname);
in power_supply_get_battery_info()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | hi_osal.h | 562 int osal_of_property_read_u32(const void *np, const char *propname, unsigned int *value);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_osal.h | 559 int osal_of_property_read_u32(const void *np, const char *propname, unsigned int *value);
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_osal.h | 575 int osal_of_property_read_u32(const void *np, const char *propname, unsigned int *value);
|