Lines Matching refs:cosm_device
54 struct cosm_device { struct
89 int (*probe)(struct cosm_device *dev); argument
90 void (*remove)(struct cosm_device *dev);
107 void (*reset)(struct cosm_device *cdev);
108 void (*force_reset)(struct cosm_device *cdev);
109 void (*post_reset)(struct cosm_device *cdev, enum mic_states state);
110 bool (*ready)(struct cosm_device *cdev);
111 int (*start)(struct cosm_device *cdev, int id);
112 void (*stop)(struct cosm_device *cdev, bool force);
113 ssize_t (*family)(struct cosm_device *cdev, char *buf);
114 ssize_t (*stepping)(struct cosm_device *cdev, char *buf);
115 struct mic_mw *(*aper)(struct cosm_device *cdev);
118 struct cosm_device *
120 void cosm_unregister_device(struct cosm_device *dev);
123 struct cosm_device *cosm_find_cdev_by_id(int id);
125 static inline struct cosm_device *dev_to_cosm(struct device *dev) in dev_to_cosm()
127 return container_of(dev, struct cosm_device, dev); in dev_to_cosm()