Lines Matching refs:cosm_device
44 struct cosm_device { struct
80 int (*probe)(struct cosm_device *dev); argument
81 void (*remove)(struct cosm_device *dev);
98 void (*reset)(struct cosm_device *cdev);
99 void (*force_reset)(struct cosm_device *cdev);
100 void (*post_reset)(struct cosm_device *cdev, enum mic_states state);
101 bool (*ready)(struct cosm_device *cdev);
102 int (*start)(struct cosm_device *cdev, int id);
103 void (*stop)(struct cosm_device *cdev, bool force);
104 ssize_t (*family)(struct cosm_device *cdev, char *buf);
105 ssize_t (*stepping)(struct cosm_device *cdev, char *buf);
106 struct mic_mw *(*aper)(struct cosm_device *cdev);
109 struct cosm_device *
111 void cosm_unregister_device(struct cosm_device *dev);
114 struct cosm_device *cosm_find_cdev_by_id(int id);
116 static inline struct cosm_device *dev_to_cosm(struct device *dev) in dev_to_cosm()
118 return container_of(dev, struct cosm_device, dev); in dev_to_cosm()