Home
last modified time | relevance | path

Searched refs:PwmDeviceAdd (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/support/platform/include/pwm/
H A Dpwm_core.h49 int32_t PwmDeviceAdd(struct HdfDeviceObject *obj, struct PwmDev *pwm);
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-pwm-develop.md258 初始化自定义结构体对象,初始化PwmDev成员,调用核心层PwmDeviceAdd函数,完成PWM控制器的添加。
296 … if (PwmDeviceAdd(obj, &(hp->dev)) != HDF_SUCCESS) { // 【重要】调用核心层函数,初始化hp->dev的设备和服务。
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/pwm/
H A Dpwm_adapter.c125 ret = PwmDeviceAdd(obj, pwm); in HdfPwmInit()
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dpwm_virtual.c97 if (PwmDeviceAdd(obj, &(virtual->dev)) != HDF_SUCCESS) { in VirtualPwmProbe()
/ohos5.0/drivers/hdf_core/adapter/platform/pwm/
H A Dpwm_wm.c167 ret = PwmDeviceAdd(device, host); in PwmDriverInit()
H A Dpwm_bes.c245 ret = PwmDeviceAdd(device, host);
H A Dpwm_stm32f4xx.c364 ret = PwmDeviceAdd(device, host);
/ohos5.0/drivers/hdf_core/framework/support/platform/src/pwm/
H A Dpwm_core.c201 int32_t PwmDeviceAdd(struct HdfDeviceObject *obj, struct PwmDev *pwm) in PwmDeviceAdd() function
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-pwm-develop.md234 …Initializes the custom structure object and **PwmDev** members, and calls **PwmDeviceAdd()** to ad…
273 …if (PwmDeviceAdd(obj, &(hp->dev)) ) != HDF_SUCCESS) { // Call the core layer function to init…