/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | utils.c | 46 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.6.21/drivers/net/wireless/broadcom/brcm80211/include/ |
D | brcmu_utils.h | 76 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.6.21/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 81 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 …]
|
D | qib_user_sdma.h | 38 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);
|
D | qib_file_ops.c | 1569 fd->pq = qib_user_sdma_queue_create(&dd->pcidev->dev, in do_qib_user_sdma_queue_create() 1573 if (!fd->pq) in do_qib_user_sdma_queue_create() 1813 if (fd->pq) { in qib_close() 1814 qib_user_sdma_queue_drain(rcd->ppd, fd->pq); in qib_close() 1815 qib_user_sdma_queue_destroy(fd->pq); in qib_close() 1908 static int qib_sdma_get_inflight(struct qib_user_sdma_queue *pq, in qib_sdma_get_inflight() argument 1911 const u32 val = qib_user_sdma_inflight_counter(pq); in qib_sdma_get_inflight() 1920 struct qib_user_sdma_queue *pq, in qib_sdma_get_complete() argument 1926 if (!pq) in qib_sdma_get_complete() 1929 err = qib_user_sdma_make_progress(ppd, pq); in qib_sdma_get_complete() [all …]
|
/linux-6.6.21/drivers/dma/ioat/ |
D | prep.c | 56 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 …]
|
D | dma.c | 510 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.6.21/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 40 static inline void pq_update(struct hfi1_user_sdma_pkt_q *pq); 49 static inline void set_comp_state(struct hfi1_user_sdma_pkt_q *pq, 71 struct hfi1_user_sdma_pkt_q *pq = in defer_packet_queue() local 75 trace_hfi1_usdma_defer(pq, sde, &pq->busy); in defer_packet_queue() 83 xchg(&pq->state, SDMA_PKT_Q_DEFERRED); in defer_packet_queue() 84 if (list_empty(&pq->busy.list)) { in defer_packet_queue() 85 pq->busy.lock = &sde->waitlock; in defer_packet_queue() 86 iowait_get_priority(&pq->busy); in defer_packet_queue() 87 iowait_queue(pkts_sent, &pq->busy, &sde->dmawait); in defer_packet_queue() 98 struct hfi1_user_sdma_pkt_q *pq = in activate_packet_queue() local [all …]
|
D | pin_system.c | 18 struct hfi1_user_sdma_pkt_q *pq; member 35 int hfi1_init_system_pinning(struct hfi1_user_sdma_pkt_q *pq) in hfi1_init_system_pinning() argument 37 struct hfi1_devdata *dd = pq->dd; in hfi1_init_system_pinning() 40 ret = hfi1_mmu_rb_register(pq, &sdma_rb_ops, dd->pport->hfi1_wq, in hfi1_init_system_pinning() 41 &pq->handler); in hfi1_init_system_pinning() 45 pq->ctxt, pq->subctxt, ret); in hfi1_init_system_pinning() 49 void hfi1_free_system_pinning(struct hfi1_user_sdma_pkt_q *pq) in hfi1_free_system_pinning() argument 51 if (pq->handler) in hfi1_free_system_pinning() 52 hfi1_mmu_rb_unregister(pq->handler); in hfi1_free_system_pinning() 55 static u32 sdma_cache_evict(struct hfi1_user_sdma_pkt_q *pq, u32 npages) in sdma_cache_evict() argument [all …]
|
D | trace_tx.h | 617 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 …]
|
D | user_sdma.h | 79 hfi1_cdbg(SDMA, "[%u:%u:%u:%u] " fmt, (req)->pq->dd->unit, \ 80 (req)->pq->ctxt, (req)->pq->subctxt, (req)->info.comp_idx, \ 127 struct hfi1_user_sdma_pkt_q *pq ____cacheline_aligned_in_smp;
|
D | pinning.h | 13 int hfi1_init_system_pinning(struct hfi1_user_sdma_pkt_q *pq); 14 void hfi1_free_system_pinning(struct hfi1_user_sdma_pkt_q *pq);
|
/linux-6.6.21/drivers/zorro/ |
D | gen-devlist.c | 18 pq(FILE *f, const char *c) in pq() function 69 pq(devf, c); in main() 90 pq(devf, c); in main()
|
/linux-6.6.21/crypto/async_tx/ |
D | async_pq.c | 317 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.6.21/drivers/media/v4l2-core/ |
D | v4l2-jpeg.c | 318 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.6.21/Documentation/devicetree/bindings/ata/ |
D | fsl-sata.txt | 10 "fsl,pq-sata" 23 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_kernel_queue.c | 85 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()
|
D | kfd_kernel_queue.h | 72 struct kfd_mem_obj *pq; member
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_auto_parser.c | 935 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.6.21/net/xfrm/ |
D | xfrm_policy.c | 1425 struct xfrm_policy_queue *pq = &old->polq; in xfrm_policy_requeue() local 1428 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue() 1433 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue() 1434 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue() 1435 if (del_timer(&pq->hold_timer)) in xfrm_policy_requeue() 1437 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue() 1439 pq = &new->polq; in xfrm_policy_requeue() 1441 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue() 1442 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue() 1443 pq->timeout = XFRM_QUEUE_TMO_MIN; in xfrm_policy_requeue() [all …]
|
/linux-6.6.21/arch/arm64/boot/dts/amd/ |
D | amd-seattle-xgbe-b.dtsi | 50 amd,serdes-pq-skew = <10>, <10>, <18>; 76 amd,serdes-pq-skew = <10>, <10>, <18>;
|
/linux-6.6.21/Documentation/devicetree/bindings/net/ |
D | amd-xgbe.txt | 47 - amd,serdes-pq-skew: PQ (data sampling) skew 72 amd,serdes-pq-skew = <10>, <10>, <30>;
|
/linux-6.6.21/arch/powerpc/boot/dts/ |
D | mpc8379_rdb.dts | 348 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";
|
/linux-6.6.21/arch/powerpc/sysdev/xive/ |
D | common.c | 843 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.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwsignal.c | 959 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()
|