/linux/drivers/s390/cio/ |
A D | device_fsm.c | 37 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log() 101 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() local 129 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear() 145 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data() 154 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data() 194 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done() 333 ccw_device_done(struct ccw_device *cdev, int state) in ccw_device_done() 392 void ccw_device_recognition(struct ccw_device *cdev) in ccw_device_recognition() 548 ccw_device_online(struct ccw_device *cdev) in ccw_device_online() 591 ccw_device_offline(struct ccw_device *cdev) in ccw_device_offline() [all …]
|
A D | device.c | 666 struct ccw_device *cdev; in ccw_device_release() local 680 struct ccw_device *cdev; in io_subchannel_allocate_dev() local 774 struct ccw_device *cdev; in io_subchannel_create_ccwdev() local 790 struct ccw_device *cdev; in sch_create_and_recog_new_device() local 984 struct ccw_device *cdev; in io_subchannel_irq() local 1027 struct ccw_device *cdev; in io_subchannel_probe() local 1094 struct ccw_device *cdev; in io_subchannel_remove() local 1114 struct ccw_device *cdev; in io_subchannel_verify() local 1123 struct ccw_device *cdev; in io_subchannel_terminate_path() local 1206 struct ccw_device *cdev; in io_subchannel_quiesce() local [all …]
|
A D | device_ops.c | 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() 305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start() 405 int ccw_device_resume(struct ccw_device *cdev) in ccw_device_resume() 436 struct ciw *ccw_device_get_ciw(struct ccw_device *cdev, __u32 ct) in ccw_device_get_ciw() 455 __u8 ccw_device_get_path_mask(struct ccw_device *cdev) in ccw_device_get_path_mask() 640 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask) in ccw_device_get_mdc() 685 int ccw_device_tm_intrg(struct ccw_device *cdev) in ccw_device_tm_intrg() 725 int ccw_device_pnso(struct ccw_device *cdev, in ccw_device_pnso() 741 int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid) in ccw_device_get_cssid() [all …]
|
A D | device_pgid.c | 33 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() 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() 266 static void spid_start(struct ccw_device *cdev) in spid_start() 332 static u8 pgid_to_donepm(struct ccw_device *cdev) in pgid_to_donepm() 436 static void snid_build_cp(struct ccw_device *cdev) in snid_build_cp() 453 static void snid_do(struct ccw_device *cdev) in snid_do() 510 static void verify_start(struct ccw_device *cdev) in verify_start() [all …]
|
A D | device_status.c | 28 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()
|
A D | ccwreq.c | 41 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() 232 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) in ccwreq_log_status() 255 void ccw_request_handler(struct ccw_device *cdev) in ccw_request_handler() 327 void ccw_request_timeout(struct ccw_device *cdev) in ccw_request_timeout() 365 void ccw_request_notoper(struct ccw_device *cdev) in ccw_request_notoper()
|
A D | cmf.c | 258 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib() 478 static int alloc_cmb(struct ccw_device *cdev) in alloc_cmb() 534 static void free_cmb(struct ccw_device *cdev) in free_cmb() 697 static void reset_cmb(struct ccw_device *cdev) in reset_cmb() 988 struct ccw_device *cdev = to_ccwdev(dev); in cmb_show_avg_sample_interval() local 1081 struct ccw_device *cdev = to_ccwdev(dev); in cmb_enable_show() local 1090 struct ccw_device *cdev = to_ccwdev(dev); in cmb_enable_store() local 1124 int enable_cmf(struct ccw_device *cdev) in enable_cmf() 1165 int __disable_cmf(struct ccw_device *cdev) in __disable_cmf() 1189 int disable_cmf(struct ccw_device *cdev) in disable_cmf() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_main.c | 279 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci() 403 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info() 490 struct qed_dev *cdev; in qed_alloc_cdev() local 515 struct qed_dev *cdev; in qed_probe() local 557 static void qed_remove(struct qed_dev *cdev) in qed_remove() 772 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req() local 823 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync() local 855 static int qed_nic_stop(struct qed_dev *cdev) in qed_nic_stop() 1467 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init() 2255 static int qed_drain(struct qed_dev *cdev) in qed_drain() [all …]
|
A D | qed_chain.c | 67 static void qed_chain_free_next_ptr(struct qed_dev *cdev, in qed_chain_free_next_ptr() 95 static void qed_chain_free_single(struct qed_dev *cdev, in qed_chain_free_single() 105 static void qed_chain_free_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free_pbl() 138 void qed_chain_free(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free() 158 qed_chain_alloc_sanity_check(struct qed_dev *cdev, in qed_chain_alloc_sanity_check() 198 static int qed_chain_alloc_next_ptr(struct qed_dev *cdev, in qed_chain_alloc_next_ptr() 232 static int qed_chain_alloc_single(struct qed_dev *cdev, in qed_chain_alloc_single() 249 static int qed_chain_alloc_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_alloc_pbl() 320 int qed_chain_alloc(struct qed_dev *cdev, struct qed_chain *chain, in qed_chain_alloc()
|
/linux/sound/soc/intel/catpt/ |
A D | dsp.c | 105 int catpt_dmac_probe(struct catpt_dev *cdev) in catpt_dmac_probe() 133 void catpt_dmac_remove(struct catpt_dev *cdev) in catpt_dmac_remove() 207 int catpt_dsp_stall(struct catpt_dev *cdev, bool stall) in catpt_dsp_stall() 219 static int catpt_dsp_reset(struct catpt_dev *cdev, bool reset) in catpt_dsp_reset() 231 void lpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable) in lpt_dsp_pll_shutdown() 239 void wpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable) in wpt_dsp_pll_shutdown() 303 int catpt_dsp_update_lpclock(struct catpt_dev *cdev) in catpt_dsp_update_lpclock() 315 static void catpt_dsp_set_regs_defaults(struct catpt_dev *cdev) in catpt_dsp_set_regs_defaults() 347 int catpt_dsp_power_down(struct catpt_dev *cdev) in catpt_dsp_power_down() 392 int catpt_dsp_power_up(struct catpt_dev *cdev) in catpt_dsp_power_up() [all …]
|
A D | registers.h | 140 #define catpt_shim_addr(cdev) \ argument 142 #define catpt_dma_addr(cdev, dma) \ argument 144 #define catpt_ssp_addr(cdev, ssp) \ argument 146 #define catpt_inbox_addr(cdev) \ argument 148 #define catpt_outbox_addr(cdev) \ argument 151 #define catpt_writel_ssp(cdev, ssp, reg, val) \ argument 154 #define catpt_readl_shim(cdev, reg) \ argument 156 #define catpt_writel_shim(cdev, reg, val) \ argument 166 #define catpt_readl_pci(cdev, reg) \ argument 168 #define catpt_writel_pci(cdev, reg, val) \ argument [all …]
|
A D | ipc.c | 55 static void catpt_dsp_send_tx(struct catpt_dev *cdev, in catpt_dsp_send_tx() 67 static int catpt_wait_msg_completion(struct catpt_dev *cdev, int timeout) in catpt_wait_msg_completion() 85 static int catpt_dsp_do_send_msg(struct catpt_dev *cdev, in catpt_dsp_do_send_msg() 124 int catpt_dsp_send_msg_timeout(struct catpt_dev *cdev, in catpt_dsp_send_msg_timeout() 138 int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request, in catpt_dsp_send_msg() 146 catpt_dsp_notify_stream(struct catpt_dev *cdev, union catpt_notify_msg msg) in catpt_dsp_notify_stream() 183 static void catpt_dsp_copy_rx(struct catpt_dev *cdev, u32 header) in catpt_dsp_copy_rx() 195 static void catpt_dsp_process_response(struct catpt_dev *cdev, u32 header) in catpt_dsp_process_response() 243 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_thread() local 266 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_handler() local
|
A D | pcm.c | 101 catpt_stream_find(struct catpt_dev *cdev, u8 stream_hw_id) in catpt_stream_find() 127 static u32 catpt_stream_volume(struct catpt_dev *cdev, in catpt_stream_volume() 140 static u32 catpt_mixer_volume(struct catpt_dev *cdev, in catpt_mixer_volume() 262 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_startup() local 309 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_shutdown() local 332 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_apply_usettings() local 377 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_params() local 430 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_hw_free() local 447 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_prepare() local 470 struct catpt_dev *cdev = dev_get_drvdata(dai->dev); in catpt_dai_trigger() local [all …]
|
A D | device.c | 34 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_suspend() local 78 struct catpt_dev *cdev = dev_get_drvdata(dev); in catpt_resume() local 137 static int catpt_register_board(struct catpt_dev *cdev) in catpt_register_board() 162 static int catpt_probe_components(struct catpt_dev *cdev) in catpt_probe_components() 213 static void catpt_dev_init(struct catpt_dev *cdev, struct device *dev, in catpt_dev_init() 241 struct catpt_dev *cdev; in catpt_acpi_probe() local 302 struct catpt_dev *cdev = platform_get_drvdata(pdev); in catpt_acpi_remove() local
|
/linux/include/linux/ |
A D | cdev.h | 14 struct cdev { struct 23 void cdev_init(struct cdev *, const struct file_operations *); argument
|
/linux/drivers/misc/ |
A D | enclosure.c | 224 static void enclosure_release(struct device *cdev) in enclosure_release() 287 struct device *cdev; in enclosure_component_alloc() local 334 struct device *cdev; in enclosure_component_register() local 366 struct enclosure_component *cdev; in enclosure_add_device() local 401 struct enclosure_component *cdev; in enclosure_remove_device() local 424 static ssize_t components_show(struct device *cdev, in components_show() 433 static ssize_t id_show(struct device *cdev, in id_show() 476 static ssize_t get_component_fault(struct device *cdev, in get_component_fault() 487 static ssize_t set_component_fault(struct device *cdev, in set_component_fault() 621 static ssize_t get_component_type(struct device *cdev, in get_component_type() [all …]
|
/linux/sound/usb/caiaq/ |
A D | audio.c | 30 #define MAKE_CHECKBYTE(cdev,stream,i) \ argument 51 activate_substream(struct snd_usb_caiaqdev *cdev, in activate_substream() 65 deactivate_substream(struct snd_usb_caiaqdev *cdev, in deactivate_substream() 89 static int stream_start(struct snd_usb_caiaqdev *cdev) in stream_start() 120 static void stream_stop(struct snd_usb_caiaqdev *cdev) in stream_stop() 172 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_hw_free() local 353 static void read_in_urb_mode0(struct snd_usb_caiaqdev *cdev, in read_in_urb_mode0() 381 static void read_in_urb_mode2(struct snd_usb_caiaqdev *cdev, in read_in_urb_mode2() 484 static void read_in_urb(struct snd_usb_caiaqdev *cdev, in read_in_urb() 611 struct snd_usb_caiaqdev *cdev; in read_completed() local [all …]
|
A D | input.c | 190 static inline void snd_caiaq_input_report_abs(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_report_abs() 198 static void snd_caiaq_input_read_analog(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_analog() 232 static void snd_caiaq_input_read_erp(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_erp() 290 static void snd_caiaq_input_read_io(struct snd_usb_caiaqdev *cdev, in snd_caiaq_input_read_io() 327 static void snd_usb_caiaq_tks4_dispatch(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_tks4_dispatch() 492 struct snd_usb_caiaqdev *cdev = urb->context; in snd_usb_caiaq_ep4_reply_dispatch() local 534 struct snd_usb_caiaqdev *cdev = input_get_drvdata(idev); in snd_usb_caiaq_input_open() local 553 struct snd_usb_caiaqdev *cdev = input_get_drvdata(idev); in snd_usb_caiaq_input_close() local 567 void snd_usb_caiaq_input_dispatch(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_input_dispatch() 587 int snd_usb_caiaq_input_init(struct snd_usb_caiaqdev *cdev) in snd_usb_caiaq_input_init() [all …]
|
A D | midi.c | 28 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_input_trigger() local 44 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_close() local 52 static void snd_usb_caiaq_midi_send(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_midi_send() 80 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_trigger() local 106 void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev, in snd_usb_caiaq_midi_handle_input() 152 struct snd_usb_caiaqdev *cdev = urb->context; in snd_usb_caiaq_midi_output_done() local
|
/linux/net/atm/ |
A D | atm_sysfs.c | 14 static ssize_t type_show(struct device *cdev, in type_show() 22 static ssize_t address_show(struct device *cdev, in address_show() 30 static ssize_t atmaddress_show(struct device *cdev, in atmaddress_show() 53 static ssize_t atmindex_show(struct device *cdev, in atmindex_show() 61 static ssize_t carrier_show(struct device *cdev, in carrier_show() 70 static ssize_t link_rate_show(struct device *cdev, in link_rate_show() 111 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env) in atm_uevent() 128 static void atm_release(struct device *cdev) in atm_release() 143 struct device *cdev = &adev->class_dev; in atm_register_sysfs() local 172 struct device *cdev = &adev->class_dev; in atm_unregister_sysfs() local
|
/linux/drivers/net/can/m_can/ |
A D | m_can.c | 333 m_can_fifo_read(struct m_can_classdev *cdev, in m_can_fifo_read() 343 m_can_fifo_write(struct m_can_classdev *cdev, in m_can_fifo_write() 433 struct m_can_classdev *cdev = netdev_priv(net); in m_can_clean() local 473 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_read_fifo() local 544 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_do_rx_poll() local 573 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_handle_lost_msg() local 602 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_handle_lec_err() local 664 struct m_can_classdev *cdev = netdev_priv(dev); in __m_can_get_berr_counter() local 691 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_get_berr_counter() local 708 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_handle_state_change() local [all …]
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_ctl.c | 367 static ssize_t pm8001_ctl_aap_log_show(struct device *cdev, in pm8001_ctl_aap_log_show() 513 static ssize_t event_log_size_show(struct device *cdev, in event_log_size_show() 590 static ssize_t non_fatal_log_show(struct device *cdev, in non_fatal_log_show() 600 static ssize_t non_fatal_count_show(struct device *cdev, in non_fatal_count_show() 611 static ssize_t non_fatal_count_store(struct device *cdev, in non_fatal_count_store() 870 static ssize_t pm8001_show_update_fw(struct device *cdev, in pm8001_show_update_fw() 907 static ssize_t ctl_mpi_state_show(struct device *cdev, in ctl_mpi_state_show() 928 static ssize_t ctl_hmi_error_show(struct device *cdev, in ctl_hmi_error_show() 949 static ssize_t ctl_raae_count_show(struct device *cdev, in ctl_raae_count_show() 970 static ssize_t ctl_iop0_count_show(struct device *cdev, in ctl_iop0_count_show() [all …]
|
/linux/drivers/s390/scsi/ |
A D | zfcp_ccw.c | 21 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() 158 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online() 203 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline() 226 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify() 265 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_main.c | 131 struct chtls_dev *cdev; in chtls_inline_feature() local 146 struct chtls_dev *cdev = to_chtls_dev(dev); in chtls_create_hash() local 155 struct chtls_dev *cdev = to_chtls_dev(dev); in chtls_destroy_hash() local 161 static void chtls_free_uld(struct chtls_dev *cdev) in chtls_free_uld() 178 struct chtls_dev *cdev; in chtls_dev_release() local 223 static int chtls_get_skb(struct chtls_dev *cdev) in chtls_get_skb() 238 struct chtls_dev *cdev; in chtls_uld_add() local 303 struct chtls_dev *cdev, *tmp; in chtls_free_all_uld() local 317 struct chtls_dev *cdev = handle; in chtls_uld_state_change() local 421 static void chtls_recv(struct chtls_dev *cdev, in chtls_recv() [all …]
|
/linux/drivers/usb/gadget/ |
A D | composite.c | 248 struct usb_composite_dev *cdev; in config_ep_by_speed_and_alt() local 663 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc() 814 static void device_qual(struct usb_composite_dev *cdev) in device_qual() 849 static int set_config(struct usb_composite_dev *cdev, in set_config() 1000 int usb_add_config(struct usb_composite_dev *cdev, in usb_add_config() 1097 void usb_remove_config(struct usb_composite_dev *cdev, in usb_remove_config() 1160 static int get_string(struct usb_composite_dev *cdev, in get_string() 1275 int usb_string_id(struct usb_composite_dev *cdev) in usb_string_id() 1466 struct usb_composite_dev *cdev; in composite_setup_complete() local 2214 struct usb_composite_dev *cdev) in composite_dev_prepare() [all …]
|