/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | utils.c | 47 struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec, in brcmu_pktq_penq() argument 52 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq() 55 q = &pq->q[prec].skblist; in brcmu_pktq_penq() 57 pq->len++; in brcmu_pktq_penq() 59 if (pq->hi_prec < prec) in brcmu_pktq_penq() 60 pq->hi_prec = (u8) prec; in brcmu_pktq_penq() 66 struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec, in brcmu_pktq_penq_head() argument 71 if (pktq_full(pq) || pktq_pfull(pq, prec)) in brcmu_pktq_penq_head() 74 q = &pq->q[prec].skblist; in brcmu_pktq_penq_head() 76 pq->len++; in brcmu_pktq_penq_head() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 | 1570 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() 1814 if (fd->pq) { in qib_close() 1815 qib_user_sdma_queue_drain(rcd->ppd, fd->pq); in qib_close() 1816 qib_user_sdma_queue_destroy(fd->pq); in qib_close() 1909 static int qib_sdma_get_inflight(struct qib_user_sdma_queue *pq, in qib_sdma_get_inflight() argument 1912 const u32 val = qib_user_sdma_inflight_counter(pq); in qib_sdma_get_inflight() 1921 struct qib_user_sdma_queue *pq, in qib_sdma_get_complete() argument 1927 if (!pq) in qib_sdma_get_complete() 1930 err = qib_user_sdma_make_progress(ppd, pq); in qib_sdma_get_complete() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 81 static inline void pq_update(struct hfi1_user_sdma_pkt_q *pq); 90 static inline void set_comp_state(struct hfi1_user_sdma_pkt_q *pq, 128 struct hfi1_user_sdma_pkt_q *pq = in defer_packet_queue() local 132 trace_hfi1_usdma_defer(pq, sde, &pq->busy); in defer_packet_queue() 140 xchg(&pq->state, SDMA_PKT_Q_DEFERRED); in defer_packet_queue() 141 if (list_empty(&pq->busy.list)) { in defer_packet_queue() 142 pq->busy.lock = &sde->waitlock; in defer_packet_queue() 143 iowait_get_priority(&pq->busy); in defer_packet_queue() 144 iowait_queue(pkts_sent, &pq->busy, &sde->dmawait); in defer_packet_queue() 155 struct hfi1_user_sdma_pkt_q *pq = in activate_packet_queue() local [all …]
|
D | user_sdma.h | 118 hfi1_cdbg(SDMA, "[%u:%u:%u:%u] " fmt, (req)->pq->dd->unit, \ 119 (req)->pq->ctxt, (req)->pq->subctxt, (req)->info.comp_idx, \ 147 struct hfi1_user_sdma_pkt_q *pq; member 173 struct hfi1_user_sdma_pkt_q *pq ____cacheline_aligned_in_smp;
|
D | trace_tx.h | 659 TP_PROTO(struct hfi1_user_sdma_pkt_q *pq, 662 TP_ARGS(pq, sde, wait), 663 TP_STRUCT__entry(DD_DEV_ENTRY(pq->dd) 664 __field(struct hfi1_user_sdma_pkt_q *, pq) 670 TP_fast_assign(DD_DEV_ASSIGN(pq->dd); 671 __entry->pq = pq; 679 (unsigned long long)__entry->pq, 688 TP_PROTO(struct hfi1_user_sdma_pkt_q *pq, 691 TP_ARGS(pq, wait, reason), 692 TP_STRUCT__entry(DD_DEV_ENTRY(pq->dd) [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-jpeg.c | 317 u8 pq, tq, *qk; in jpeg_parse_quantization_tables() local 325 pq = (pq_tq >> 4) & 0xf; in jpeg_parse_quantization_tables() 331 if (pq != 0 && (pq != 1 || precision != 12)) in jpeg_parse_quantization_tables() 341 ret = jpeg_skip(stream, pq ? 128 : 64); in jpeg_parse_quantization_tables() 347 tables[tq].length = pq ? 128 : 64; in jpeg_parse_quantization_tables() 350 len -= pq ? 129 : 65; in jpeg_parse_quantization_tables()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/ |
D | fsl-sata.txt | 10 "fsl,pq-sata" 23 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_kernel_queue.c | 84 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize() 90 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize() 91 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 | 71 struct kfd_mem_obj *pq; member
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | iop-adma.c | 671 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 …]
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_auto_parser.c | 939 const struct snd_hda_pin_quirk *pq; in snd_hda_pick_pin_fixup() local 944 for (pq = pin_quirk; pq->subvendor; pq++) { in snd_hda_pick_pin_fixup() 945 if ((codec->core.subsystem_id & 0xffff0000) != (pq->subvendor << 16)) in snd_hda_pick_pin_fixup() 947 if (codec->core.vendor_id != pq->codec) in snd_hda_pick_pin_fixup() 949 if (pin_config_match(codec, pq->pins, match_all_pins)) { in snd_hda_pick_pin_fixup() 950 codec->fixup_id = pq->value; in snd_hda_pick_pin_fixup() 952 codec->fixup_name = pq->name; in snd_hda_pick_pin_fixup()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_policy.c | 1423 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 …]
|
/kernel/linux/linux-5.10/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>;
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/ |
D | common.c | 867 u8 pq; in xive_irq_set_vcpu_affinity() local 884 pq = xive_esb_read(xd, XIVE_ESB_SET_PQ_10); in xive_irq_set_vcpu_affinity() 886 xd->saved_p = !!(pq & XIVE_ESB_VAL_P); in xive_irq_set_vcpu_affinity() 986 u8 pq; in xive_get_irqchip_state() local 990 pq = xive_esb_read(xd, XIVE_ESB_GET); in xive_get_irqchip_state() 999 *state = (pq != XIVE_ESB_INVALID) && !xd->stale_p && in xive_get_irqchip_state() 1000 (xd->saved_p || (!!(pq & XIVE_ESB_VAL_P) && in xive_get_irqchip_state()
|
/kernel/linux/linux-5.10/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>;
|
/kernel/linux/linux-5.10/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";
|
D | mpc8379_mds.dts | 341 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";
|
/kernel/linux/linux-5.10/drivers/atm/ |
D | firestream.c | 619 static struct FS_QENTRY pq[60]; variable 640 pq[qp].cmd = cmd; in submit_queue() 641 pq[qp].p0 = p1; in submit_queue() 642 pq[qp].p1 = p2; in submit_queue() 643 pq[qp].p2 = p3; in submit_queue() 1941 i, pq[qp].cmd, pq[qp].p0, pq[qp].p1, pq[qp].p2); in firestream_remove_one()
|