Home
last modified time | relevance | path

Searched refs:osal_driver (Results 1 – 4 of 4) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
Dirq_init.c28 #define osal_module_driver(osal_driver, osal_register, osal_unregister, ...) \ argument
29 int __init osal_driver##_init(void) \
31 return osal_register(&(osal_driver)); \
33 module_init(osal_driver##_init); \
34 void __exit osal_driver##_exit(void) \
36 osal_unregister(&(osal_driver)); \
38 module_exit(osal_driver##_exit)
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhi_osal.h586 #define osal_module_driver(osal_driver, osal_register, osal_unregister, ...) \ argument
587 static int __init osal_driver##_init(void) \
589 return osal_register(&(osal_driver)); \
591 module_init(osal_driver##_init); \
592 static void __exit osal_driver##_exit(void) \
594 osal_unregister(&(osal_driver)); \
596 module_exit(osal_driver##_exit);
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhi_osal.h570 #define osal_module_driver(osal_driver, osal_register, osal_unregister, ...) \ argument
571 static int __init osal_driver##_init(void) \
573 return osal_register(&(osal_driver)); \
575 module_init(osal_driver##_init); \
576 static void __exit osal_driver##_exit(void) \
578 osal_unregister(&(osal_driver)); \
580 module_exit(osal_driver##_exit);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dhi_osal.h573 #define osal_module_driver(osal_driver, osal_register, osal_unregister, ...) \ argument
574 static int __init osal_driver##_init(void) \
576 return osal_register(&(osal_driver)); \
578 module_init(osal_driver##_init); \
579 static void __exit osal_driver##_exit(void) \
581 osal_unregister(&(osal_driver)); \
583 module_exit(osal_driver##_exit);