/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ |
D | sve_context.h | 31 #define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES) argument 32 #define __SVE_ZREG_SIZE(vq) ((__u32) (vq) * __SVE_VQ_BYTES) argument 33 #define __SVE_PREG_SIZE(vq) ((__u32) (vq) * (__SVE_VQ_BYTES / 8)) argument 34 #define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq) argument 36 #define __SVE_ZREG_OFFSET(vq,n) (__SVE_ZREGS_OFFSET + __SVE_ZREG_SIZE(vq) * (n)) argument 37 #define __SVE_ZREGS_SIZE(vq) (__SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - __SVE_ZREGS_OFFSET) argument 38 #define __SVE_PREGS_OFFSET(vq) (__SVE_ZREGS_OFFSET + __SVE_ZREGS_SIZE(vq)) argument 39 #define __SVE_PREG_OFFSET(vq,n) (__SVE_PREGS_OFFSET(vq) + __SVE_PREG_SIZE(vq) * (n)) argument 40 #define __SVE_PREGS_SIZE(vq) (__SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - __SVE_PREGS_OFFSET(vq)) argument 41 #define __SVE_FFR_OFFSET(vq) (__SVE_PREGS_OFFSET(vq) + __SVE_PREGS_SIZE(vq)) argument
|
D | sigcontext.h | 71 #define sve_vl_from_vq(vq) __sve_vl_from_vq(vq) argument 72 #define SVE_SIG_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 73 #define SVE_SIG_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 74 #define SVE_SIG_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 77 #define SVE_SIG_ZREG_OFFSET(vq,n) (SVE_SIG_REGS_OFFSET + __SVE_ZREG_OFFSET(vq, n)) argument 78 #define SVE_SIG_ZREGS_SIZE(vq) __SVE_ZREGS_SIZE(vq) argument 79 #define SVE_SIG_PREGS_OFFSET(vq) (SVE_SIG_REGS_OFFSET + __SVE_PREGS_OFFSET(vq)) argument 80 #define SVE_SIG_PREG_OFFSET(vq,n) (SVE_SIG_REGS_OFFSET + __SVE_PREG_OFFSET(vq, n)) argument 81 #define SVE_SIG_PREGS_SIZE(vq) __SVE_PREGS_SIZE(vq) argument 82 #define SVE_SIG_FFR_OFFSET(vq) (SVE_SIG_REGS_OFFSET + __SVE_FFR_OFFSET(vq)) argument [all …]
|
D | ptrace.h | 97 #define SVE_PT_FPSIMD_SIZE(vq,flags) (sizeof(struct user_fpsimd_state)) argument 98 #define SVE_PT_SVE_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 99 #define SVE_PT_SVE_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 100 #define SVE_PT_SVE_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 105 #define SVE_PT_SVE_ZREG_OFFSET(vq,n) (SVE_PT_REGS_OFFSET + __SVE_ZREG_OFFSET(vq, n)) argument 106 #define SVE_PT_SVE_ZREGS_SIZE(vq) (SVE_PT_SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_O… argument 107 #define SVE_PT_SVE_PREGS_OFFSET(vq) (SVE_PT_REGS_OFFSET + __SVE_PREGS_OFFSET(vq)) argument 108 #define SVE_PT_SVE_PREG_OFFSET(vq,n) (SVE_PT_REGS_OFFSET + __SVE_PREG_OFFSET(vq, n)) argument 109 #define SVE_PT_SVE_PREGS_SIZE(vq) (SVE_PT_SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - SVE_PT_SVE_PREGS_O… argument 110 #define SVE_PT_SVE_FFR_OFFSET(vq) (SVE_PT_REGS_OFFSET + __SVE_FFR_OFFSET(vq)) argument [all …]
|
/kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/ |
D | sve_context.h | 31 #define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES) argument 33 #define __SVE_ZREG_SIZE(vq) ((__u32)(vq) * __SVE_VQ_BYTES) argument 34 #define __SVE_PREG_SIZE(vq) ((__u32)(vq) * (__SVE_VQ_BYTES / 8)) argument 35 #define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq) argument 38 #define __SVE_ZREG_OFFSET(vq, n) \ argument 40 #define __SVE_ZREGS_SIZE(vq) \ argument 43 #define __SVE_PREGS_OFFSET(vq) \ argument 45 #define __SVE_PREG_OFFSET(vq, n) \ argument 47 #define __SVE_PREGS_SIZE(vq) \ argument 50 #define __SVE_FFR_OFFSET(vq) \ argument
|
D | sigcontext.h | 165 #define sve_vl_from_vq(vq) __sve_vl_from_vq(vq) argument 223 #define SVE_SIG_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 224 #define SVE_SIG_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 225 #define SVE_SIG_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 233 #define SVE_SIG_ZREG_OFFSET(vq, n) \ argument 235 #define SVE_SIG_ZREGS_SIZE(vq) __SVE_ZREGS_SIZE(vq) argument 237 #define SVE_SIG_PREGS_OFFSET(vq) \ argument 239 #define SVE_SIG_PREG_OFFSET(vq, n) \ argument 241 #define SVE_SIG_PREGS_SIZE(vq) __SVE_PREGS_SIZE(vq) argument 243 #define SVE_SIG_FFR_OFFSET(vq) \ argument [all …]
|
D | ptrace.h | 169 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) argument 200 #define SVE_PT_SVE_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 201 #define SVE_PT_SVE_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 202 #define SVE_PT_SVE_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 210 #define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ argument 212 #define SVE_PT_SVE_ZREGS_SIZE(vq) \ argument 215 #define SVE_PT_SVE_PREGS_OFFSET(vq) \ argument 217 #define SVE_PT_SVE_PREG_OFFSET(vq, n) \ argument 219 #define SVE_PT_SVE_PREGS_SIZE(vq) \ argument 223 #define SVE_PT_SVE_FFR_OFFSET(vq) \ argument [all …]
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vhost.c | 49 #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num]) argument 50 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num]) argument 53 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 58 static void vhost_enable_cross_endian_big(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_big() 63 static void vhost_enable_cross_endian_little(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_little() 68 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() 90 static long vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, in vhost_get_vring_endian() 104 static void vhost_init_is_le(struct vhost_virtqueue *vq) in vhost_init_is_le() 114 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 118 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() [all …]
|
D | vhost.h | 142 struct vhost_virtqueue *vq; member 231 #define vq_err(vq, fmt, ...) do { \ argument 254 static inline void vhost_vq_set_backend(struct vhost_virtqueue *vq, in vhost_vq_set_backend() 268 static inline void *vhost_vq_get_backend(struct vhost_virtqueue *vq) in vhost_vq_get_backend() 273 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() 278 static inline bool vhost_backend_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_backend_has_feature() 284 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 289 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 296 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() 301 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16() [all …]
|
D | net.c | 97 struct vhost_virtqueue *vq; member 108 struct vhost_virtqueue vq; member 228 static void vhost_net_enable_zcopy(int vq) in vhost_net_enable_zcopy() 234 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc() 359 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used() 387 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local 422 struct vhost_virtqueue *vq) in vhost_net_disable_vq() 433 struct vhost_virtqueue *vq) in vhost_net_enable_vq() 449 struct vhost_virtqueue *vq = &nvq->vq; in vhost_net_signal_used() local 507 struct vhost_virtqueue *vq) in vhost_net_busy_poll_try_queue() [all …]
|
D | vsock.c | 85 struct vhost_virtqueue *vq) in vhost_transport_do_send_pkt() 236 struct vhost_virtqueue *vq; in vhost_transport_send_pkt_work() local 321 vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq, in vhost_vsock_alloc_pkt() 384 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies() local 438 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_tx_kick() local 512 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_rx_kick() local 522 struct vhost_virtqueue *vq; in vhost_vsock_start() local 588 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop() local 760 struct vhost_virtqueue *vq; in vhost_vsock_set_features() local
|
D | test.c | 45 struct vhost_virtqueue *vq = &n->vqs[VHOST_TEST_VQ]; in handle_vq() local 98 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_vq_kick() local 131 struct vhost_virtqueue *vq) in vhost_test_stop_vq() 176 struct vhost_virtqueue *vq; in vhost_test_run() local 250 struct vhost_virtqueue *vq; in vhost_test_set_features() local 271 struct vhost_virtqueue *vq; in vhost_test_set_backend() local
|
D | scsi.c | 180 struct vhost_virtqueue vq; member 261 struct vhost_virtqueue *vq; in vhost_scsi_init_inflight() local 285 vhost_scsi_get_inflight(struct vhost_virtqueue *vq) in vhost_scsi_get_inflight() 449 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_allocate_evt() local 479 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_do_evt_work() local 530 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_evt_work() local 558 int ret, vq; in vhost_scsi_complete_cmd_work() local 599 vhost_scsi_get_cmd(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg, in vhost_scsi_get_cmd() 824 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target() 842 vhost_scsi_get_desc(struct vhost_scsi *vs, struct vhost_virtqueue *vq, in vhost_scsi_get_desc() [all …]
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_ring.c | 61 #define START_USE(vq) argument 62 #define END_USE(vq) argument 63 #define LAST_ADD_TIME_UPDATE(vq) argument 64 #define LAST_ADD_TIME_CHECK(vq) argument 65 #define LAST_ADD_TIME_INVALID(vq) argument 88 struct virtqueue vq; member 206 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_use_indirect() local 319 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev() 325 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg() 342 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single() [all …]
|
D | virtio_vdpa.c | 39 struct virtqueue *vq; member 107 static bool virtio_vdpa_notify(struct virtqueue *vq) in virtio_vdpa_notify() 135 void (*callback)(struct virtqueue *vq), in virtio_vdpa_setup_vq() 143 struct virtqueue *vq; in virtio_vdpa_setup_vq() local 218 static void virtio_vdpa_del_vq(struct virtqueue *vq) in virtio_vdpa_del_vq() 242 struct virtqueue *vq, *n; in virtio_vdpa_del_vqs() local
|
D | virtio_pci_common.c | 41 bool vp_notify(struct virtqueue *vq) in vp_notify() 175 void (*callback)(struct virtqueue *vq), in vp_setup_vq() 182 struct virtqueue *vq; in vp_setup_vq() local 211 static void vp_del_vq(struct virtqueue *vq) in vp_del_vq() 229 struct virtqueue *vq, *n; in vp_del_vqs() local 423 int vp_set_vq_affinity(struct virtqueue *vq, const struct cpumask *cpu_mask) in vp_set_vq_affinity()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/ |
D | sigcontext.h | 60 #define sve_vl_from_vq(vq) ((vq) * SVE_VQ_BYTES) argument 61 #define SVE_SIG_ZREG_SIZE(vq) ((__u32)(vq) * SVE_VQ_BYTES) argument 62 #define SVE_SIG_PREG_SIZE(vq) ((__u32)(vq) * (SVE_VQ_BYTES / 8)) argument 63 #define SVE_SIG_FFR_SIZE(vq) SVE_SIG_PREG_SIZE(vq) argument 68 #define SVE_SIG_ZREG_OFFSET(vq, n) \ argument 70 #define SVE_SIG_ZREGS_SIZE(vq) \ argument 72 #define SVE_SIG_PREGS_OFFSET(vq) \ argument 74 #define SVE_SIG_PREG_OFFSET(vq, n) \ argument 76 #define SVE_SIG_PREGS_SIZE(vq) \ argument 78 #define SVE_SIG_FFR_OFFSET(vq) \ argument [all …]
|
D | ptrace.h | 75 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) argument 76 #define SVE_PT_SVE_ZREG_SIZE(vq) SVE_SIG_ZREG_SIZE(vq) argument 77 #define SVE_PT_SVE_PREG_SIZE(vq) SVE_SIG_PREG_SIZE(vq) argument 78 #define SVE_PT_SVE_FFR_SIZE(vq) SVE_SIG_FFR_SIZE(vq) argument 86 #define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ argument 88 #define SVE_PT_SVE_ZREGS_SIZE(vq) \ argument 90 #define SVE_PT_SVE_PREGS_OFFSET(vq) \ argument 92 #define SVE_PT_SVE_PREG_OFFSET(vq, n) \ argument 94 #define SVE_PT_SVE_PREGS_SIZE(vq) \ argument 97 #define SVE_PT_SVE_FFR_OFFSET(vq) \ argument [all …]
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | virtio_transport.c | 90 struct virtqueue *vq; in virtio_transport_send_pkt_work() local 250 struct virtqueue *vq; in virtio_vsock_rx_fill() local 290 struct virtqueue *vq; in virtio_transport_tx_work() local 320 struct virtqueue *vq = vsock->vqs[VSOCK_VQ_RX]; in virtio_transport_more_replies() local 334 struct virtqueue *vq; in virtio_vsock_event_fill_one() local 395 struct virtqueue *vq; in virtio_transport_event_work() local 422 static void virtio_vsock_event_done(struct virtqueue *vq) in virtio_vsock_event_done() 431 static void virtio_vsock_tx_done(struct virtqueue *vq) in virtio_vsock_tx_done() 440 static void virtio_vsock_rx_done(struct virtqueue *vq) in virtio_vsock_rx_done() 495 struct virtqueue *vq; in virtio_transport_rx_work() local
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 280 struct vb2_queue *vq; in cedrus_s_fmt_vid_cap() local 300 struct vb2_queue *vq; in cedrus_s_fmt_vid_out() local 387 static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, in cedrus_queue_setup() 410 static void cedrus_queue_cleanup(struct vb2_queue *vq, u32 state) in cedrus_queue_cleanup() 440 struct vb2_queue *vq = vb->vb2_queue; in cedrus_buf_prepare() local 463 static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count) in cedrus_start_streaming() 510 static void cedrus_stop_streaming(struct vb2_queue *vq) in cedrus_stop_streaming()
|
/kernel/linux/linux-5.10/tools/virtio/ |
D | vringh_test.c | 27 static bool never_notify_host(struct virtqueue *vq) in never_notify_host() 32 static void never_callback_guest(struct virtqueue *vq) in never_callback_guest() 70 static bool parallel_notify_host(struct virtqueue *vq) in parallel_notify_host() 83 static bool no_notify_host(struct virtqueue *vq) in no_notify_host() 294 struct virtqueue *vq; in parallel_test() local 441 struct virtqueue *vq; in main() local
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_rotate.c | 343 struct vb2_queue *vq; in rotate_s_fmt_vid_cap() local 363 struct vb2_queue *vq; in rotate_s_fmt_vid_out() local 424 static int rotate_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in rotate_queue_setup() 449 struct vb2_queue *vq = vb->vb2_queue; in rotate_buf_prepare() local 474 static void rotate_queue_cleanup(struct vb2_queue *vq, u32 state) in rotate_queue_cleanup() 490 static int rotate_start_streaming(struct vb2_queue *vq, unsigned int count) in rotate_start_streaming() 508 static void rotate_stop_streaming(struct vb2_queue *vq) in rotate_stop_streaming() 590 struct vb2_queue *vq; in rotate_s_ctrl() local
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_fops.c | 62 static int atomisp_buf_setup(struct videobuf_queue *vq, unsigned int *count, in atomisp_buf_setup() 72 static int atomisp_buf_prepare(struct videobuf_queue *vq, in atomisp_buf_prepare() 568 static void atomisp_buf_queue(struct videobuf_queue *vq, in atomisp_buf_queue() 593 static void atomisp_buf_release(struct videobuf_queue *vq, in atomisp_buf_release() 600 static int atomisp_buf_setup_output(struct videobuf_queue *vq, in atomisp_buf_setup_output() 610 static int atomisp_buf_prepare_output(struct videobuf_queue *vq, in atomisp_buf_prepare_output() 625 static void atomisp_buf_queue_output(struct videobuf_queue *vq, in atomisp_buf_queue_output() 634 static void atomisp_buf_release_output(struct videobuf_queue *vq, in atomisp_buf_release_output()
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | dvb_vb2.c | 33 static int _queue_setup(struct vb2_queue *vq, in _queue_setup() 84 static int _start_streaming(struct vb2_queue *vq, unsigned int count) in _start_streaming() 92 static void _stop_streaming(struct vb2_queue *vq) in _stop_streaming() 110 static void _dmxdev_lock(struct vb2_queue *vq) in _dmxdev_lock() 118 static void _dmxdev_unlock(struct vb2_queue *vq) in _dmxdev_unlock()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
D | vivid-meta-out.c | 16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup() 78 static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_out_start_streaming() 106 static void meta_out_stop_streaming(struct vb2_queue *vq) in meta_out_stop_streaming()
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-di/ |
D | sun8i-di.c | 447 struct vb2_queue *vq; in deinterlace_s_fmt_vid_cap() local 467 struct vb2_queue *vq; in deinterlace_s_fmt_vid_out() local 516 static int deinterlace_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in deinterlace_queue_setup() 541 struct vb2_queue *vq = vb->vb2_queue; in deinterlace_buf_prepare() local 566 static void deinterlace_queue_cleanup(struct vb2_queue *vq, u32 state) in deinterlace_queue_cleanup() 585 static int deinterlace_start_streaming(struct vb2_queue *vq, unsigned int count) in deinterlace_start_streaming() 638 static void deinterlace_stop_streaming(struct vb2_queue *vq) in deinterlace_stop_streaming()
|