Searched refs:cdev (Results 1 - 25 of 673) sorted by relevance

1234567891011>>

/linux-master/sound/usb/caiaq/
H A Daudio.h5 int snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *cdev);
6 void snd_usb_caiaq_audio_free(struct snd_usb_caiaqdev *cdev);
H A Dinput.h5 void snd_usb_caiaq_input_dispatch(struct snd_usb_caiaqdev *cdev, char *buf, unsigned int len);
6 int snd_usb_caiaq_input_init(struct snd_usb_caiaqdev *cdev);
7 void snd_usb_caiaq_input_free(struct snd_usb_caiaqdev *cdev);
H A Dcontrol.h5 int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev);
H A Dmidi.h5 int snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *cdev);
6 void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev,
H A Ddevice.c135 struct snd_usb_caiaqdev *cdev = urb->context; local
138 if (urb->status || !cdev) {
145 memcpy(&cdev->spec, buf+1, sizeof(struct caiaq_device_spec));
146 cdev->spec.fw_version = le16_to_cpu(cdev->spec.fw_version);
149 cdev->spec.fw_version,
150 cdev->spec.num_analog_audio_in,
151 cdev->spec.num_analog_audio_out,
152 cdev->spec.num_midi_in,
153 cdev
190 snd_usb_caiaq_send_command(struct snd_usb_caiaqdev *cdev, unsigned char command, const unsigned char *buffer, int len) argument
212 snd_usb_caiaq_send_command_bank(struct snd_usb_caiaqdev *cdev, unsigned char command, unsigned char bank, const unsigned char *buffer, int len) argument
237 snd_usb_caiaq_set_audio_params(struct snd_usb_caiaqdev *cdev, int rate, int depth, int bpp) argument
285 snd_usb_caiaq_set_auto_msg(struct snd_usb_caiaqdev *cdev, int digital, int analog, int erp) argument
293 setup_card(struct snd_usb_caiaqdev *cdev) argument
386 struct snd_usb_caiaqdev *cdev; local
412 init_card(struct snd_usb_caiaqdev *cdev) argument
526 struct snd_usb_caiaqdev *cdev; local
[all...]
H A Dmidi.c28 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; local
30 if (!cdev)
33 cdev->midi_receive_substream = up ? substream : NULL;
44 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; local
45 if (cdev->midi_out_active) {
46 usb_kill_urb(&cdev->midi_out_urb);
47 cdev->midi_out_active = 0;
52 static void snd_usb_caiaq_midi_send(struct snd_usb_caiaqdev *cdev, argument
56 struct device *dev = caiaqdev_to_dev(cdev);
58 cdev
80 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; local
106 snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *cdev, int port, const char *buf, int len) argument
152 struct snd_usb_caiaqdev *cdev = urb->context; local
[all...]
H A Daudio.c30 #define MAKE_CHECKBYTE(cdev,stream,i) \
31 (stream << 1) | (~(i / (cdev->n_streams * BYTES_PER_SAMPLE_USB)) & 1)
51 activate_substream(struct snd_usb_caiaqdev *cdev, argument
54 spin_lock(&cdev->spinlock);
57 cdev->sub_playback[sub->number] = sub;
59 cdev->sub_capture[sub->number] = sub;
61 spin_unlock(&cdev->spinlock);
65 deactivate_substream(struct snd_usb_caiaqdev *cdev, argument
69 spin_lock_irqsave(&cdev->spinlock, flags);
72 cdev
89 stream_start(struct snd_usb_caiaqdev *cdev) argument
120 stream_stop(struct snd_usb_caiaqdev *cdev) argument
143 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); local
155 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); local
172 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); local
189 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); local
273 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); local
298 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); local
330 check_for_elapsed_periods(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream **subs) argument
353 read_in_urb_mode0(struct snd_usb_caiaqdev *cdev, const struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
381 read_in_urb_mode2(struct snd_usb_caiaqdev *cdev, const struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
428 read_in_urb_mode3(struct snd_usb_caiaqdev *cdev, const struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
484 read_in_urb(struct snd_usb_caiaqdev *cdev, const struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
516 fill_out_urb_mode_0(struct snd_usb_caiaqdev *cdev, struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
550 fill_out_urb_mode_3(struct snd_usb_caiaqdev *cdev, struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
593 fill_out_urb(struct snd_usb_caiaqdev *cdev, struct urb *urb, const struct usb_iso_packet_descriptor *iso) argument
611 struct snd_usb_caiaqdev *cdev; local
687 struct snd_usb_caiaqdev *cdev = info->cdev; local
697 alloc_urbs(struct snd_usb_caiaqdev *cdev, int dir, int *ret) argument
771 snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *cdev) argument
872 snd_usb_caiaq_audio_free(struct snd_usb_caiaqdev *cdev) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_selftest.h11 * @cdev: Qed dev pointer.
15 int qed_selftest_memory(struct qed_dev *cdev);
20 * @cdev: Qed dev pointer.
24 int qed_selftest_interrupt(struct qed_dev *cdev);
29 * @cdev: Qed dev pointer.
33 int qed_selftest_register(struct qed_dev *cdev);
38 * @cdev: Qed dev pointer.
42 int qed_selftest_clock(struct qed_dev *cdev);
47 * @cdev: Qed dev pointer.
51 int qed_selftest_nvram(struct qed_dev *cdev);
[all...]
H A Dqed_debug.h26 int qed_dbg_grc(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
27 int qed_dbg_grc_size(struct qed_dev *cdev);
28 int qed_dbg_idle_chk(struct qed_dev *cdev, void *buffer,
30 int qed_dbg_idle_chk_size(struct qed_dev *cdev);
31 int qed_dbg_reg_fifo(struct qed_dev *cdev, void *buffer,
33 int qed_dbg_reg_fifo_size(struct qed_dev *cdev);
34 int qed_dbg_igu_fifo(struct qed_dev *cdev, void *buffer,
36 int qed_dbg_igu_fifo_size(struct qed_dev *cdev);
37 int qed_dbg_protection_override(struct qed_dev *cdev, void *buffer,
39 int qed_dbg_protection_override_size(struct qed_dev *cdev);
[all...]
H A Dqed_main.c257 static void qed_free_pci(struct qed_dev *cdev) argument
259 struct pci_dev *pdev = cdev->pdev;
261 if (cdev->doorbells && cdev->db_size)
262 iounmap(cdev->doorbells);
263 if (cdev->regview)
264 iounmap(cdev->regview);
276 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) argument
281 cdev->pdev = pdev;
285 DP_NOTICE(cdev, "Canno
376 qed_fill_dev_info(struct qed_dev *cdev, struct qed_dev_info *dev_info) argument
456 qed_free_cdev(struct qed_dev *cdev) argument
463 struct qed_dev *cdev; local
475 qed_set_power_state(struct qed_dev *cdev, pci_power_t state) argument
488 struct qed_dev *cdev; local
530 qed_remove(struct qed_dev *cdev) argument
544 qed_disable_msix(struct qed_dev *cdev) argument
556 qed_enable_msix(struct qed_dev *cdev, struct qed_int_params *int_params) argument
606 qed_set_int_mode(struct qed_dev *cdev, bool force_mode) argument
668 qed_simd_handler_config(struct qed_dev *cdev, void *token, int index, void(*handler)(void *)) argument
678 qed_simd_handler_clean(struct qed_dev *cdev, int index) argument
695 struct qed_dev *cdev = (struct qed_dev *)dev_instance; local
745 struct qed_dev *cdev = hwfn->cdev; local
796 struct qed_dev *cdev = p_hwfn->cdev; local
809 qed_slowpath_irq_free(struct qed_dev *cdev) argument
827 qed_nic_stop(struct qed_dev *cdev) argument
850 qed_nic_setup(struct qed_dev *cdev) argument
874 qed_set_int_fp(struct qed_dev *cdev, u16 cnt) argument
892 qed_get_int_fp(struct qed_dev *cdev, struct qed_int_info *info) argument
915 qed_slowpath_setup_int(struct qed_dev *cdev, enum qed_int_mode int_mode) argument
987 qed_slowpath_vf_setup_int(struct qed_dev *cdev) argument
1046 qed_alloc_stream_mem(struct qed_dev *cdev) argument
1067 qed_free_stream_mem(struct qed_dev *cdev) argument
1082 qed_update_pf_params(struct qed_dev *cdev, struct qed_pf_params *params) argument
1152 qed_slowpath_wq_stop(struct qed_dev *cdev) argument
1206 qed_slowpath_wq_start(struct qed_dev *cdev) argument
1235 qed_slowpath_start(struct qed_dev *cdev, struct qed_slowpath_params *params) argument
1395 qed_slowpath_stop(struct qed_dev *cdev) argument
1430 qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) argument
1439 qed_sb_init(struct qed_dev *cdev, struct qed_sb_info *sb_info, void *sb_virt_addr, dma_addr_t sb_phy_addr, u16 sb_id, enum qed_sb_type type) argument
1479 qed_sb_release(struct qed_dev *cdev, struct qed_sb_info *sb_info, u16 sb_id, enum qed_sb_type type) argument
1506 qed_can_link_change(struct qed_dev *cdev) argument
1652 qed_set_link(struct qed_dev *cdev, struct qed_link_params *params) argument
2181 qed_get_current_link(struct qed_dev *cdev, struct qed_link_output *if_link) argument
2227 qed_drain(struct qed_dev *cdev) argument
2252 qed_nvm_flash_image_access_crc(struct qed_dev *cdev, struct qed_nvm_image_att *nvm_image, u32 *crc) argument
2301 qed_nvm_flash_image_access(struct qed_dev *cdev, const u8 **data, bool *check_resp) argument
2403 qed_nvm_flash_image_file_start(struct qed_dev *cdev, const u8 **data, bool *check_resp) argument
2439 qed_nvm_flash_image_file_data(struct qed_dev *cdev, const u8 **data, bool *check_resp) argument
2471 qed_nvm_flash_image_validate(struct qed_dev *cdev, const struct firmware *image, const u8 **data) argument
2526 qed_nvm_flash_cfg_write(struct qed_dev *cdev, const u8 **data) argument
2593 qed_nvm_flash_cfg_len(struct qed_dev *cdev, u32 cmd) argument
2617 qed_nvm_flash_cfg_read(struct qed_dev *cdev, u8 **data, u32 cmd, u32 entity_id) argument
2641 qed_nvm_flash(struct qed_dev *cdev, const char *name) argument
2727 qed_nvm_get_image(struct qed_dev *cdev, enum qed_nvm_images type, u8 *buf, u16 len) argument
2777 qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, void *handle) argument
2783 qed_set_led(struct qed_dev *cdev, enum qed_led_mode mode) argument
2800 qed_recovery_process(struct qed_dev *cdev) argument
2817 qed_update_wol(struct qed_dev *cdev, bool enabled) argument
2841 qed_update_drv_state(struct qed_dev *cdev, bool active) argument
2863 qed_update_mac(struct qed_dev *cdev, const u8 *mac) argument
2887 qed_update_mtu(struct qed_dev *cdev, u16 mtu) argument
2912 qed_get_sb_info(struct qed_dev *cdev, struct qed_sb_info *sb, u16 qid, struct qed_sb_info_dbg *sb_dbg) argument
2935 qed_read_module_eeprom(struct qed_dev *cdev, char *buf, u8 dev_addr, u32 offset, u32 len) argument
2957 qed_set_grc_config(struct qed_dev *cdev, u32 cfg_id, u32 val) argument
2977 qed_mfw_report(struct qed_dev *cdev, char *fmt, ...) argument
2998 qed_get_affin_hwfn_idx(struct qed_dev *cdev) argument
3003 qed_get_esl_status(struct qed_dev *cdev, bool *esl_active) argument
3085 qed_get_protocol_stats(struct qed_dev *cdev, enum qed_mcp_protocol_type type, union qed_mcp_protocol_stats *stats) argument
3131 qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv) argument
3174 struct qed_dev *cdev = hwfn->cdev; local
[all...]
/linux-master/drivers/s390/cio/
H A Ddevice_fsm.c38 static void ccw_timeout_log(struct ccw_device *cdev) argument
46 sch = to_subchannel(cdev->dev.parent);
57 dev_name(&cdev->dev));
74 cdev->private->dma_area->iccws)
85 cdev->private->state);
92 &cdev->private->flags, sizeof(cdev->private->flags), 0);
102 struct ccw_device *cdev = priv->cdev; local
104 spin_lock_irq(cdev
115 ccw_device_set_timeout(struct ccw_device *cdev, int expires) argument
124 ccw_device_cancel_halt_clear(struct ccw_device *cdev) argument
140 ccw_device_update_sense_data(struct ccw_device *cdev) argument
149 ccw_device_test_sense_data(struct ccw_device *cdev) argument
189 ccw_device_recog_done(struct ccw_device *cdev, int state) argument
259 ccw_device_sense_id_done(struct ccw_device *cdev, int err) argument
285 ccw_device_notify(struct ccw_device *cdev, int event) argument
308 ccw_device_oper_notify(struct ccw_device *cdev) argument
328 ccw_device_done(struct ccw_device *cdev, int state) argument
387 ccw_device_recognition(struct ccw_device *cdev) argument
411 ccw_device_request_event(struct ccw_device *cdev, enum dev_event e) argument
428 ccw_device_report_path_events(struct ccw_device *cdev) argument
447 ccw_device_reset_path_events(struct ccw_device *cdev) argument
473 ccw_device_handle_broken_paths(struct ccw_device *cdev) argument
484 ccw_device_verify_done(struct ccw_device *cdev, int err) argument
543 ccw_device_online(struct ccw_device *cdev) argument
566 ccw_device_disband_done(struct ccw_device *cdev, int err) argument
586 ccw_device_offline(struct ccw_device *cdev) argument
627 ccw_device_generic_notoper(struct ccw_device *cdev, enum dev_event dev_event) argument
639 ccw_device_offline_verify(struct ccw_device *cdev, enum dev_event dev_event) argument
651 ccw_device_online_verify(struct ccw_device *cdev, enum dev_event dev_event) argument
689 ccw_device_boxed_verify(struct ccw_device *cdev, enum dev_event dev_event) argument
706 ccw_device_call_handler(struct ccw_device *cdev) argument
745 ccw_device_irq(struct ccw_device *cdev, enum dev_event dev_event) argument
790 ccw_device_online_timeout(struct ccw_device *cdev, enum dev_event dev_event) argument
814 ccw_device_w4sense(struct ccw_device *cdev, enum dev_event dev_event) argument
865 ccw_device_killing_irq(struct ccw_device *cdev, enum dev_event dev_event) argument
877 ccw_device_killing_timeout(struct ccw_device *cdev, enum dev_event dev_event) argument
893 ccw_device_kill_io(struct ccw_device *cdev) argument
914 ccw_device_delay_verify(struct ccw_device *cdev, enum dev_event dev_event) argument
921 ccw_device_start_id(struct ccw_device *cdev, enum dev_event dev_event) argument
933 ccw_device_trigger_reprobe(struct ccw_device *cdev) argument
965 ccw_device_disabled_irq(struct ccw_device *cdev, enum dev_event dev_event) argument
979 ccw_device_change_cmfstate(struct ccw_device *cdev, enum dev_event dev_event) argument
986 ccw_device_update_cmfblock(struct ccw_device *cdev, enum dev_event dev_event) argument
995 ccw_device_quiesce_done(struct ccw_device *cdev, enum dev_event dev_event) argument
1003 ccw_device_quiesce_timeout(struct ccw_device *cdev, enum dev_event dev_event) argument
1021 ccw_device_nop(struct ccw_device *cdev, enum dev_event dev_event) argument
[all...]
H A Ddevice_pgid.c29 static void verify_start(struct ccw_device *cdev);
34 static void verify_done(struct ccw_device *cdev, int rc) argument
36 struct subchannel *sch = to_subchannel(cdev->dev.parent);
37 struct ccw_dev_id *id = &cdev->private->dev_id;
38 int mpath = cdev->private->flags.mpath;
39 int pgroup = cdev->private->flags.pgroup;
52 ccw_device_verify_done(cdev, rc);
58 static void nop_build_cp(struct ccw_device *cdev) argument
60 struct ccw_request *req = &cdev->private->req;
61 struct ccw1 *cp = cdev
73 nop_do(struct ccw_device *cdev) argument
93 nop_filter(struct ccw_device *cdev, void *data, struct irb *irb, enum io_status status) argument
105 nop_callback(struct ccw_device *cdev, void *data, int rc) argument
135 spid_build_cp(struct ccw_device *cdev, u8 fn) argument
150 pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) argument
168 pgid_wipeout_start(struct ccw_device *cdev) argument
195 spid_do(struct ccw_device *cdev) argument
228 spid_callback(struct ccw_device *cdev, void *data, int rc) argument
267 spid_start(struct ccw_device *cdev) argument
301 pgid_analyze(struct ccw_device *cdev, struct pgid **p, int *mismatch, u8 *reserved, u8 *reset) argument
333 pgid_to_donepm(struct ccw_device *cdev) argument
367 pgid_fill(struct ccw_device *cdev, struct pgid *pgid) argument
379 snid_done(struct ccw_device *cdev, int rc) argument
437 snid_build_cp(struct ccw_device *cdev) argument
454 snid_do(struct ccw_device *cdev) argument
481 snid_callback(struct ccw_device *cdev, void *data, int rc) argument
511 verify_start(struct ccw_device *cdev) argument
557 ccw_device_verify_start(struct ccw_device *cdev) argument
575 disband_callback(struct ccw_device *cdev, void *data, int rc) argument
602 ccw_device_disband_start(struct ccw_device *cdev) argument
629 stlck_build_cp(struct ccw_device *cdev, void *buf1, void *buf2) argument
645 stlck_callback(struct ccw_device *cdev, void *data, int rc) argument
662 ccw_device_stlck_start(struct ccw_device *cdev, void *data, void *buf1, void *buf2) argument
684 ccw_device_stlck(struct ccw_device *cdev) argument
[all...]
H A Ddevice.c63 struct ccw_device *cdev = to_ccwdev(dev); local
70 found = ccw_device_id_match(ids, &cdev->id);
74 cdev->id.driver_info = found->driver_info;
106 const struct ccw_device *cdev = to_ccwdev(dev); local
107 const struct ccw_device_id *id = &(cdev->id);
200 struct ccw_device *cdev = to_ccwdev(dev); local
201 struct ccw_device_id *id = &(cdev->id);
213 struct ccw_device *cdev = to_ccwdev(dev); local
214 struct ccw_device_id *id = &(cdev->id);
223 struct ccw_device *cdev local
235 struct ccw_device *cdev = to_ccwdev(dev); local
240 ccw_device_is_orphan(struct ccw_device *cdev) argument
245 ccw_device_unregister(struct ccw_device *cdev) argument
274 ccw_device_set_offline(struct ccw_device *cdev) argument
351 ccw_device_set_online(struct ccw_device *cdev) argument
438 online_store_handle_offline(struct ccw_device *cdev) argument
451 online_store_recog_and_online(struct ccw_device *cdev) argument
469 online_store_handle_online(struct ccw_device *cdev, int force) argument
492 struct ccw_device *cdev = to_ccwdev(dev); local
542 struct ccw_device *cdev = to_ccwdev(dev); local
629 struct ccw_device *cdev = to_ccwdev(dev); local
655 ccw_device_do_unbind_bind(struct ccw_device *cdev) argument
671 struct ccw_device *cdev; local
685 struct ccw_device *cdev; local
732 io_subchannel_initialize_dev(struct subchannel *sch, struct ccw_device *cdev) argument
780 struct ccw_device *cdev; local
796 struct ccw_device *cdev; local
812 io_subchannel_register(struct ccw_device *cdev) argument
875 io_subchannel_recog_done(struct ccw_device *cdev) argument
901 io_subchannel_recog(struct ccw_device *cdev, struct subchannel *sch) argument
912 ccw_device_move_to_sch(struct ccw_device *cdev, struct subchannel *sch) argument
975 ccw_device_move_to_orph(struct ccw_device *cdev) argument
985 struct ccw_device *cdev; local
1028 struct ccw_device *cdev; local
1089 struct ccw_device *cdev; local
1109 struct ccw_device *cdev; local
1120 struct ccw_device *cdev; local
1148 struct ccw_device *cdev = sch_get_cdev(sch); local
1203 struct ccw_device *cdev; local
1239 device_is_disconnected(struct ccw_device *cdev) argument
1249 struct ccw_device *cdev = to_ccwdev(dev); local
1320 struct ccw_device *cdev = to_ccwdev(dev); local
1354 ccw_device_set_disconnected(struct ccw_device *cdev) argument
1365 ccw_device_set_notoper(struct ccw_device *cdev) argument
1391 struct ccw_device *cdev; local
1437 struct ccw_device *cdev; local
1558 ccw_device_set_int_class(struct ccw_device *cdev) argument
1571 ccw_device_enable_console(struct ccw_device *cdev) argument
1613 struct ccw_device *cdev; local
1649 ccw_device_destroy_console(struct ccw_device *cdev) argument
1670 ccw_device_wait_idle(struct ccw_device *cdev) argument
1717 struct ccw_device *cdev = to_ccwdev(dev); local
1735 struct ccw_device *cdev = to_ccwdev(dev); local
1771 struct ccw_device *cdev; local
1819 struct ccw_device *cdev; local
1870 ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo) argument
1894 ccw_device_siosl(struct ccw_device *cdev) argument
[all...]
H A Dccwreq.c41 static u16 ccwreq_next_path(struct ccw_device *cdev) argument
43 struct ccw_request *req = &cdev->private->req;
58 static void ccwreq_stop(struct ccw_device *cdev, int rc) argument
60 struct ccw_request *req = &cdev->private->req;
65 ccw_device_set_timeout(cdev, 0);
66 memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb));
69 req->callback(cdev, req->data, rc);
75 static void ccwreq_do(struct ccw_device *cdev) argument
77 struct ccw_request *req = &cdev->private->req;
78 struct subchannel *sch = to_subchannel(cdev
120 ccw_request_start(struct ccw_device *cdev) argument
151 ccw_request_cancel(struct ccw_device *cdev) argument
170 ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) argument
232 ccwreq_log_status(struct ccw_device *cdev, enum io_status status) argument
255 ccw_request_handler(struct ccw_device *cdev) argument
327 ccw_request_timeout(struct ccw_device *cdev) argument
365 ccw_request_notoper(struct ccw_device *cdev) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Dcmb.h8 extern int enable_cmf(struct ccw_device *cdev);
9 extern int disable_cmf(struct ccw_device *cdev);
10 extern int __disable_cmf(struct ccw_device *cdev);
11 extern u64 cmf_read(struct ccw_device *cdev, int index);
12 extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
/linux-master/include/linux/qed/
H A Dqed_iov_if.h14 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
18 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid);
20 int (*get_config) (struct qed_dev *cdev, int vf_id,
23 int (*set_link_state) (struct qed_dev *cdev, int vf_id,
26 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val);
28 int (*set_rate) (struct qed_dev *cdev, int vfid,
31 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
/linux-master/include/linux/
H A Dcdev.h14 struct cdev { struct
23 void cdev_init(struct cdev *, const struct file_operations *);
25 struct cdev *cdev_alloc(void);
27 void cdev_put(struct cdev *p);
29 int cdev_add(struct cdev *, dev_t, unsigned);
31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
32 int cdev_device_add(struct cdev *cdev, struct device *dev);
33 void cdev_device_del(struct cdev *cdev, struc
[all...]
/linux-master/sound/soc/intel/catpt/
H A Ddevice.c33 struct catpt_dev *cdev = dev_get_drvdata(dev); local
37 chan = catpt_dma_request_config_chan(cdev);
41 memset(&cdev->dx_ctx, 0, sizeof(cdev->dx_ctx));
42 ret = catpt_ipc_enter_dxstate(cdev, CATPT_DX_STATE_D3, &cdev->dx_ctx);
48 ret = catpt_dsp_stall(cdev, true);
52 ret = catpt_store_memdumps(cdev, chan);
54 dev_err(cdev->dev, "store memdumps failed: %d\n", ret);
58 ret = catpt_store_module_states(cdev, cha
77 struct catpt_dev *cdev = dev_get_drvdata(dev); local
136 catpt_register_board(struct catpt_dev *cdev) argument
161 catpt_probe_components(struct catpt_dev *cdev) argument
212 catpt_dev_init(struct catpt_dev *cdev, struct device *dev, const struct catpt_spec *spec) argument
240 struct catpt_dev *cdev; local
298 struct catpt_dev *cdev = platform_get_drvdata(pdev); local
[all...]
H A Ddsp.c29 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev) argument
39 chan = dma_request_channel(mask, catpt_dma_filter, cdev->dev);
41 dev_err(cdev->dev, "request channel failed\n");
54 dev_err(cdev->dev, "slave config failed: %d\n", ret);
62 static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan, argument
73 dev_err(cdev->dev, "prep dma memcpy failed\n");
78 catpt_updatel_shim(cdev, HMDC,
84 dev_err(cdev->dev, "submit tx failed: %d\n", ret);
93 catpt_updatel_shim(cdev, HMDC,
99 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struc argument
107 catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t dst_addr, dma_addr_t src_addr, size_t size) argument
115 catpt_dmac_probe(struct catpt_dev *cdev) argument
143 catpt_dmac_remove(struct catpt_dev *cdev) argument
154 catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram, unsigned long mask, unsigned long new) argument
189 catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram, unsigned long mask) argument
217 catpt_dsp_stall(struct catpt_dev *cdev, bool stall) argument
229 catpt_dsp_reset(struct catpt_dev *cdev, bool reset) argument
241 lpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable) argument
249 wpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable) argument
257 catpt_dsp_select_lpclock(struct catpt_dev *cdev, bool lp, bool waiti) argument
313 catpt_dsp_update_lpclock(struct catpt_dev *cdev) argument
325 catpt_dsp_set_regs_defaults(struct catpt_dev *cdev) argument
357 catpt_dsp_power_down(struct catpt_dev *cdev) argument
402 catpt_dsp_power_up(struct catpt_dev *cdev) argument
456 catpt_coredump(struct catpt_dev *cdev) argument
[all...]
H A Dipc.c55 static void catpt_dsp_send_tx(struct catpt_dev *cdev, argument
63 memcpy_toio(catpt_outbox_addr(cdev), tx->data, tx->size);
64 catpt_writel_shim(cdev, IPCC, header);
67 static int catpt_wait_msg_completion(struct catpt_dev *cdev, int timeout) argument
69 struct catpt_ipc *ipc = &cdev->ipc;
85 static int catpt_dsp_do_send_msg(struct catpt_dev *cdev, argument
89 struct catpt_ipc *ipc = &cdev->ipc;
101 catpt_dsp_send_tx(cdev, &request);
104 ret = catpt_wait_msg_completion(cdev, timeout);
106 dev_crit(cdev
124 catpt_dsp_send_msg_timeout(struct catpt_dev *cdev, struct catpt_ipc_msg request, struct catpt_ipc_msg *reply, int timeout) argument
138 catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request, struct catpt_ipc_msg *reply) argument
146 catpt_dsp_notify_stream(struct catpt_dev *cdev, union catpt_notify_msg msg) argument
183 catpt_dsp_copy_rx(struct catpt_dev *cdev, u32 header) argument
195 catpt_dsp_process_response(struct catpt_dev *cdev, u32 header) argument
243 struct catpt_dev *cdev = dev_id; local
266 struct catpt_dev *cdev = dev_id; local
[all...]
H A Dloader.c89 int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) argument
93 list_for_each_entry(stream, &cdev->stream_list, node) {
99 dev_dbg(cdev->dev, "storing stream %d ctx: off 0x%08x size %d\n",
102 ret = catpt_dma_memcpy_fromdsp(cdev, chan,
103 cdev->dxbuf_paddr + off,
104 cdev->lpe_base + off,
107 dev_err(cdev->dev, "memcpy fromdsp failed: %d\n", ret);
115 int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan) argument
119 for (i = 0; i < ARRAY_SIZE(cdev->modules); i++) {
124 type = &cdev
145 catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) argument
179 catpt_restore_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) argument
205 catpt_restore_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) argument
238 catpt_restore_fwimage(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_block_hdr *blk) argument
289 catpt_load_block(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_block_hdr *blk, bool alloc) argument
328 catpt_restore_basefw(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_mod_hdr *basefw) argument
371 catpt_restore_module(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_mod_hdr *mod) argument
412 catpt_load_module(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_mod_hdr *mod) argument
459 catpt_restore_firmware(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_hdr *fw) argument
505 catpt_load_firmware(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_hdr *fw) argument
541 catpt_load_image(struct catpt_dev *cdev, struct dma_chan *chan, const char *name, const char *signature, bool restore) argument
581 catpt_load_images(struct catpt_dev *cdev, bool restore) argument
609 catpt_boot_firmware(struct catpt_dev *cdev, bool restore) argument
638 catpt_first_boot_firmware(struct catpt_dev *cdev) argument
[all...]
/linux-master/sound/soc/sof/
H A Dsof-client.h32 #define sof_client_dev_to_sof_dev(cdev) ((cdev)->sdev)
40 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg,
42 static inline int sof_client_ipc_tx_message_no_reply(struct sof_client_dev *cdev, void *ipc_msg) argument
44 return sof_client_ipc_tx_message(cdev, ipc_msg, NULL, 0);
46 int sof_client_ipc_set_get_data(struct sof_client_dev *cdev, void *ipc_msg,
51 struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev);
52 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev);
53 const struct sof_ipc_fw_version *sof_client_get_fw_version(struct sof_client_dev *cdev);
54 size_t sof_client_get_ipc_max_payload_size(struct sof_client_dev *cdev);
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Ddevice.h11 struct cdev *cdev, struct device **devp,
14 void hfi1_cdev_cleanup(struct cdev *cdev, struct device **devp);
/linux-master/drivers/net/can/m_can/
H A Dm_can.c330 static inline u32 m_can_read(struct m_can_classdev *cdev, enum m_can_reg reg) argument
332 return cdev->ops->read_reg(cdev, reg);
335 static inline void m_can_write(struct m_can_classdev *cdev, enum m_can_reg reg, argument
338 cdev->ops->write_reg(cdev, reg, val);
342 m_can_fifo_read(struct m_can_classdev *cdev, argument
345 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE +
351 return cdev->ops->read_fifo(cdev, addr_offse
355 m_can_fifo_write(struct m_can_classdev *cdev, u32 fpi, unsigned int offset, const void *val, size_t val_count) argument
367 m_can_fifo_write_no_off(struct m_can_classdev *cdev, u32 fpi, u32 val) argument
374 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset, u32 *val) argument
382 m_can_config_endisable(struct m_can_classdev *cdev, bool enable) argument
416 m_can_interrupt_enable(struct m_can_classdev *cdev, u32 interrupts) argument
424 m_can_coalescing_disable(struct m_can_classdev *cdev) argument
435 m_can_enable_all_interrupts(struct m_can_classdev *cdev) argument
448 m_can_disable_all_interrupts(struct m_can_classdev *cdev) argument
463 m_can_get_timestamp(struct m_can_classdev *cdev) argument
476 struct m_can_classdev *cdev = netdev_priv(net); local
504 m_can_receive_skb(struct m_can_classdev *cdev, struct sk_buff *skb, u32 timestamp) argument
524 struct m_can_classdev *cdev = netdev_priv(dev); local
589 struct m_can_classdev *cdev = netdev_priv(dev); local
629 struct m_can_classdev *cdev = netdev_priv(dev); local
658 struct m_can_classdev *cdev = netdev_priv(dev); local
717 struct m_can_classdev *cdev = netdev_priv(dev); local
727 m_can_clk_start(struct m_can_classdev *cdev) argument
735 m_can_clk_stop(struct m_can_classdev *cdev) argument
744 struct m_can_classdev *cdev = netdev_priv(dev); local
761 struct m_can_classdev *cdev = netdev_priv(dev); local
836 struct m_can_classdev *cdev = netdev_priv(dev); local
887 struct m_can_classdev *cdev = netdev_priv(dev); local
924 struct m_can_classdev *cdev = netdev_priv(dev); local
959 struct m_can_classdev *cdev = netdev_priv(dev); local
1008 struct m_can_classdev *cdev = netdev_priv(dev); local
1025 struct m_can_classdev *cdev = netdev_priv(dev); local
1048 m_can_tx_update_stats(struct m_can_classdev *cdev, unsigned int msg_mark, u32 timestamp) argument
1069 m_can_finish_tx(struct m_can_classdev *cdev, int transmitted, unsigned int transmitted_frame_len) argument
1083 m_can_start_tx(struct m_can_classdev *cdev) argument
1116 struct m_can_classdev *cdev = netdev_priv(dev); local
1158 m_can_coalescing_update(struct m_can_classdev *cdev, u32 ir) argument
1189 struct m_can_classdev *cdev = netdev_priv(dev); local
1258 struct m_can_classdev *cdev = container_of(timer, struct m_can_classdev, hrtimer); local
1315 struct m_can_classdev *cdev = netdev_priv(dev); local
1391 struct m_can_classdev *cdev = netdev_priv(dev); local
1534 struct m_can_classdev *cdev = netdev_priv(dev); local
1576 m_can_check_core_release(struct m_can_classdev *cdev) argument
1604 m_can_niso_supported(struct m_can_classdev *cdev) argument
1635 m_can_dev_setup(struct m_can_classdev *cdev) argument
1705 struct m_can_classdev *cdev = netdev_priv(dev); local
1719 struct m_can_classdev *cdev = netdev_priv(dev); local
1745 m_can_tx_handler(struct m_can_classdev *cdev, struct sk_buff *skb) argument
1860 m_can_tx_submit(struct m_can_classdev *cdev) argument
1874 struct m_can_classdev *cdev = op->cdev; local
1883 m_can_tx_queue_skb(struct m_can_classdev *cdev, struct sk_buff *skb, bool submit) argument
1895 m_can_start_peripheral_xmit(struct m_can_classdev *cdev, struct sk_buff *skb) argument
1916 struct m_can_classdev *cdev = netdev_priv(dev); local
1949 struct m_can_classdev *cdev = container_of(timer, struct local
1961 struct m_can_classdev *cdev = netdev_priv(dev); local
2047 struct m_can_classdev *cdev = netdev_priv(dev); local
2063 struct m_can_classdev *cdev = netdev_priv(dev); local
2159 m_can_check_mram_cfg(struct m_can_classdev *cdev, u32 mram_max_size) argument
2175 m_can_of_parse_mram(struct m_can_classdev *cdev, const u32 *mram_config_vals) argument
2213 m_can_init_ram(struct m_can_classdev *cdev) argument
2235 m_can_class_get_clocks(struct m_can_classdev *cdev) argument
2298 m_can_class_register(struct m_can_classdev *cdev) argument
2369 m_can_class_unregister(struct m_can_classdev *cdev) argument
2379 struct m_can_classdev *cdev = dev_get_drvdata(dev); local
2407 struct m_can_classdev *cdev = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/base/
H A Dcontainer.c22 struct container_dev *cdev = to_container_dev(dev); local
24 return cdev->offline ? cdev->offline(cdev) : 0;

Completed in 271 milliseconds

1234567891011>>