Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmutil/
Dutils.c46 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, in brcmu_pktq_penq() argument
51 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq()
54 q = &pq->q[prec].skblist; in brcmu_pktq_penq()
56 pq->len++; in brcmu_pktq_penq()
58 if (pq->hi_prec < prec) in brcmu_pktq_penq()
59 pq->hi_prec = (u8) prec; in brcmu_pktq_penq()
65 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec, in brcmu_pktq_penq_head() argument
70 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq_head()
73 q = &pq->q[prec].skblist; in brcmu_pktq_penq_head()
75 pq->len++; in brcmu_pktq_penq_head()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/include/
Dbrcmu_utils.h76 static inline int pktq_plen(struct pktq *pq, int prec) in pktq_plen() argument
78 return pq->q[prec].skblist.qlen; in pktq_plen()
81 static inline int pktq_pavail(struct pktq *pq, int prec) in pktq_pavail() argument
83 return pq->q[prec].max - pq->q[prec].skblist.qlen; in pktq_pavail()
86 static inline bool pktq_pfull(struct pktq *pq, int prec) in pktq_pfull() argument
88 return pq->q[prec].skblist.qlen >= pq->q[prec].max; in pktq_pfull()
91 static inline bool pktq_pempty(struct pktq *pq, int prec) in pktq_pempty() argument
93 return skb_queue_empty(&pq->q[prec].skblist); in pktq_pempty()
96 static inline struct sk_buff *pktq_ppeek(struct pktq *pq, int prec) in pktq_ppeek() argument
98 return skb_peek(&pq->q[prec].skblist); in pktq_ppeek()
[all …]
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_user_sdma.c81 struct qib_user_sdma_queue *pq; /* which pq this pkt belongs to */ member
185 struct qib_user_sdma_queue *pq = in qib_user_sdma_queue_create() local
189 if (!pq) in qib_user_sdma_queue_create()
192 pq->counter = 0; in qib_user_sdma_queue_create()
193 pq->sent_counter = 0; in qib_user_sdma_queue_create()
194 pq->num_pending = 0; in qib_user_sdma_queue_create()
195 pq->num_sending = 0; in qib_user_sdma_queue_create()
196 pq->added = 0; in qib_user_sdma_queue_create()
197 pq->sdma_rb_node = NULL; in qib_user_sdma_queue_create()
199 INIT_LIST_HEAD(&pq->sent); in qib_user_sdma_queue_create()
[all …]
Dqib_user_sdma.h38 void qib_user_sdma_queue_destroy(struct qib_user_sdma_queue *pq);
41 struct qib_user_sdma_queue *pq,
46 struct qib_user_sdma_queue *pq);
49 struct qib_user_sdma_queue *pq);
51 u32 qib_user_sdma_complete_counter(const struct qib_user_sdma_queue *pq);
52 u32 qib_user_sdma_inflight_counter(struct qib_user_sdma_queue *pq);
Dqib_file_ops.c1570 fd->pq = qib_user_sdma_queue_create(&dd->pcidev->dev, in do_qib_user_sdma_queue_create()
1574 if (!fd->pq) in do_qib_user_sdma_queue_create()
1815 if (fd->pq) { in qib_close()
1816 qib_user_sdma_queue_drain(rcd->ppd, fd->pq); in qib_close()
1817 qib_user_sdma_queue_destroy(fd->pq); in qib_close()
1910 static int qib_sdma_get_inflight(struct qib_user_sdma_queue *pq, in qib_sdma_get_inflight() argument
1913 const u32 val = qib_user_sdma_inflight_counter(pq); in qib_sdma_get_inflight()
1922 struct qib_user_sdma_queue *pq, in qib_sdma_get_complete() argument
1928 if (!pq) in qib_sdma_get_complete()
1931 err = qib_user_sdma_make_progress(ppd, pq); in qib_sdma_get_complete()
[all …]
/linux-6.1.9/drivers/dma/ioat/
Dprep.c56 struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *) descs[0]; in pq_set_src() local
60 pq->coef[idx] = coef; in pq_set_src()
66 struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *)desc[0]; in pq16_set_src() local
74 pq->coef[idx] = coef; in pq16_set_src()
280 struct ioat_pq_descriptor *pq = desc->pq; in dump_pq_desc_dbg() local
282 struct ioat_raw_descriptor *descs[] = { (void *) pq, (void *) pq_ex }; in dump_pq_desc_dbg()
283 int src_cnt = src_cnt_to_sw(pq->ctl_f.src_cnt); in dump_pq_desc_dbg()
290 (unsigned long long) (pq_ex ? pq_ex->next : pq->next), in dump_pq_desc_dbg()
291 desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, in dump_pq_desc_dbg()
292 pq->ctl_f.int_en, pq->ctl_f.compl_write, in dump_pq_desc_dbg()
[all …]
Ddma.c510 struct ioat_pq_descriptor *pq = desc->pq; in desc_has_ext() local
512 if (src_cnt_to_sw(pq->ctl_f.src_cnt) > 3) in desc_has_ext()
565 struct ioat_pq_descriptor *pq = desc->pq; in desc_get_errstat() local
568 if (!pq->dwbes_f.wbes) in desc_get_errstat()
573 if (pq->dwbes_f.p_val_err) in desc_get_errstat()
576 if (pq->dwbes_f.q_val_err) in desc_get_errstat()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_sdma.c41 static inline void pq_update(struct hfi1_user_sdma_pkt_q *pq);
54 static inline void set_comp_state(struct hfi1_user_sdma_pkt_q *pq,
91 struct hfi1_user_sdma_pkt_q *pq = in defer_packet_queue() local
95 trace_hfi1_usdma_defer(pq, sde, &pq->busy); in defer_packet_queue()
103 xchg(&pq->state, SDMA_PKT_Q_DEFERRED); in defer_packet_queue()
104 if (list_empty(&pq->busy.list)) { in defer_packet_queue()
105 pq->busy.lock = &sde->waitlock; in defer_packet_queue()
106 iowait_get_priority(&pq->busy); in defer_packet_queue()
107 iowait_queue(pkts_sent, &pq->busy, &sde->dmawait); in defer_packet_queue()
118 struct hfi1_user_sdma_pkt_q *pq = in activate_packet_queue() local
[all …]
Duser_sdma.h77 hfi1_cdbg(SDMA, "[%u:%u:%u:%u] " fmt, (req)->pq->dd->unit, \
78 (req)->pq->ctxt, (req)->pq->subctxt, (req)->info.comp_idx, \
106 struct hfi1_user_sdma_pkt_q *pq; member
138 struct hfi1_user_sdma_pkt_q *pq ____cacheline_aligned_in_smp;
Dtrace_tx.h617 TP_PROTO(struct hfi1_user_sdma_pkt_q *pq,
620 TP_ARGS(pq, sde, wait),
621 TP_STRUCT__entry(DD_DEV_ENTRY(pq->dd)
622 __field(struct hfi1_user_sdma_pkt_q *, pq)
628 TP_fast_assign(DD_DEV_ASSIGN(pq->dd);
629 __entry->pq = pq;
637 (unsigned long long)__entry->pq,
646 TP_PROTO(struct hfi1_user_sdma_pkt_q *pq,
649 TP_ARGS(pq, wait, reason),
650 TP_STRUCT__entry(DD_DEV_ENTRY(pq->dd)
[all …]
/linux-6.1.9/drivers/zorro/
Dgen-devlist.c18 pq(FILE *f, const char *c) in pq() function
69 pq(devf, c); in main()
90 pq(devf, c); in main()
/linux-6.1.9/crypto/async_tx/
Dasync_pq.c317 dma_addr_t pq[2]; in async_syndrome_val() local
336 pq[0] = 0; in async_syndrome_val()
339 pq[0] = dma_map_page(dev, P(blocks, disks), in async_syndrome_val()
342 unmap->addr[j++] = pq[0]; in async_syndrome_val()
346 pq[1] = 0; in async_syndrome_val()
349 pq[1] = dma_map_page(dev, Q(blocks, disks), in async_syndrome_val()
352 unmap->addr[j++] = pq[1]; in async_syndrome_val()
359 tx = device->device_prep_dma_pq_val(chan, pq, in async_syndrome_val()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-jpeg.c318 u8 pq, tq, *qk; in jpeg_parse_quantization_tables() local
326 pq = (pq_tq >> 4) & 0xf; in jpeg_parse_quantization_tables()
332 if (pq != 0 && (pq != 1 || precision != 12)) in jpeg_parse_quantization_tables()
342 ret = jpeg_skip(stream, pq ? 128 : 64); in jpeg_parse_quantization_tables()
348 tables[tq].length = pq ? 128 : 64; in jpeg_parse_quantization_tables()
351 len -= pq ? 129 : 65; in jpeg_parse_quantization_tables()
/linux-6.1.9/Documentation/devicetree/bindings/ata/
Dfsl-sata.txt10 "fsl,pq-sata"
23 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_kernel_queue.c85 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize()
91 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize()
92 kq->pq_gpu_addr = kq->pq->gpu_addr; in kq_initialize()
190 kfd_gtt_sa_free(dev, kq->pq); in kq_initialize()
222 kfd_gtt_sa_free(kq->dev, kq->pq); in kq_uninitialize()
Dkfd_kernel_queue.h72 struct kfd_mem_obj *pq; member
/linux-6.1.9/drivers/dma/
Diop-adma.c671 iop_adma_prep_dma_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src, in iop_adma_prep_dma_pq_val() argument
1083 struct page *pq[IOP_ADMA_NUM_SRC_TEST+2+2]; in iop_adma_pq_zero_sum_self_test() local
1085 struct page **pq_hw = &pq[IOP_ADMA_NUM_SRC_TEST+2]; in iop_adma_pq_zero_sum_self_test()
1101 for (i = 0; i < ARRAY_SIZE(pq); i++) { in iop_adma_pq_zero_sum_self_test()
1102 pq[i] = alloc_page(GFP_KERNEL); in iop_adma_pq_zero_sum_self_test()
1103 if (!pq[i]) { in iop_adma_pq_zero_sum_self_test()
1105 __free_page(pq[i]); in iop_adma_pq_zero_sum_self_test()
1112 pq_sw[i] = page_address(pq[i]); in iop_adma_pq_zero_sum_self_test()
1115 pq_sw[i] = page_address(pq[i]); in iop_adma_pq_zero_sum_self_test()
1116 pq_sw[i+1] = page_address(pq[i+1]); in iop_adma_pq_zero_sum_self_test()
[all …]
/linux-6.1.9/sound/pci/hda/
Dhda_auto_parser.c935 const struct snd_hda_pin_quirk *pq; in snd_hda_pick_pin_fixup() local
940 for (pq = pin_quirk; pq->subvendor; pq++) { in snd_hda_pick_pin_fixup()
941 if ((codec->core.subsystem_id & 0xffff0000) != (pq->subvendor << 16)) in snd_hda_pick_pin_fixup()
943 if (codec->core.vendor_id != pq->codec) in snd_hda_pick_pin_fixup()
945 if (pin_config_match(codec, pq->pins, match_all_pins)) { in snd_hda_pick_pin_fixup()
946 codec->fixup_id = pq->value; in snd_hda_pick_pin_fixup()
948 codec->fixup_name = pq->name; in snd_hda_pick_pin_fixup()
/linux-6.1.9/net/xfrm/
Dxfrm_policy.c1423 struct xfrm_policy_queue *pq = &old->polq; in xfrm_policy_requeue() local
1426 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
1431 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1432 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
1433 if (del_timer(&pq->hold_timer)) in xfrm_policy_requeue()
1435 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1437 pq = &new->polq; in xfrm_policy_requeue()
1439 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1440 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
1441 pq->timeout = XFRM_QUEUE_TMO_MIN; in xfrm_policy_requeue()
[all …]
/linux-6.1.9/arch/arm64/boot/dts/amd/
Damd-seattle-xgbe-b.dtsi50 amd,serdes-pq-skew = <10>, <10>, <18>;
76 amd,serdes-pq-skew = <10>, <10>, <18>;
/linux-6.1.9/Documentation/devicetree/bindings/net/
Damd-xgbe.txt47 - amd,serdes-pq-skew: PQ (data sampling) skew
72 amd,serdes-pq-skew = <10>, <10>, <30>;
/linux-6.1.9/arch/powerpc/boot/dts/
Dmpc8379_rdb.dts348 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
356 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
364 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
372 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
Dmpc8379_mds.dts341 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
349 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
357 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
365 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
/linux-6.1.9/arch/powerpc/sysdev/xive/
Dcommon.c843 u8 pq; in xive_irq_set_vcpu_affinity() local
853 pq = xive_esb_read(xd, XIVE_ESB_SET_PQ_10); in xive_irq_set_vcpu_affinity()
855 xd->saved_p = !!(pq & XIVE_ESB_VAL_P); in xive_irq_set_vcpu_affinity()
955 u8 pq; in xive_get_irqchip_state() local
959 pq = xive_esb_read(xd, XIVE_ESB_GET); in xive_get_irqchip_state()
968 *state = (pq != XIVE_ESB_INVALID) && !xd->stale_p && in xive_get_irqchip_state()
969 (xd->saved_p || (!!(pq & XIVE_ESB_VAL_P) && in xive_get_irqchip_state()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c959 brcmf_fws_flow_control_check(struct brcmf_fws_info *fws, struct pktq *pq, in brcmf_fws_flow_control_check() argument
968 pq->len <= BRCMF_FWS_FLOWCONTROL_LOWATER) in brcmf_fws_flow_control_check()
972 pq->len >= BRCMF_FWS_FLOWCONTROL_HIWATER) { in brcmf_fws_flow_control_check()
1240 struct pktq *pq; in brcmf_fws_enq() local
1260 pq = &entry->psq; in brcmf_fws_enq()
1261 if (pktq_full(pq) || pktq_pfull(pq, prec)) { in brcmf_fws_enq()
1265 queue = &pq->q[prec].skblist; in brcmf_fws_enq()
1302 pq->len++; in brcmf_fws_enq()
1303 if (pq->hi_prec < prec) in brcmf_fws_enq()
1304 pq->hi_prec = (u8) prec; in brcmf_fws_enq()

1234