/drivers/hdf_core/framework/model/network/wifi/bus/ |
D | hdf_usb_intf.c | 24 static int32_t HdfGetUsbInfo(struct BusDev *dev, struct BusConfig *busCfg) in HdfGetUsbInfo() 32 static void HdfUsbReleaseDev(struct BusDev *dev) in HdfUsbReleaseDev() 45 static int32_t HdfUsbEnableFunc(struct BusDev *dev) in HdfUsbEnableFunc() 52 static int32_t HdfUsbDisableFunc(struct BusDev *dev) in HdfUsbDisableFunc() 59 static int32_t HdfUsbCliamIrq(struct BusDev *dev, IrqHandler *handler, void *data) in HdfUsbCliamIrq() 68 static void HdfUsbClaimHost(struct BusDev *dev) in HdfUsbClaimHost() 74 static void HdfUsbReleaseHost(struct BusDev *dev) in HdfUsbReleaseHost() 80 static int32_t HdfUsbReleaseIrq(struct BusDev *dev) in HdfUsbReleaseIrq() 87 static int32_t HdfUsbReset(struct BusDev *dev) in HdfUsbReset() 94 static int32_t HdfUsbReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbReadN() [all …]
|
D | hdf_sdio_intf.c | 26 static int32_t HdfGetSdioInfo(struct BusDev *dev, struct BusConfig *busCfg) in HdfGetSdioInfo() 53 static void HdfSdioReleaseDev(struct BusDev *dev) in HdfSdioReleaseDev() 66 static int32_t HdfSdioEnableFunc(struct BusDev *dev) in HdfSdioEnableFunc() 82 static int32_t HdfSdioDisableFunc(struct BusDev *dev) in HdfSdioDisableFunc() 98 static int32_t HdfSdioCliamIrq(struct BusDev *dev, IrqHandler *handler, void *data) in HdfSdioCliamIrq() 115 static void HdfSdioClaimHost(struct BusDev *dev) in HdfSdioClaimHost() 126 static void HdfSdioReleaseHost(struct BusDev *dev) in HdfSdioReleaseHost() 138 static int32_t HdfSdioReleaseIrq(struct BusDev *dev) in HdfSdioReleaseIrq() 154 static int32_t HdfSdioReset(struct BusDev *dev) in HdfSdioReset() 170 static int32_t HdfSdioReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioReadN() [all …]
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | usbd_request_auto_test.cpp | 129 struct UsbDev dev = dev_; variable 144 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 159 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 174 struct UsbDev dev = dev_; variable 192 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 207 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 222 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 237 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 254 struct UsbDev dev = dev_; variable 269 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable [all …]
|
D | usbd_transfer_auto_test.cpp | 150 struct UsbDev dev = dev_; variable 166 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 183 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 200 struct UsbDev dev = dev_; variable 217 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 234 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 251 struct UsbDev dev = dev_; variable 269 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 287 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 305 struct UsbDev dev = dev_; variable [all …]
|
D | usbd_device_auto_test.cpp | 310 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 325 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 340 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 357 struct UsbDev dev = dev_; variable 375 struct UsbDev dev = dev_; variable 396 struct UsbDev dev = dev_; variable 417 struct UsbDev dev = dev_; variable
|
D | mock_linux_adapter.cpp | 78 UsbDevice *dev = reinterpret_cast<UsbDevice *>(listEntry); in OsDeviceCompare() local 99 UsbDevice *dev = reinterpret_cast<UsbDevice *>( in OsGetDeviceHandle() local 124 UsbDevice *dev = static_cast<UsbDevice *>(RawUsbMemCalloc(sizeof(UsbDevice))); in OsAllocDevice() local 137 static int32_t OsReadDescriptors(UsbDevice *dev) in OsReadDescriptors() 148 static int32_t OsParseConfigDescriptors(UsbDevice *dev) in OsParseConfigDescriptors() 194 static int32_t OsInitDevice(UsbDevice *dev, uint8_t busNum, uint8_t devAddr) in OsInitDevice() 256 struct UsbDevice *dev = NULL; in FuncAdapterCloseDevice() local 283 int32_t FuncAdapterGetConfigDescriptor(const UsbDevice *dev, uint8_t configIndex, void *buffer, siz… in FuncAdapterGetConfigDescriptor() 310 static int32_t OsGetActiveConfig(UsbDevice *dev, int32_t fd) in OsGetActiveConfig()
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
D | usbd_request_test.cpp | 111 struct UsbDev dev = dev_; variable 127 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 143 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 159 struct UsbDev dev = dev_; variable 178 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 194 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 210 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 226 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 244 struct UsbDev dev = dev_; variable 260 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable [all …]
|
D | usbd_transfer_test.cpp | 146 struct UsbDev dev = dev_; variable 163 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 180 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 197 struct UsbDev dev = dev_; variable 215 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 233 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 251 struct UsbDev dev = dev_; variable 270 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 289 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 308 struct UsbDev dev = dev_; variable [all …]
|
D | usbd_device_test.cpp | 86 struct UsbDev dev = dev_; variable 101 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr}; variable 116 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID}; variable 131 struct UsbDev dev = {BUS_NUM_INVALID, DEV_ADDR_INVALID}; variable 148 struct UsbDev dev = dev_; variable 166 struct UsbDev dev = dev_; variable 187 struct UsbDev dev = dev_; variable 208 struct UsbDev dev = dev_; variable
|
D | usbd_interface_test.cpp | 107 struct UsbDev dev = dev_; variable 124 struct UsbDev dev = dev_; variable 143 struct UsbDev dev = dev_; variable 161 struct UsbDev dev = dev_; variable 178 struct UsbDev dev = dev_; variable 197 struct UsbDev dev = dev_; variable 215 struct UsbDev dev = dev_; variable 233 struct UsbDev dev = dev_; variable
|
/drivers/hdf_core/adapter/khdf/linux/network/src/ |
D | net_device_adapter.c | 34 static int32_t NetDevXmitCheck(const struct sk_buff *skb, struct net_device *dev) in NetDevXmitCheck() 50 static netdev_tx_t NetDevXmit(struct sk_buff *skb, struct net_device *dev) in NetDevXmit() 74 static struct net_device_stats* NetDevGetStats(struct net_device *dev) in NetDevGetStats() 106 static int NetDevChangeMtu(struct net_device *dev, int mtu) in NetDevChangeMtu() 116 static int NetDevOpen(struct net_device *dev) in NetDevOpen() 126 static int NetDevStop(struct net_device *dev) in NetDevStop() 146 struct net_device *dev = NULL; in CreateNetDevice() local 163 static void DestroyNetDevice(struct net_device *dev) in DestroyNetDevice() 182 struct net_device *dev = NULL; in NetDevInit() local 224 struct net_device *dev = NULL; in NetDevAdd() local [all …]
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/ |
D | package-lock.json | 11 "dev": true boolean 17 "dev": true, boolean 27 "dev": true, boolean 37 "dev": true boolean 43 "dev": true boolean 49 "dev": true boolean 55 "dev": true, boolean 65 "dev": true boolean 71 "dev": true boolean 77 "dev": true boolean [all …]
|
/drivers/hdf_core/adapter/khdf/linux/model/storage/ |
D | sdio_adapter.c | 43 static struct sdio_func *LinuxSdioGetFunc(const struct SdioDevice *dev) in LinuxSdioGetFunc() 52 static int32_t LinuxSdioIncrAddrReadBytes(struct SdioDevice *dev, in LinuxSdioIncrAddrReadBytes() 86 static int32_t LinuxSdioIncrAddrWriteBytes(struct SdioDevice *dev, in LinuxSdioIncrAddrWriteBytes() 116 static int32_t LinuxSdioFixedAddrReadBytes(struct SdioDevice *dev, in LinuxSdioFixedAddrReadBytes() 137 static int32_t LinuxSdioFixedAddrWriteBytes(struct SdioDevice *dev, in LinuxSdioFixedAddrWriteBytes() 158 static int32_t LinuxSdioFunc0ReadBytes(struct SdioDevice *dev, in LinuxSdioFunc0ReadBytes() 177 static int32_t LinuxSdioFunc0WriteBytes(struct SdioDevice *dev, in LinuxSdioFunc0WriteBytes() 196 static int32_t LinuxSdioSetBlockSize(struct SdioDevice *dev, uint32_t blockSize) in LinuxSdioSetBlockSize() 207 static int32_t LinuxSdioGetCommonInfo(struct SdioDevice *dev, in LinuxSdioGetCommonInfo() 243 static int32_t LinuxSdioSetCommonInfo(struct SdioDevice *dev, in LinuxSdioSetCommonInfo() [all …]
|
/drivers/hdf_core/adapter/khdf/linux/platform/spi/ |
D | spi_adapter.c | 66 struct SpiDev *dev = NULL; in SpiFindDeviceByCsNum() local 84 struct SpiDev *dev = NULL; in SpiAdapterSetCfg() local 113 struct SpiDev *dev = NULL; in SpiAdapterGetCfg() local 155 struct SpiDev *dev = NULL; in SpiAdapterTransferOneMsg() local 209 struct SpiDev *dev = NULL; in SpiAdapterTransferDifferent() local 248 static const char *GetSpiDevName(const struct device *dev) in GetSpiDevName() 256 static void SpiDevInit(struct SpiDev *dev, const struct spi_device *spidev) in SpiDevInit() 267 struct SpiDev *dev = NULL; in SpiDevCreat() local 280 static int32_t SpiFindDeviceFromBus(struct device *dev, void *para) in SpiFindDeviceFromBus() 345 struct SpiDev *dev = NULL; in SpiAdapterClose() local [all …]
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | mmc_emmc.c | 14 static int32_t EmmcDeviceDefaultGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceDefaultGetCid() 30 int32_t EmmcDeviceGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceGetCid() 47 void EmmcDeviceAddOps(struct EmmcDevice *dev, struct EmmcDeviceOps *ops) in EmmcDeviceAddOps()
|
D | mmc_sdio.c | 14 static int32_t SdioDeviceDefaultIncrAddrReadBytes(struct SdioDevice *dev, in SdioDeviceDefaultIncrAddrReadBytes() 50 static int32_t SdioDeviceDefaultIncrAddrWriteBytes(struct SdioDevice *dev, in SdioDeviceDefaultIncrAddrWriteBytes() 86 static int32_t SdioDeviceDefaultFixedAddrReadBytes(struct SdioDevice *dev, in SdioDeviceDefaultFixedAddrReadBytes() 120 static int32_t SdioDeviceDefaultFixedAddrWriteBytes(struct SdioDevice *dev, in SdioDeviceDefaultFixedAddrWriteBytes() 154 static int32_t SdioDeviceDefaultFunc0ReadBytes(struct SdioDevice *dev, in SdioDeviceDefaultFunc0ReadBytes() 186 static int32_t SdioDeviceDefaultFunc0WriteBytes(struct SdioDevice *dev, in SdioDeviceDefaultFunc0WriteBytes() 218 static int32_t SdioDeviceDefaultSetBlockSize(struct SdioDevice *dev, uint32_t blkSize) in SdioDeviceDefaultSetBlockSize() 243 static int32_t SdioDeviceDefaultGetCommonInfo(struct SdioDevice *dev, in SdioDeviceDefaultGetCommonInfo() 277 static int32_t SdioDeviceDefaultSetCommonInfo(struct SdioDevice *dev, in SdioDeviceDefaultSetCommonInfo() 310 static int32_t SdioDeviceDefaultFlushData(struct SdioDevice *dev) in SdioDeviceDefaultFlushData() [all …]
|
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/ |
D | rtc_adapter.c | 54 struct rtc_device *dev = rtc_class_open(CONFIG_RTC_SYSTOHC_DEVICE); in HdfGetRtcDevice() local 62 static inline void HdfPutRtcDevice(struct rtc_device *dev) in HdfPutRtcDevice() 71 struct rtc_device *dev = HdfGetRtcDevice(); in HiRtcReadTime() local 91 struct rtc_device *dev = HdfGetRtcDevice(); in HiRtcWriteTime() local 112 struct rtc_device *dev = HdfGetRtcDevice(); in HiReadAlarm() local 134 struct rtc_device *dev = HdfGetRtcDevice(); in HiWriteAlarm() local 158 struct rtc_device *dev = HdfGetRtcDevice(); in HiAlarmInterruptEnable() local
|
/drivers/hdf_core/adapter/khdf/liteos/platform/src/ |
D | spi_dev.c | 50 struct SpiDev *dev = (struct SpiDev *)(((struct drv_data *)vnode->data)->priv); in SpiDevGetDevFromFilep() local 61 struct SpiDev *dev = NULL; in SpiDevOpen() local 77 struct SpiDev *dev = NULL; in SpiDevRead() local 114 struct SpiDev *dev = NULL; in SpiDevWrite() local 148 static int32_t SpiDevGetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevGetCfg() 181 static int32_t SpiDevSetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevSetCfg() 261 static int32_t SpiDevRealTransfer(struct SpiDev *dev, struct SpiMsg *msg, struct SpiMsg *kmsg, int3… in SpiDevRealTransfer() 312 static int32_t SpiDevTransfer(struct SpiDev *dev, unsigned long arg) in SpiDevTransfer() 354 struct SpiDev *dev = NULL; in SpiDevIoctl() local 405 static void SpiAddRemoveDev(struct SpiDev *dev, bool add) in SpiAddRemoveDev()
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
D | osal_cdev.c | 36 struct device dev; member 61 static char* hdfDevnode(struct device* dev, umode_t* mode) in hdfDevnode() 102 static void HdfVnodeDevRelease(struct device* dev) in HdfVnodeDevRelease() 153 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevSeek() local 159 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevRead() local 165 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevWrite() local 171 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevPoll() local 177 struct OsalCdev* dev = container_of(filep->f_inode->i_cdev, struct OsalCdev, cdev); in OsalCdevIoctl() local 183 struct OsalCdev* dev = container_of(inode->i_cdev, struct OsalCdev, cdev); in OsalCdevOpen() local 189 struct OsalCdev* dev = container_of(inode->i_cdev, struct OsalCdev, cdev); in OsalCdevRelease() local
|
/drivers/hdf_core/framework/core/host/src/ |
D | hdf_device_object.c | 212 void HdfDeviceObjectRelease(struct HdfDeviceObject *dev) in HdfDeviceObjectRelease() 225 int HdfDeviceObjectRegister(struct HdfDeviceObject *dev) in HdfDeviceObjectRegister() 252 int HdfDeviceObjectUnRegister(struct HdfDeviceObject *dev) in HdfDeviceObjectUnRegister() 262 int HdfDeviceObjectPublishService(struct HdfDeviceObject *dev, const char *servName, uint8_t policy… in HdfDeviceObjectPublishService() 295 int HdfDeviceObjectRemoveService(struct HdfDeviceObject *dev) in HdfDeviceObjectRemoveService() 304 int HdfDeviceObjectSetServInfo(struct HdfDeviceObject *dev, const char *info) in HdfDeviceObjectSetServInfo() 321 int HdfDeviceObjectUpdate(struct HdfDeviceObject *dev) in HdfDeviceObjectUpdate() 332 int HdfDeviceObjectSetInterfaceDesc(struct HdfDeviceObject *dev, const char *interfaceDesc) in HdfDeviceObjectSetInterfaceDesc() 342 bool __attribute__((weak)) HdfDeviceObjectCheckInterfaceDesc(struct HdfDeviceObject *dev, struct Hd… in HdfDeviceObjectCheckInterfaceDesc()
|
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
D | osal_cdev.c | 51 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevOpen() local 61 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRelease() local 71 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRead() local 81 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevWrite() local 91 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevSeek() local 101 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevIoctl() local 111 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevPoll() local
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usb_impl.cpp | 134 int32_t UsbImpl::UsbControlTransferEx(HostDevice *dev, UsbControlParams *ctrParams, int32_t timeout) in UsbControlTransferEx() 245 UsbInterfaceHandle *UsbImpl::InterfaceIdToHandle(const HostDevice *dev, uint8_t id) in InterfaceIdToHandle() 984 int32_t UsbImpl::OpenDevice(const UsbDev &dev) in OpenDevice() 995 int32_t UsbImpl::CloseDevice(const UsbDev &dev) in CloseDevice() 1006 int32_t UsbImpl::GetDeviceDescriptor(const UsbDev &dev, std::vector<uint8_t> &descriptor) in GetDeviceDescriptor() 1028 int32_t UsbImpl::GetStringDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &descr… in GetStringDescriptor() 1051 int32_t UsbImpl::GetConfigDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &descr… in GetConfigDescriptor() 1074 int32_t UsbImpl::GetRawDescriptor(const UsbDev &dev, std::vector<uint8_t> &descriptor) in GetRawDescriptor() 1091 int32_t UsbImpl::GetFileDescriptor(const UsbDev &dev, int32_t &fd) in GetFileDescriptor() 1106 int32_t UsbImpl::SetConfig(const UsbDev &dev, uint8_t configIndex) in SetConfig() [all …]
|
/drivers/peripheral/input/test/unittest/udriver/ |
D | hdi_input_test.cpp | 261 InputDeviceInfo *dev = new InputDeviceInfo(); variable 285 InputDeviceInfo *dev = new InputDeviceInfo(); variable 304 InputDeviceInfo *dev = new InputDeviceInfo(); variable 325 InputDeviceInfo *dev = new InputDeviceInfo[MAX_INPUT_DEV_NUM] {}; variable
|
/drivers/peripheral/usb/ddk/host/src/ |
D | liteos_adapter.c | 39 struct UsbDevice *dev; member 97 struct UsbDevice *dev = as->dev; in OsUrbComplete() local 181 struct UsbDevice *dev = handle->dev; in OsReapUrb() local 200 struct UsbDevice *dev = (struct UsbDevice *)listEntry; in OsDeviceCompare() local 214 struct UsbDevice *dev = NULL; in OsGetDeviceHandle() local 250 struct UsbDevice *dev = RawUsbMemCalloc(sizeof(*dev)); in OsAllocDevice() local 265 static int32_t OsReadDescriptors(struct UsbDevice *dev) in OsReadDescriptors() 318 static int32_t OsParseConfigDescriptors(struct UsbDevice *dev) in OsParseConfigDescriptors() 395 static int32_t OsInitDevice(struct UsbDevice *dev, uint8_t busNum, uint8_t devAddr) in OsInitDevice() 490 …UsbHostRequest * const request, const UsbAdapterDevice *adapterDevice, const struct UsbDevice *dev) in OsSubmitControlMsg() [all …]
|
/drivers/hdf_core/adapter/platform/gpio/ |
D | gpio_asr.c | 64 asr_gpio_dev_t dev; member 80 asr_gpio_dev_t *dev = NULL; in OemGpioIrqHdl() local 107 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevWrite() local 126 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevRead() local 144 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevSetDir() local 162 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevGetDir() local 179 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevSetIrq() local 201 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevUnSetIrq() local 214 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevEnableIrq() local 232 asr_gpio_dev_t *dev = &g_gpioPinMap[gpio]; in GpioDevDisableIrq() local
|