Searched refs:ClockLockMethod (Results 1 – 4 of 4) sorted by relevance
40 ClockMethod和ClockLockMethod定义:54 struct ClockLockMethod {61 在适配层中,ClockMethod必须被实现,ClockLockMethod可根据实际情况考虑是否实现。核心层提供了默认的ClockLockMethod,其中使用Spinlock作为保护临界区的锁:82 static const struct ClockLockMethod g_clockLockOpsDefault = {89 若实际情况不允许使用Spinlock,驱动适配者可以考虑使用其他类型的锁来实现一个自定义的ClockLockMethod。一旦实现了自定义的ClockLockMethod,默认的ClockLockM…104 **表 2** ClockLockMethod结构体成员函数功能说明269 const struct ClockLockMethod *lockOps;277 ClockLockMethod钩子函数结构体本例未实现,若要实例化,可参考I2C驱动开发。
28 struct ClockLockMethod;36 const struct ClockLockMethod *lockOps;53 struct ClockLockMethod { struct
39 Definitions of **ClockMethod** and **ClockLockMethod**:53 struct ClockLockMethod {60 …on layer, and **ClockLockMethod** can be implemented based on service requirements. The core layer…81 static const struct ClockLockMethod g_clockLockOpsDefault = {88 …e of lock to implement **ClockLockMethod**. The customized **ClockLockMethod** method will replace…103 **Table 2** APIs in **ClockLockMethod**258 const struct ClockLockMethod *lockOps;267 …The **ClockLockMethod** is not implemented in this example. To instantiate the structure, refer to…
47 static const struct ClockLockMethod g_clockLockOpsDefault = {