Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 109) sorted by relevance

12345

/drivers/hdf_core/framework/model/network/wifi/bus/
Dhdf_usb_intf.c24 static int32_t HdfGetUsbInfo(struct BusDev *dev, struct BusConfig *busCfg) in HdfGetUsbInfo()
32 static void HdfUsbReleaseDev(struct BusDev *dev) in HdfUsbReleaseDev()
46 static int32_t HdfUsbEnableFunc(struct BusDev *dev) in HdfUsbEnableFunc()
53 static int32_t HdfUsbDisableFunc(struct BusDev *dev) in HdfUsbDisableFunc()
60 static int32_t HdfUsbCliamIrq(struct BusDev *dev, IrqHandler *handler, void *data) in HdfUsbCliamIrq()
69 static void HdfUsbClaimHost(struct BusDev *dev) in HdfUsbClaimHost()
75 static void HdfUsbReleaseHost(struct BusDev *dev) in HdfUsbReleaseHost()
81 static int32_t HdfUsbReleaseIrq(struct BusDev *dev) in HdfUsbReleaseIrq()
88 static int32_t HdfUsbReset(struct BusDev *dev) in HdfUsbReset()
95 static int32_t HdfUsbReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbReadN()
[all …]
Dhdf_sdio_intf.c26 static int32_t HdfGetSdioInfo(struct BusDev *dev, struct BusConfig *busCfg) in HdfGetSdioInfo()
53 static void HdfSdioReleaseDev(struct BusDev *dev) in HdfSdioReleaseDev()
67 static int32_t HdfSdioEnableFunc(struct BusDev *dev) in HdfSdioEnableFunc()
83 static int32_t HdfSdioDisableFunc(struct BusDev *dev) in HdfSdioDisableFunc()
99 static int32_t HdfSdioCliamIrq(struct BusDev *dev, IrqHandler *handler, void *data) in HdfSdioCliamIrq()
116 static void HdfSdioClaimHost(struct BusDev *dev) in HdfSdioClaimHost()
127 static void HdfSdioReleaseHost(struct BusDev *dev) in HdfSdioReleaseHost()
139 static int32_t HdfSdioReleaseIrq(struct BusDev *dev) in HdfSdioReleaseIrq()
155 static int32_t HdfSdioReset(struct BusDev *dev) in HdfSdioReset()
171 static int32_t HdfSdioReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioReadN()
[all …]
/drivers/hdf_core/adapter/khdf/linux/network/src/
Dnet_device_adapter.c34 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 int NetDevChangeMtu(struct net_device *dev, int mtu) in NetDevChangeMtu()
84 static int NetDevOpen(struct net_device *dev) in NetDevOpen()
94 static int NetDevStop(struct net_device *dev) in NetDevStop()
113 struct net_device *dev = NULL; in CreateNetDevice() local
130 static void DestroyNetDevice(struct net_device *dev) in DestroyNetDevice()
149 struct net_device *dev = NULL; in NetDevInit() local
191 struct net_device *dev = NULL; in NetDevAdd() local
221 struct net_device *dev = NULL; in NetDevDelete() local
[all …]
/drivers/peripheral/usb/test/unittest/hal/src/
Dusbd_request_test.cpp121 struct UsbDev dev = dev_; variable
137 struct UsbDev dev = {BUS_NUM_222, dev_.devAddr}; variable
153 struct UsbDev dev = {dev_.busNum, DEV_ADDR_222}; variable
169 struct UsbDev dev = dev_; variable
188 struct UsbDev dev = {BUS_NUM_222, DEV_ADDR_222}; variable
204 struct UsbDev dev = {BUS_NUM_222, dev_.devAddr}; variable
220 struct UsbDev dev = {dev_.busNum, DEV_ADDR_222}; variable
236 struct UsbDev dev = {BUS_NUM_222, DEV_ADDR_222}; variable
254 struct UsbDev dev = dev_; variable
270 struct UsbDev dev = {BUS_NUM_222, dev_.devAddr}; variable
[all …]
Dusbd_device_test.cpp82 struct UsbDev dev = dev_; variable
97 struct UsbDev dev = {BUS_NUM_255, dev_.devAddr}; variable
112 struct UsbDev dev = {dev_.busNum, DEV_ADDR_255}; variable
127 struct UsbDev dev = {BUS_NUM_255, DEV_ADDR_255}; variable
144 struct UsbDev dev = dev_; variable
162 struct UsbDev dev = dev_; variable
183 struct UsbDev dev = dev_; variable
204 struct UsbDev dev = dev_; variable
Dusbd_transfer_test.cpp150 struct UsbDev dev = dev_; variable
168 struct UsbDev dev = {BUS_NUM_255, dev_.devAddr}; variable
186 struct UsbDev dev = {dev_.busNum, DEV_ADDR_255}; variable
204 struct UsbDev dev = dev_; variable
222 struct UsbDev dev = {BUS_NUM_255, dev_.devAddr}; variable
240 struct UsbDev dev = {dev_.busNum, DEV_ADDR_255}; variable
258 struct UsbDev dev = dev_; variable
277 struct UsbDev dev = {BUS_NUM_255, dev_.devAddr}; variable
296 struct UsbDev dev = {dev_.busNum, DEV_ADDR_255}; variable
315 struct UsbDev dev = dev_; variable
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/
Dpackage-lock.json11 "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/
Dsdio_adapter.c43 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/
Dspi_adapter.c66 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/
Dmmc_emmc.c14 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()
45 void EmmcDeviceAddOps(struct EmmcDevice *dev, struct EmmcDeviceOps *ops) in EmmcDeviceAddOps()
Dmmc_sdio.c14 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/
Drtc_adapter.c54 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
157 struct rtc_device *dev = HdfGetRtcDevice(); in HiAlarmInterruptEnable() local
/drivers/hdf_core/adapter/khdf/liteos/platform/src/
Dspi_dev.c50 struct SpiDev *dev = (struct SpiDev *)(((struct drv_data *)vnode->data)->priv); in SpiDevGetDevFromFilep() local
61 struct SpiDev *dev = NULL; in SpiDevOpen() local
76 struct SpiDev *dev = NULL; in SpiDevRead() local
112 struct SpiDev *dev = NULL; in SpiDevWrite() local
145 static int32_t SpiDevGetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevGetCfg()
178 static int32_t SpiDevSetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevSetCfg()
258 static int32_t SpiDevRealTransfer(struct SpiDev *dev, struct SpiMsg *msg, struct SpiMsg *kmsg, int3… in SpiDevRealTransfer()
309 static int32_t SpiDevTransfer(struct SpiDev *dev, unsigned long arg) in SpiDevTransfer()
351 struct SpiDev *dev = NULL; in SpiDevIoctl() local
401 static void SpiAddRemoveDev(struct SpiDev *dev, bool add) in SpiAddRemoveDev()
/drivers/hdf_core/adapter/khdf/linux/osal/src/
Dosal_cdev.c36 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/
Dhdf_device_object.c210 void HdfDeviceObjectRelease(struct HdfDeviceObject *dev) in HdfDeviceObjectRelease()
223 int HdfDeviceObjectRegister(struct HdfDeviceObject *dev) in HdfDeviceObjectRegister()
250 int HdfDeviceObjectUnRegister(struct HdfDeviceObject *dev) in HdfDeviceObjectUnRegister()
260 int HdfDeviceObjectPublishService(struct HdfDeviceObject *dev, const char *servName, uint8_t policy… in HdfDeviceObjectPublishService()
293 int HdfDeviceObjectRemoveService(struct HdfDeviceObject *dev) in HdfDeviceObjectRemoveService()
302 int HdfDeviceObjectSetServInfo(struct HdfDeviceObject *dev, const char *info) in HdfDeviceObjectSetServInfo()
319 int HdfDeviceObjectUpdate(struct HdfDeviceObject *dev) in HdfDeviceObjectUpdate()
330 int HdfDeviceObjectSetInterfaceDesc(struct HdfDeviceObject *dev, const char *interfaceDesc) in HdfDeviceObjectSetInterfaceDesc()
340 bool __attribute__((weak)) HdfDeviceObjectCheckInterfaceDesc(struct HdfDeviceObject *dev, struct Hd… in HdfDeviceObjectCheckInterfaceDesc()
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_cdev.c51 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
Dosal_irq.c37 …OsalRegisterIrq(uint32_t irqId, uint32_t config, OsalIRQHandle handle, const char *name, void *dev) in OsalRegisterIrq()
60 int32_t OsalUnregisterIrq(uint32_t irqId, void *dev) in OsalUnregisterIrq()
/drivers/peripheral/usb/hdi_service/src/
Dusb_impl.cpp120 int32_t UsbImpl::UsbControlTransferEx(HostDevice *dev, UsbControlParams *ctrParams, int32_t timeout) in UsbControlTransferEx()
231 UsbInterfaceHandle *UsbImpl::InterfaceIdToHandle(const HostDevice *dev, uint8_t id) in InterfaceIdToHandle()
944 int32_t UsbImpl::OpenDevice(const UsbDev &dev) in OpenDevice()
955 int32_t UsbImpl::CloseDevice(const UsbDev &dev) in CloseDevice()
966 int32_t UsbImpl::GetDeviceDescriptor(const UsbDev &dev, std::vector<uint8_t> &descriptor) in GetDeviceDescriptor()
988 int32_t UsbImpl::GetStringDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &descr… in GetStringDescriptor()
1011 int32_t UsbImpl::GetConfigDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &descr… in GetConfigDescriptor()
1034 int32_t UsbImpl::GetRawDescriptor(const UsbDev &dev, std::vector<uint8_t> &descriptor) in GetRawDescriptor()
1051 int32_t UsbImpl::GetFileDescriptor(const UsbDev &dev, int32_t &fd) in GetFileDescriptor()
1066 int32_t UsbImpl::SetConfig(const UsbDev &dev, uint8_t configIndex) in SetConfig()
[all …]
Dusbd_dispatcher.cpp61 UsbdRequestASync *dev = static_cast<UsbdRequestASync *>(req->compInfo.userData); in UsbdReadCallback() local
97 UsbInterface *UsbdDispatcher::GetUsbInterfaceById(const HostDevice *dev, uint8_t interfaceIndex) in GetUsbInterfaceById()
112 const HostDevice *dev, UsbInterface *interface, uint8_t pipeAddr, UsbPipeInfo *pipe) in GetInterfacePipe()
149 int32_t UsbdDispatcher::GetPipe(const HostDevice *dev, uint8_t interfaceId, uint8_t pipeId, UsbPipe… in GetPipe()
171 void UsbdDispatcher::UsbdFreeCtrlPipe(HostDevice *dev) in UsbdFreeCtrlPipe()
182 int32_t UsbdDispatcher::UsbdGetCtrlPipe(HostDevice *dev) in UsbdGetCtrlPipe()
405 void UsbdDispatcher::UsbdReleaseInterfaces(HostDevice *dev) in UsbdReleaseInterfaces()
424 void UsbdDispatcher::UsbdCloseInterfaces(HostDevice *dev) in UsbdCloseInterfaces()
443 int32_t UsbdDispatcher::UsbdOpenInterfaces(HostDevice *dev) in UsbdOpenInterfaces()
489 int32_t UsbdDispatcher::UsbdClaimInterfaces(HostDevice *dev) in UsbdClaimInterfaces()
[all …]
/drivers/peripheral/input/test/unittest/udriver/
Dhdi_input_test.cpp257 InputDeviceInfo *dev = new InputDeviceInfo(); variable
281 InputDeviceInfo *dev = new InputDeviceInfo(); variable
300 InputDeviceInfo *dev = new InputDeviceInfo(); variable
321 InputDeviceInfo *dev = new InputDeviceInfo[MAX_INPUT_DEV_NUM] {}; variable
/drivers/peripheral/usb/ddk/host/src/
Dliteos_adapter.c39 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/
Dgpio_asr.c64 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
/drivers/hdf_core/framework/include/net/
Dnet_device.h940 #define GET_NET_DEV_FLAGS(dev) ((dev)->flags) argument
941 #define GET_NET_DEV_HEAD_ROOM(dev) ((dev)->neededHeadRoom) argument
942 #define GET_NET_DEV_TAIL_ROOM(dev) ((dev)->neededTailRoom) argument
943 #define GET_NET_DEV_MTU(dev) ((dev)->mtu) argument
944 #define GET_NET_DEV_CFG80211_WIRELESS(dev) ((struct wireless_dev*)((dev)->ieee80211Ptr)) argument
945 #define GET_NET_DEV_PRIV(dev) ((dev)->mlPriv) argument
946 #define GET_NET_DEV_MAC_ADDR(dev) ((dev)->macAddr) argument
947 #define GET_NET_DEV_IF(dev) ((dev)->netDeviceIf) argument
948 #define GET_NET_DEV_LAST_RX_TIME(dev) ((dev)->lastRxTime) argument
949 #define GET_NET_DEV_OWNER(dev) ((dev)->owner) argument
[all …]
/drivers/hdf_core/adapter/khdf/linux/network/include/
Dnet_device_adapter.h36 struct net_device *dev; member
/drivers/peripheral/usb/test/fuzztest/usbcommonfunction_fuzzer/
Dusbcommonfunction_fuzzer.cpp24 int32_t UsbFuzzTestHostModeInit(UsbDev &dev, const sptr<IUsbInterface> &usbInterface) in UsbFuzzTestHostModeInit()

12345