Home
last modified time | relevance | path

Searched refs:cmd_sync (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_cmd_general.c52 struct phl_cmd_sync cmd_sync; member
59 static void _phl_cmd_sync_dump(struct phl_cmd_sync *cmd_sync, const char *caller) in _phl_cmd_sync_dump() argument
62 PHL_INFO("[CMD_SYNC] evt_id:%d status:%d\n", cmd_sync->evt_id, cmd_sync->sync.status); in _phl_cmd_sync_dump()
63 PHL_INFO("[CMD_SYNC] take:%d ms\n", phl_get_passing_time_ms(cmd_sync->sync.submit_time)); in _phl_cmd_sync_dump()
69 struct phl_cmd_sync *cmd_sync, u32 timeout_ms) in _phl_cmd_sync_init() argument
73 _os_spinlock_init(drv, &cmd_sync->lock); in _phl_cmd_sync_init()
74 cmd_sync->evt_id = evt_id; in _phl_cmd_sync_init()
75 cmd_sync->sync.timeout_ms = timeout_ms; in _phl_cmd_sync_init()
76 cmd_sync->sync.submit_time = _os_get_cur_time_ms(); in _phl_cmd_sync_init()
77 _os_event_init(drv, &(cmd_sync->sync.done)); in _phl_cmd_sync_init()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_cmd_general.c52 struct phl_cmd_sync cmd_sync; member
59 static void _phl_cmd_sync_dump(struct phl_cmd_sync *cmd_sync, const char *caller) in _phl_cmd_sync_dump() argument
62 PHL_INFO("[CMD_SYNC] evt_id:%d status:%d\n", cmd_sync->evt_id, cmd_sync->sync.status); in _phl_cmd_sync_dump()
63 PHL_INFO("[CMD_SYNC] take:%d ms\n", phl_get_passing_time_ms(cmd_sync->sync.submit_time)); in _phl_cmd_sync_dump()
69 struct phl_cmd_sync *cmd_sync, u32 timeout_ms) in _phl_cmd_sync_init() argument
73 _os_spinlock_init(drv, &cmd_sync->lock); in _phl_cmd_sync_init()
74 cmd_sync->evt_id = evt_id; in _phl_cmd_sync_init()
75 cmd_sync->sync.timeout_ms = timeout_ms; in _phl_cmd_sync_init()
76 cmd_sync->sync.submit_time = _os_get_cur_time_ms(); in _phl_cmd_sync_init()
77 _os_event_init(drv, &(cmd_sync->sync.done)); in _phl_cmd_sync_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c372 struct arm_smmu_cmdq_ent cmd_sync = { in arm_smmu_cmdq_skip_err() local
407 if (arm_smmu_cmdq_build_cmd(cmd, &cmd_sync)) { in arm_smmu_cmdq_skip_err()
730 u64 cmd_sync[CMDQ_ENT_DWORDS]; in arm_smmu_cmdq_issue_cmdlist() local
774 arm_smmu_cmdq_build_sync_cmd(cmd_sync, smmu, prod); in arm_smmu_cmdq_issue_cmdlist()
775 queue_write(Q_ENT(&cmdq->q, prod), cmd_sync, CMDQ_ENT_DWORDS); in arm_smmu_cmdq_issue_cmdlist()