Lines Matching +defs:val +defs:buf
51 #define STORE_LE16(addr, val) (*(u16 *)addr = val) argument
52 #define STORE_LE32(addr, val) (*(u32 *)addr = val) argument
202 static void dump_buffer(u8 *buf, uint32_t count) in dump_buffer()
311 u8 *buf, u32 count) in handle_pci_cfg_write()
365 u16 offset, u8 *buf, u32 count) in handle_bar_write()
533 u16 offset, u8 *buf, u32 count) in handle_bar_read()
707 static ssize_t mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, in mdev_access()
884 static ssize_t mtty_save_read(struct file *filp, char __user *buf, in mtty_save_read()
1020 static ssize_t mtty_resume_write(struct file *filp, const char __user *buf, in mtty_resume_write()
1417 static ssize_t mtty_read(struct vfio_device *vdev, char __user *buf, in mtty_read()
1429 u32 val; in mtty_read() local
1441 u16 val; in mtty_read() local
1453 u8 val; in mtty_read() local
1478 static ssize_t mtty_write(struct vfio_device *vdev, const char __user *buf, in mtty_write()
1490 u32 val; in mtty_write() local
1502 u16 val; in mtty_write() local
1514 u8 val; in mtty_write() local
1906 char *buf) in sample_mdev_dev_show()