Home
last modified time | relevance | path

Searched defs:filep (Results 1 – 14 of 14) sorted by relevance

/drivers/adapter/khdf/liteos/osal/src/
Dosal_cdev.c48 int OsalCdevOpen(struct file* filep) in OsalCdevOpen()
55 int OsalCdevRelease(struct file* filep) in OsalCdevRelease()
65 ssize_t OsalCdevRead(struct file* filep, char* buffer, size_t buflen) in OsalCdevRead()
75 ssize_t OsalCdevWrite(struct file* filep, const char* buffer, size_t buflen) in OsalCdevWrite()
85 off_t OsalCdevSeek(struct file* filep, off_t offset, int whence) in OsalCdevSeek()
95 int OsalCdevIoctl(struct file* filep, int cmd, unsigned long arg) in OsalCdevIoctl()
105 int OsalCdevPoll(struct file* filep, poll_table* fds) in OsalCdevPoll()
176 void OsalSetFilePriv(struct file* filep, void* priv) in OsalSetFilePriv()
183 void* OsalGetFilePriv(struct file* filep) in OsalGetFilePriv()
/drivers/adapter/khdf/linux/osal/src/
Dosal_cdev.c151 static loff_t OsalCdevSeek(struct file* filep, loff_t offset, int whence) in OsalCdevSeek()
157 static ssize_t OsalCdevRead(struct file* filep, char __user* buf, size_t buflen, loff_t* offset) in OsalCdevRead()
163 static ssize_t OsalCdevWrite(struct file* filep, const char __user* buf, size_t buflen, loff_t* off… in OsalCdevWrite()
169 static unsigned int OsalCdevPoll(struct file* filep, struct poll_table_struct* pollTable) in OsalCdevPoll()
175 static long OsalCdevIoctl(struct file* filep, unsigned int cmd, unsigned long arg) in OsalCdevIoctl()
181 static int OsalCdevOpen(struct inode* inode, struct file* filep) in OsalCdevOpen()
187 static int OsalCdevRelease(struct inode* inode, struct file* filep) in OsalCdevRelease()
260 void OsalSetFilePriv(struct file* filep, void* priv) in OsalSetFilePriv()
266 void* OsalGetFilePriv(struct file* filep) in OsalGetFilePriv()
/drivers/framework/sample/platform/uart/src/
Duart_dev_sample.c20 static int32_t UartSampleDevOpen(struct file *filep) in UartSampleDevOpen()
36 static int32_t UartSampleRelease(struct file *filep) in UartSampleRelease()
53 static ssize_t UartSampleRead(struct file *filep, char *buf, size_t count) in UartSampleRead()
82 static ssize_t UartSampleWrite(struct file *filep, const char *buf, size_t count) in UartSampleWrite()
113 static int32_t UartSampleDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in UartSampleDevIoctl()
/drivers/adapter/khdf/liteos/platform/src/
Duart_dev.c42 static int32_t UartDevOpen(struct file *filep) in UartDevOpen()
53 static int32_t UartDevRelease(struct file *filep) in UartDevRelease()
66 static ssize_t UartDevRead(struct file *filep, char *buf, size_t count) in UartDevRead()
96 static ssize_t UartDevWrite(struct file *filep, const char *buf, size_t count) in UartDevWrite()
145 static int32_t UartDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in UartDevIoctl()
193 static int uartdev_poll(struct file *filep, poll_table *table) in uartdev_poll()
Dgpio_dev.c41 static int GpioOpen(struct file *filep) in GpioOpen()
47 static int GpioClose(struct file *filep) in GpioClose()
99 static int GpioIoctl(struct file *filep, int cmd, unsigned long arg) in GpioIoctl()
Di2c_dev.c178 ssize_t I2cFsRead(struct file *filep, char *buf, size_t count) in I2cFsRead()
224 ssize_t I2cFsWrite(struct file *filep, const char *buf, size_t count) in I2cFsWrite()
297 static int I2cFsIoctl(struct file *filep, int cmd, unsigned long arg) in I2cFsIoctl()
347 static int I2cFsOpen(struct file *filep) in I2cFsOpen()
372 static int I2cFsClose(struct file *filep) in I2cFsClose()
393 static ssize_t I2cFsMap(struct file* filep, LosVmMapRegion *region) in I2cFsMap()
Dspi_dev.c42 static struct SpiDev *SpiDevGetDevFromFilep(struct file *filep) in SpiDevGetDevFromFilep()
59 static int32_t SpiDevOpen(struct file *filep) in SpiDevOpen()
71 static ssize_t SpiDevRead(struct file *filep, char *buf, size_t size) in SpiDevRead()
107 static ssize_t SpiDevWrite(struct file *filep, const char *buf, size_t size) in SpiDevWrite()
347 static int32_t SpiDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in SpiDevIoctl()
/drivers/liteos/hievent/src/
Dhievent_driver.c89 int HieventOpen(struct file *filep) in HieventOpen()
95 int HieventClose(struct file *filep) in HieventClose()
161 static ssize_t HieventRead(struct file *filep, char *buffer, size_t bufLen) in HieventRead()
326 static ssize_t HieventWrite(struct file *filep, in HieventWrite()
333 static int HieventPoll(struct file *filep, poll_table *fds) in HieventPoll()
342 static int HieventIoctl(struct file *filep, int cmd, unsigned long arg) in HieventIoctl()
/drivers/adapter/khdf/linux/platform/mipi_dsi/
Dmipi_tx_dev.c243 static uint8_t GetIdFromFilep(struct file *filep) in GetIdFromFilep()
265 static struct MipiDsiCntlr *GetCntlrFromFilep(struct file *filep) in GetCntlrFromFilep()
277 static struct semaphore *GetSemaFromFilep(struct file *filep) in GetSemaFromFilep()
289 static struct MipiCfg *GetCfgFromFilep(struct file *filep) in GetCfgFromFilep()
476 static long MipiDsiDevIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in MipiDsiDevIoctl()
528 static int MipiDsiDevOpen(struct inode *inode, struct file *filep) in MipiDsiDevOpen()
541 static int MipiDsiDevRelease(struct inode *inode, struct file *filep) in MipiDsiDevRelease()
/drivers/adapter/khdf/liteos/model/storage/src/mtd/
Dmtd_char_lite.c55 static int MtdCharOpen(FAR struct file *filep) in MtdCharOpen()
86 static int MtdCharClose(FAR struct file *filep) in MtdCharClose()
106 static ssize_t MtdCharRead(FAR struct file *filep, FAR char *buffer, size_t buflen) in MtdCharRead()
161 static ssize_t MtdCharWrite(FAR struct file *filep, FAR const char *buffer, size_t buflen) in MtdCharWrite()
217 static off_t MtdCharLseek(FAR struct file *filep, off_t offset, int whence) in MtdCharLseek()
350 static int MtdCharIoctl(FAR struct file *filep, int cmd, unsigned long arg) in MtdCharIoctl()
393 static ssize_t MtdCharMap(FAR struct file* filep, FAR LosVmMapRegion *region) in MtdCharMap()
/drivers/framework/core/adapter/vnode/src/
Dhdf_vnode_adapter.c418 static long HdfVNodeAdapterIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in HdfVNodeAdapterIoctl()
498 int HdfVNodeAdapterOpen(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterOpen()
525 static unsigned int HdfVNodeAdapterPoll(struct file *filep, poll_table *wait) in HdfVNodeAdapterPoll()
548 static int HdfVNodeAdapterClose(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterClose()
/drivers/adapter/khdf/linux/platform/mipi_csi/
Dmipi_csi_dev.c227 static long MipiRxIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in MipiRxIoctl()
292 static long MipiRxCompatIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in MipiRxCompatIoctl()
1138 static int MipiRxOpen(struct inode *inode, struct file *filep) in MipiRxOpen()
1149 static int MipiRxRelease(struct inode *inode, struct file *filep) in MipiRxRelease()
/drivers/framework/support/platform/include/uart/
Duart_core.h136 static inline int32_t UartHostPollEvent(struct UartHost *host, void *filep, void *table) in UartHostPollEvent()
/drivers/adapter/platform/uart/
Duart_gr5xx.c476 static int32_t UartHostDevPollEvent(struct UartHost *host, void *filep, void *table) in UartHostDevPollEvent()