Searched refs:db_id (Results 1 - 24 of 24) sorted by relevance

/linux-master/drivers/accel/ivpu/
H A Divpu_jsm_msg.h13 int ivpu_jsm_register_db(struct ivpu_device *vdev, u32 ctx_id, u32 db_id,
15 int ivpu_jsm_unregister_db(struct ivpu_device *vdev, u32 db_id);
H A Divpu_job.h22 * @db_id: Doorbell assigned to this job queue
29 u32 db_id; member in struct:ivpu_cmdq
H A Divpu_jsm_msg.c92 int ivpu_jsm_register_db(struct ivpu_device *vdev, u32 ctx_id, u32 db_id, argument
99 req.payload.register_db.db_idx = db_id;
107 ivpu_err_ratelimited(vdev, "Failed to register doorbell %d: %d\n", db_id, ret);
111 ivpu_dbg(vdev, JSM, "Doorbell %d registered to context %d\n", db_id, ctx_id);
116 int ivpu_jsm_unregister_db(struct ivpu_device *vdev, u32 db_id) argument
122 req.payload.unregister_db.db_idx = db_id;
127 ivpu_warn_ratelimited(vdev, "Failed to unregister doorbell %d: %d\n", db_id, ret);
131 ivpu_dbg(vdev, JSM, "Doorbell %d unregistered\n", db_id);
H A Divpu_hw.h28 void (*reg_db_set)(struct ivpu_device *vdev, u32 db_id);
154 static inline void ivpu_hw_reg_db_set(struct ivpu_device *vdev, u32 db_id) argument
156 vdev->hw->ops->reg_db_set(vdev, db_id);
H A Divpu_job.c28 ivpu_hw_reg_db_set(vdev, cmdq->db_id);
43 ret = xa_alloc(&vdev->db_xa, &cmdq->db_id, NULL, db_xa_limit, GFP_KERNEL);
66 xa_erase(&vdev->db_xa, cmdq->db_id);
78 xa_erase(&file_priv->vdev->db_xa, cmdq->db_id);
100 ret = ivpu_jsm_register_db(vdev, file_priv->ctx.id, cmdq->db_id,
119 ivpu_jsm_unregister_db(file_priv->vdev, cmdq->db_id);
192 job->file_priv->ctx.id, job->engine_idx, cmdq->db_id, header->head, tail);
H A Dvpu_jsm_api.h824 u32 db_id; member in struct:vpu_jsm_hws_register_db
H A Divpu_hw_37xx.c848 static void ivpu_hw_37xx_reg_db_set(struct ivpu_device *vdev, u32 db_id) argument
853 REGV_WR32I(VPU_37XX_CPU_SS_DOORBELL_0, reg_stride, db_id, val);
H A Divpu_hw_40xx.c1003 static void ivpu_hw_40xx_reg_db_set(struct ivpu_device *vdev, u32 db_id) argument
1008 REGV_WR32I(VPU_40XX_CPU_SS_DOORBELL_0, reg_stride, db_id, val);
/linux-master/tools/perf/util/
H A Ddb-export.c38 if (evsel->db_id)
41 evsel->db_id = ++dbe->evsel_last_db_id;
51 if (machine->db_id)
54 machine->db_id = ++dbe->machine_last_db_id;
85 comm->db_id = ++dbe->comm_last_db_id;
96 if (comm->db_id)
113 if (comm->db_id)
136 u64 db_id; local
138 db_id = ++dbe->comm_thread_last_db_id;
141 return dbe->export_comm_thread(dbe, db_id, com
196 u64 *db_id = symbol__priv(al->sym); local
528 db_export__pid_tid(struct db_export *dbe, struct machine *machine, pid_t pid, pid_t tid, u64 *db_id, struct comm **comm_ptr, bool *is_idle) argument
567 u64 db_id; local
[all...]
H A Dcomm.h18 u64 db_id; member in union:comm::__anon15195
H A Dcall-path.h20 * @db_id: id used for db-export
32 u64 db_id; member in struct:call_path
H A Ddb-export.h30 u64 db_id; member in struct:export_sample
48 int (*export_comm_thread)(struct db_export *dbe, u64 db_id,
60 int (*export_context_switch)(struct db_export *dbe, u64 db_id,
H A Dthread.h54 u64 db_id; local
246 return RC_CHK_ACCESS(thread)->db_id;
249 static inline void thread__set_db_id(struct thread *thread, u64 db_id) argument
251 RC_CHK_ACCESS(thread)->db_id = db_id;
H A Dthread-stack.h47 * @call_ref: external reference to 'call' sample (e.g. db_id)
48 * @return_ref: external reference to 'return' sample (e.g. db_id)
49 * @db_id: id used for db-export
64 u64 db_id; member in struct:call_return
H A Dcall-path.c20 cp->db_id = 0;
H A Dthread-stack.c43 * @ref: external reference (e.g. db_id of sample)
47 * @db_id: id used for db-export
60 u64 db_id; member in struct:thread_stack_entry
307 .db_id = 0,
318 cr.db_id = tse->db_id;
329 * The parent db_id must be assigned before exporting the child. Note
333 parent_db_id = idx ? &(tse - 1)->db_id : NULL;
809 tse->db_id = 0;
H A Ddso.h218 u64 db_id; member in union:dso::__anon309
H A Dmachine.h57 u64 db_id; member in union:machine::__anon1609
H A Devsel.h119 u64 db_id; member in struct:evsel
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1152 tuple_set_d64(t, 0, evsel->db_id);
1170 tuple_set_d64(t, 0, machine->db_id);
1190 tuple_set_d64(t, 1, machine->db_id);
1210 tuple_set_d64(t, 0, comm->db_id);
1223 static int python_export_comm_thread(struct db_export *dbe, u64 db_id, argument
1231 tuple_set_d64(t, 0, db_id);
1232 tuple_set_d64(t, 1, comm->db_id);
1253 tuple_set_d64(t, 0, dso->db_id);
1254 tuple_set_d64(t, 1, machine->db_id);
1276 tuple_set_d64(t, 1, dso->db_id);
1431 python_export_context_switch(struct db_export *dbe, u64 db_id, struct machine *machine, struct perf_sample *sample, u64 th_out_id, u64 comm_out_id, u64 th_in_id, u64 comm_in_id, int flags) argument
[all...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_imem.h466 * @db_id: Doorbell ID for trigger identifier.
471 int channel_id, u32 db_id);
H A Diosm_ipc_imem.c997 int channel_id, u32 db_id)
1017 if (ipc_task_queue_send_task(ipc_imem, ipc_imem_tq_pipe_td_alloc, db_id,
996 ipc_imem_channel_open(struct iosm_imem *ipc_imem, int channel_id, u32 db_id) argument
/linux-master/include/net/mana/
H A Dgdma.h623 u32 db_id; member in struct:gdma_register_device_resp
/linux-master/drivers/net/ethernet/microsoft/mana/
H A Dgdma_main.c969 gd->doorbell = resp.db_id;

Completed in 217 milliseconds