Home
last modified time | relevance | path

Searched refs:boardCfg (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/input/driver/
H A Dhdf_touch.c691 chipDev->boardCfg = driver->boardCfg; in DeviceBindDriver()
1012 if (boardCfg == NULL) { in BoardConfigInstance()
1020 OsalMemFree(boardCfg); in BoardConfigInstance()
1021 boardCfg = NULL; in BoardConfigInstance()
1023 return boardCfg; in BoardConfigInstance()
1152 TouchBoardCfg *boardCfg = NULL; in HdfTouchDriverProbe() local
1161 boardCfg = BoardConfigInstance(device); in HdfTouchDriverProbe()
1162 if (boardCfg == NULL) { in HdfTouchDriverProbe()
1173 touchDriver->boardCfg = boardCfg; in HdfTouchDriverProbe()
1184 OsalMemFree(boardCfg); in HdfTouchDriverProbe()
[all …]
H A Dhdf_touch.h71 TouchBoardCfg *boardCfg; member
87 TouchBoardCfg *boardCfg; member
/ohos5.0/drivers/hdf_core/framework/model/input/driver/touchscreen/
H A Dtouch_gt911.c111 int32_t resX = device->driver->boardCfg->attr.resolutionX; in ChipVersionDefault()
112 int32_t resY = device->driver->boardCfg->attr.resolutionY; in ChipVersionDefault()
120 int32_t resX = device->driver->boardCfg->attr.resolutionX; in ChipVersionDefault()
121 int32_t resY = device->driver->boardCfg->attr.resolutionY; in ChipVersionDefault()
153 int32_t resX = device->driver->boardCfg->attr.resolutionX; in ChipVersionIsOne()
154 int32_t resY = device->driver->boardCfg->attr.resolutionY; in ChipVersionIsOne()
166 int32_t resX = device->driver->boardCfg->attr.resolutionX; in ChipVersionIsExt()
167 int32_t resY = device->driver->boardCfg->attr.resolutionY; in ChipVersionIsExt()
285 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1; in SetAbility()
288 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1; in SetAbility()
[all …]
H A Dtouch_ft5406.c99 frame->fingers[i].x = device->boardCfg->attr.resolutionX - frame->fingers[i].x - 1; in ParsePointData()
100 frame->fingers[i].y = device->boardCfg->attr.resolutionY - frame->fingers[i].y - 1; in ParsePointData()
179 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1; in SetAbility()
182 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1; in SetAbility()
185 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].max = device->boardCfg->attr.resolut… in SetAbility()
188 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].max = device->boardCfg->attr.resolut… in SetAbility()
H A Dtouch_ft5x06.c175 …device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - NUM_1; in SetAbility()
178 …device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - NUM_1; in SetAbility()
181 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].max = device->boardCfg->attr.resolut… in SetAbility()
184 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].max = device->boardCfg->attr.resolut… in SetAbility()
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/input_template/
H A Dinput_driver_source.template94 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1;
97 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1;
100 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].max = device->boardCfg->attr.resolut…
103 …device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].max = device->boardCfg->attr.resolut…
/ohos5.0/docs/zh-cn/device-dev/guide/
H A Ddevice-outerdriver-demo.md395 boardCfg = BoardConfigInstance(device);
401 ret = TouchDriverInit(touchDriver, boardCfg);
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-touch-des.md279 int32_t resX = device->driver->boardCfg->attr.resolutionX;
280 int32_t resY = device->driver->boardCfg->attr.resolutionY;
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-outerdriver-demo.md393 …/* Use the boardCfg structure to allocate memory and parse the configuration information obtained …
394 boardCfg = BoardConfigInstance(device);
400 ret = TouchDriverInit(touchDriver, boardCfg);
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-touch-des.md281 int32_t resX = device->driver->boardCfg->attr.resolutionX;
282 int32_t resY = device->driver->boardCfg->attr.resolutionY;