Home
last modified time | relevance | path

Searched full:dq (Results 1 – 25 of 82) sorted by relevance

1234

/linux/include/soc/fsl/
H A Ddpaa2-global.h20 struct dq { struct
33 } dq; member
66 * @dq: the dequeue result.
68 static inline u32 dpaa2_dq_flags(const struct dpaa2_dq *dq) in dpaa2_dq_flags() argument
70 return dq->dq.stat; in dpaa2_dq_flags()
74 * dpaa2_dq_is_pull() - Check whether the dq response is from a pull
76 * @dq: the dequeue result
80 static inline int dpaa2_dq_is_pull(const struct dpaa2_dq *dq) in dpaa2_dq_is_pull() argument
82 return (int)(dpaa2_dq_flags(dq) & DPAA2_DQ_STAT_VOLATILE); in dpaa2_dq_is_pull()
87 * @dq: the dequeue result
[all …]
/linux/fs/xfs/scrub/
H A Dquota.c23 /* Convert a scrub type code to a DQ flag, or return 0 if error. */
84 struct xfs_dquot *dq, in xchk_quota_item_bmap() argument
97 if (dq->q_fileoffset != offset) { in xchk_quota_item_bmap()
113 if (XFS_FSB_TO_DADDR(mp, irec.br_startblock) != dq->q_blkno) in xchk_quota_item_bmap()
142 struct xfs_dquot *dq) in xchk_quota_item() argument
160 mutex_lock(&dq->q_qlock); in xchk_quota_item()
166 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
167 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item()
170 sqi->last_id = dq->q_id; in xchk_quota_item()
172 error = xchk_quota_item_bmap(sc, dq, offset); in xchk_quota_item()
[all …]
H A Ddqiterate.c150 struct xfs_dquot *dq; in xchk_dquot_iter_advance_incore() local
156 nr_found = radix_tree_gang_lookup(tree, (void **)&dq, cursor->id, 1); in xchk_dquot_iter_advance_incore()
158 *next_incore_id = dq->q_id; in xchk_dquot_iter_advance_incore()
176 struct xfs_dquot *dq = NULL; in xchk_dquot_iter() local
204 error = xfs_qm_dqget(mp, cursor->id, cursor->dqtype, false, &dq); in xchk_dquot_iter()
208 cursor->id = (uint64_t)dq->q_id + 1; in xchk_dquot_iter()
209 *dqpp = dq; in xchk_dquot_iter()
/linux/lib/raid/raid6/riscv/
H A Drecov_rvv.c14 u8 *dq, const u8 *pbmul, in __raid6_2data_recov_rvv() argument
30 * qx = qmul[*q ^ *dq]; in __raid6_2data_recov_rvv()
31 * *dq++ = db = pbmul[px] ^ qx; in __raid6_2data_recov_rvv()
39 * v2:qx, v3:dq, in __raid6_2data_recov_rvv()
51 "vle8.v v3, (%[dq])\n" in __raid6_2data_recov_rvv()
59 "vxor.vv v2, v14, v15\n" /* v2 = qmul[*q ^ *dq] */ in __raid6_2data_recov_rvv()
70 "vse8.v v3, (%[dq])\n" in __raid6_2data_recov_rvv()
77 [dq]"r"(dq), in __raid6_2data_recov_rvv()
88 dq += 16; in __raid6_2data_recov_rvv()
93 u8 *dq, const u8 *qmul) in __raid6_datap_recov_rvv() argument
[all …]
/linux/drivers/soc/fsl/dpio/
H A Dqbman-portal.h219 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq);
221 int qbman_result_has_new_result(struct qbman_swp *p, const struct dpaa2_dq *dq);
304 * @dq: the dequeue result to be checked
308 static inline int qbman_result_is_DQ(const struct dpaa2_dq *dq) in qbman_result_is_DQ() argument
310 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_DQ); in qbman_result_is_DQ()
315 * @dq: the dequeue result to be checked
318 static inline int qbman_result_is_SCN(const struct dpaa2_dq *dq) in qbman_result_is_SCN() argument
320 return !qbman_result_is_DQ(dq); in qbman_result_is_SCN()
324 static inline int qbman_result_is_FQDAN(const struct dpaa2_dq *dq) in qbman_result_is_FQDAN() argument
326 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_FQDAN); in qbman_result_is_FQDAN()
[all …]
H A Ddpio-service.c228 const struct dpaa2_dq *dq; in dpaa2_io_irq() local
240 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq()
241 while (dq) { in dpaa2_io_irq()
242 if (qbman_result_is_SCN(dq)) { in dpaa2_io_irq()
246 q64 = qbman_result_SCN_ctx(dq); in dpaa2_io_irq()
252 qbman_swp_dqrr_consume(swp, dq); in dpaa2_io_irq()
256 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq()
H A Dqbman-portal.c1218 verb = p->dq.verb; in qbman_swp_dqrr_next_direct()
1246 flags = p->dq.stat; in qbman_swp_dqrr_next_direct()
1310 verb = p->dq.verb; in qbman_swp_dqrr_next_mem_back()
1338 flags = p->dq.stat; in qbman_swp_dqrr_next_mem_back()
1354 * @dq: the DQRR entry to be consumed
1356 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_swp_dqrr_consume() argument
1358 qbman_write_register(s, QBMAN_CINH_SWP_DCAP, QBMAN_IDX_FROM_DQRR(dq)); in qbman_swp_dqrr_consume()
1363 * dq storage memory set in pull dequeue command
1365 * @dq: the dequeue result read from the memory
1378 int qbman_result_has_new_result(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_result_has_new_result() argument
[all …]
/linux/tools/memory-model/scripts/
H A Drunlitmushist.sh68 awk -v dq='"' -v hwfnseg="$hwfnseg" -v ncpu="$LKMM_JOBS" -v t="$T" '
70 print "if test -z " dq hwfnseg dq " || scripts/simpletest.sh " dq $2 dq
72 print "\techo runtest " dq $2 dq " " hwfnseg " >> " t "/" NR % ncpu ".sh";
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-transform.sh56 awk -v dq='"' '/./ { print "\tbootarg[" NR "] = " dq $1 dq ";" }' >> $T/bootarg.awk
58 awk -v dq='"' '/./ { print "\tbootpar[" NR "] = " dq $1 dq ";" }' >> $T/bootarg.awk
/linux/fs/xfs/
H A Dxfs_dquot.c120 struct xfs_dquot *dq) in xfs_qm_adjust_dqlimits() argument
122 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqlimits()
127 ASSERT(dq->q_id); in xfs_qm_adjust_dqlimits()
128 defq = xfs_get_defquota(q, xfs_dquot_type(dq)); in xfs_qm_adjust_dqlimits()
130 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits()
131 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits()
134 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits()
135 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits()
138 if (!dq->q_ino.softlimit) in xfs_qm_adjust_dqlimits()
139 dq->q_ino.softlimit = defq->ino.soft; in xfs_qm_adjust_dqlimits()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn66xx_regs.h311 #define CN6XXX_DMA_CNT(dq) \ argument
312 (CN6XXX_DMA_CNT_START + ((dq) * CN6XXX_DMA_OFFSET))
314 #define CN6XXX_DMA_INT_LEVEL(dq) \ argument
315 (CN6XXX_DMA_INT_LEVEL_START + ((dq) * CN6XXX_DMA_OFFSET))
317 #define CN6XXX_DMA_PKT_INT_LEVEL(dq) \ argument
318 (CN6XXX_DMA_INT_LEVEL_START + ((dq) * CN6XXX_DMA_OFFSET))
320 #define CN6XXX_DMA_TIME_INT_LEVEL(dq) \ argument
321 (CN6XXX_DMA_INT_LEVEL_START + 4 + ((dq) * CN6XXX_DMA_OFFSET))
323 #define CN6XXX_DMA_TIM(dq) \ argument
324 (CN6XXX_DMA_TIM_START + ((dq) * CN6XXX_DMA_OFFSET))
H A Dcn23xx_pf_regs.h366 #define CN23XX_DMA_CNT(dq) \ argument
367 (CN23XX_DMA_CNT_START + ((dq) * CN23XX_DMA_OFFSET))
369 #define CN23XX_DMA_INT_LEVEL(dq) \ argument
370 (CN23XX_DMA_INT_LEVEL_START + ((dq) * CN23XX_DMA_OFFSET))
372 #define CN23XX_DMA_PKT_INT_LEVEL(dq) \ argument
373 (CN23XX_DMA_INT_LEVEL_START + ((dq) * CN23XX_DMA_OFFSET))
375 #define CN23XX_DMA_TIME_INT_LEVEL(dq) \ argument
376 (CN23XX_DMA_INT_LEVEL_START + 4 + ((dq) * CN23XX_DMA_OFFSET))
378 #define CN23XX_DMA_TIM(dq) \ argument
379 (CN23XX_DMA_TIM_START + ((dq) * CN23XX_DMA_OFFSET))
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c432 struct hisi_sas_dq *dq, in hisi_sas_task_deliver() argument
440 spin_lock(&dq->lock); in hisi_sas_task_deliver()
441 wr_q_index = dq->wr_point; in hisi_sas_task_deliver()
442 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_task_deliver()
443 list_add_tail(&slot->delivery, &dq->list); in hisi_sas_task_deliver()
444 spin_unlock(&dq->lock); in hisi_sas_task_deliver()
449 dlvry_queue = dq->id; in hisi_sas_task_deliver()
488 spin_lock(&dq->lock); in hisi_sas_task_deliver()
489 hisi_hba->hw->start_delivery(dq); in hisi_sas_task_deliver()
490 spin_unlock(&dq->lock); in hisi_sas_task_deliver()
[all …]
H A Dhisi_sas_v1_hw.c862 /* DQ lock must be taken here */
863 static void start_delivery_v1_hw(struct hisi_sas_dq *dq) in start_delivery_v1_hw() argument
865 struct hisi_hba *hisi_hba = dq->hisi_hba; in start_delivery_v1_hw()
867 int dlvry_queue = dq->id; in start_delivery_v1_hw()
870 list_for_each_entry_safe(s, s1, &dq->list, delivery) { in start_delivery_v1_hw()
1215 dev_err(dev, "slot complete: [%d:%d] has dq IPTT err\n", in slot_complete_v1_hw()
1219 dev_err(dev, "slot complete: [%d:%d] has dq type err\n", in slot_complete_v1_hw()
1223 dev_err(dev, "slot complete: [%d:%d] has dq force phy err\n", in slot_complete_v1_hw()
1227 dev_err(dev, "slot complete: [%d:%d] has dq phy id err\n", in slot_complete_v1_hw()
1231 dev_err(dev, "slot complete: [%d:%d] has dq abort flag err\n", in slot_complete_v1_hw()
[all …]
H A Dhisi_sas.h235 struct hisi_sas_dq *dq; member
328 void (*start_delivery)(struct hisi_sas_dq *dq);
371 struct hisi_sas_dq *dq; member
440 struct hisi_sas_dq dq[HISI_SAS_MAX_QUEUES]; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcmd.h980 /* SW2HW_DQ - Software to Hardware DQ
982 * OpMod == 0 (send DQ) / OpMod == 1 (receive DQ)
983 * INMmod == DQ number
1051 /* HW2SW_DQ - Hardware to Software DQ
1053 * OpMod == 0 (send DQ) / OpMod == 1 (receive DQ)
1054 * INMmod == DQ number
1057 * software ownership. Incoming packets on the DQ are silently discarded,
1082 /* 2ERR_DQ - To Error DQ
1084 * OpMod == 0 (send DQ) / OpMod == 1 (receive DQ)
1085 * INMmod == DQ number
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Drockchip,rk3399-dmc.yaml162 When the DRAM type is DDR3, this parameter defines the PHY side DQ line
163 (including DQS/DQ/DM line) drive strength.
210 When the DRAM type is LPDDR3, this parameter defines the PHY side DQ line
211 (including DQS/DQ/DM line) drive strength.
242 DQS/DQ line strength in ohms.
273 When the DRAM type is LPDDR4, this parameter defines the PHY side DQ line
274 (including DQS/DQ/DM line) drive strength.
/linux/fs/ntfs/
H A Dbitmap.c25 u32 dq = bdev_discard_granularity(vol->sb->s_bdev); in ntfs_trim_fs() local
28 if (!dq) in ntfs_trim_fs()
29 dq = vol->cluster_size; in ntfs_trim_fs()
76 aligned_start = ALIGN(ntfs_cluster_to_bytes(vol, start), dq); in ntfs_trim_fs()
77 aligned_end = ALIGN_DOWN(ntfs_cluster_to_bytes(vol, end), dq); in ntfs_trim_fs()
/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,ds2760.yaml25 Allow the DS2760 to enter sleep mode when the DQ line goes low for more than 2 seconds
26 and leave sleep Mode when the DQ line goes high.
/linux/drivers/crypto/caam/
H A Dcaampkc.h31 * 3. The third representation consists of the quintuple (p, q, dP, dQ, qInv),
36 * dQ the second factors's CRT exponent
76 u8 *dq; member
/linux/drivers/media/common/saa7146/
H A Dsaa7146_vbi.c293 struct saa7146_dmaqueue *dq = &dev->vv_data->vbi_dmaq; in return_buffers() local
296 if (dq->curr) { in return_buffers()
297 buf = dq->curr; in return_buffers()
298 dq->curr = NULL; in return_buffers()
301 while (!list_empty(&dq->queue)) { in return_buffers()
302 buf = list_entry(dq->queue.next, struct saa7146_buf, list); in return_buffers()
H A Dsaa7146_video.c638 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; in return_buffers() local
641 if (dq->curr) { in return_buffers()
642 buf = dq->curr; in return_buffers()
643 dq->curr = NULL; in return_buffers()
646 while (!list_empty(&dq->queue)) { in return_buffers()
647 buf = list_entry(dq->queue.next, struct saa7146_buf, list); in return_buffers()
669 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; in stop_streaming() local
671 timer_delete(&dq->timeout); in stop_streaming()
/linux/drivers/soc/fsl/qbman/
H A Dqman_test_api.c212 const struct qm_dqrr_entry *dq, in cb_dqrr() argument
215 if (WARN_ON(fd_neq(&fd_dq, &dq->fd))) { in cb_dqrr()
220 if (!(dq->stat & QM_DQRR_STAT_UNSCHEDULED) && !fd_neq(&fd_dq, &fd)) { in cb_dqrr()
/linux/Documentation/driver-api/media/drivers/
H A Dpxa_camera.rst40 | DQ | | Q | | DQ |
50 |capture list empty / | Q | | DQ | | QCI Irq EOF |
82 - arrow "DQ" means : a buffer was dequeued
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.h130 * qed_cxt_hw_init_common(): Initailze ILT and DQ, common phase, per path.
139 * qed_cxt_hw_init_pf(): Initailze ILT and DQ, PF phase, per path.
232 /* Max number of connection types in HW (DQ/CDU etc.) */

1234