Home
last modified time | relevance | path

Searched refs:tq (Results 1 – 12 of 12) sorted by relevance

/drivers/net/vmxnet3/
Dvmxnet3_drv.c107 vmxnet3_tq_stopped(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stopped() argument
109 return tq->stopped; in vmxnet3_tq_stopped()
114 vmxnet3_tq_start(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_start() argument
116 tq->stopped = false; in vmxnet3_tq_start()
117 netif_start_subqueue(adapter->netdev, tq - adapter->tx_queue); in vmxnet3_tq_start()
122 vmxnet3_tq_wake(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_wake() argument
124 tq->stopped = false; in vmxnet3_tq_wake()
125 netif_wake_subqueue(adapter->netdev, (tq - adapter->tx_queue)); in vmxnet3_tq_wake()
130 vmxnet3_tq_stop(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stop() argument
132 tq->stopped = true; in vmxnet3_tq_stop()
[all …]
Dvmxnet3_int.h371 #define VMXNET3_WAKE_QUEUE_THRESHOLD(tq) (5) argument
/drivers/net/wireless/ath/ath5k/
Dqcu.c290 struct ath5k_txq_info *tq = &ah->ah_txq[queue]; in ath5k_hw_set_tx_retry_limits() local
296 (tq->tqi_cw_min << AR5K_NODCU_RETRY_LMT_CW_MIN_S) in ath5k_hw_set_tx_retry_limits()
330 struct ath5k_txq_info *tq = &ah->ah_txq[queue]; in ath5k_hw_reset_tx_queue() local
334 tq = &ah->ah_txq[queue]; in ath5k_hw_reset_tx_queue()
339 (tq->tqi_type == AR5K_TX_QUEUE_INACTIVE)) in ath5k_hw_reset_tx_queue()
347 AR5K_REG_SM(tq->tqi_cw_min, AR5K_DCU_LCL_IFS_CW_MIN) | in ath5k_hw_reset_tx_queue()
348 AR5K_REG_SM(tq->tqi_cw_max, AR5K_DCU_LCL_IFS_CW_MAX) | in ath5k_hw_reset_tx_queue()
349 AR5K_REG_SM(tq->tqi_aifs, AR5K_DCU_LCL_IFS_AIFS), in ath5k_hw_reset_tx_queue()
372 if (tq->tqi_cbr_period) { in ath5k_hw_reset_tx_queue()
373 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_cbr_period, in ath5k_hw_reset_tx_queue()
[all …]
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c246 static inline unsigned int txq_avail(const struct sge_txq *tq) in txq_avail() argument
248 return tq->size - 1 - tq->in_use; in txq_avail()
316 const struct ulptx_sgl *sgl, const struct sge_txq *tq) in unmap_sgl() argument
335 if (likely((u8 *)(p + 1) <= (u8 *)tq->stat)) { in unmap_sgl()
342 } else if ((u8 *)p == (u8 *)tq->stat) { in unmap_sgl()
343 p = (const struct ulptx_sge_pair *)tq->desc; in unmap_sgl()
345 } else if ((u8 *)p + 8 == (u8 *)tq->stat) { in unmap_sgl()
346 const __be64 *addr = (const __be64 *)tq->desc; in unmap_sgl()
354 const __be64 *addr = (const __be64 *)tq->desc; in unmap_sgl()
366 if ((u8 *)p == (u8 *)tq->stat) in unmap_sgl()
[all …]
Dcxgb4vf_main.c424 struct sge_txq *tq; in fwevtq_handler() local
441 tq = s->egr_map[eq_idx]; in fwevtq_handler()
442 if (unlikely(tq == NULL)) { in fwevtq_handler()
447 txq = container_of(tq, struct sge_eth_txq, q); in fwevtq_handler()
448 if (unlikely(tq->abs_id != qid)) { in fwevtq_handler()
451 qid, tq->abs_id); in fwevtq_handler()
/drivers/net/
Difb.c51 struct sk_buff_head tq; member
71 if ((skb = skb_peek(&dp->tq)) == NULL) { in ri_tasklet()
73 skb_queue_splice_tail_init(&dp->rq, &dp->tq); in ri_tasklet()
81 while ((skb = __skb_dequeue(&dp->tq)) != NULL) { in ri_tasklet()
98 if (skb_queue_len(&dp->tq) != 0) in ri_tasklet()
226 __skb_queue_purge(&dp->tq); in ifb_close()
236 __skb_queue_head_init(&dp->tq); in ifb_open()
/drivers/input/serio/
Dhp_sdc.c190 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_take()
319 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_tasklet()
381 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
395 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
415 curr = hp_sdc.tq[curridx]; in hp_sdc_put()
419 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
433 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
576 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
612 if (hp_sdc.tq[i] == this) in __hp_sdc_enqueue_transaction()
620 if (hp_sdc.tq[i] == NULL) { in __hp_sdc_enqueue_transaction()
[all …]
/drivers/input/keyboard/
Dsunkbd.c80 struct work_struct tq; member
119 schedule_work(&sunkbd->tq); in sunkbd_interrupt()
226 struct sunkbd *sunkbd = container_of(work, struct sunkbd, tq); in sunkbd_reinit()
269 INIT_WORK(&sunkbd->tq, sunkbd_reinit); in sunkbd_connect()
Dlkkbd.c283 struct work_struct tq; member
470 schedule_work(&lk->tq); in lkkbd_interrupt()
581 struct lkkbd *lk = container_of(work, struct lkkbd, tq); in lkkbd_reinit()
636 INIT_WORK(&lk->tq, lkkbd_reinit); in lkkbd_connect()
/drivers/net/can/
Ddev.c149 bt->tq = (u32)v64; in can_calc_bittiming()
204 brp64 = (u64)priv->clock.freq * (u64)bt->tq; in can_fixup_bittiming()
232 if (!bt->tq) in can_get_bittiming()
554 if (!priv->bittiming.tq && !priv->bittiming.bitrate) { in open_candev()
628 if ((!bt.bitrate && !bt.tq) || (bt.bitrate && bt.tq)) in can_changelink()
DKconfig54 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
/drivers/tty/ipwireless/
Dhardware.c1728 struct ipw_tx_packet *tp, *tq; in ipwireless_hardware_free() local
1739 list_for_each_entry_safe(tp, tq, &hw->tx_queue[i], queue) { in ipwireless_hardware_free()