Home
last modified time | relevance | path

Searched refs:con_id (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpio/
H A Dgpiolib-of.c29 * @con_id: Function within the GPIO consumer
38 static int of_gpio_spi_cs_get_count(struct device *dev, const char *con_id) in of_gpio_spi_cs_get_count() argument
45 if (!con_id || strcmp(con_id, "cs")) { in of_gpio_spi_cs_get_count()
61 int of_gpio_get_count(struct device *dev, const char *con_id) in of_gpio_get_count() argument
67 ret = of_gpio_spi_cs_get_count(dev, con_id); in of_gpio_get_count()
73 if (con_id) { in of_gpio_get_count()
74 snprintf(propname, sizeof(propname), "%s-%s", con_id, gpio_suffixes[i]); in of_gpio_get_count()
367 static struct gpio_desc *of_find_spi_gpio(struct device *dev, const char *con_id, enum of_gpio_flags *of_flags) in of_find_spi_gpio() argument
382 if (!of_device_is_compatible(np, "spi-gpio") || !con_id) { in of_find_spi_gpio()
398 of_find_spi_cs_gpio(struct device *dev, const char *con_id, unsigned int idx, unsigned long *flags) of_find_spi_cs_gpio() argument
430 of_find_regulator_gpio(struct device *dev, const char *con_id, enum of_gpio_flags *of_flags) of_find_regulator_gpio() argument
459 of_find_arizona_gpio(struct device *dev, const char *con_id, enum of_gpio_flags *of_flags) of_find_arizona_gpio() argument
472 of_find_usb_gpio(struct device *dev, const char *con_id, enum of_gpio_flags *of_flags) of_find_usb_gpio() argument
490 of_find_gpio(struct device *dev, const char *con_id, unsigned int idx, unsigned long *flags) of_find_gpio() argument
[all...]
H A Dgpiolib-of.h10 struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, unsigned int idx, unsigned long *lookupflags);
13 int of_gpio_get_count(struct device *dev, const char *con_id);
17 static inline struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, unsigned int idx, in of_find_gpio() argument
29 static inline int of_gpio_get_count(struct device *dev, const char *con_id) in of_gpio_get_count() argument
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpwm.h399 struct pwm_device *pwm_get(struct device *dev, const char *con_id);
400 struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, const char *con_id);
403 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id);
404 struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np, const char *con_id);
405 struct pwm_device *devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id);
481 static inline struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, const char *con_id) in of_pwm_get() argument
495 static inline struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np, const char *con_id) in devm_of_pwm_get() argument
501 const char *con_id) in devm_fwnode_pwm_get()
548 const char *con_id; member
556 .provider = (_provider), .index = (_index), .dev_id = (_dev_id), .con_id
500 devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id) devm_fwnode_pwm_get() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/
H A Dcore.c1002 static struct nvmem_cell *nvmem_cell_get_from_lookup(struct device *dev, const char *con_id) in nvmem_cell_get_from_lookup() argument
1019 if ((strcmp(lookup->dev_id, dev_id) == 0) && (strcmp(lookup->con_id, con_id) == 0)) { in nvmem_cell_get_from_lookup()
1115 * nvmem-cell-names property for DT systems and with the con_id from

Completed in 5 milliseconds