Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/include/linux/device/
A Ddriver.h261 #define module_driver(__driver, __register, __unregister, ...) \ argument
262 static int __init __driver##_init(void) \
264 return __register(&(__driver) , ##__VA_ARGS__); \
266 module_init(__driver##_init); \
267 static void __exit __driver##_exit(void) \
269 __unregister(&(__driver) , ##__VA_ARGS__); \
271 module_exit(__driver##_exit);
288 #define builtin_driver(__driver, __register, ...) \ argument
289 static int __init __driver##_init(void) \
291 return __register(&(__driver) , ##__VA_ARGS__); \
[all …]
/linux-6.3-rc2/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 9 milliseconds