Searched refs:chan (Results 1 – 3 of 3) sorted by relevance
17 #define TCB_CHAN(chan) ((chan) * 0x40) argument19 #define TCB_CCR(chan) (0x0 + TCB_CHAN(chan)) argument23 #define TCB_CMR(chan) (0x4 + TCB_CHAN(chan)) argument30 #define TCB_CV(chan) (0x10 + TCB_CHAN(chan)) argument32 #define TCB_RA(chan) (0x14 + TCB_CHAN(chan)) argument33 #define TCB_RB(chan) (0x18 + TCB_CHAN(chan)) argument34 #define TCB_RC(chan) (0x1c + TCB_CHAN(chan)) argument36 #define TCB_IER(chan) (0x24 + TCB_CHAN(chan)) argument39 #define TCB_SR(chan) (0x20 + TCB_CHAN(chan)) argument42 #define TCB_IDR(chan) (0x28 + TCB_CHAN(chan)) argument
94 static TEE_Result dcp_lock_known_channel(enum dcp_channel chan) in dcp_lock_known_channel() argument96 if (mutex_trylock(&lock_channel[chan])) in dcp_lock_known_channel()110 enum dcp_channel chan = DCP_CHANN0; in dcp_lock_channel() local112 for (chan = DCP_CHANN0; chan < DCP_NB_CHANNELS; chan++) { in dcp_lock_channel()113 ret = dcp_lock_known_channel(chan); in dcp_lock_channel()115 *channel = chan; in dcp_lock_channel()130 static void dcp_unlock_channel(enum dcp_channel chan) in dcp_unlock_channel() argument132 mutex_unlock(&lock_channel[chan]); in dcp_unlock_channel()
911 struct scmi_msg_channel *chan = res->channel; in stm32mp1_init_scmi_server() local914 chan->shm_addr.va = (vaddr_t)phys_to_virt(chan->shm_addr.pa, in stm32mp1_init_scmi_server()916 assert(chan->shm_addr.va); in stm32mp1_init_scmi_server()918 scmi_smt_init_agent_channel(chan); in stm32mp1_init_scmi_server()
Completed in 8 milliseconds