Searched refs:cosm_device (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/misc/mic/bus/ |
D | cosm_bus.h | 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); [all …]
|
D | cosm_bus.c | 19 struct cosm_device *dev = dev_to_cosm(d); in cosm_dev_probe() 27 struct cosm_device *dev = dev_to_cosm(d); in cosm_dev_remove() 55 struct cosm_device *cdev = dev_to_cosm(d); in cosm_release_dev() 60 struct cosm_device * 63 struct cosm_device *cdev; in cosm_register_device() 97 void cosm_unregister_device(struct cosm_device *dev) in cosm_unregister_device() 106 struct cosm_device *cosm_find_cdev_by_id(int id) in cosm_find_cdev_by_id() 110 return dev ? container_of(dev, struct cosm_device, dev) : NULL; in cosm_find_cdev_by_id()
|
/Linux-v5.4/drivers/misc/mic/cosm/ |
D | cosm_main.h | 46 void cosm_sysfs_init(struct cosm_device *cdev); 47 int cosm_start(struct cosm_device *cdev); 48 void cosm_stop(struct cosm_device *cdev, bool force); 49 int cosm_reset(struct cosm_device *cdev); 50 int cosm_shutdown(struct cosm_device *cdev); 51 void cosm_set_state(struct cosm_device *cdev, u8 state); 52 void cosm_set_shutdown_status(struct cosm_device *cdev, u8 status); 55 void cosm_create_debug_dir(struct cosm_device *cdev); 56 void cosm_delete_debug_dir(struct cosm_device *cdev);
|
D | cosm_sysfs.c | 37 void cosm_set_shutdown_status(struct cosm_device *cdev, u8 shutdown_status) in cosm_set_shutdown_status() 45 void cosm_set_state(struct cosm_device *cdev, u8 state) in cosm_set_state() 57 struct cosm_device *cdev = dev_get_drvdata(dev); in family_show() 69 struct cosm_device *cdev = dev_get_drvdata(dev); in stepping_show() 81 struct cosm_device *cdev = dev_get_drvdata(dev); in state_show() 94 struct cosm_device *cdev = dev_get_drvdata(dev); in state_store() 124 struct cosm_device *cdev = dev_get_drvdata(dev); in shutdown_status_show() 138 struct cosm_device *cdev = dev_get_drvdata(dev); in heartbeat_enable_show() 151 struct cosm_device *cdev = dev_get_drvdata(dev); in heartbeat_enable_store() 177 struct cosm_device *cdev = dev_get_drvdata(dev); in cmdline_show() [all …]
|
D | cosm_scif_server.c | 95 static void cosm_update_mic_status(struct cosm_device *cdev) in cosm_update_mic_status() 104 static void cosm_shutdown_status_int(struct cosm_device *cdev, in cosm_shutdown_status_int() 126 static void cosm_scif_recv(struct cosm_device *cdev) in cosm_scif_recv() 159 static void cosm_set_crashed(struct cosm_device *cdev) in cosm_set_crashed() 167 static void cosm_send_time(struct cosm_device *cdev) in cosm_send_time() 188 static void cosm_scif_close(struct cosm_device *cdev) in cosm_scif_close() 206 static int cosm_set_online(struct cosm_device *cdev) in cosm_set_online() 236 struct cosm_device *cdev = container_of(work, struct cosm_device, in cosm_scif_work() 286 struct cosm_device *cdev; in cosm_scif_server()
|
D | cosm_main.c | 30 static void cosm_hw_reset(struct cosm_device *cdev, bool force) in cosm_hw_reset() 62 int cosm_start(struct cosm_device *cdev) in cosm_start() 135 void cosm_stop(struct cosm_device *cdev, bool force) in cosm_stop() 171 struct cosm_device *cdev = container_of(work, struct cosm_device, in cosm_reset_trigger_work() 182 int cosm_reset(struct cosm_device *cdev) in cosm_reset() 207 int cosm_shutdown(struct cosm_device *cdev) in cosm_shutdown() 241 static int cosm_driver_probe(struct cosm_device *cdev) in cosm_driver_probe() 283 static void cosm_driver_remove(struct cosm_device *cdev) in cosm_driver_remove() 302 struct cosm_device *cdev = dev_to_cosm(dev); in cosm_suspend()
|
D | cosm_debugfs.c | 28 struct cosm_device *cdev = s->private; in log_buf_show() 79 struct cosm_device *cdev = s->private; in force_reset_show() 87 void cosm_create_debug_dir(struct cosm_device *cdev) in cosm_create_debug_dir() 103 void cosm_delete_debug_dir(struct cosm_device *cdev) in cosm_delete_debug_dir()
|
/Linux-v5.4/drivers/misc/mic/host/ |
D | mic_boot.c | 382 static inline struct mic_device *cosmdev_to_mdev(struct cosm_device *cdev) in cosmdev_to_mdev() 387 static void _mic_reset(struct cosm_device *cdev) in _mic_reset() 395 static bool _mic_ready(struct cosm_device *cdev) in _mic_ready() 456 static int _mic_start(struct cosm_device *cdev, int id) in _mic_start() 522 static void _mic_stop(struct cosm_device *cdev, bool force) in _mic_stop() 538 static ssize_t _mic_family(struct cosm_device *cdev, char *buf) in _mic_family() 546 static ssize_t _mic_stepping(struct cosm_device *cdev, char *buf) in _mic_stepping() 570 static struct mic_mw *_mic_aper(struct cosm_device *cdev) in _mic_aper()
|
D | mic_device.h | 86 struct cosm_device *cosm_dev;
|