Searched refs:__driver (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/scripts/coccinelle/api/ |
D | platform_no_drv_owner.cocci | 15 identifier __driver; 18 module_i2c_driver(__driver); 20 module_platform_driver(__driver); 22 module_platform_driver_probe(__driver, ...); 26 identifier match1.__driver; 28 static struct platform_driver __driver = { 35 identifier match1.__driver; 37 static struct i2c_driver __driver = { 44 identifier __driver; 47 platform_driver_register(&__driver) [all …]
|
/Linux-v4.19/drivers/usb/storage/ |
D | usb.h | 196 #define module_usb_stor_driver(__driver, __sht, __name) \ argument 197 static int __init __driver##_init(void) \ 200 return usb_register(&(__driver)); \ 202 module_init(__driver##_init); \ 203 static void __exit __driver##_exit(void) \ 205 usb_deregister(&(__driver)); \ 207 module_exit(__driver##_exit)
|
/Linux-v4.19/include/linux/ |
D | device.h | 1575 #define module_driver(__driver, __register, __unregister, ...) \ argument 1576 static int __init __driver##_init(void) \ 1578 return __register(&(__driver) , ##__VA_ARGS__); \ 1580 module_init(__driver##_init); \ 1581 static void __exit __driver##_exit(void) \ 1583 __unregister(&(__driver) , ##__VA_ARGS__); \ 1585 module_exit(__driver##_exit); 1602 #define builtin_driver(__driver, __register, ...) \ argument 1603 static int __init __driver##_init(void) \ 1605 return __register(&(__driver) , ##__VA_ARGS__); \ [all …]
|