Lines Matching defs:depth
128 u16 size = aq->depth * sizeof(*sq->entries);
152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth);
165 u16 size = aq->depth * sizeof(*cq->entries);
186 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_DEPTH, aq->depth);
217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH;
227 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_DEPTH, aenq->depth);
270 u16 ctx_id = cmd_id & (aq->depth - 1);
280 u16 ctx_id = cmd_id & (aq->depth - 1);
312 queue_size_mask = aq->depth - 1;
357 size_t pool_size = aq->depth * sizeof(*aq->comp_ctx_pool);
358 size_t size = aq->depth * sizeof(struct efa_comp_ctx);
370 for (i = 0; i < aq->depth; i++) {
441 queue_size_mask = aq->depth - 1;
460 if (ci == aq->depth) {
672 size = aq->depth * sizeof(*sq->entries);
675 size = aq->depth * sizeof(*cq->entries);
678 size = aenq->depth * sizeof(*aenq->entries);
738 aq->depth = EFA_ADMIN_QUEUE_DEPTH;
744 sema_init(&aq->avail_cmds, aq->depth);
781 dma_free_coherent(edev->dmadev, aq->depth * sizeof(*aq->cq.entries),
784 dma_free_coherent(edev->dmadev, aq->depth * sizeof(*aq->sq.entries),
842 ci = aenq->cc & (aenq->depth - 1);
865 if (ci == aenq->depth) {
1105 cmd.depth = params->depth;
1168 ci = eeq->cc & (eeq->depth - 1);
1186 if (ci == eeq->depth) {
1206 dma_free_coherent(edev->dmadev, eeq->depth * sizeof(*eeq->eqes),
1211 efa_eqe_handler cb, u16 depth, u8 msix_vec)
1217 params.depth = depth;
1224 params.depth * sizeof(*eeq->eqes),
1237 eeq->depth = params.depth;
1244 dma_free_coherent(edev->dmadev, params.depth * sizeof(*eeq->eqes),