Lines Matching defs:in_index
1088 unsigned in_index;
1101 in_index = (readl(mv_ap_base(ap) + EDMA_REQ_Q_IN_PTR_OFS)
1104 pp->crqb[in_index].sg_addr =
1106 pp->crqb[in_index].sg_addr_hi =
1108 pp->crqb[in_index].ctrl_flags = cpu_to_le16(flags);
1110 cw = &pp->crqb[in_index].ata_cmd[0];
1171 unsigned in_index;
1186 in_index = (readl(mv_ap_base(ap) + EDMA_REQ_Q_IN_PTR_OFS)
1189 crqb = (struct mv_crqb_iie *) &pp->crqb[in_index];
1237 unsigned in_index;
1250 in_index = (in_ptr >> EDMA_REQ_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK;
1253 WARN_ON(in_index != ((readl(port_mmio + EDMA_REQ_Q_OUT_PTR_OFS)
1256 in_index = mv_inc_q_index(in_index); /* now incr producer index */
1262 in_ptr |= in_index << EDMA_REQ_Q_PTR_SHIFT;