Searched refs:drain (Results 1 - 17 of 17) sorted by relevance

/drivers/pinctrl/
H A DKconfig47 open drain configuration for the GPIO pins of AS3722 devices. It also
203 open drain configuration for the Palmas series devices like
/drivers/net/wireless/iwlwifi/mvm/
H A Dsta.h170 * that case, we need to drain all the frames for that client from the AC queues
412 bool drain);
H A Ddebugfs.c98 int sta_id, drain, ret; local
103 if (sscanf(buf, "%d %d", &sta_id, &drain) != 2)
107 if (drain < 0 || drain > 1)
117 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count;
H A Dsta.c278 bool drain)
289 cmd.station_flags = drain ? cpu_to_le32(STA_FLG_DRAIN_FLOW) : 0;
305 IWL_ERR(mvm, "Couldn't drain frames for staid %d\n",
435 * calls the drain worker.
277 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) argument
/drivers/block/xen-blkback/
H A Dblkback.c944 atomic_set(&blkif->drain, 1);
951 if (!atomic_read(&blkif->drain))
954 atomic_set(&blkif->drain, 0);
1000 * before drain_complete (in case there's a drain going on)
1003 * pending_free_wq if there's a drain going on, but it has
1006 if (atomic_dec_and_test(&blkif->inflight) && atomic_read(&blkif->drain)) {
1142 bool drain = false; local
1166 drain = true;
1246 if (drain)
H A Dcommon.h278 /* for barrier (drain) requests */
280 atomic_t drain; member in struct:xen_blkif
H A Dxenbus.c136 atomic_set(&blkif->drain, 0);
/drivers/staging/fwserial/
H A Dfwserial.h198 * @wait_tx: waitqueue for sleeping until writer/drain completes tx
216 * @drain: delayed work scheduled to ensure that writes are flushed.
258 struct delayed_work drain; member in struct:fwtty_port
H A Dfwserial.c288 schedule_delayed_work(&port->drain, 0);
714 static int fwtty_tx(struct fwtty_port *port, bool drain) argument
779 if (n == 0 || (!drain && n < WRITER_MINIMUM))
789 schedule_delayed_work(&port->drain, delay);
795 if (drain && len < WAKEUP_CHARS)
810 struct fwtty_port *port = to_port(to_delayed_work(work), drain);
1043 cancel_delayed_work_sync(&port->drain);
1121 schedule_delayed_work(&port->drain, 1);
1334 * First, stop dequeueing from the fifo and wait for writer/drain to leave tx
2240 INIT_DELAYED_WORK(&port->drain, fwtty_drain_t
[all...]
/drivers/staging/line6/
H A Dmidi.c217 .drain = line6_midi_output_drain,
/drivers/staging/dgnc/
H A Ddgnc_tty.c1486 * Hangup the port. Like a close, but don't wait for output to drain.
1589 /* wait for output to drain */
1592 rc = bd->bd_ops->drain(tty, 0);
2199 rc = bd->bd_ops->drain(tty, 0);
2808 rc = ch->ch_bd->bd_ops->drain(tty, 0);
2834 rc = ch->ch_bd->bd_ops->drain(tty, 0);
2852 rc = ch->ch_bd->bd_ops->drain(tty, 0);
2968 /* now wait for all the output to drain */
2970 rc = ch->ch_bd->bd_ops->drain(tty, 0);
2980 rc = ch->ch_bd->bd_ops->drain(tt
[all...]
H A Ddgnc_driver.h175 int (*drain)(struct tty_struct *tty, uint seconds); member in struct:board_ops
H A Ddgnc_cls.c79 .drain = cls_drain,
H A Ddgnc_neo.c82 .drain = neo_drain,
/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c228 unsigned int drain_bits_per_1024ns; /* drain rate */
229 unsigned int speed; /* drain rate, mbps */
311 unsigned long long drain = 1024ULL * p->speed * (p->mtu - 40); local
312 do_div(drain, (p->mtu + 50) * 1000);
313 p->drain_bits_per_1024ns = (unsigned int) drain;
/drivers/gpio/
H A DKconfig487 Open drain outputs are required for this usage.
/drivers/media/dvb-frontends/
H A Ddrxk_hard.c1334 /* down the drain (we don't care about MAGIC_WORD) */
1337 drain = (p_src[0] << 8) | p_src[1];

Completed in 272 milliseconds