Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/net/vmxnet3/
Dvmxnet3_xdp.c22 struct vmxnet3_tx_queue *tq; in vmxnet3_xdp_get_tq() local
29 tq = &adapter->tx_queue[cpu]; in vmxnet3_xdp_get_tq()
31 tq = &adapter->tx_queue[reciprocal_scale(cpu, tq_number)]; in vmxnet3_xdp_get_tq()
33 return tq; in vmxnet3_xdp_get_tq()
117 struct vmxnet3_tx_queue *tq, bool dma_map) in vmxnet3_xdp_xmit_frame() argument
127 dw2 = (tq->tx_ring.gen ^ 0x1) << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_xdp_xmit_frame()
129 ctx.sop_txd = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()
133 tbi = tq->buf_info + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()
135 if (vmxnet3_cmd_ring_desc_avail(&tq->tx_ring) == 0) { in vmxnet3_xdp_xmit_frame()
136 tq->stats.tx_ring_full++; in vmxnet3_xdp_xmit_frame()
[all …]
Dvmxnet3_drv.c116 vmxnet3_tq_stopped(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stopped() argument
118 return tq->stopped; in vmxnet3_tq_stopped()
123 vmxnet3_tq_start(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_start() argument
125 tq->stopped = false; in vmxnet3_tq_start()
126 netif_start_subqueue(adapter->netdev, tq - adapter->tx_queue); in vmxnet3_tq_start()
131 vmxnet3_tq_wake(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_wake() argument
133 tq->stopped = false; in vmxnet3_tq_wake()
134 netif_wake_subqueue(adapter->netdev, (tq - adapter->tx_queue)); in vmxnet3_tq_wake()
139 vmxnet3_tq_stop(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stop() argument
141 tq->stopped = true; in vmxnet3_tq_stop()
[all …]
Dvmxnet3_ethtool.c550 struct vmxnet3_tx_queue *tq = &adapter->tx_queue[i]; in vmxnet3_get_regs() local
555 buf[j++] = VMXNET3_GET_ADDR_LO(tq->tx_ring.basePA); in vmxnet3_get_regs()
556 buf[j++] = VMXNET3_GET_ADDR_HI(tq->tx_ring.basePA); in vmxnet3_get_regs()
557 buf[j++] = tq->tx_ring.size; in vmxnet3_get_regs()
558 buf[j++] = tq->tx_ring.next2fill; in vmxnet3_get_regs()
559 buf[j++] = tq->tx_ring.next2comp; in vmxnet3_get_regs()
560 buf[j++] = tq->tx_ring.gen; in vmxnet3_get_regs()
562 buf[j++] = VMXNET3_GET_ADDR_LO(tq->data_ring.basePA); in vmxnet3_get_regs()
563 buf[j++] = VMXNET3_GET_ADDR_HI(tq->data_ring.basePA); in vmxnet3_get_regs()
564 buf[j++] = tq->data_ring.size; in vmxnet3_get_regs()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Dqcu.c286 struct ath5k_txq_info *tq = &ah->ah_txq[queue]; in ath5k_hw_set_tx_retry_limits() local
292 (tq->tqi_cw_min << AR5K_NODCU_RETRY_LMT_CW_MIN_S) in ath5k_hw_set_tx_retry_limits()
326 struct ath5k_txq_info *tq = &ah->ah_txq[queue]; in ath5k_hw_reset_tx_queue() local
333 (tq->tqi_type == AR5K_TX_QUEUE_INACTIVE)) in ath5k_hw_reset_tx_queue()
341 AR5K_REG_SM(tq->tqi_cw_min, AR5K_DCU_LCL_IFS_CW_MIN) | in ath5k_hw_reset_tx_queue()
342 AR5K_REG_SM(tq->tqi_cw_max, AR5K_DCU_LCL_IFS_CW_MAX) | in ath5k_hw_reset_tx_queue()
343 AR5K_REG_SM(tq->tqi_aifs, AR5K_DCU_LCL_IFS_AIFS), in ath5k_hw_reset_tx_queue()
366 if (tq->tqi_cbr_period) { in ath5k_hw_reset_tx_queue()
367 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_cbr_period, in ath5k_hw_reset_tx_queue()
369 AR5K_REG_SM(tq->tqi_cbr_overflow_limit, in ath5k_hw_reset_tx_queue()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c233 static inline unsigned int txq_avail(const struct sge_txq *tq) in txq_avail() argument
235 return tq->size - 1 - tq->in_use; in txq_avail()
307 const struct ulptx_sgl *sgl, const struct sge_txq *tq) in unmap_sgl() argument
326 if (likely((u8 *)(p + 1) <= (u8 *)tq->stat)) { in unmap_sgl()
333 } else if ((u8 *)p == (u8 *)tq->stat) { in unmap_sgl()
334 p = (const struct ulptx_sge_pair *)tq->desc; in unmap_sgl()
336 } else if ((u8 *)p + 8 == (u8 *)tq->stat) { in unmap_sgl()
337 const __be64 *addr = (const __be64 *)tq->desc; in unmap_sgl()
345 const __be64 *addr = (const __be64 *)tq->desc; in unmap_sgl()
357 if ((u8 *)p == (u8 *)tq->stat) in unmap_sgl()
[all …]
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6qp-mba6b.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
16 compatible = "tq,imx6qp-mba6x-b", "tq,mba6b",
17 "tq,imx6qp-tqma6qp-b", "fsl,imx6qp";
Dimx6q-mba6a.dts6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
18 compatible = "tq,imx6q-mba6x-a", "tq,mba6a",
19 "tq,imx6q-tqma6q-a", "fsl,imx6q";
Dimx6q-mba6b.dts6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
18 compatible = "tq,imx6q-mba6x-b", "tq,mba6b",
19 "tq,imx6q-tqma6q-b", "fsl,imx6q";
Dimx6dl-mba6a.dts6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
19 compatible = "tq,imx6dl-mba6x-a", "tq,mba6a",
20 "tq,imx6dl-tqma6dl-a", "fsl,imx6dl";
Dimx6dl-mba6b.dts6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
19 compatible = "tq,imx6dl-mba6x-b", "tq,mba6b",
20 "tq,imx6dl-tqma6dl-b", "fsl,imx6dl";
Dimx6ull-tqma6ull2-mba6ulx.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
14 compatible = "tq,imx6ull-tqma6ull2-mba6ulx", "tq,imx6ull-tqma6ull2", "fsl,imx6ull";
Dimx6ull-tqma6ull2l-mba6ulx.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
14 compatible = "tq,imx6ull-tqma6ull2l-mba6ulx", "tq,imx6ull-tqma6ull2l", "fsl,imx6ull";
Dimx6ul-tqma6ul2-mba6ulx.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
14 compatible = "tq,imx6ul-tqma6ul2-mba6ulx", "tq,imx6ul-tqma6ul2", "fsl,imx6ul";
Dimx6ul-tqma6ul2l-mba6ulx.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
14 compatible = "tq,imx6ul-tqma6ul2l-mba6ulx", "tq,imx6ul-tqma6ul2l", "fsl,imx6ul";
Dimx7s-mba7.dts6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
17 compatible = "tq,imx7s-mba7", "tq,imx7s-tqma7", "fsl,imx7s";
Dimx6ul-tqma6ul1-mba6ulx.dts4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
14 compatible = "tq,imx6ul-tqma6ul1-mba6ulx", "tq,imx6ul-tqma6ul1", "fsl,imx6ul";
Dimx6ul-tqma6ul1.dtsi4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
11 compatible = "tq,imx6ul-tqma6ul1", "fsl,imx6ul";
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-jpeg.c212 int c, h_v, tq; in jpeg_parse_frame_header() local
233 tq = jpeg_get_byte(stream); in jpeg_parse_frame_header()
234 if (tq < 0) in jpeg_parse_frame_header()
235 return tq; in jpeg_parse_frame_header()
242 component->quantization_table_selector = tq; in jpeg_parse_frame_header()
318 u8 pq, tq, *qk; in jpeg_parse_quantization_tables() local
336 tq = pq_tq & 0xf; in jpeg_parse_quantization_tables()
337 if (tq > 3) in jpeg_parse_quantization_tables()
347 tables[tq].start = qk; in jpeg_parse_quantization_tables()
348 tables[tq].length = pq ? 128 : 64; in jpeg_parse_quantization_tables()
/linux-6.6.21/drivers/net/can/dev/
Dbittiming.c85 brp64 = (u64)priv->clock.freq * (u64)bt->tq; in can_fixup_bittiming()
107 bt->tq = DIV_U64_ROUND_CLOSEST(mul_u32_u32(bt->brp, NSEC_PER_SEC), in can_fixup_bittiming()
144 if (!bt->tq && bt->bitrate && btc) in can_get_bittiming()
146 if (bt->tq && !bt->bitrate && btc) in can_get_bittiming()
148 if (!bt->tq && bt->bitrate && bitrate_const) in can_get_bittiming()
/linux-6.6.21/arch/arm64/boot/dts/freescale/
Dimx8mp-tqma8mpql-mba8mpxl-lvds.dtso3 * Copyright (c) 2022 TQ-Systems GmbH <linux@ew.tq-group.com>,
12 compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
/linux-6.6.21/net/tipc/
Dtrace.h284 TP_PROTO(struct tipc_link *r, u16 f, u16 t, struct sk_buff_head *tq),
286 TP_ARGS(r, f, t, tq),
301 __entry->len = skb_queue_len(tq);
303 msg_seqno(buf_msg(skb_peek(tq))) : 0;
305 msg_seqno(buf_msg(skb_peek_tail(tq))) : 0;
314 TP_PROTO(struct tipc_link *r, u16 f, u16 t, struct sk_buff_head *tq),
315 TP_ARGS(r, f, t, tq),
320 TP_PROTO(struct tipc_link *r, u16 f, u16 t, struct sk_buff_head *tq),
321 TP_ARGS(r, f, t, tq),
/linux-6.6.21/drivers/input/serio/
Dhp_sdc.c190 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_take()
316 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_tasklet()
378 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
392 if (hp_sdc.tq[curridx] != NULL) in hp_sdc_put()
412 curr = hp_sdc.tq[curridx]; in hp_sdc_put()
416 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
430 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
573 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
609 if (hp_sdc.tq[i] == this) in __hp_sdc_enqueue_transaction()
617 if (hp_sdc.tq[i] == NULL) { in __hp_sdc_enqueue_transaction()
[all …]
/linux-6.6.21/drivers/net/
Difb.c53 struct sk_buff_head tq; member
96 skb = skb_peek(&txp->tq); in ifb_ri_tasklet()
100 skb_queue_splice_tail_init(&txp->rq, &txp->tq); in ifb_ri_tasklet()
104 while ((skb = __skb_dequeue(&txp->tq)) != NULL) { in ifb_ri_tasklet()
120 if (skb_queue_len(&txp->tq) != 0) in ifb_ri_tasklet()
198 __skb_queue_head_init(&txp->tq); in ifb_dev_init()
305 __skb_queue_purge(&txp->tq); in ifb_dev_free()
/linux-6.6.21/Documentation/devicetree/bindings/arm/
Dfsl.yaml245 - const: tq,mba53
246 - const: tq,tqma53
390 - const: tq,imx6q-mba6x-a
391 - const: tq,mba6a # Expected by bootloader, to be removed in the future
392 - const: tq,imx6q-tqma6q-a
397 - const: tq,imx6q-mba6x-b
398 - const: tq,mba6b # Expected by bootloader, to be removed in the future
399 - const: tq,imx6q-tqma6q-b
427 - const: tq,imx6qp-mba6x-b
428 - const: tq,mba6b # Expected by bootloader, to be removed in the future
[all …]
/linux-6.6.21/drivers/input/keyboard/
Dsunkbd.c60 struct work_struct tq; member
100 schedule_work(&sunkbd->tq); in sunkbd_interrupt()
227 struct sunkbd *sunkbd = container_of(work, struct sunkbd, tq); in sunkbd_reinit()
250 cancel_work_sync(&sunkbd->tq); in sunkbd_enable()
274 INIT_WORK(&sunkbd->tq, sunkbd_reinit); in sunkbd_connect()

1234