Lines Matching refs:auxdev
181 int (*probe)(struct auxiliary_device *auxdev, const struct auxiliary_device_id *id);
182 void (*remove)(struct auxiliary_device *auxdev);
183 void (*shutdown)(struct auxiliary_device *auxdev);
184 int (*suspend)(struct auxiliary_device *auxdev, pm_message_t state);
185 int (*resume)(struct auxiliary_device *auxdev);
191 static inline void *auxiliary_get_drvdata(struct auxiliary_device *auxdev) in auxiliary_get_drvdata() argument
193 return dev_get_drvdata(&auxdev->dev); in auxiliary_get_drvdata()
196 static inline void auxiliary_set_drvdata(struct auxiliary_device *auxdev, void *data) in auxiliary_set_drvdata() argument
198 dev_set_drvdata(&auxdev->dev, data); in auxiliary_set_drvdata()
211 int auxiliary_device_init(struct auxiliary_device *auxdev);
212 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname);
213 #define auxiliary_device_add(auxdev) __auxiliary_device_add(auxdev, KBUILD_MODNAME) argument
215 static inline void auxiliary_device_uninit(struct auxiliary_device *auxdev) in auxiliary_device_uninit() argument
217 put_device(&auxdev->dev); in auxiliary_device_uninit()
220 static inline void auxiliary_device_delete(struct auxiliary_device *auxdev) in auxiliary_device_delete() argument
222 device_del(&auxdev->dev); in auxiliary_device_delete()