Home
last modified time | relevance | path

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

12345678910>>...35

/kernel/linux/linux-6.6/drivers/s390/cio/
Ddevice_fsm.c38 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log()
102 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() local
115 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout()
124 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear()
140 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data()
149 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data()
189 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done()
259 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
285 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
308 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify()
[all …]
Ddevice.c63 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() local
106 const struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() local
200 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() local
213 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() local
223 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() local
235 struct ccw_device *cdev = to_ccwdev(dev); in online_show() local
240 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan()
245 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister()
274 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline()
351 int ccw_device_set_online(struct ccw_device *cdev) in ccw_device_set_online()
[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()
137 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear()
191 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key()
271 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key()
305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start()
343 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout()
[all …]
Ddevice_pgid.c34 static void verify_done(struct ccw_device *cdev, int rc) in verify_done()
58 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp()
73 static void nop_do(struct ccw_device *cdev) in nop_do()
93 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter()
105 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback()
135 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp()
150 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback()
168 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start()
195 static void spid_do(struct ccw_device *cdev) in spid_do()
228 static void spid_callback(struct ccw_device *cdev, void *data, int rc) in spid_callback()
[all …]
Ddevice_status.c29 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check()
54 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper()
76 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw()
114 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw()
194 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb()
312 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense()
349 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense()
382 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
/kernel/linux/linux-5.10/drivers/s390/cio/
Ddevice_fsm.c37 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
114 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout()
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()
270 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
296 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
319 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify()
[all …]
Ddevice.c63 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() local
106 struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() local
154 struct ccw_device *cdev; in io_subchannel_prepare() local
214 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() local
227 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() local
237 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() local
249 struct ccw_device *cdev = to_ccwdev(dev); in online_show() local
254 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan()
259 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister()
285 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()
137 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear()
191 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key()
271 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key()
305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start()
343 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()
/kernel/linux/linux-5.10/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()
158 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online()
205 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync()
227 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline()
240 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify()
289 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
303 static int zfcp_ccw_suspend(struct ccw_device *cdev) in zfcp_ccw_suspend()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Ddsp.c29 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev) in catpt_dma_request_config_chan()
62 static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy()
99 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_todsp()
107 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_fromdsp()
115 int catpt_dmac_probe(struct catpt_dev *cdev) in catpt_dmac_probe()
143 void catpt_dmac_remove(struct catpt_dev *cdev) in catpt_dmac_remove()
154 static void catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_set_srampge()
189 void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_update_srampge()
217 int catpt_dsp_stall(struct catpt_dev *cdev, bool stall) in catpt_dsp_stall()
229 static int catpt_dsp_reset(struct catpt_dev *cdev, bool reset) in catpt_dsp_reset()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c267 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask()
285 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
306 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
409 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
489 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
496 struct qed_dev *cdev; in qed_alloc_cdev() local
508 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
521 struct qed_dev *cdev; in qed_probe() local
563 static void qed_remove(struct qed_dev *cdev) in qed_remove()
577 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/
Dsof-client.c31 struct sof_client_dev *cdev; member
43 struct sof_client_dev *cdev; member
51 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_client_auxdev_release() local
57 static int sof_client_dev_add_data(struct sof_client_dev *cdev, const void *data, in sof_client_dev_add_data()
212 struct sof_client_dev *cdev; in sof_client_dev_register() local
266 struct sof_client_dev *cdev; in sof_client_dev_unregister() local
287 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg, in sof_client_ipc_tx_message()
306 int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf) in sof_client_ipc_rx_message()
324 int sof_client_ipc_set_get_data(struct sof_client_dev *cdev, void *ipc_msg, in sof_client_ipc_set_get_data()
360 struct sof_client_dev *cdev; in sof_suspend_clients() local
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
Dqed_main.c257 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
276 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
376 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
456 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
463 struct qed_dev *cdev; in qed_alloc_cdev() local
475 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
488 struct qed_dev *cdev; in qed_probe() local
530 static void qed_remove(struct qed_dev *cdev) in qed_remove()
544 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
556 static int qed_enable_msix(struct qed_dev *cdev, in qed_enable_msix()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dcdev.h14 struct cdev { struct
23 void cdev_init(struct cdev *, const struct file_operations *); argument
/kernel/linux/linux-5.10/include/linux/
Dcdev.h14 struct cdev { struct
23 void cdev_init(struct cdev *, const struct file_operations *); argument
/kernel/linux/linux-6.6/sound/usb/caiaq/
Daudio.c30 #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()
143 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_open() local
155 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_close() local
172 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_hw_free() local
189 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_pcm_prepare() local
273 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_trigger() local
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/catpt/
Ddsp.c29 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev) in catpt_dma_request_config_chan()
62 static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy()
99 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_todsp()
107 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_fromdsp()
115 int catpt_dmac_probe(struct catpt_dev *cdev) in catpt_dmac_probe()
143 void catpt_dmac_remove(struct catpt_dev *cdev) in catpt_dmac_remove()
154 static void catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_set_srampge()
189 void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram, in catpt_dsp_update_srampge()
217 int catpt_dsp_stall(struct catpt_dev *cdev, bool stall) in catpt_dsp_stall()
229 static int catpt_dsp_reset(struct catpt_dev *cdev, bool reset) in catpt_dsp_reset()
[all …]
/kernel/linux/linux-6.6/drivers/misc/
Denclosure.c184 static void enclosure_link_name(struct enclosure_component *cdev, char *name) in enclosure_link_name()
190 static void enclosure_remove_links(struct enclosure_component *cdev) in enclosure_remove_links()
207 static int enclosure_add_links(struct enclosure_component *cdev) in enclosure_add_links()
224 static void enclosure_release(struct device *cdev) in enclosure_release()
234 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release() local
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()
[all …]
/kernel/linux/linux-5.10/drivers/misc/
Denclosure.c184 static void enclosure_link_name(struct enclosure_component *cdev, char *name) in enclosure_link_name()
190 static void enclosure_remove_links(struct enclosure_component *cdev) in enclosure_remove_links()
207 static int enclosure_add_links(struct enclosure_component *cdev) in enclosure_add_links()
224 static void enclosure_release(struct device *cdev) in enclosure_release()
234 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release() local
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()
[all …]
/kernel/linux/linux-5.10/sound/usb/caiaq/
Daudio.c30 #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()
143 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_open() local
155 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_substream_close() local
172 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_hw_free() local
189 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(substream); in snd_usb_caiaq_pcm_prepare() local
273 struct snd_usb_caiaqdev *cdev = snd_pcm_substream_chip(sub); in snd_usb_caiaq_pcm_trigger() local
[all …]
/kernel/linux/linux-6.6/net/atm/
Datm_sysfs.c14 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(const 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
/kernel/linux/linux-5.10/net/atm/
Datm_sysfs.c14 static ssize_t show_type(struct device *cdev, in show_type()
22 static ssize_t show_address(struct device *cdev, in show_address()
30 static ssize_t show_atmaddress(struct device *cdev, in show_atmaddress()
53 static ssize_t show_atmindex(struct device *cdev, in show_atmindex()
61 static ssize_t show_carrier(struct device *cdev, in show_carrier()
70 static ssize_t show_link_rate(struct device *cdev, in show_link_rate()
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
/kernel/linux/linux-6.6/drivers/net/can/m_can/
Dm_can.c323 static inline u32 m_can_read(struct m_can_classdev *cdev, enum m_can_reg reg) in m_can_read()
328 static inline void m_can_write(struct m_can_classdev *cdev, enum m_can_reg reg, in m_can_write()
335 m_can_fifo_read(struct m_can_classdev *cdev, in m_can_fifo_read()
348 m_can_fifo_write(struct m_can_classdev *cdev, in m_can_fifo_write()
360 static inline int m_can_fifo_write_no_off(struct m_can_classdev *cdev, in m_can_fifo_write_no_off()
367 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset, u32 *val) in m_can_txe_fifo_read()
380 static inline bool m_can_tx_fifo_full(struct m_can_classdev *cdev) in m_can_tx_fifo_full()
385 static void m_can_config_endisable(struct m_can_classdev *cdev, bool enable) in m_can_config_endisable()
419 static inline void m_can_enable_all_interrupts(struct m_can_classdev *cdev) in m_can_enable_all_interrupts()
432 static inline void m_can_disable_all_interrupts(struct m_can_classdev *cdev) in m_can_disable_all_interrupts()
[all …]

12345678910>>...35