|
VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"#include <unistd.h>#include <fcntl.h>#include <linux/types.h>#include <linux/kobject.h>#include <linux/completion.h>#include <linux/mutex.h>#include <linux/slab.h>#include <linux/device.h>#include <pthread.h>#include <stdio.h>#include <linux/firmware.h>#include <linux/power_supply.h>#include <linux/uuid.h>#include <linux/idr.h>#include <linux/kstrtox.h>#include <linux/timer.h>#include <linux/skbuff.h>Data Structures | |
| struct | workqueue_struct |
| struct | vsf_linux_driver_t |
| struct | devres |
| struct | action_devres |
Macros | |
| #define | __VSF_LINUX_CLASS_INHERIT__ |
| #define | __VSF_EDA_CLASS_INHERIT__ |
| #define | skb_shinfo(__skb) ((struct skb_shared_info *)(skb_end_pointer(__skb))) |
Typedefs | |
| typedef struct vsf_linux_driver_t | vsf_linux_driver_t |
Functions | |
| int | kobject_set_name_vargs (struct kobject *kobj, const char *fmt, va_list ap) |
| void | kobject_init (struct kobject *kobj, const struct kobj_type *ktype) |
| struct kobject * | kobject_get (struct kobject *kobj) |
| void | kobject_put (struct kobject *kobj) |
| void | kobject_del (struct kobject *kobj) |
| int | add_uevent_var (struct kobj_uevent_env *env, const char *format,...) |
| struct workqueue_struct * | alloc_workqueue (const char *fmt, unsigned int flags, int max_active,...) |
| void | destroy_workqueue (struct workqueue_struct *wq) |
| bool | queue_work (struct workqueue_struct *wq, struct work_struct *work) |
| bool | queue_delayed_work (struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) |
| bool | mod_delayed_work (struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) |
| void | flush_workqueue (struct workqueue_struct *wq) |
| bool | flush_work (struct work_struct *work) |
| bool | cancel_work (struct work_struct *work) |
| bool | cancel_work_sync (struct work_struct *work) |
| bool | flush_delayed_work (struct delayed_work *dwork) |
| bool | cancel_delayed_work (struct delayed_work *dwork) |
| bool | cancel_delayed_work_sync (struct delayed_work *dwork) |
| void | workqueue_init_early (void) |
| int | autoremove_wake_function (struct wait_queue_entry *wqe, unsigned mode, int sync, void *key) |
| long | prepare_to_wait_event (struct wait_queue_head *wqh, struct wait_queue_entry *wqe, int state) |
| void | init_wait_entry (struct wait_queue_entry *wqe, int flags) |
| void | finish_wait (struct wait_queue_head *wqh, struct wait_queue_entry *wqe) |
| void | wake_up_nr (struct wait_queue_head *wqh, int nr) |
| void | init_wait_queue_head (struct wait_queue_head *wqh) |
| void | complete (struct completion *x) |
| struct device * | get_device (struct device *dev) |
| void | put_device (struct device *dev) |
| int | dev_set_name (struct device *dev, const char *fmt,...) |
| void | device_initialize (struct device *dev) |
| int | device_add (struct device *dev) |
| void | device_del (struct device *dev) |
| int | device_register (struct device *dev) |
| void | device_unregister (struct device *dev) |
| int | driver_register (struct device_driver *drv) |
| void | driver_unregister (struct device_driver *drv) |
| int | driver_probe_device (const struct device_driver *drv, struct device *dev) |
| int | bus_register (struct bus_type *bus) |
| void | bus_unregister (struct bus_type *bus) |
| int | bus_rescan_devices (struct bus_type *bus) |
| void | bus_probe_device (struct device *dev) |
| int | vsf_linux_firmware_read (struct firmware *fw, const char *name) |
| void | vsf_linux_firmware_release (struct firmware *fw) |
| int | request_firmware (const struct firmware **fw, const char *name, struct device *device) |
| void | release_firmware (const struct firmware *fw) |
| struct power_supply * | power_supply_register (struct device *parent, const struct power_supply_desc *desc, const struct power_supply_config *cfg) |
| void | power_supply_unregister (struct power_supply *psy) |
| int | power_supply_powers (struct power_supply *psy, struct device *dev) |
| void * | power_supply_get_drvdata (struct power_supply *psy) |
| void | power_supply_changed (struct power_supply *psy) |
| int | ida_alloc_range (struct ida *ida, unsigned int __min_to_avoid_conflict, unsigned int __max_to_avoid_conflict, gfp_t gfp) |
| int | kstrtou16 (const char *s, unsigned int base, u16 *res) |
| int | kstrtos16 (const char *s, unsigned int base, s16 *res) |
| int | kstrtou8 (const char *s, unsigned int base, u8 *res) |
| int | kstrtos8 (const char *s, unsigned int base, s8 *res) |
| void | add_timer (struct timer_list *timer) |
| int | del_timer (struct timer_list *timer) |
| int | del_timer_sync (struct timer_list *timer) |
| int | mod_timer (struct timer_list *timer, unsigned long expires) |
| int | timer_pending (const struct timer_list *timer) |
| void | timer_setup (struct timer_list *timer, void(*func)(struct timer_list *), unsigned int flags) |
| struct sk_buff * | alloc_skb (unsigned int size, gfp_t flags) |
| void | kfree_skb (struct sk_buff *skb) |
| void | skb_init (void) |
| char * | devm_kvasprintf (struct device *dev, gfp_t gfp, const char *fmt, va_list ap) |
| char * | devm_kasprintf (struct device *dev, gfp_t gfp, const char *fmt,...) |
| struct power_supply * | devm_power_supply_register (struct device *parent, const struct power_supply_desc *desc, const struct power_supply_config *cfg) |
| int | devres_release_all (struct device *dev) |
| void | devres_add (struct device *dev, void *res) |
| int | __devm_add_action (struct device *dev, void(*action)(void *), void *data, const char *name) |
Variables | |
| struct workqueue_struct * | system_wq |
| const guid_t | guid_null |
| const uuid_t | uuid_null |
| #define __VSF_LINUX_CLASS_INHERIT__ |
| #define __VSF_EDA_CLASS_INHERIT__ |
| #define skb_shinfo | ( | __skb | ) | ((struct skb_shared_info *)(skb_end_pointer(__skb))) |
| typedef struct vsf_linux_driver_t vsf_linux_driver_t |
| int kobject_set_name_vargs | ( | struct kobject * | kobj, |
| const char * | fmt, | ||
| va_list | ap | ||
| ) |
| void kobject_put | ( | struct kobject * | kobj | ) |
| void kobject_del | ( | struct kobject * | kobj | ) |
| int add_uevent_var | ( | struct kobj_uevent_env * | env, |
| const char * | format, | ||
| ... | |||
| ) |
| struct workqueue_struct * alloc_workqueue | ( | const char * | fmt, |
| unsigned int | flags, | ||
| int | max_active, | ||
| ... | |||
| ) |
| void destroy_workqueue | ( | struct workqueue_struct * | wq | ) |
| bool queue_work | ( | struct workqueue_struct * | wq, |
| struct work_struct * | work | ||
| ) |
| bool queue_delayed_work | ( | struct workqueue_struct * | wq, |
| struct delayed_work * | dwork, | ||
| unsigned long | delay | ||
| ) |
| bool mod_delayed_work | ( | struct workqueue_struct * | wq, |
| struct delayed_work * | dwork, | ||
| unsigned long | delay | ||
| ) |
| void flush_workqueue | ( | struct workqueue_struct * | wq | ) |
| bool flush_work | ( | struct work_struct * | work | ) |
| bool cancel_work | ( | struct work_struct * | work | ) |
| bool cancel_work_sync | ( | struct work_struct * | work | ) |
| bool flush_delayed_work | ( | struct delayed_work * | dwork | ) |
| bool cancel_delayed_work | ( | struct delayed_work * | dwork | ) |
| bool cancel_delayed_work_sync | ( | struct delayed_work * | dwork | ) |
| void workqueue_init_early | ( | void | ) |
| int autoremove_wake_function | ( | struct wait_queue_entry * | wqe, |
| unsigned | mode, | ||
| int | sync, | ||
| void * | key | ||
| ) |
| long prepare_to_wait_event | ( | struct wait_queue_head * | wqh, |
| struct wait_queue_entry * | wqe, | ||
| int | state | ||
| ) |
| void init_wait_entry | ( | struct wait_queue_entry * | wqe, |
| int | flags | ||
| ) |
| void finish_wait | ( | struct wait_queue_head * | wqh, |
| struct wait_queue_entry * | wqe | ||
| ) |
| void wake_up_nr | ( | struct wait_queue_head * | wqh, |
| int | nr | ||
| ) |
| void init_wait_queue_head | ( | struct wait_queue_head * | wqh | ) |
| void complete | ( | struct completion * | x | ) |
| void put_device | ( | struct device * | dev | ) |
| int dev_set_name | ( | struct device * | dev, |
| const char * | fmt, | ||
| ... | |||
| ) |
| void device_initialize | ( | struct device * | dev | ) |
| int device_add | ( | struct device * | dev | ) |
| void device_del | ( | struct device * | dev | ) |
| int device_register | ( | struct device * | dev | ) |
| void device_unregister | ( | struct device * | dev | ) |
| int driver_register | ( | struct device_driver * | drv | ) |
| void driver_unregister | ( | struct device_driver * | drv | ) |
| int driver_probe_device | ( | const struct device_driver * | drv, |
| struct device * | dev | ||
| ) |
| int bus_register | ( | struct bus_type * | bus | ) |
| void bus_unregister | ( | struct bus_type * | bus | ) |
| int bus_rescan_devices | ( | struct bus_type * | bus | ) |
| void bus_probe_device | ( | struct device * | dev | ) |
| int vsf_linux_firmware_read | ( | struct firmware * | fw, |
| const char * | name | ||
| ) |
| void vsf_linux_firmware_release | ( | struct firmware * | fw | ) |
| void release_firmware | ( | const struct firmware * | fw | ) |
| struct power_supply * power_supply_register | ( | struct device * | parent, |
| const struct power_supply_desc * | desc, | ||
| const struct power_supply_config * | cfg | ||
| ) |
| void power_supply_unregister | ( | struct power_supply * | psy | ) |
| int power_supply_powers | ( | struct power_supply * | psy, |
| struct device * | dev | ||
| ) |
| void * power_supply_get_drvdata | ( | struct power_supply * | psy | ) |
| void power_supply_changed | ( | struct power_supply * | psy | ) |
| int ida_alloc_range | ( | struct ida * | ida, |
| unsigned int | __min_to_avoid_conflict, | ||
| unsigned int | __max_to_avoid_conflict, | ||
| gfp_t | gfp | ||
| ) |
| int kstrtou16 | ( | const char * | s, |
| unsigned int | base, | ||
| u16 * | res | ||
| ) |
| int kstrtos16 | ( | const char * | s, |
| unsigned int | base, | ||
| s16 * | res | ||
| ) |
| int kstrtou8 | ( | const char * | s, |
| unsigned int | base, | ||
| u8 * | res | ||
| ) |
| int kstrtos8 | ( | const char * | s, |
| unsigned int | base, | ||
| s8 * | res | ||
| ) |
| void add_timer | ( | struct timer_list * | timer | ) |
| int del_timer | ( | struct timer_list * | timer | ) |
| int del_timer_sync | ( | struct timer_list * | timer | ) |
| int mod_timer | ( | struct timer_list * | timer, |
| unsigned long | expires | ||
| ) |
| int timer_pending | ( | const struct timer_list * | timer | ) |
| void timer_setup | ( | struct timer_list * | timer, |
| void(*)(struct timer_list *) | func, | ||
| unsigned int | flags | ||
| ) |
| void kfree_skb | ( | struct sk_buff * | skb | ) |
| void skb_init | ( | void | ) |
| struct power_supply * devm_power_supply_register | ( | struct device * | parent, |
| const struct power_supply_desc * | desc, | ||
| const struct power_supply_config * | cfg | ||
| ) |
| int devres_release_all | ( | struct device * | dev | ) |
| void devres_add | ( | struct device * | dev, |
| void * | res | ||
| ) |
| int __devm_add_action | ( | struct device * | dev, |
| void(*)(void *) | action, | ||
| void * | data, | ||
| const char * | name | ||
| ) |
| struct workqueue_struct* system_wq |
| const guid_t guid_null |
| const uuid_t uuid_null |