Lines Matching refs:aPlatformConfig
109 static const char *getTrelRadioUrl(otPlatformConfig *aPlatformConfig) in getTrelRadioUrl() argument
113 for (uint8_t i = 0; i < aPlatformConfig->mCoprocessorUrls.mNum; i++) in getTrelRadioUrl()
115 ot::Posix::RadioUrl url(aPlatformConfig->mCoprocessorUrls.mUrls[i]); in getTrelRadioUrl()
119 radioUrl = aPlatformConfig->mCoprocessorUrls.mUrls[i]; in getTrelRadioUrl()
135 void platformInitRcpMode(otPlatformConfig *aPlatformConfig) in platformInitRcpMode() argument
137 platformRadioInit(get802154RadioUrl(aPlatformConfig->mCoprocessorUrls)); in platformInitRcpMode()
140 VerifyOrExit(!aPlatformConfig->mDryRun); in platformInitRcpMode()
143 platformTrelInit(getTrelRadioUrl(aPlatformConfig)); in platformInitRcpMode()
158 platformNetifInit(aPlatformConfig); in platformInitRcpMode()
168 ot::Posix::Udp::Get().Init(aPlatformConfig->mInterfaceName); in platformInitRcpMode()
175 void platformInitNcpMode(otPlatformConfig *aPlatformConfig) in platformInitNcpMode() argument
178 OT_UNUSED_VARIABLE(aPlatformConfig); in platformInitNcpMode()
181 void platformInit(otPlatformConfig *aPlatformConfig) in platformInit() argument
187 platformAlarmInit(aPlatformConfig->mSpeedUpFactor, aPlatformConfig->mRealTimeSignal); in platformInit()
191 …sCoprocessorType = platformSpinelManagerInit(get802154RadioUrl(aPlatformConfig->mCoprocessorUrls)); in platformInit()
197 platformInitRcpMode(aPlatformConfig); in platformInit()
201 platformInitNcpMode(aPlatformConfig); in platformInit()
210 aPlatformConfig->mCoprocessorType = sCoprocessorType; in platformInit()
213 void platformSetUp(otPlatformConfig *aPlatformConfig) in platformSetUp() argument
215 OT_UNUSED_VARIABLE(aPlatformConfig); in platformSetUp()
220 …if (aPlatformConfig->mBackboneInterfaceName != nullptr && strlen(aPlatformConfig->mBackboneInterfa… in platformSetUp()
225 … icmp6Sock = ot::Posix::InfraNetif::CreateIcmp6Socket(aPlatformConfig->mBackboneInterfaceName); in platformSetUp()
228 otSysSetInfraNetif(aPlatformConfig->mBackboneInterfaceName, icmp6Sock); in platformSetUp()
266 otInstance *otSysInit(otPlatformConfig *aPlatformConfig) in otSysInit() argument
270 platformInit(aPlatformConfig); in otSysInit()
272 gDryRun = aPlatformConfig->mDryRun; in otSysInit()
278 platformSetUp(aPlatformConfig); in otSysInit()