Home
last modified time | relevance | path

Searched refs:ClockLockMethod (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-clock-develop.md40 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驱动开发。
/ohos5.0/drivers/hdf_core/framework/support/platform/include/clock/
H A Dclock_core.h28 struct ClockLockMethod;
36 const struct ClockLockMethod *lockOps;
53 struct ClockLockMethod { struct
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-clock-develop.md39 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…
/ohos5.0/drivers/hdf_core/framework/support/platform/src/clock/
H A Dclock_core.c47 static const struct ClockLockMethod g_clockLockOpsDefault = {