Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/support/platform/include/dac/
H A Ddac_core.h27 struct DacLockMethod;
34 const struct DacLockMethod *lockOps;
44 struct DacLockMethod { struct
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-dac-develop.md67 DacMethod和DacLockMethod定义:
79 struct DacLockMethod {
85 在适配层中,DacMethod必须被实现,DacLockMethod可根据实际情况考虑是否实现。核心层提供了默认的DacLockMethod,其中使用Spinlock作为保护临界区的锁:
106 static const struct DacLockMethod g_dacLockOpsDefault = {
112 若实际情况不允许使用Spinlock,驱动适配者可以考虑使用其他类型的锁来实现一个自定义的DacLockMethod。一旦实现了自定义的DacLockMethod,默认的DacLockMethod将…
122 **表 2** DacLockMethod结构体成员函数功能说明
336 const struct DacLockMethod *lockOps;
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-dac-develop.md63 Definitions of **DacMethod** and **DacLockMethod**:
75 struct DacLockMethod {
80 …mplemented, and **DacLockMethod** can be implemented based on service requirements. The core layer…
101 static const struct DacLockMethod g_dacLockOpsDefault = {
107 …er type of lock to implement **DacLockMethod**. The implemented **DacLockMethod** will replace the…
117 **Table 2** Functions in **DacLockMethod**
320 const struct DacLockMethod *lockOps;
/ohos5.0/drivers/hdf_core/framework/support/platform/src/dac/
H A Ddac_core.c50 static const struct DacLockMethod g_dacLockOpsDefault = {