Home
last modified time | relevance | path

Searched refs:drain (Results 1 – 25 of 37) sorted by relevance

12

/drivers/dma/dw/
Didma32.c161 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan() argument
165 if (drain) in idma32_suspend_chan()
171 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan() argument
175 if (drain) in idma32_resume_chan()
Ddw.c32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan() argument
39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan() argument
Dregs.h327 void (*suspend_chan)(struct dw_dma_chan *dwc, bool drain);
328 void (*resume_chan)(struct dw_dma_chan *dwc, bool drain);
Dcore.c804 static void dwc_chan_pause(struct dw_dma_chan *dwc, bool drain) in dwc_chan_pause() argument
809 dw->suspend_chan(dwc, drain); in dwc_chan_pause()
829 static inline void dwc_chan_resume(struct dw_dma_chan *dwc, bool drain) in dwc_chan_resume() argument
833 dw->resume_chan(dwc, drain); in dwc_chan_resume()
/drivers/infiniband/hw/mlx5/
Dwr.h45 const struct ib_send_wr **bad_wr, bool drain);
47 const struct ib_recv_wr **bad_wr, bool drain);
Dwr.c1279 const struct ib_send_wr **bad_wr, bool drain) in mlx5_ib_post_send() argument
1300 !drain)) { in mlx5_ib_post_send()
1462 const struct ib_recv_wr **bad_wr, bool drain) in mlx5_ib_post_recv() argument
1476 !drain)) { in mlx5_ib_post_recv()
/drivers/block/xen-blkback/
Dblkback.c697 if (atomic_dec_and_test(&ring->inflight) && atomic_read(&blkif->drain)) { in xen_blkbk_unmap_and_respond_callback()
1023 atomic_set(&blkif->drain, 1); in xen_blk_drain_io()
1030 if (!atomic_read(&blkif->drain)) in xen_blk_drain_io()
1033 atomic_set(&blkif->drain, 0); in xen_blk_drain_io()
1198 bool drain = false; in dispatch_rw_block_io() local
1223 drain = true; in dispatch_rw_block_io()
1304 if (drain) in dispatch_rw_block_io()
Dcommon.h315 atomic_t drain; member
/drivers/staging/media/meson/vdec/
Dvdec.c122 if (codec_ops->drain) in vdec_poweroff()
123 codec_ops->drain(sess); in vdec_poweroff()
428 if (sess->status >= STATUS_RUNNING && codec_ops->drain) in vdec_stop_streaming()
429 codec_ops->drain(sess); in vdec_stop_streaming()
746 if (codec_ops->drain) { in vdec_decoder_cmd()
748 codec_ops->drain(sess); in vdec_decoder_cmd()
Dvdec.h136 void (*drain)(struct amvdec_session *sess); member
/drivers/staging/fwserial/
Dfwserial.c274 schedule_delayed_work(&port->drain, 0); in __fwtty_restart_tx()
699 static int fwtty_tx(struct fwtty_port *port, bool drain) in fwtty_tx() argument
764 if (n == 0 || (!drain && n < WRITER_MINIMUM)) in fwtty_tx()
774 schedule_delayed_work(&port->drain, delay); in fwtty_tx()
780 if (drain && len < WAKEUP_CHARS) in fwtty_tx()
795 struct fwtty_port *port = to_port(to_delayed_work(work), drain); in fwtty_drain_tx()
1026 cancel_delayed_work_sync(&port->drain); in fwtty_port_shutdown()
1104 schedule_delayed_work(&port->drain, 1); in fwtty_write()
2169 INIT_DELAYED_WORK(&port->drain, fwtty_drain_tx); in fwserial_create()
Dfwserial.h259 struct delayed_work drain; member
/drivers/pinctrl/
DKconfig53 open drain configuration for the GPIO pins of AS3722 devices. It also
279 and configuring push-pull, open-drain, and can also be used as
291 open drain, FPS slots etc.
301 open drain configuration for the Palmas series devices like
/drivers/input/keyboard/
Dapplespi.c419 bool drain; member
729 if (applespi->drain && !applespi->write_active) in applespi_msg_complete()
773 if (applespi->drain) in applespi_send_cmd_msg()
1435 if (applespi->drain) { in applespi_got_data()
1840 applespi->drain = true; in applespi_drain_writes()
1932 applespi->drain = false; in applespi_resume()
/drivers/block/
Dsunvdc.c72 u32 drain; member
551 if (unlikely(port->drain)) { in vdc_queue_rq()
1112 port->drain = 1; in vdc_queue_drain()
1119 port->drain = 0; in vdc_queue_drain()
/drivers/media/platform/sti/delta/
Ddelta.h394 int (*drain)(struct delta_ctx *ctx); member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.h535 bool drain);
Ddebugfs.c115 int sta_id, drain, ret; in iwl_dbgfs_sta_drain_write() local
121 if (sscanf(buf, "%d %d", &sta_id, &drain) != 2) in iwl_dbgfs_sta_drain_write()
125 if (drain < 0 || drain > 1) in iwl_dbgfs_sta_drain_write()
135 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write()
/drivers/dma/
Didma64.c414 static void idma64_chan_deactivate(struct idma64_chan *idma64c, bool drain) in idma64_chan_deactivate() argument
420 if (drain) in idma64_chan_deactivate()
/drivers/infiniband/hw/hfi1/
Ddriver.c1246 int i, drain, ret = 0, is_up = 0; in set_mtu() local
1260 drain = !is_ax(dd) && is_up; in set_mtu()
1262 if (drain) in set_mtu()
1278 if (drain) in set_mtu()
/drivers/tty/
DKconfig316 to drain the FDC TX FIFO.
328 Do not enable unless there is a debug probe attached to drain the FDC
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c313 unsigned long long drain = 1024ULL * p->speed * (p->mtu - 40); in t1_sched_update_parms() local
314 do_div(drain, (p->mtu + 50) * 1000); in t1_sched_update_parms()
315 p->drain_bits_per_1024ns = (unsigned int) drain; in t1_sched_update_parms()
/drivers/gpio/
DTODO74 lookups for polarity inversion, open drain and what not. As we now
/drivers/soc/fsl/qbman/
Dqman.c2624 int orl_empty, drain = 0, ret = 0; in qman_shutdown_fq() local
2702 drain = 1; in qman_shutdown_fq()
2756 if (drain || mcr->alterfq.fqs & QM_MCR_FQS_NOTEMPTY) { in qman_shutdown_fq()
/drivers/infiniband/hw/mlx4/
Dqp.c3488 const struct ib_send_wr **bad_wr, bool drain) in _mlx4_ib_post_send() argument
3528 !drain) { in _mlx4_ib_post_send()
3809 const struct ib_recv_wr **bad_wr, bool drain) in _mlx4_ib_post_recv() argument
3825 !drain) { in _mlx4_ib_post_recv()

12