Home
last modified time | relevance | path

Searched refs:HdfDriverEntry (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/
H A Dhdf_driver.h16 const struct HdfDriverEntry *entry;
23 int32_t HdfRegisterDriverEntry(const struct HdfDriverEntry *entry);
24 int32_t HdfUnregisterDriverEntry(const struct HdfDriverEntry *entry);
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-mipidsi-develop.md94 - 实例化HdfDriverEntry结构体成员。
96 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
124 …必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HdfDriverEntry结构…
131 struct HdfDriverEntry g_mipiTxDriverEntry = {
181 …体(传递参数和数据),实例化MipiDsiCntlr成员MipiDsiCntlrMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-i2c-develop.md96 - 实例化HdfDriverEntry结构体成员。
98 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
125 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
136 struct HdfDriverEntry g_i2cDriverEntry = {
145 struct HdfDriverEntry g_i2cManagerEntry = {
243 …,包括驱动适配者自定义结构体(传递参数和数据),实例化I2cCntlr成员I2cMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind,Init,…
H A Ddriver-platform-rtc-develop.md15 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
82 - 实例化HdfDriverEntry结构体成员。
84 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
112 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
119 struct HdfDriverEntry g_rtcDriverEntry = {
205 …心,包括驱动适配者自定义结构体(传递参数和数据),实例化RtcHost成员RtcMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-adc-develop.md119 - 实例化HdfDriverEntry结构体成员。
121 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
148HdfDriverEntry(在//drivers/hdf_core/interfaces/inner_api/host/shared/hdf_device_desc.h中定义)类型的全局变量,且…
159 static struct HdfDriverEntry g_hi35xxAdcDriverEntry = {
168 struct HdfDriverEntry g_adcManagerEntry = {
269 …始化驱动适配者自定义结构体(传递参数和数据),实例化AdcDevice成员AdcMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind,Init,…
H A Ddriver-platform-mipicsi-develop.md110 - 实例化HdfDriverEntry结构体成员。
112 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
140 …必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HdfDriverEntry结构…
147 struct HdfDriverEntry g_mipiCsiDriverEntry = {
200 完成驱动入口注册之后,最后一步就是以核心层MipiCsiCntlr对象的初始化为核心,实现HdfDriverEntry成员函数(Bind,Init,Release)。
H A Ddriver-platform-sdio-develop.md15 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
102 - 实例化HdfDriverEntry结构体成员。
104 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
132 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
139 struct HdfDriverEntry g_sdioDriverEntry = {
212 …配者自定义结构体(传递参数和数据),实例化SdioDevice成员SdioDeviceOps(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-spi-develop.md15 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
104 - 实例化HdfDriverEntry结构体成员。
106 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
133 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
140 struct HdfDriverEntry g_hdfSpiDevice = {
259 …适配者自定义结构体(传递参数和数据),实例化SpiCntlr成员SpiCntlrMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-watchdog-develop.md19 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
91 …驱动入口必须为HdfDriverEntry(在 hdf_device_desc.h 中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加…
98 struct HdfDriverEntry g_watchdogDriverEntry = {
177 …义结构体(传递参数和数据),实例化WatchdogCntlr成员WatchdogMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind,Init,…
H A Ddriver-platform-pwm-develop.md19 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
81 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
88 struct HdfDriverEntry g_hdfPwm = {
186 …核心,包括驱动适配者自定义结构体(传递参数和数据),实例化PwmDev成员PwmMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-clock-develop.md117 - 实例化HdfDriverEntry结构体成员。
119 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
146HdfDriverEntry(在//drivers/hdf_core/interfaces/inner_api/host/shared/hdf_device_desc.h中定义)类型的全局变量,且…
157 struct HdfDriverEntry g_clockLinuxDriverEntry = {
167 struct HdfDriverEntry g_clockManagerEntry = {
256 …适配者自定义结构体(传递参数和数据),实例化ClockDevice成员ClockMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind,Init,…
H A Ddriver-platform-i3c-develop.md107 - 实例化HdfDriverEntry结构体成员。
109 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
136 …为HdfDriverEntry(在//drivers/hdf_core/framework/include/core/hdf_device_desc.h中定义)类型的全局变量,且moduleNam…
148 static struct HdfDriverEntry g_virtualI3cDriverEntry = {
157 struct HdfDriverEntry g_i3cManagerEntry = {
241 此步骤需要通过实现HdfDriverEntry成员函数(Bind,Init,Release)来完成。
H A Ddriver-platform-regulator-develop.md89 …驱动开发首先需要实例化驱动入口,驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保…
91 HDF框架会汇总所有加载的驱动的HdfDriverEntry对象入口,形成一个类似数组的段地址空间,方便上层调用。
96 struct HdfDriverEntry g_regulatorDriverEntry = {
212 …结构体(传递参数和数据),实例化RegulatorNode成员RegulatorMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-hdmi-develop.md134 - 实例化HdfDriverEntry结构体成员。
136 - 调用HDF_INIT将HdfDriverEntry实例化对象注册到HDF框架中。
156 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
163 struct HdfDriverEntry g_hdmiDriverEntry = {
249 …包括厂商自定义结构体(传递参数和数据),实例化HdmiCntlr成员HdmiCntlrOps(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind,Init,…
H A Ddriver-platform-mmc-develop.md29 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
115 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
122 struct HdfDriverEntry g_mmcDriverEntry = {
255 …包括驱动适配自定义结构体(传递参数和数据),实例化MmcCntlr成员MmcCntlrOps(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
H A Ddriver-platform-uart-develop.md45 - 驱动适配者需要实现HdfDriverEntry的Bind钩子函数以绑定服务。
121 …驱动入口必须为HdfDriverEntry(在hdf_device_desc.h中定义)类型的全局变量,且moduleName要和device_info.hcs中保持一致。HDF框架会将所有加载的…
128 struct HdfDriverEntry g_hdfUartDevice = {
233 …适配者自定义结构体(传递参数和数据),实例化UartHost成员UartHostMethod(让用户可以通过接口来调用驱动底层函数),实现HdfDriverEntry成员函数(Bind、Init、…
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/uhdf/
H A Dhdf_device_section.h19 struct HdfDriverEntry;
21 #define HDF_DRIVER_INIT(module) struct HdfDriverEntry *driverDesc = &(module)
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/audio_template/
H A Dhi35xx_audio_adapter_source.template27 /* HdfDriverEntry implementations */
90 /* HdfDriverEntry definitions */
91 struct HdfDriverEntry g_${driver_lower_case}_${device_lower_case}DriverEntry = {
H A Drk3568_audio_adapter_source.template61 /* HdfDriverEntry implementations */
166 /* HdfDriverEntry definitions */
167 struct HdfDriverEntry g_${driver_upper_camel_case}DriverEntry = {
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Dhdf_driver_loader.c19 struct HdfDriverEntry *driverEntry = NULL; in HdfDriverEntryConstruct()
29 driverEntry = (struct HdfDriverEntry *)(*addrBegin); in HdfDriverEntryConstruct()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddriver_loader_full.c51 struct HdfDriverEntry **driverEntry = (struct HdfDriverEntry **)dlsym(handle, DRIVER_DESC); in HdfDriverLoaderGetDriver()
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-hdf-coding-guide.md47 #### 【规则】应当按照驱动入口对象HdfDriverEntry中的职责定义来实现Bind、Init和Release方法,避免职责不单一引入问题
49 【说明】HdfDriverEntry对象是HDF驱动的入口,其中的三个方法指针均有各自的职责,开发者需按照方法职责来实现对应函数。
52 struct HdfDriverEntry g_sampleDriverEntry = {
86 #### 【规则】在HdfDriverEntry的Bind方法中,必须完成全部驱动服务接口的绑定,禁止将服务接口未定义或定义为空
105 #### 【建议】在HdfDriverEntry的Init方法中,应当调用HdfDeviceSetClass接口,对驱动的类型进行定义
/ohos5.0/drivers/hdf_core/framework/core/manager/src/
H A Ddriver_manager.c25 int32_t HdfRegisterDriverEntry(const struct HdfDriverEntry *entry) in HdfRegisterDriverEntry()
45 int32_t HdfUnregisterDriverEntry(const struct HdfDriverEntry *entry) in HdfUnregisterDriverEntry()
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-mipidsi-develop.md52 - Instantiate the **HdfDriverEntry** structure.
53 - Call **HDF_INIT** to register the **HdfDriverEntry** instance with the HDF.
101HdfDriverEntry** type (defined in **hdf_device_desc.h**), and the value of **moduleName** must be …
108 struct HdfDriverEntry g_mipiTxDriverEntry = {
117 …ustom structure (to pass parameters and data) and implementing the **HdfDriverEntry** member funct…
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/
H A Dhdf_driver.c.template29 …ect of the driver entry. The object must be a global variable of the HdfDriverEntry type (defined …
30 struct HdfDriverEntry g_${driver_lower_case}DriverEntry = {

12345678910>>...19