Home
last modified time | relevance | path

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

12345678

/drivers/s390/cio/
Ddevice_fsm.c36 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log()
97 struct ccw_device *cdev; in ccw_device_timeout() local
111 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout()
136 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear()
182 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data()
191 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data()
227 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done()
303 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
329 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
352 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify()
[all …]
Ddevice.c60 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() local
103 struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() local
152 struct ccw_device *cdev; in io_subchannel_prepare() local
250 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() local
263 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() local
273 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() local
285 struct ccw_device *cdev = to_ccwdev(dev); in online_show() local
290 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan()
295 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister()
321 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline()
[all …]
Ddevice_ops.c38 int ccw_device_set_options_mask(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options_mask()
63 int ccw_device_set_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options()
90 void ccw_device_clear_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_clear_options()
105 int ccw_device_is_pathgroup(struct ccw_device *cdev) in ccw_device_is_pathgroup()
117 int ccw_device_is_multipath(struct ccw_device *cdev) in ccw_device_is_multipath()
138 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear()
184 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key()
264 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key()
302 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start()
337 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout()
[all …]
Ddevice_pgid.c31 static void verify_done(struct ccw_device *cdev, int rc) in verify_done()
55 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp()
70 static void nop_do(struct ccw_device *cdev) in nop_do()
90 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter()
102 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback()
132 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp()
147 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback()
165 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start()
192 static void spid_do(struct ccw_device *cdev) in spid_do()
225 static void spid_callback(struct ccw_device *cdev, void *data, int rc) in spid_callback()
[all …]
Ddevice_status.c27 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check()
51 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper()
73 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw()
111 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw()
191 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb()
309 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense()
346 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense()
379 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
Dccwreq.c40 static u16 ccwreq_next_path(struct ccw_device *cdev) in ccwreq_next_path()
57 static void ccwreq_stop(struct ccw_device *cdev, int rc) in ccwreq_stop()
74 static void ccwreq_do(struct ccw_device *cdev) in ccwreq_do()
119 void ccw_request_start(struct ccw_device *cdev) in ccw_request_start()
150 int ccw_request_cancel(struct ccw_device *cdev) in ccw_request_cancel()
169 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) in ccwreq_status()
230 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) in ccwreq_log_status()
253 void ccw_request_handler(struct ccw_device *cdev) in ccw_request_handler()
325 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.c186 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, in set_schib()
223 static int set_schib_wait(struct ccw_device *cdev, u32 mme, in set_schib_wait()
280 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib()
296 static int cmf_copy_block(struct ccw_device *cdev) in cmf_copy_block()
348 static int cmf_cmb_copy_wait(struct ccw_device *cdev) in cmf_cmb_copy_wait()
401 void cmf_retry_copy_block(struct ccw_device *cdev) in cmf_retry_copy_block()
416 static void cmf_generic_reset(struct ccw_device *cdev) in cmf_generic_reset()
503 static int alloc_cmb_single(struct ccw_device *cdev, in alloc_cmb_single()
544 static int alloc_cmb(struct ccw_device *cdev) in alloc_cmb()
600 static void free_cmb(struct ccw_device *cdev) in free_cmb()
[all …]
Ddevice_id.c98 static int diag210_get_dev_info(struct ccw_device *cdev) in diag210_get_dev_info()
133 static void snsid_init(struct ccw_device *cdev) in snsid_init()
143 static int snsid_check(struct ccw_device *cdev, void *data) in snsid_check()
169 static void snsid_callback(struct ccw_device *cdev, void *data, int rc) in snsid_callback()
198 void ccw_device_sense_id_start(struct ccw_device *cdev) in ccw_device_sense_id_start()
/drivers/s390/scsi/
Dzfcp_ccw.c20 struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *cdev) in zfcp_ccw_adapter_by_cdev()
48 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) in zfcp_ccw_activate()
92 static int zfcp_ccw_probe(struct ccw_device *cdev) in zfcp_ccw_probe()
106 static void zfcp_ccw_remove(struct ccw_device *cdev) in zfcp_ccw_remove()
153 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online()
192 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync()
214 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline()
227 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify()
276 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
290 static int zfcp_ccw_suspend(struct ccw_device *cdev) in zfcp_ccw_suspend()
[all …]
/drivers/misc/
Denclosure.c191 static void enclosure_link_name(struct enclosure_component *cdev, char *name) in enclosure_link_name()
197 static void enclosure_remove_links(struct enclosure_component *cdev) in enclosure_remove_links()
206 static int enclosure_add_links(struct enclosure_component *cdev) in enclosure_add_links()
223 static void enclosure_release(struct device *cdev) in enclosure_release()
233 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release() local
264 struct device *cdev; in enclosure_component_register() local
315 struct enclosure_component *cdev; in enclosure_add_device() local
344 struct enclosure_component *cdev; in enclosure_remove_device() local
368 static ssize_t enclosure_show_components(struct device *cdev, in enclosure_show_components()
406 static ssize_t get_component_fault(struct device *cdev, in get_component_fault()
[all …]
/drivers/usb/gadget/
Dcomposite.c88 struct usb_composite_dev *cdev = get_gadget_data(g); in config_ep_by_speed() local
257 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate() local
285 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate() local
421 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc()
466 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs()
508 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc()
564 static void device_qual(struct usb_composite_dev *cdev) in device_qual()
583 static void reset_config(struct usb_composite_dev *cdev) in reset_config()
598 static int set_config(struct usb_composite_dev *cdev, in set_config()
704 int usb_add_config_only(struct usb_composite_dev *cdev, in usb_add_config_only()
[all …]
Dmulti.c182 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
197 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
245 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
260 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
271 static int __ref multi_bind(struct usb_composite_dev *cdev) in multi_bind()
336 static int __exit multi_unbind(struct usb_composite_dev *cdev) in multi_unbind()
Dzero.c163 struct usb_composite_dev *cdev = (void *)_c; in zero_autoresume() local
180 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
192 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
255 static int __init zero_bind(struct usb_composite_dev *cdev) in zero_bind()
370 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
Df_sourcesink.c329 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
342 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
357 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind() local
502 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data() local
555 struct usb_composite_dev *cdev; in source_sink_complete() local
648 struct usb_composite_dev *cdev; in source_sink_start_ep() local
666 struct usb_composite_dev *cdev; in disable_source_sink() local
675 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
775 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt() local
Dandroid.c97 struct usb_composite_dev *cdev; member
166 struct usb_composite_dev *cdev = dev->cdev; in android_work() local
192 struct usb_composite_dev *cdev = dev->cdev; in android_enable() local
206 struct usb_composite_dev *cdev = dev->cdev; in android_disable() local
226 struct usb_composite_dev *cdev) in ffs_function_init()
384 struct usb_composite_dev *cdev) in acm_function_init()
506 struct usb_composite_dev *cdev) in mtp_function_init()
525 struct usb_composite_dev *cdev) in ptp_function_init()
544 struct usb_composite_dev *cdev, in mtp_function_ctrlrequest()
578 struct usb_composite_dev *cdev) in rndis_function_init()
[all …]
/drivers/scsi/pm8001/
Dpm8001_ctl.c54 static ssize_t pm8001_ctl_mpi_interface_rev_show(struct device *cdev, in pm8001_ctl_mpi_interface_rev_show()
79 static ssize_t pm8001_ctl_fw_version_show(struct device *cdev, in pm8001_ctl_fw_version_show()
108 static ssize_t pm8001_ctl_max_out_io_show(struct device *cdev, in pm8001_ctl_max_out_io_show()
131 static ssize_t pm8001_ctl_max_devices_show(struct device *cdev, in pm8001_ctl_max_devices_show()
157 static ssize_t pm8001_ctl_max_sg_list_show(struct device *cdev, in pm8001_ctl_max_sg_list_show()
201 static ssize_t pm8001_ctl_sas_spec_support_show(struct device *cdev, in pm8001_ctl_sas_spec_support_show()
230 static ssize_t pm8001_ctl_host_sas_address_show(struct device *cdev, in pm8001_ctl_host_sas_address_show()
249 static ssize_t pm8001_ctl_logging_level_show(struct device *cdev, in pm8001_ctl_logging_level_show()
258 static ssize_t pm8001_ctl_logging_level_store(struct device *cdev, in pm8001_ctl_logging_level_store()
282 static ssize_t pm8001_ctl_aap_log_show(struct device *cdev, in pm8001_ctl_aap_log_show()
[all …]
/drivers/acpi/
Dfan.c74 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
82 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
102 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
129 struct thermal_cooling_device *cdev; in acpi_fan_add() local
177 struct thermal_cooling_device *cdev; in acpi_fan_remove() local
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c2342 _ctl_version_fw_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_fw_show()
2364 _ctl_version_bios_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_bios_show()
2388 _ctl_version_mpi_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_mpi_show()
2407 _ctl_version_product_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_product_show()
2425 _ctl_version_nvdata_persistent_show(struct device *cdev, in _ctl_version_nvdata_persistent_show()
2445 _ctl_version_nvdata_default_show(struct device *cdev, struct device_attribute in _ctl_version_nvdata_default_show()
2465 _ctl_board_name_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_name_show()
2483 _ctl_board_assembly_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_assembly_show()
2501 _ctl_board_tracer_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_tracer_show()
2522 _ctl_io_delay_show(struct device *cdev, struct device_attribute *attr, in _ctl_io_delay_show()
[all …]
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c536 static void do_act_establish(struct cxgbi_device *cdev, struct sk_buff *skb) in do_act_establish()
655 static void do_act_open_rpl(struct cxgbi_device *cdev, struct sk_buff *skb) in do_act_open_rpl()
702 static void do_peer_close(struct cxgbi_device *cdev, struct sk_buff *skb) in do_peer_close()
723 static void do_close_con_rpl(struct cxgbi_device *cdev, struct sk_buff *skb) in do_close_con_rpl()
762 static void do_abort_req_rss(struct cxgbi_device *cdev, struct sk_buff *skb) in do_abort_req_rss()
808 static void do_abort_rpl_rss(struct cxgbi_device *cdev, struct sk_buff *skb) in do_abort_rpl_rss()
833 static void do_rx_iscsi_hdr(struct cxgbi_device *cdev, struct sk_buff *skb) in do_rx_iscsi_hdr()
933 static void do_rx_data_ddp(struct cxgbi_device *cdev, in do_rx_data_ddp()
1020 static void do_fw4_ack(struct cxgbi_device *cdev, struct sk_buff *skb) in do_fw4_ack()
1041 static void do_set_tcb_rpl(struct cxgbi_device *cdev, struct sk_buff *skb) in do_set_tcb_rpl()
[all …]
/drivers/scsi/mpt2sas/
Dmpt2sas_ctl.c2302 _ctl_version_fw_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_fw_show()
2324 _ctl_version_bios_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_bios_show()
2348 _ctl_version_mpi_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_mpi_show()
2367 _ctl_version_product_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_product_show()
2386 _ctl_version_nvdata_persistent_show(struct device *cdev, in _ctl_version_nvdata_persistent_show()
2406 _ctl_version_nvdata_default_show(struct device *cdev, in _ctl_version_nvdata_default_show()
2426 _ctl_board_name_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_name_show()
2444 _ctl_board_assembly_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_assembly_show()
2463 _ctl_board_tracer_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_tracer_show()
2485 _ctl_io_delay_show(struct device *cdev, struct device_attribute *attr, in _ctl_io_delay_show()
[all …]
/drivers/s390/char/
Dvmur.c101 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc()
132 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev()
148 struct ccw_device *cdev; in urdev_get_from_devno() local
175 static int ur_pm_suspend(struct ccw_device *cdev) in ur_pm_suspend()
273 struct ccw_device *cdev = urd->cdev; in do_ur_io() local
304 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler()
828 static int ur_probe(struct ccw_device *cdev) in ur_probe()
875 static int ur_set_online(struct ccw_device *cdev) in ur_set_online()
946 static int ur_set_offline_force(struct ccw_device *cdev, int force) in ur_set_offline_force()
977 static int ur_set_offline(struct ccw_device *cdev) in ur_set_offline()
[all …]
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c604 static int do_peer_close(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_peer_close()
621 static int do_close_con_rpl(struct t3cdev *cdev, struct sk_buff *skb, in do_close_con_rpl()
659 static int do_abort_req(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_req()
706 static int do_abort_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_abort_rpl()
846 static int do_wr_ack(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) in do_wr_ack()
955 struct cxgbi_device *cdev = csk->cdev; in init_act_open() local
1028 int cxgb3i_ofld_init(struct cxgbi_device *cdev) in cxgb3i_ofld_init()
1084 struct cxgbi_device *cdev = csk->cdev; in ddp_set_map() local
1113 struct cxgbi_device *cdev = chba->cdev; in ddp_clear_map() local
1209 static void t3_ddp_cleanup(struct cxgbi_device *cdev) in t3_ddp_cleanup()
[all …]
/drivers/gpu/drm/cirrus/
Dcirrus_main.c86 static void cirrus_vram_fini(struct cirrus_device *cdev) in cirrus_vram_fini()
95 static int cirrus_vram_init(struct cirrus_device *cdev) in cirrus_vram_init()
118 int cirrus_device_init(struct cirrus_device *cdev, in cirrus_device_init()
154 void cirrus_device_fini(struct cirrus_device *cdev) in cirrus_device_fini()
167 struct cirrus_device *cdev; in cirrus_driver_load() local
198 struct cirrus_device *cdev = dev->dev_private; in cirrus_driver_unload() local
/drivers/scsi/cxgbi/
Dlibcxgbi.c56 int cxgbi_device_portmap_create(struct cxgbi_device *cdev, unsigned int base, in cxgbi_device_portmap_create()
76 void cxgbi_device_portmap_cleanup(struct cxgbi_device *cdev) in cxgbi_device_portmap_cleanup()
99 static inline void cxgbi_device_destroy(struct cxgbi_device *cdev) in cxgbi_device_destroy()
119 struct cxgbi_device *cdev; in cxgbi_device_register() local
147 void cxgbi_device_unregister(struct cxgbi_device *cdev) in cxgbi_device_unregister()
161 struct cxgbi_device *cdev, *tmp; in cxgbi_device_unregister_all() local
180 struct cxgbi_device *cdev, *tmp; in cxgbi_device_find_by_lldev() local
200 struct cxgbi_device *cdev, *tmp; in cxgbi_device_find_by_netdev() local
228 void cxgbi_hbas_remove(struct cxgbi_device *cdev) in cxgbi_hbas_remove()
248 int cxgbi_hbas_add(struct cxgbi_device *cdev, unsigned int max_lun, in cxgbi_hbas_add()
[all …]
/drivers/isdn/capi/
Dcapi.c107 struct capidev *cdev; member
294 static void capincci_alloc_minor(struct capidev *cdev, struct capincci *np) in capincci_alloc_minor()
335 capincci_alloc_minor(struct capidev *cdev, struct capincci *np) { } in capincci_alloc_minor()
340 static struct capincci *capincci_alloc(struct capidev *cdev, u32 ncci) in capincci_alloc()
357 static void capincci_free(struct capidev *cdev, u32 ncci) in capincci_free()
370 static struct capincci *capincci_find(struct capidev *cdev, u32 ncci) in capincci_find()
570 struct capidev *cdev = ap->private; in capi_recv_message() local
648 struct capidev *cdev = file->private_data; in capi_read() local
683 struct capidev *cdev = file->private_data; in capi_write() local
730 struct capidev *cdev = file->private_data; in capi_poll() local
[all …]

12345678