/drivers/peripheral/usb/ddk/host/src/ |
H A D | ddk_uevent_queue.cpp | 49 char devType[MAX_DEVTYPE_LEN]; member 89 ret = memcpy_s(task.devType, MAX_DEVTYPE_LEN, info->devType, strlen(info->devType)); in DdkUeventCopyTask() 91 HDF_LOGE("%{public}s: copy devType failed:%{public}s", __func__, info->devType); in DdkUeventCopyTask() 142 if (strcmp(info->action, "bind") == 0 && strcmp(info->devType, "usb_device") == 0) { in DdkDispatchUevent() 144 } else if (strcmp(info->action, "remove") == 0 && strcmp(info->devType, "usb_device") == 0) { in DdkDispatchUevent() 219 bool isAddDevice = strcmp(info->action, "bind") == 0 && strcmp(info->devType, "usb_device") == 0; in DdkUeventAddTask() 220 bool isRemoveDevice = strcmp(info->action, "remove") == 0 && strcmp(info->devType, "usb_devic in DdkUeventAddTask() [all...] |
H A D | ddk_uevent_handle.c | 95 .devType = "", in DdkHandleUevent() 111 strlen(info.devType) == 0) { // some uevent has more than one DEVTYPE property in DdkHandleUevent() 113 info.devType = msgTmp; in DdkHandleUevent()
|
/drivers/hdf_core/framework/model/input/driver/ |
H A D | input_config.h | 18 uint8_t devType; member 137 uint8_t devType; member 145 uint8_t devType; member 154 uint8_t devType; member
|
H A D | hdf_input_device_manager.h | 53 uint32_t devType; member 58 uint32_t devType; member 113 uint32_t devType; member
|
H A D | hdf_input_device_manager.c | 36 if ((inputDev->devType > INDEV_TYPE_HID_BEGIN_POS) && (inputDev->devType < INDEV_TYPE_UNKNOWN)) { in IsHidDevice() 93 event.devType = inputDev->devType; in HotPlugNotify() 214 switch (inputDev->devType) { in AllocPackageBuffer() 240 HDF_LOGE("%s: devType not exist", __func__); in AllocPackageBuffer() 276 if (inputDev->devType == INDEV_TYPE_TOUCH) { in AllocDeviceID() 328 HDF_LOGI("%s: enter devName=%s, devType=%u", __func__, inputDev->devName, inputDev->devType); in RegisterInputDevice() 417 sta.devType in ScanAllDev() [all...] |
H A D | hdf_infrared.h | 18 uint8_t devType;
member
|
H A D | hdf_key.h | 22 uint8_t devType; member
|
H A D | hdf_encoder.h | 20 uint8_t devType;
member
|
H A D | hdf_key.c | 119 keyDrv->devType = keyCfg->devType; in KeyDriverInstance() 135 inputDev->devType = keyDrv->devType; in InputDeviceInstance()
|
H A D | hdf_hid_adapter.c | 212 inputDev->devType = info->devType; in HidConstructInputDev() 252 HDF_LOGI("%s: enter devName=%s, devType=%u", __func__, info->devName, info->devType); in HidRegisterHdfInputDev() 317 device->devType == INDEV_TYPE_KEYBOARD) { in HidReportEvent() 333 uint32_t devType = inputDev->devType; in HidGetDevType() local 334 HDF_LOGI("%s: enter, devType is %u", __func__, devType); in HidGetDevType() 335 bool ret = HdfSbufWriteUint32(reply, devType); in HidGetDevType() [all...] |
H A D | hdf_infrared.c | 237 infraredDrv->devType = infraredCfg->devType;
in InfraredDriverInstance() 253 inputDev->devType = infraredDrv->devType;
in InputDeviceInstance()
|
H A D | hdf_encoder.c | 105 encoderDrv->devType = encoderCfg->devType;
in EncoderDriverInstance() 177 inputDev->devType = encoderDrv->devType;
in InputDeviceInstance()
|
H A D | hdf_touch.h | 69 uint32_t devType; member
|
H A D | hdf_hid_adapter.h | 60 uint32_t devType;
member
|
/drivers/peripheral/input/test/fuzztest/inputgetdevicetype_fuzzer/ |
H A D | inputgetdevicetype_fuzzer.cpp | 32 uint32_t devType = INIT_DEFAULT_VALUE; in InputGetDeviceTypeFuzzTest() local 55 ret = g_inputInterface->iInputController->GetDeviceType(*(uint32_t *)data, &devType); in InputGetDeviceTypeFuzzTest()
|
/drivers/peripheral/usb/ddk/host/include/ |
H A D | ddk_uevent_queue.h | 26 const char *devType; member
|
/drivers/peripheral/input/interfaces/include/ |
H A D | input_type.h | 174 uint32_t devType; /**< Device type */
member 183 uint32_t devType; /**< Device type */
member 275 uint32_t devType; /**< Device type */
member
|
/drivers/peripheral/input/test/unittest/hdi/ |
H A D | hdf_input_hdi_test.cpp | 156 HDF_LOGE("%s: %d, %d, %d, %d", __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex); in HWTEST_F() 275 HDF_LOGI("%s: devindex = %u, devType = %u", __func__, dev.devIndex, dev.devType); in HWTEST_F() 308 HDF_LOGI("%s: index = %u, devType = %u", __func__, dev[i].devIndex, dev[i].devType); in HWTEST_F() 329 uint32_t devType = INIT_DEFAULT_VALUE; in HWTEST_F() local 331 ret = g_inputInterfaces->GetDeviceType(TOUCH_INDEX, devType); in HWTEST_F() 337 HDF_LOGI("%s: device's type is %u", __func__, devType); in HWTEST_F() 389 HDF_LOGI("%s: new devIndex = %u, devType in HWTEST_F() [all...] |
/drivers/hdf_core/framework/model/storage/src/mmc/ |
H A D | mmc_core.c | 217 if (cntlr->devType == MMC_DEV_SDIO) { in MmcCntlrQueueCreate() 219 } else if (cntlr->devType == MMC_DEV_SD) { in MmcCntlrQueueCreate() 221 } else if (cntlr->devType == MMC_DEV_EMMC) { in MmcCntlrQueueCreate() 554 int32_t MmcCntlrAllocDev(struct MmcCntlr *cntlr, enum MmcDevType devType) in MmcCntlrAllocDev() argument 564 if (devType == MMC_DEV_SDIO || devType == MMC_DEV_COMBO) { in MmcCntlrAllocDev() 566 } else if (devType == MMC_DEV_SD) { in MmcCntlrAllocDev() 568 } else if (devType == MMC_DEV_EMMC) { in MmcCntlrAllocDev() 573 HDF_LOGE("MmcCntlrAllocDev: len is 0, type = %d!", (uint32_t)devType); in MmcCntlrAllocDev() 582 mmc->type = devType; in MmcCntlrAllocDev() [all...] |
/drivers/peripheral/input/test/unittest/common/ |
H A D | hdi_input_test.cpp | 113 HDF_LOGI("%s: status =%d devId=%d type =%d", __func__, msg->status, msg->devIndex, msg->devType); in ReportHotPlugEventPkgCallback() 202 HDF_LOGI("%s:%d, %d, %d, %d", __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex); in HWTEST_F() 352 HDF_LOGI("%s: devindex = %u, devType = %u", __func__, dev->devIndex, in HWTEST_F() 353 dev->devType); in HWTEST_F() 385 HDF_LOGI("%s: index = %u, devType = %u", __func__, dev[i]->devIndex, in HWTEST_F() 386 dev[i]->devType); in HWTEST_F() 404 uint32_t devType = INIT_DEFAULT_VALUE; in HWTEST_F() local 408 ret = g_inputInterface->iInputController->GetDeviceType(TOUCH_INDEX, &devType); in HWTEST_F() 412 HDF_LOGI("%s: device1's type is %u", __func__, devType); in HWTEST_F() [all...] |
/drivers/hdf_core/adapter/khdf/linux/model/storage/ |
H A D | emmc_adapter.c | 109 ret = drsOps->GetUint32(node, "devType", &(cntlr->devType), 0); in LinuxEmmcCntlrParse() 111 HDF_LOGE("LinuxEmmcCntlrParse: read devType fail!"); in LinuxEmmcCntlrParse() 149 ret = MmcCntlrAllocDev(cntlr, (enum MmcDevType)cntlr->devType); in LinuxEmmcBind()
|
/drivers/peripheral/input/hdi_service/ |
H A D | input_interfaces_impl.cpp | 57 hdiDevInfo.devType = halDevInfo.devType; in TransferDevInfo() 143 HotPlugEvent.devType = event->devType; in HotplugEventDataCallback() 188 StaArr.devType = staArrHdf[i].devType; in ScanInputDevice()
|
/drivers/peripheral/input/test/common/src/ |
H A D | input_callback_impl.cpp | 49 HDF_LOGI("%s: status = %d devId= %d type = %d", __func__, event.status, event.devIndex, event.devType); in HotPlugCallback()
|
/drivers/peripheral/input/test/unittest/hdi_passthrough_additional/ |
H A D | input_callback_impl.cpp | 48 HDF_LOGI("%s: status = %d devId= %d type = %d", __func__, event.status, event.devIndex, event.devType); in HotPlugCallback()
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_pnp_uevent.c | 105 const char *devType; member 451 audioPnpUevent->devType == NULL) { in AudioUsbHeadsetDetectDevice() 457 (strcmp(audioPnpUevent->devType, UEVENT_SUBSYSTEM_USB_DEVICE) != 0) || in AudioUsbHeadsetDetectDevice() 526 if (strncmp(audioPnpUevent->devType, UEVENT_TYPE_EXTCON, strlen(UEVENT_TYPE_EXTCON)) != 0) { in SetAudioEventValue() 587 &audioPnpUevent.state, &audioPnpUevent.devType, &audioPnpUevent.subSystem, in AudioPnpUeventParse()
|