Home
last modified time | relevance | path

Searched defs:cdev (Results 1 – 25 of 111) sorted by relevance

12345

/linux-4.19.296/drivers/s390/cio/
Ddevice_fsm.c37 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log()
99 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() local
112 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout()
127 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear()
143 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data()
152 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data()
188 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done()
264 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
290 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
313 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify()
[all …]
Ddevice.c62 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() local
105 struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() local
153 struct ccw_device *cdev; in io_subchannel_prepare() local
213 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() local
226 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() local
236 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() local
248 struct ccw_device *cdev = to_ccwdev(dev); in online_show() local
253 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan()
258 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister()
284 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline()
[all …]
Ddevice_ops.c39 int ccw_device_set_options_mask(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options_mask()
64 int ccw_device_set_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options()
91 void ccw_device_clear_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_clear_options()
106 int ccw_device_is_pathgroup(struct ccw_device *cdev) in ccw_device_is_pathgroup()
118 int ccw_device_is_multipath(struct ccw_device *cdev) in ccw_device_is_multipath()
139 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear()
190 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key()
267 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key()
298 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start()
333 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout()
[all …]
Ddevice_pgid.c33 static void verify_done(struct ccw_device *cdev, int rc) in verify_done()
57 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp()
72 static void nop_do(struct ccw_device *cdev) in nop_do()
92 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter()
104 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback()
134 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp()
149 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback()
167 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start()
194 static void spid_do(struct ccw_device *cdev) in spid_do()
227 static void spid_callback(struct ccw_device *cdev, void *data, int rc) in spid_callback()
[all …]
Ddevice_status.c28 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check()
53 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper()
75 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw()
113 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw()
193 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb()
311 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense()
348 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense()
381 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
Dccwreq.c41 static u16 ccwreq_next_path(struct ccw_device *cdev) in ccwreq_next_path()
58 static void ccwreq_stop(struct ccw_device *cdev, int rc) in ccwreq_stop()
75 static void ccwreq_do(struct ccw_device *cdev) in ccwreq_do()
120 void ccw_request_start(struct ccw_device *cdev) in ccw_request_start()
151 int ccw_request_cancel(struct ccw_device *cdev) in ccw_request_cancel()
170 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) in ccwreq_status()
231 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) in ccwreq_log_status()
254 void ccw_request_handler(struct ccw_device *cdev) in ccw_request_handler()
326 void ccw_request_timeout(struct ccw_device *cdev) in ccw_request_timeout()
364 void ccw_request_notoper(struct ccw_device *cdev) in ccw_request_notoper()
Dcmf.c175 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, in set_schib()
211 static int set_schib_wait(struct ccw_device *cdev, u32 mme, in set_schib_wait()
257 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib()
269 static int cmf_copy_block(struct ccw_device *cdev) in cmf_copy_block()
298 static int cmf_cmb_copy_wait(struct ccw_device *cdev) in cmf_cmb_copy_wait()
338 void cmf_retry_copy_block(struct ccw_device *cdev) in cmf_retry_copy_block()
349 static void cmf_generic_reset(struct ccw_device *cdev) in cmf_generic_reset()
436 static int alloc_cmb_single(struct ccw_device *cdev, in alloc_cmb_single()
477 static int alloc_cmb(struct ccw_device *cdev) in alloc_cmb()
533 static void free_cmb(struct ccw_device *cdev) in free_cmb()
[all …]
Ddevice_id.c99 static int diag210_get_dev_info(struct ccw_device *cdev) in diag210_get_dev_info()
134 static void snsid_init(struct ccw_device *cdev) in snsid_init()
144 static int snsid_check(struct ccw_device *cdev, void *data) in snsid_check()
170 static void snsid_callback(struct ccw_device *cdev, void *data, int rc) in snsid_callback()
199 void ccw_device_sense_id_start(struct ccw_device *cdev) in ccw_device_sense_id_start()
Dqdio_main.c1007 static void qdio_handle_activate_check(struct ccw_device *cdev, in qdio_handle_activate_check()
1039 static void qdio_establish_handle_irq(struct ccw_device *cdev, int cstat, in qdio_establish_handle_irq()
1062 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler()
1121 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc()
1135 static void qdio_shutdown_queues(struct ccw_device *cdev) in qdio_shutdown_queues()
1155 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown()
1232 int qdio_free(struct ccw_device *cdev) in qdio_free()
1342 struct ccw_device *cdev = init_data->cdev; in qdio_establish() local
1411 int qdio_activate(struct ccw_device *cdev) in qdio_activate()
1604 int do_QDIO(struct ccw_device *cdev, unsigned int callflags, in do_QDIO()
[all …]
/linux-4.19.296/drivers/misc/mic/cosm/
Dcosm_sysfs.c49 void cosm_set_shutdown_status(struct cosm_device *cdev, u8 shutdown_status) in cosm_set_shutdown_status()
57 void cosm_set_state(struct cosm_device *cdev, u8 state) in cosm_set_state()
69 struct cosm_device *cdev = dev_get_drvdata(dev); in family_show() local
81 struct cosm_device *cdev = dev_get_drvdata(dev); in stepping_show() local
93 struct cosm_device *cdev = dev_get_drvdata(dev); in state_show() local
106 struct cosm_device *cdev = dev_get_drvdata(dev); in state_store() local
136 struct cosm_device *cdev = dev_get_drvdata(dev); in shutdown_status_show() local
150 struct cosm_device *cdev = dev_get_drvdata(dev); in heartbeat_enable_show() local
163 struct cosm_device *cdev = dev_get_drvdata(dev); in heartbeat_enable_store() local
189 struct cosm_device *cdev = dev_get_drvdata(dev); in cmdline_show() local
[all …]
Dcosm_main.c42 static void cosm_hw_reset(struct cosm_device *cdev, bool force) in cosm_hw_reset()
74 int cosm_start(struct cosm_device *cdev) in cosm_start()
147 void cosm_stop(struct cosm_device *cdev, bool force) in cosm_stop()
183 struct cosm_device *cdev = container_of(work, struct cosm_device, in cosm_reset_trigger_work() local
194 int cosm_reset(struct cosm_device *cdev) in cosm_reset()
219 int cosm_shutdown(struct cosm_device *cdev) in cosm_shutdown()
253 static int cosm_driver_probe(struct cosm_device *cdev) in cosm_driver_probe()
295 static void cosm_driver_remove(struct cosm_device *cdev) in cosm_driver_remove()
314 struct cosm_device *cdev = dev_to_cosm(dev); in cosm_suspend() local
Dcosm_scif_server.c107 static void cosm_update_mic_status(struct cosm_device *cdev) in cosm_update_mic_status()
116 static void cosm_shutdown_status_int(struct cosm_device *cdev, in cosm_shutdown_status_int()
138 static void cosm_scif_recv(struct cosm_device *cdev) in cosm_scif_recv()
171 static void cosm_set_crashed(struct cosm_device *cdev) in cosm_set_crashed()
179 static void cosm_send_time(struct cosm_device *cdev) in cosm_send_time()
200 static void cosm_scif_close(struct cosm_device *cdev) in cosm_scif_close()
218 static int cosm_set_online(struct cosm_device *cdev) in cosm_set_online()
248 struct cosm_device *cdev = container_of(work, struct cosm_device, in cosm_scif_work() local
298 struct cosm_device *cdev; in cosm_scif_server() local
Dcosm_debugfs.c40 struct cosm_device *cdev = s->private; in cosm_log_buf_show() local
102 struct cosm_device *cdev = s->private; in cosm_force_reset_show() local
121 void cosm_create_debug_dir(struct cosm_device *cdev) in cosm_create_debug_dir()
138 void cosm_delete_debug_dir(struct cosm_device *cdev) in cosm_delete_debug_dir()
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_ccw.c21 struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *cdev) in zfcp_ccw_adapter_by_cdev()
49 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) in zfcp_ccw_activate()
98 static int zfcp_ccw_probe(struct ccw_device *cdev) in zfcp_ccw_probe()
112 static void zfcp_ccw_remove(struct ccw_device *cdev) in zfcp_ccw_remove()
159 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online()
206 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync()
228 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline()
241 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify()
290 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
304 static int zfcp_ccw_suspend(struct ccw_device *cdev) in zfcp_ccw_suspend()
[all …]
/linux-4.19.296/include/linux/
Dcdev.h14 struct cdev { struct
23 void cdev_init(struct cdev *, const struct file_operations *); argument
Dclock_cooling.h54 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister()
58 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level()
/linux-4.19.296/drivers/misc/
Denclosure.c195 static void enclosure_link_name(struct enclosure_component *cdev, char *name) in enclosure_link_name()
201 static void enclosure_remove_links(struct enclosure_component *cdev) in enclosure_remove_links()
218 static int enclosure_add_links(struct enclosure_component *cdev) in enclosure_add_links()
235 static void enclosure_release(struct device *cdev) in enclosure_release()
245 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release() local
298 struct device *cdev; in enclosure_component_alloc() local
345 struct device *cdev; in enclosure_component_register() local
377 struct enclosure_component *cdev; in enclosure_add_device() local
412 struct enclosure_component *cdev; in enclosure_remove_device() local
435 static ssize_t components_show(struct device *cdev, in components_show()
[all …]
/linux-4.19.296/drivers/s390/char/
Dvmur.c102 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc()
133 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev()
149 struct ccw_device *cdev; in urdev_get_from_devno() local
176 static int ur_pm_suspend(struct ccw_device *cdev) in ur_pm_suspend()
274 struct ccw_device *cdev = urd->cdev; in do_ur_io() local
305 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler()
817 static int ur_probe(struct ccw_device *cdev) in ur_probe()
864 static int ur_set_online(struct ccw_device *cdev) in ur_set_online()
934 static int ur_set_offline_force(struct ccw_device *cdev, int force) in ur_set_offline_force()
965 static int ur_set_offline(struct ccw_device *cdev) in ur_set_offline()
[all …]
Draw3270.c37 struct ccw_device *cdev; member
320 raw3270_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in raw3270_irq()
693 raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, char *ascebc) in raw3270_setup_device()
762 struct ccw_device *cdev; in raw3270_setup_console() local
813 raw3270_create_device(struct ccw_device *cdev) in raw3270_create_device()
1026 struct ccw_device *cdev; in raw3270_delete_device() local
1048 raw3270_probe (struct ccw_device *cdev) in raw3270_probe()
1128 raw3270_set_online (struct ccw_device *cdev) in raw3270_set_online()
1156 raw3270_remove (struct ccw_device *cdev) in raw3270_remove()
1207 raw3270_set_offline (struct ccw_device *cdev) in raw3270_set_offline()
[all …]
Dcon3215.c78 struct ccw_device *cdev; /* device for tty driver */ member
363 static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, in raw3215_irq()
689 static int raw3215_probe (struct ccw_device *cdev) in raw3215_probe()
722 static void raw3215_remove (struct ccw_device *cdev) in raw3215_remove()
741 static int raw3215_set_online (struct ccw_device *cdev) in raw3215_set_online()
752 static int raw3215_set_offline (struct ccw_device *cdev) in raw3215_set_offline()
765 static int raw3215_pm_stop(struct ccw_device *cdev) in raw3215_pm_stop()
779 static int raw3215_pm_start(struct ccw_device *cdev) in raw3215_pm_start()
902 struct ccw_device *cdev; in con3215_init() local
/linux-4.19.296/drivers/isdn/capi/
Dcapi.c108 struct capidev *cdev; member
295 static void capincci_alloc_minor(struct capidev *cdev, struct capincci *np) in capincci_alloc_minor()
336 capincci_alloc_minor(struct capidev *cdev, struct capincci *np) { } in capincci_alloc_minor()
341 static struct capincci *capincci_alloc(struct capidev *cdev, u32 ncci) in capincci_alloc()
358 static void capincci_free(struct capidev *cdev, u32 ncci) in capincci_free()
371 static struct capincci *capincci_find(struct capidev *cdev, u32 ncci) in capincci_find()
571 struct capidev *cdev = ap->private; in capi_recv_message() local
649 struct capidev *cdev = file->private_data; in capi_read() local
684 struct capidev *cdev = file->private_data; in capi_write() local
739 struct capidev *cdev = file->private_data; in capi_poll() local
[all …]
/linux-4.19.296/drivers/hid/
Dhid-led.c86 struct led_classdev cdev; member
192 static int riso_kagaku_write(struct led_classdev *cdev, enum led_brightness br) in riso_kagaku_write()
203 static int dream_cheeky_write(struct led_classdev *cdev, enum led_brightness br) in dream_cheeky_write()
232 static int _thingm_write(struct led_classdev *cdev, enum led_brightness br, in _thingm_write()
246 static int thingm_write_v1(struct led_classdev *cdev, enum led_brightness br) in thingm_write_v1()
251 static int thingm_write(struct led_classdev *cdev, enum led_brightness br) in thingm_write()
312 static int delcom_write(struct led_classdev *cdev, enum led_brightness br) in delcom_write()
344 static int luxafor_write(struct led_classdev *cdev, enum led_brightness br) in luxafor_write()
Dhid-google-hammer.c28 struct led_classdev cdev; member
33 static int hammer_kbd_brightness_set_blocking(struct led_classdev *cdev, in hammer_kbd_brightness_set_blocking()
/linux-4.19.296/fs/
Dchar_dev.c40 struct cdev *cdev; /* will die */ member
282 struct cdev *cdev; in __register_chrdev() local
444 static void cdev_purge(struct cdev *cdev) in cdev_purge()
543 int cdev_device_add(struct cdev *cdev, struct device *dev) in cdev_device_add()
577 void cdev_device_del(struct cdev *cdev, struct device *dev) in cdev_device_del()
657 void cdev_init(struct cdev *cdev, const struct file_operations *fops) in cdev_init()
/linux-4.19.296/drivers/misc/mic/host/
Dmic_boot.c394 static inline struct mic_device *cosmdev_to_mdev(struct cosm_device *cdev) in cosmdev_to_mdev()
399 static void _mic_reset(struct cosm_device *cdev) in _mic_reset()
407 static bool _mic_ready(struct cosm_device *cdev) in _mic_ready()
468 static int _mic_start(struct cosm_device *cdev, int id) in _mic_start()
534 static void _mic_stop(struct cosm_device *cdev, bool force) in _mic_stop()
550 static ssize_t _mic_family(struct cosm_device *cdev, char *buf) in _mic_family()
558 static ssize_t _mic_stepping(struct cosm_device *cdev, char *buf) in _mic_stepping()
582 static struct mic_mw *_mic_aper(struct cosm_device *cdev) in _mic_aper()

12345