Searched refs:__driver (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/scripts/coccinelle/api/ |
D | platform_no_drv_owner.cocci | 16 identifier __driver; 19 module_i2c_driver(__driver); 21 module_platform_driver(__driver); 23 module_platform_driver_probe(__driver, ...); 27 identifier match1.__driver; 29 static struct platform_driver __driver = { 36 identifier match1.__driver; 38 static struct i2c_driver __driver = { 45 identifier __driver; 48 platform_driver_register(&__driver) [all …]
|
/Linux-v5.4/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-v5.4/include/linux/ |
D | device.h | 1898 #define module_driver(__driver, __register, __unregister, ...) \ argument 1899 static int __init __driver##_init(void) \ 1901 return __register(&(__driver) , ##__VA_ARGS__); \ 1903 module_init(__driver##_init); \ 1904 static void __exit __driver##_exit(void) \ 1906 __unregister(&(__driver) , ##__VA_ARGS__); \ 1908 module_exit(__driver##_exit); 1925 #define builtin_driver(__driver, __register, ...) \ argument 1926 static int __init __driver##_init(void) \ 1928 return __register(&(__driver) , ##__VA_ARGS__); \ [all …]
|