Lines Matching defs:dbc_id
909 if (bo->total_slice_nents > qdev->dbc[hdr->dbc_id].nelem) {
916 list_add_tail(&bo->bo_list, &qdev->dbc[hdr->dbc_id].bo_lists);
965 if (args->hdr.dbc_id >= qdev->num_dbc) {
1001 dbc = &qdev->dbc[args->hdr.dbc_id];
1043 static inline int copy_exec_reqs(struct qaic_device *qdev, struct bo_slice *slice, u32 dbc_id,
1046 struct dma_bridge_chan *dbc = &qdev->dbc[dbc_id];
1085 u64 resize, u32 dbc_id, u32 head, u32 *ptail)
1087 struct dma_bridge_chan *dbc = &qdev->dbc[dbc_id];
1343 if (args->hdr.dbc_id >= qdev->num_dbc) {
1348 dbc = &qdev->dbc[args->hdr.dbc_id];
1678 if (args->dbc_id >= qdev->num_dbc) {
1683 dbc = &qdev->dbc[args->dbc_id];
1747 if (args->hdr.dbc_id >= qdev->num_dbc) {
1819 int disable_dbc(struct qaic_device *qdev, u32 dbc_id, struct qaic_user *usr)
1821 if (!qdev->dbc[dbc_id].usr || qdev->dbc[dbc_id].usr->handle != usr->handle)
1824 qdev->dbc[dbc_id].usr = NULL;
1825 synchronize_srcu(&qdev->dbc[dbc_id].ch_lock);
1834 * @dbc_id: ID of the DBC
1837 void enable_dbc(struct qaic_device *qdev, u32 dbc_id, struct qaic_user *usr)
1839 qdev->dbc[dbc_id].usr = usr;
1842 void wakeup_dbc(struct qaic_device *qdev, u32 dbc_id)
1844 struct dma_bridge_chan *dbc = &qdev->dbc[dbc_id];
1856 void release_dbc(struct qaic_device *qdev, u32 dbc_id)
1862 dbc = &qdev->dbc[dbc_id];
1866 wakeup_dbc(qdev, dbc_id);