Searched refs:PwmDeviceAdd (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/drivers/hdf_core/framework/support/platform/include/pwm/ |
H A D | pwm_core.h | 49 int32_t PwmDeviceAdd(struct HdfDeviceObject *obj, struct PwmDev *pwm);
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-platform-pwm-develop.md | 258 初始化自定义结构体对象,初始化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 D | pwm_adapter.c | 125 ret = PwmDeviceAdd(obj, pwm); in HdfPwmInit()
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
H A D | pwm_virtual.c | 97 if (PwmDeviceAdd(obj, &(virtual->dev)) != HDF_SUCCESS) { in VirtualPwmProbe()
|
/ohos5.0/drivers/hdf_core/adapter/platform/pwm/ |
H A D | pwm_wm.c | 167 ret = PwmDeviceAdd(device, host); in PwmDriverInit()
|
H A D | pwm_bes.c | 245 ret = PwmDeviceAdd(device, host);
|
H A D | pwm_stm32f4xx.c | 364 ret = PwmDeviceAdd(device, host);
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/pwm/ |
H A D | pwm_core.c | 201 int32_t PwmDeviceAdd(struct HdfDeviceObject *obj, struct PwmDev *pwm) in PwmDeviceAdd() function
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-platform-pwm-develop.md | 234 …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…
|