Lines Matching refs:ssam_device
157 struct ssam_device { struct
176 int (*probe)(struct ssam_device *sdev); argument
177 void (*remove)(struct ssam_device *sdev);
207 static inline struct ssam_device *to_ssam_device(struct device *d) in to_ssam_device()
209 return container_of(d, struct ssam_device, dev); in to_ssam_device()
233 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev);
235 const void *ssam_device_get_match_data(const struct ssam_device *dev);
237 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
240 int ssam_device_add(struct ssam_device *sdev);
241 void ssam_device_remove(struct ssam_device *sdev);
255 static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev) in ssam_device_get()
270 static inline void ssam_device_put(struct ssam_device *sdev) in ssam_device_put()
283 static inline void *ssam_device_get_drvdata(struct ssam_device *sdev) in ssam_device_get_drvdata()
293 static inline void ssam_device_set_drvdata(struct ssam_device *sdev, void *data) in ssam_device_set_drvdata()
350 static int name(struct ssam_device *sdev) \
384 static int name(struct ssam_device *sdev, const atype *arg) \
418 static int name(struct ssam_device *sdev, rtype *ret) \