Home
last modified time | relevance | path

Searched refs:master (Results 1 – 25 of 41) sorted by relevance

12

/hal_nxp-3.7.0/mcux/mcux-sdk/components/i3c_bus/
Dfsl_component_i3c_adapter.c25 static status_t I3C_MasterAdapterInit(i3c_device_t *master);
26 static status_t I3C_MasterAdapterProcessDAA(i3c_device_t *master);
27 static status_t I3C_MasterAdapterTransmitCCC(i3c_device_t *master, i3c_ccc_cmd_t *cmd);
33 static status_t I3C_MasterAdapterHandOffMasterShip(i3c_device_t *master, uint8_t slaveAddr);
34 static void I3C_MasterAdapterTakeOverMasterShip(i3c_device_t *master);
36 static void I3C_MasterAdapterRegisterIBI(i3c_device_t *master, uint8_t ibiAddress);
131 i3c_device_t *master = (i3c_device_t *)handle->userData; in i3c_master_ibi_callback() local
144 … (void)I3C_BusMasterHandleIBI(master, handle->ibiAddress, ibiData, handle->ibiPayloadSize); in i3c_master_ibi_callback()
156 (void)I3C_MasterAdapterHandOffMasterShip(master, handle->ibiAddress); in i3c_master_ibi_callback()
161 (void)I3C_BusMasterDoDAA(master); in i3c_master_ibi_callback()
[all …]
Dfsl_component_i3c.c96 static status_t I3C_BusMasterGetMaxReadLength(i3c_device_t *master, i3c_device_information_t *info) in I3C_BusMasterGetMaxReadLength() argument
116 result = I3C_BusMasterSendCCC(master, &getMRLCmd); in I3C_BusMasterGetMaxReadLength()
131 static status_t I3C_BusMasterGetMaxWriteLength(i3c_device_t *master, i3c_device_information_t *info) in I3C_BusMasterGetMaxWriteLength() argument
143 result = I3C_BusMasterSendCCC(master, &getMWLCmd); in I3C_BusMasterGetMaxWriteLength()
150 static status_t I3C_BusMasterGetHDRCapability(i3c_device_t *master, i3c_device_information_t *info) in I3C_BusMasterGetHDRCapability() argument
162 result = I3C_BusMasterSendCCC(master, &getHDRCapCmd); in I3C_BusMasterGetHDRCapability()
169 static status_t I3C_BusMasterGetPID(i3c_device_t *master, i3c_device_information_t *info) in I3C_BusMasterGetPID() argument
181 result = I3C_BusMasterSendCCC(master, &getPidCmd); in I3C_BusMasterGetPID()
189 static status_t I3C_BusMasterGetBCR(i3c_device_t *master, i3c_device_information_t *info) in I3C_BusMasterGetBCR() argument
201 result = I3C_BusMasterSendCCC(master, &getBCRCmd); in I3C_BusMasterGetBCR()
[all …]
Dfsl_component_i3c.h209 …status_t (*ProceedDAA)(i3c_device_t *master); /*!< ProceedDAA function, only required for I3C mast…
210 …bool (*CheckSupportCCC)(i3c_device_t *master, i3c_ccc_cmd_t *cmd); /*!< CheckSupportCCC function, …
212 status_t (*TransmitCCC)(i3c_device_t *master,
218 void (*HotJoin)(i3c_device_t *master); /*!< HotJoin function.*/
220 … i3c_device_t *master); /*!< RequestMastership function, only require for I3C master device.*/
221 …void (*RegisterIBI)(i3c_device_t *master, uint8_t ibiAddress); /*!< Register IBI address with mand…
469 status_t I3C_BusMasterSetDynamicAddrFromStaticAddr(i3c_device_t *master, uint8_t staticAddr, uint8_…
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/trdc/
Dfsl_trdc.h539 static inline void TRDC_LockMasterDomainAssignment(TRDC_Type *base, uint8_t master, uint8_t regNum) in TRDC_LockMasterDomainAssignment() argument
551 static inline void TRDC_LockMasterDomainAssignment(TRDC_Type *base, uint8_t master) in TRDC_LockMasterDomainAssignment()
555 …assert((uint32_t)master < ((base->TRDC_HWCFG0 & TRDC_TRDC_HWCFG0_NMSTR_MASK) >> TRDC_TRDC_HWCFG0_N… in TRDC_LockMasterDomainAssignment()
557 if (0U == (base->DACFG[master] & TRDC_DACFG_NCM_MASK)) in TRDC_LockMasterDomainAssignment()
559 base->MDA_DFMT0[master].MDA_W_DFMT0[regNum] |= TRDC_MDA_W_DFMT0_LK1_MASK; in TRDC_LockMasterDomainAssignment()
563 base->MDA_DFMT1[master].MDA_W_DFMT1[0] |= TRDC_MDA_W_DFMT1_LK1_MASK; in TRDC_LockMasterDomainAssignment()
567 if ((uint8_t)master != 0U) in TRDC_LockMasterDomainAssignment()
569 base->MDA_W0_DFMT1[(uint8_t)(master - 1U)].MDA_W0_x_DFMT1 |= TRDC_MDA_W0_x_DFMT1_LK1_MASK; in TRDC_LockMasterDomainAssignment()
592 static inline void TRDC_SetMasterDomainAssignmentValid(TRDC_Type *base, uint8_t master, uint8_t reg… in TRDC_SetMasterDomainAssignmentValid() argument
604 static inline void TRDC_SetMasterDomainAssignmentValid(TRDC_Type *base, uint8_t master, bool valid) in TRDC_SetMasterDomainAssignmentValid()
[all …]
Dfsl_trdc.c168 uint8_t master, in TRDC_SetProcessorDomainAssignment() argument
199 …assert(master < ((base->TRDC_HWCFG0 & TRDC_TRDC_HWCFG0_NMSTR_MASK) >> TRDC_TRDC_HWCFG0_NMSTR_SHIFT… in TRDC_SetProcessorDomainAssignment()
201 assert(0U == (base->DACFG[master] & TRDC_DACFG_NCM_MASK)); in TRDC_SetProcessorDomainAssignment()
211 base->MDA_DFMT0[master].MDA_W_DFMT0[regNum] = pid._u32 | TRDC_MDA_W_DFMT0_VLD_MASK; in TRDC_SetProcessorDomainAssignment()
240 uint8_t master, in TRDC_SetNonProcessorDomainAssignment() argument
243 …assert(master < ((base->TRDC_HWCFG0 & TRDC_TRDC_HWCFG0_NMSTR_MASK) >> TRDC_TRDC_HWCFG0_NMSTR_SHIFT… in TRDC_SetNonProcessorDomainAssignment()
245 assert(0U != (base->DACFG[master] & TRDC_DACFG_NCM_MASK)); in TRDC_SetNonProcessorDomainAssignment()
254 base->MDA_DFMT1[master].MDA_W_DFMT1[0] = pid._u32 | TRDC_MDA_W_DFMT1_VLD_MASK; in TRDC_SetNonProcessorDomainAssignment()
256 base->MDA_W0_DFMT1[master - 1U].MDA_W0_x_DFMT1 = pid._u32 | TRDC_MDA_W0_x_DFMT1_VLD_MASK; in TRDC_SetNonProcessorDomainAssignment()
271 void TRDC_SetPid(TRDC_Type *base, uint8_t master, const trdc_pid_config_t *pidConfig) in TRDC_SetPid() argument
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/trdc_1/
Dfsl_trdc.h547 static inline void TRDC_LockMasterDomainAssignment(TRDC_Type *base, uint8_t master, uint8_t regNum) in TRDC_LockMasterDomainAssignment() argument
550 assert((uint32_t)master < in TRDC_LockMasterDomainAssignment()
552 if (0U == (TRDC_GENERAL_BASE(base)->DACFG[master] & TRDC_DACFG_NCM_MASK)) in TRDC_LockMasterDomainAssignment()
554 …TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT0[master].MDA_W_DFMT0[regNum] |= TRDC_MDA_W_DFMT0_LK1_M… in TRDC_LockMasterDomainAssignment()
558 … TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT1[master].MDA_W_DFMT1[0] |= TRDC_MDA_W_DFMT1_LK1_MASK; in TRDC_LockMasterDomainAssignment()
574 static inline void TRDC_SetMasterDomainAssignmentValid(TRDC_Type *base, uint8_t master, uint8_t reg… in TRDC_SetMasterDomainAssignmentValid() argument
577 assert((uint32_t)master < in TRDC_SetMasterDomainAssignmentValid()
581 if (0U == (TRDC_GENERAL_BASE(base)->DACFG[master] & TRDC_DACFG_NCM_MASK)) in TRDC_SetMasterDomainAssignmentValid()
583 …TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT0[master].MDA_W_DFMT0[regNum] |= TRDC_MDA_W_DFMT0_VLD_M… in TRDC_SetMasterDomainAssignmentValid()
587 … TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT1[master].MDA_W_DFMT1[0] |= TRDC_MDA_W_DFMT1_VLD_MASK; in TRDC_SetMasterDomainAssignmentValid()
[all …]
Dfsl_trdc.c189 uint8_t master, in TRDC_SetProcessorDomainAssignment() argument
194 assert(master < in TRDC_SetProcessorDomainAssignment()
197 assert(0U == (TRDC_GENERAL_BASE(base)->DACFG[master] & TRDC_DACFG_NCM_MASK)); in TRDC_SetProcessorDomainAssignment()
204 …TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT0[master].MDA_W_DFMT0[regNum] = pid._u32 | TRDC_MDA_W_D… in TRDC_SetProcessorDomainAssignment()
230 uint8_t master, in TRDC_SetNonProcessorDomainAssignment() argument
234 assert(master < in TRDC_SetNonProcessorDomainAssignment()
237 assert(0U != (TRDC_GENERAL_BASE(base)->DACFG[master] & TRDC_DACFG_NCM_MASK)); in TRDC_SetNonProcessorDomainAssignment()
245 …TRDC_DOMAIN_ASSIGNMENT_BASE(base)->MDA_DFMT1[master].MDA_W_DFMT1[0] = pid._u32 | TRDC_MDA_W_DFMT1_… in TRDC_SetNonProcessorDomainAssignment()
263 void TRDC_SetPid(TRDC_Type *base, uint8_t master, const trdc_pid_config_t *pidConfig) in TRDC_SetPid() argument
267 assert(master < in TRDC_SetPid()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/xrdc/
Dfsl_xrdc.h612 void XRDC_SetPidConfig(XRDC_Type *base, xrdc_master_t master, const xrdc_pid_config_t *config);
623 static inline void XRDC_SetPidLockMode(XRDC_Type *base, xrdc_master_t master, xrdc_pid_lock_t lockM… in XRDC_SetPidLockMode() argument
625 uint32_t reg = base->PID[master]; in XRDC_SetPidLockMode()
629 base->PID[master] = reg; in XRDC_SetPidLockMode()
699 xrdc_master_t master,
737 xrdc_master_t master,
753 static inline void XRDC_LockMasterDomainAssignment(XRDC_Type *base, xrdc_master_t master, uint8_t a… in XRDC_LockMasterDomainAssignment() argument
756 …assert(assignIndex < ((base->MDACFG[master] & XRDC_MDACFG_NMDAR_MASK) >> XRDC_MDACFG_NMDAR_SHIFT)); in XRDC_LockMasterDomainAssignment()
758 base->MDA[master].MDA_W[assignIndex] |= XRDC_MDA_W_LK1_MASK; in XRDC_LockMasterDomainAssignment()
774 xrdc_master_t master, in XRDC_SetMasterDomainAssignmentValid() argument
[all …]
Dfsl_xrdc.c283 void XRDC_SetPidConfig(XRDC_Type *base, xrdc_master_t master, const xrdc_pid_config_t *config) in XRDC_SetPidConfig() argument
290 base->PID[master] = pid._u32; in XRDC_SetPidConfig()
378 xrdc_master_t master, in XRDC_SetNonProcessorDomainAssignment() argument
383 assert(0U != (base->MDACFG[master] & XRDC_MDACFG_NCM_MASK)); in XRDC_SetNonProcessorDomainAssignment()
385 …assert(assignIndex < ((base->MDACFG[master] & XRDC_MDACFG_NMDAR_MASK) >> XRDC_MDACFG_NMDAR_SHIFT)); in XRDC_SetNonProcessorDomainAssignment()
392 base->MDA[master].MDA_W[assignIndex] = (mda._u32 | XRDC_MDA_W_VLD_MASK); in XRDC_SetNonProcessorDomainAssignment()
429 xrdc_master_t master, in XRDC_SetProcessorDomainAssignment() argument
434 assert(0U == (base->MDACFG[master] & XRDC_MDACFG_NCM_MASK)); in XRDC_SetProcessorDomainAssignment()
436 …assert(assignIndex < ((base->MDACFG[master] & XRDC_MDACFG_NMDAR_MASK) >> XRDC_MDACFG_NMDAR_SHIFT)); in XRDC_SetProcessorDomainAssignment()
443 base->MDA[master].MDA_W[assignIndex] = (mda._u32 | XRDC_MDA_W_VLD_MASK); in XRDC_SetProcessorDomainAssignment()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/xrdc2/
Dfsl_xrdc2.h255 xrdc2_master_t master,
271 static inline void XRDC2_LockMasterDomainAssignment(XRDC2_Type *base, xrdc2_master_t master, uint8_… in XRDC2_LockMasterDomainAssignment() argument
273 base->MDACI_MDAJ[master][assignIndex].MDAC_MDA_W1 |= XRDC2_MDAC_MDA_W1_DL_MASK; in XRDC2_LockMasterDomainAssignment()
289 xrdc2_master_t master, in XRDC2_SetMasterDomainAssignmentValid() argument
295 base->MDACI_MDAJ[master][assignIndex].MDAC_MDA_W1 |= XRDC2_MDAC_MDA_W1_VLD_MASK; in XRDC2_SetMasterDomainAssignmentValid()
299 base->MDACI_MDAJ[master][assignIndex].MDAC_MDA_W1 &= ~XRDC2_MDAC_MDA_W1_VLD_MASK; in XRDC2_SetMasterDomainAssignmentValid()
Dfsl_xrdc2.c163 xrdc2_master_t master, in XRDC2_SetMasterDomainAssignment() argument
183 base->MDACI_MDAJ[master][assignIndex].MDAC_MDA_W0 = w0; in XRDC2_SetMasterDomainAssignment()
184 base->MDACI_MDAJ[master][assignIndex].MDAC_MDA_W1 = w1; in XRDC2_SetMasterDomainAssignment()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/irqsteer/
Dfsl_irqsteer.c114 uint32_t master; in IRQSTEER_Deinit() local
117 for (master = 0; master < (uint32_t)FSL_FEATURE_IRQSTEER_MASTER_COUNT; master++) in IRQSTEER_Deinit()
119 (void)DisableIRQ(s_irqsteerIRQNumber[master]); in IRQSTEER_Deinit()
/hal_nxp-3.7.0/imx/drivers/
Drdc_semaphore.c140 uint8_t master; in RDC_SEMAPHORE_GetLockMaster() local
144master = (semaphore->GATE[index] & RDC_SEMAPHORE_GATE_GTFSM_MASK) >> RDC_SEMAPHORE_GATE_GTFSM_SHIF… in RDC_SEMAPHORE_GetLockMaster()
146 return master == 0 ? RDC_SEMAPHORE_MASTER_NONE : master - 1; in RDC_SEMAPHORE_GetLockMaster()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/rdc/
Dfsl_rdc.h227 rdc_master_t master,
251 static inline void RDC_LockMasterDomainAssignment(RDC_Type *base, rdc_master_t master) in RDC_LockMasterDomainAssignment() argument
253 assert((uint32_t)master < RDC_MDA_COUNT); in RDC_LockMasterDomainAssignment()
255 base->MDA[master] |= RDC_MDA_LCK_MASK; in RDC_LockMasterDomainAssignment()
Dfsl_rdc.c130 void RDC_SetMasterDomainAssignment(RDC_Type *base, rdc_master_t master, const rdc_domain_assignment… in RDC_SetMasterDomainAssignment() argument
132 assert((uint32_t)master < RDC_MDA_COUNT); in RDC_SetMasterDomainAssignment()
138 base->MDA[master] = mda._u32; in RDC_SetMasterDomainAssignment()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/aipstz/
Dfsl_aipstz.c30 void AIPSTZ_SetMasterPriviledgeLevel(AIPSTZ_Type *base, aipstz_master_t master, uint32_t privilegeC… in AIPSTZ_SetMasterPriviledgeLevel() argument
32 uint32_t mask = ((uint32_t)master >> 8U) - 1U; in AIPSTZ_SetMasterPriviledgeLevel()
33 uint32_t shift = (uint32_t)master & 0xFFU; in AIPSTZ_SetMasterPriviledgeLevel()
Dfsl_aipstz.h115 void AIPSTZ_SetMasterPriviledgeLevel(AIPSTZ_Type *base, aipstz_master_t master, uint32_t privilegeC…
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/wm8904/
Dfsl_wm8904.h264 bool master; /*!< Master or slave */ member
368 status_t WM8904_SetMasterSlave(wm8904_handle_t *handle, bool master);
Dfsl_wm8904.c395 if (config->master) in WM8904_Init()
478 config->master = false; in WM8904_GetDefaultConfig()
492 status_t WM8904_SetMasterSlave(wm8904_handle_t *handle, bool master) in WM8904_SetMasterSlave() argument
494 if (master) in WM8904_SetMasterSlave()
/hal_nxp-3.7.0/mcux/mcux-sdk/utilities/misc_utilities/
DKconfig24 Used to include slave core binary into master core binary.
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/sgtl5000/
Dfsl_sgtl5000.c161 void SGTL_SetMasterSlave(sgtl_handle_t *handle, bool master) in SGTL_SetMasterSlave() argument
163 if (master == true) in SGTL_SetMasterSlave()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sysmpu/
Dfsl_sysmpu.h150 uint32_t master; /*!< Access error master. */ member
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/cs42448/
Dfsl_cs42448.h181 bool master; /*!< true is master, false is slave */ member
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/cs42888/
Dfsl_cs42888.h180 bool master; /*!< true is master, false is slave */ member
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/wm8960/
Dfsl_wm8960.h435 void WM8960_SetMasterSlave(wm8960_handle_t *handle, bool master);

12