Lines Matching refs:dcb_idx
10 static int __fdma_db_add(struct fdma *fdma, int dcb_idx, int db_idx, u64 status, in __fdma_db_add() argument
11 int (*cb)(struct fdma *fdma, int dcb_idx, in __fdma_db_add()
14 struct fdma_db *db = fdma_db_get(fdma, dcb_idx, db_idx); in __fdma_db_add()
18 return cb(fdma, dcb_idx, db_idx, &db->dataptr); in __fdma_db_add()
22 int fdma_db_add(struct fdma *fdma, int dcb_idx, int db_idx, u64 status) in fdma_db_add() argument
25 dcb_idx, in fdma_db_add()
32 int __fdma_dcb_add(struct fdma *fdma, int dcb_idx, u64 info, u64 status, in __fdma_dcb_add() argument
33 int (*dcb_cb)(struct fdma *fdma, int dcb_idx, u64 *nextptr), in __fdma_dcb_add()
34 int (*db_cb)(struct fdma *fdma, int dcb_idx, int db_idx, in __fdma_dcb_add()
37 struct fdma_dcb *dcb = fdma_dcb_get(fdma, dcb_idx); in __fdma_dcb_add()
41 err = __fdma_db_add(fdma, dcb_idx, i, status, db_cb); in __fdma_dcb_add()
46 err = dcb_cb(fdma, dcb_idx, &fdma->last_dcb->nextptr); in __fdma_dcb_add()
60 int fdma_dcb_add(struct fdma *fdma, int dcb_idx, u64 info, u64 status) in fdma_dcb_add() argument
63 dcb_idx, in fdma_dcb_add()