Home
last modified time | relevance | path

Searched refs:__driver (Results 1 – 3 of 3) sorted by relevance

/linux/scripts/coccinelle/api/
A Dplatform_no_drv_owner.cocci16 identifier __driver;
19 module_i2c_driver(__driver);
27 identifier match1.__driver;
36 identifier match1.__driver;
45 identifier __driver;
54 i2c_add_driver(&__driver)
58 identifier match2.__driver;
67 identifier match2.__driver;
78 identifier match1.__driver;
89 identifier match1.__driver;
[all …]
/linux/include/linux/device/
A Ddriver.h259 #define module_driver(__driver, __register, __unregister, ...) \ argument
260 static int __init __driver##_init(void) \
262 return __register(&(__driver) , ##__VA_ARGS__); \
264 module_init(__driver##_init); \
265 static void __exit __driver##_exit(void) \
267 __unregister(&(__driver) , ##__VA_ARGS__); \
269 module_exit(__driver##_exit);
286 #define builtin_driver(__driver, __register, ...) \ argument
287 static int __init __driver##_init(void) \
289 return __register(&(__driver) , ##__VA_ARGS__); \
[all …]
/linux/drivers/usb/storage/
A Dusb.h197 #define module_usb_stor_driver(__driver, __sht, __name) \ argument
198 static int __init __driver##_init(void) \
201 return usb_register(&(__driver)); \
203 module_init(__driver##_init); \
204 static void __exit __driver##_exit(void) \
206 usb_deregister(&(__driver)); \
208 module_exit(__driver##_exit)

Completed in 7 milliseconds