Lines Matching refs:fbpt
156 * The CPU first initializes some fields in fbpt, then sets
233 q->fbpt = dma_alloc_coherent(dev, CIO2_FBPT_SIZE, &q->fbpt_bus_addr,
235 if (!q->fbpt)
243 dma_free_coherent(dev, CIO2_FBPT_SIZE, q->fbpt, q->fbpt_bus_addr);
551 entry = &q->fbpt[q->bufs_first * CIO2_MAX_LOPS];
584 entry = &q->fbpt[q->bufs_first * CIO2_MAX_LOPS];
823 cio2_fbpt_entry_init_dummy(cio2, &q->fbpt[i * CIO2_MAX_LOPS]);
923 * fbpt_rp is the fbpt entry that the dma is currently working
942 entry = &q->fbpt[next * CIO2_MAX_LOPS];
1559 /* Initialize fbpt */
1954 arrange(q->fbpt, sizeof(struct cio2_fbpt_entry) * CIO2_MAX_LOPS,
1968 cio2_fbpt_entry_enable(cio2, q->fbpt + i * CIO2_MAX_LOPS);
1995 * Upon resume, hw starts to process the fbpt entries from beginning,
1996 * so relocate the queued buffs to the fbpt head before suspend.