Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_cdev.c48 static int OsalCdevOpen(struct file *filep) in OsalCdevOpen()
55 static int OsalCdevRelease(struct file *filep) in OsalCdevRelease()
65 static ssize_t OsalCdevRead(struct file *filep, char *buffer, size_t buflen) in OsalCdevRead()
75 static ssize_t OsalCdevWrite(struct file *filep, const char *buffer, size_t buflen) in OsalCdevWrite()
85 static off_t OsalCdevSeek(struct file *filep, off_t offset, int whence) in OsalCdevSeek()
95 static int OsalCdevIoctl(struct file *filep, int cmd, unsigned long arg) in OsalCdevIoctl()
105 static 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()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_cdev.c156 static loff_t OsalCdevSeek(struct file* filep, loff_t offset, int whence) in OsalCdevSeek()
162 static ssize_t OsalCdevRead(struct file* filep, char __user* buf, size_t buflen, loff_t* offset) in OsalCdevRead()
168 static ssize_t OsalCdevWrite(struct file* filep, const char __user* buf, size_t buflen, loff_t* off… in OsalCdevWrite()
174 static unsigned int OsalCdevPoll(struct file* filep, struct poll_table_struct* pollTable) in OsalCdevPoll()
180 static long OsalCdevIoctl(struct file* filep, unsigned int cmd, unsigned long arg) in OsalCdevIoctl()
186 static int OsalCdevOpen(struct inode* inode, struct file* filep) in OsalCdevOpen()
192 static int OsalCdevRelease(struct inode* inode, struct file* filep) in OsalCdevRelease()
265 void OsalSetFilePriv(struct file* filep, void* priv) in OsalSetFilePriv()
271 void* OsalGetFilePriv(struct file* filep) in OsalGetFilePriv()
/ohos5.0/drivers/hdf_core/framework/sample/platform/uart/src/
H A Duart_dev_sample.c20 static int32_t UartSampleDevOpen(struct file *filep) in UartSampleDevOpen()
37 static int32_t UartSampleRelease(struct file *filep) in UartSampleRelease()
54 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()
112 static int32_t UartSampleDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in UartSampleDevIoctl()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/platform/src/
H A Duart_dev.c42 static int32_t UartDevOpen(struct file *filep) in UartDevOpen()
55 static int32_t UartDevRelease(struct file *filep) in UartDevRelease()
69 static ssize_t UartDevRead(struct file *filep, char *buf, size_t count) in UartDevRead()
100 static ssize_t UartDevWrite(struct file *filep, const char *buf, size_t count) in UartDevWrite()
150 static int32_t UartDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in UartDevIoctl()
197 static int uartdev_poll(struct file *filep, poll_table *table) in uartdev_poll()
H A 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()
H A Di2c_dev.c178 static ssize_t I2cFsRead(struct file *filep, char *buf, size_t count) in I2cFsRead()
223 static ssize_t I2cFsWrite(struct file *filep, const char *buf, size_t count) in I2cFsWrite()
296 static int I2cFsIoctl(struct file *filep, int cmd, unsigned long arg) in I2cFsIoctl()
346 static int I2cFsOpen(struct file *filep) in I2cFsOpen()
378 static int I2cFsClose(struct file *filep) in I2cFsClose()
399 static ssize_t I2cFsMap(struct file* filep, LosVmMapRegion *region) in I2cFsMap()
H A Dspi_dev.c42 static struct SpiDev *SpiDevGetDevFromFilep(struct file *filep) in SpiDevGetDevFromFilep()
59 static int32_t SpiDevOpen(struct file *filep) in SpiDevOpen()
72 static ssize_t SpiDevRead(struct file *filep, char *buf, size_t size) in SpiDevRead()
109 static ssize_t SpiDevWrite(struct file *filep, const char *buf, size_t size) in SpiDevWrite()
350 static int32_t SpiDevIoctl(struct file *filep, int32_t cmd, unsigned long arg) in SpiDevIoctl()
/ohos5.0/drivers/liteos/hievent/src/
H A Dhievent_driver.c88 int HieventOpen(struct file *filep) in HieventOpen()
94 int HieventClose(struct file *filep) in HieventClose()
160 static ssize_t HieventRead(struct file *filep, char *buffer, size_t bufLen) in HieventRead()
323 static ssize_t HieventWrite(struct file *filep, in HieventWrite()
330 static int HieventPoll(struct file *filep, poll_table *fds) in HieventPoll()
339 static int HieventIoctl(struct file *filep, int cmd, unsigned long arg) in HieventIoctl()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A 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()
494 static long MipiDsiDevIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in MipiDsiDevIoctl()
546 static int MipiDsiDevOpen(struct inode *inode, struct file *filep) in MipiDsiDevOpen()
559 static int MipiDsiDevRelease(struct inode *inode, struct file *filep) in MipiDsiDevRelease()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/
H A Dmtd_char_lite.c55 static int MtdCharOpen(FAR struct file *filep) in MtdCharOpen()
96 static int MtdCharClose(FAR struct file *filep) in MtdCharClose()
116 static ssize_t MtdCharRead(FAR struct file *filep, FAR char *buffer, size_t buflen) in MtdCharRead()
176 static ssize_t MtdCharWrite(FAR struct file *filep, FAR const char *buffer, size_t buflen) in MtdCharWrite()
236 static off_t MtdCharLseek(FAR struct file *filep, off_t offset, int whence) in MtdCharLseek()
368 static int MtdCharIoctl(FAR struct file *filep, int cmd, unsigned long arg) in MtdCharIoctl()
420 static ssize_t MtdCharMap(FAR struct file* filep, FAR LosVmMapRegion *region) in MtdCharMap()
/ohos5.0/drivers/hdf_core/framework/core/adapter/vnode/src/
H A Dhdf_vnode_adapter.c565 static long HdfVNodeAdapterIoctl(struct file *filep, unsigned int cmd, unsigned long arg) in HdfVNodeAdapterIoctl()
648 int HdfVNodeAdapterOpen(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterOpen()
675 static unsigned int HdfVNodeAdapterPoll(struct file *filep, poll_table *wait) in HdfVNodeAdapterPoll()
700 static int HdfVNodeAdapterClose(struct OsalCdev *cdev, struct file *filep) in HdfVNodeAdapterClose()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
H A 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()
/ohos5.0/drivers/hdf_core/framework/support/platform/include/uart/
H A Duart_core.h136 static inline int32_t UartHostPollEvent(struct UartHost *host, void *filep, void *table) in UartHostPollEvent()
/ohos5.0/drivers/hdf_core/adapter/platform/uart/
H A Duart_gr5xx.c476 static int32_t UartHostDevPollEvent(struct UartHost *host, void *filep, void *table) in UartHostDevPollEvent()