Home
last modified time | relevance | path

Searched refs:cdev (Results 1 - 17 of 17) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Dthermal_core.c612 * power_actor_get_max_power() - get the maximum power that a cdev can consume
613 * @cdev: pointer to &thermal_cooling_device
619 * Return: 0 on success, -EINVAL if @cdev doesn't support the
622 int power_actor_get_max_power(struct thermal_cooling_device *cdev, u32 *max_power) in power_actor_get_max_power() argument
624 if (!cdev_is_power_actor(cdev)) { in power_actor_get_max_power()
628 return cdev->ops->state2power(cdev, 0, max_power); in power_actor_get_max_power()
632 * power_actor_get_min_power() - get the mainimum power that a cdev can consume
633 * @cdev: pointer to &thermal_cooling_device
639 * Return: 0 on success, -EINVAL if @cdev does
642 power_actor_get_min_power(struct thermal_cooling_device *cdev, u32 *min_power) power_actor_get_min_power() argument
671 power_actor_set_power(struct thermal_cooling_device *cdev, struct thermal_instance *instance, u32 power) power_actor_set_power() argument
696 struct thermal_cooling_device *cdev = NULL; thermal_zone_device_rebind_exception() local
733 struct thermal_cooling_device *cdev; for_each_thermal_cooling_device() local
786 struct thermal_cooling_device *cdev = NULL; thermal_zone_device_unbind_exception() local
833 thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, int trip, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) thermal_zone_bind_cooling_device() argument
965 thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz, int trip, struct thermal_cooling_device *cdev) thermal_zone_unbind_cooling_device() argument
999 struct thermal_cooling_device *cdev; thermal_release() local
1016 print_bind_err_msg(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, int ret) print_bind_err_msg() argument
1021 __bind(struct thermal_zone_device *tz, int mask, struct thermal_cooling_device *cdev, unsigned long *limits, unsigned int weight) __bind() argument
1044 bind_cdev(struct thermal_cooling_device *cdev) bind_cdev() argument
1105 struct thermal_cooling_device *cdev; __thermal_cooling_device_register() local
1257 __unbind(struct thermal_zone_device *tz, int mask, struct thermal_cooling_device *cdev) __unbind() argument
1275 thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) thermal_cooling_device_unregister() argument
1549 struct thermal_cooling_device *cdev; thermal_zone_device_unregister() local
[all...]
H A Dthermal_core.h56 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() argument
58 return cdev->ops->get_requested_power && cdev->ops->state2power && cdev->ops->power2state; in cdev_is_power_actor()
61 int power_actor_get_max_power(struct thermal_cooling_device *cdev, u32 *max_power);
62 int power_actor_get_min_power(struct thermal_cooling_device *cdev, u32 *min_power);
63 int power_actor_set_power(struct thermal_cooling_device *cdev, struct thermal_instance *ti, u32 power);
80 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev,
92 struct thermal_cooling_device *cdev; member
103 struct list_head cdev_node; /* node in cdev
134 thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, unsigned long new_state) thermal_cooling_device_stats_update() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Dthermal_core.h62 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() argument
64 return cdev->ops->get_requested_power && cdev->ops->state2power && in cdev_is_power_actor()
65 cdev->ops->power2state; in cdev_is_power_actor()
68 int power_actor_get_max_power(struct thermal_cooling_device *cdev,
70 int power_actor_get_min_power(struct thermal_cooling_device *cdev,
72 int power_actor_set_power(struct thermal_cooling_device *cdev,
92 struct thermal_cooling_device *cdev,
104 struct thermal_cooling_device *cdev; member
115 struct list_head cdev_node; /* node in cdev
153 thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, unsigned long new_state) thermal_cooling_device_stats_update() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
H A Dcomposite.h266 * @cdev: assigned by @usb_add_config() before calling @bind(); this is
312 struct usb_composite_dev *cdev; member
381 int (*bind)(struct usb_composite_dev *cdev);
408 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
409 extern int composite_dev_prepare(struct usb_composite_driver *composite, struct usb_composite_dev *cdev);
410 extern int composite_os_desc_req_prepare(struct usb_composite_dev *cdev, struct usb_ep *ep0);
411 void composite_dev_cleanup(struct usb_composite_dev *cdev);
503 extern struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev, struct usb_gadget_strings **sp,
549 void usb_composite_overwrite_options(struct usb_composite_dev *cdev, struct usb_composite_overwrite *covr);
584 struct usb_configuration *usb_get_config(struct usb_composite_dev *cdev, in
[all...]
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
H A Dcomposite.h276 * @cdev: assigned by @usb_add_config() before calling @bind(); this is
323 struct usb_composite_dev *cdev; member
395 int (*bind)(struct usb_composite_dev *cdev);
423 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
425 struct usb_composite_dev *cdev);
426 extern int composite_os_desc_req_prepare(struct usb_composite_dev *cdev,
428 void composite_dev_cleanup(struct usb_composite_dev *cdev);
522 extern struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev,
571 void usb_composite_overwrite_options(struct usb_composite_dev *cdev,
608 struct usb_configuration *usb_get_config(struct usb_composite_dev *cdev,
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_linux.c13 #include <linux/cdev.h> /* character device definitions */
68 struct cdev cdev; member
182 cdev_init(&ump_device.cdev, &ump_fops); in ump_kernel_device_initialize()
183 ump_device.cdev.owner = THIS_MODULE; in ump_kernel_device_initialize()
184 ump_device.cdev.ops = &ump_fops; in ump_kernel_device_initialize()
187 err = cdev_add(&ump_device.cdev, dev, 1/*count*/); in ump_kernel_device_initialize()
202 cdev_del(&ump_device.cdev); in ump_kernel_device_initialize()
229 cdev_del(&ump_device.cdev); in ump_kernel_device_terminate()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dthermal.h200 struct thermal_cooling_device *cdev; member
215 * thermal zone and cdev, for a particular trip point.
229 int (*match)(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev);
403 static inline void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) in thermal_cooling_device_unregister() argument
423 static inline void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update() argument
H A Ddma-heap.h12 #include <linux/cdev.h>
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/umplock/
H A Dumplock_driver.c15 #include <linux/cdev.h>
52 struct cdev cdev; member
543 cdev_init(&umplock_device.cdev, &umplock_fops); in umplock_device_initialize()
544 umplock_device.cdev.owner = THIS_MODULE; in umplock_device_initialize()
545 umplock_device.cdev.ops = &umplock_fops; in umplock_device_initialize()
547 err = cdev_add(&umplock_device.cdev, umplock_dev, 1); in umplock_device_initialize()
562 cdev_del(&umplock_device.cdev); in umplock_device_initialize()
578 cdev_del(&umplock_device.cdev); in umplock_device_terminate()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_linux.h18 #include <linux/cdev.h> /* character device definitions */
H A Dmali_kernel_linux.c21 #include <linux/cdev.h> /* character device definitions */
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_linux.h14 #include <linux/cdev.h> /* character device definitions */
H A Dmali_kernel_linux.c21 #include <linux/cdev.h> /* character device definitions */
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c10 #include <linux/cdev.h>
44 struct cdev heap_cdev;
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_common.h14 #include <linux/cdev.h>
507 struct cdev mpp_cdev;
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_common.h14 #include <linux/cdev.h>
483 struct cdev mpp_cdev;
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
H A Dblock.c31 #include <linux/cdev.h>
178 struct cdev chrdev;

Completed in 19 milliseconds