Lines Matching refs:cdev
287 static inline struct mic_device *cosmdev_to_mdev(struct cosm_device *cdev) in cosmdev_to_mdev() argument
289 return dev_get_drvdata(cdev->dev.parent); in cosmdev_to_mdev()
292 static void _mic_reset(struct cosm_device *cdev) in _mic_reset() argument
294 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_reset()
300 static bool _mic_ready(struct cosm_device *cdev) in _mic_ready() argument
302 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_ready()
362 static int _mic_start(struct cosm_device *cdev, int id) in _mic_start() argument
364 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_start()
417 static void _mic_stop(struct cosm_device *cdev, bool force) in _mic_stop() argument
419 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_stop()
433 static ssize_t _mic_family(struct cosm_device *cdev, char *buf) in _mic_family() argument
435 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_family()
441 static ssize_t _mic_stepping(struct cosm_device *cdev, char *buf) in _mic_stepping() argument
443 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_stepping()
465 static struct mic_mw *_mic_aper(struct cosm_device *cdev) in _mic_aper() argument
467 struct mic_device *mdev = cosmdev_to_mdev(cdev); in _mic_aper()