| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 64 #define log_memop(vb, op) \ argument 65 dprintk((vb)->vb2_queue, 2, "call_memop(%d, %s)%s\n", \ 66 (vb)->index, #op, \ 67 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 69 #define call_memop(vb, op, args...) \ argument 71 struct vb2_queue *_q = (vb)->vb2_queue; \ 74 log_memop(vb, op); \ 77 (vb)->cnt_mem_ ## op++; \ 81 #define call_ptr_memop(op, vb, args...) \ argument 83 struct vb2_queue *_q = (vb)->vb2_queue; \ [all …]
|
| H A D | videobuf2-dma-contig.c | 45 struct vb2_buffer *vb; member 73 static void *vb2_dc_cookie(struct vb2_buffer *vb, void *buf_priv) in vb2_dc_cookie() argument 94 static void *vb2_dc_vaddr(struct vb2_buffer *vb, void *buf_priv) in vb2_dc_vaddr() argument 129 if (buf->vb->skip_cache_sync_on_prepare) in vb2_dc_prepare() 149 if (buf->vb->skip_cache_sync_on_finish) in vb2_dc_finish() 193 struct vb2_queue *q = buf->vb->vb2_queue; in vb2_dc_alloc_coherent() 212 struct vb2_queue *q = buf->vb->vb2_queue; in vb2_dc_alloc_non_coherent() 231 static void *vb2_dc_alloc(struct vb2_buffer *vb, in vb2_dc_alloc() argument 245 buf->attrs = vb->vb2_queue->dma_attrs; in vb2_dc_alloc() 246 buf->dma_dir = vb->vb2_queue->dma_dir; in vb2_dc_alloc() [all …]
|
| /linux/drivers/media/usb/go7007/ |
| H A D | go7007-driver.c | 381 static inline void store_byte(struct go7007_buffer *vb, u8 byte) in store_byte() argument 383 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte() 384 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte() 386 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte() 390 static void go7007_set_motion_regions(struct go7007 *go, struct go7007_buffer *vb, in go7007_set_motion_regions() argument 398 .frame_sequence = vb->vb.sequence, in go7007_set_motion_regions() 412 static void go7007_motion_regions(struct go7007 *go, struct go7007_buffer *vb) in go7007_motion_regions() argument 414 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions() 422 store_byte(vb, go->active_map[i]); in go7007_motion_regions() 435 go7007_set_motion_regions(go, vb, motion_regions); in go7007_motion_regions() [all …]
|
| /linux/include/trace/events/ |
| H A D | vb2.h | 12 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 13 TP_ARGS(q, vb), 30 __entry->index = vb->index; 31 __entry->type = vb->type; 32 __entry->bytesused = vb->planes[0].bytesused; 33 __entry->timestamp = vb->timestamp; 47 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 48 TP_ARGS(q, vb) 52 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 53 TP_ARGS(q, vb) [all …]
|
| H A D | v4l2.h | 182 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 183 TP_ARGS(q, vb), 204 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); 210 __entry->timestamp = vb->timestamp; 246 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 247 TP_ARGS(q, vb) 251 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 252 TP_ARGS(q, vb) 256 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb), 257 TP_ARGS(q, vb) [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/ |
| H A D | mtk_vcodec_dec_stateful.c | 59 struct vb2_v4l2_buffer *vb; in get_display_buffer() local 76 vb = &dstbuf->m2m_buf.vb; in get_display_buffer() 81 vb->vb2_buf.index, dstbuf->queued_in_vb2); in get_display_buffer() 83 v4l2_m2m_buf_done(vb, VB2_BUF_STATE_DONE); in get_display_buffer() 87 return &vb->vb2_buf; in get_display_buffer() 102 struct vb2_v4l2_buffer *vb; in get_free_buffer() local 119 vb = &dstbuf->m2m_buf.vb; in get_free_buffer() 134 vb->vb2_buf.index, dstbuf->queued_in_vb2); in get_free_buffer() 135 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer() 150 vb->vb2_buf.index); in get_free_buffer() [all …]
|
| H A D | mtk_vcodec_dec_stateless.c | 283 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer() 304 static void vb2ops_vdec_buf_request_complete(struct vb2_buffer *vb) in vb2ops_vdec_buf_request_complete() argument 306 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_request_complete() 308 v4l2_ctrl_request_complete(vb->req_obj.req, &ctx->ctrl_hdl); in vb2ops_vdec_buf_request_complete() 309 media_request_manual_complete(vb->req_obj.req); in vb2ops_vdec_buf_request_complete() 336 m2m_buf.vb); in mtk_vdec_worker() 339 mtk_v4l2_vdec_dbg(3, ctx, "[%d] (%d) id=%d, vb=%p", ctx->id, in mtk_vdec_worker() 352 mtk_v4l2_vdec_dbg(3, ctx, "[%d] Bitstream VA=%p DMA=%pad Size=%zx vb=%p", in mtk_vdec_worker() 403 static void vb2ops_vdec_stateless_buf_queue(struct vb2_buffer *vb) in vb2ops_vdec_stateless_buf_queue() argument 405 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_stateless_buf_queue() [all …]
|
| /linux/drivers/staging/media/meson/vdec/ |
| H A D | codec_hevc_common.c | 72 struct vb2_buffer *vb = &buf->vb.vb2_buf; in codec_hevc_setup_buffers_gxbb() local 74 idx = vb->index; in codec_hevc_setup_buffers_gxbb() 79 buf_y_paddr = vb2_dma_contig_plane_dma_addr(vb, 0); in codec_hevc_setup_buffers_gxbb() 86 buf_uv_paddr = vb2_dma_contig_plane_dma_addr(vb, 1); in codec_hevc_setup_buffers_gxbb() 125 struct vb2_buffer *vb = &buf->vb.vb2_buf; in codec_hevc_setup_buffers_gxl() local 128 u32 idx = vb->index; in codec_hevc_setup_buffers_gxl() 135 buf_y_paddr = vb2_dma_contig_plane_dma_addr(vb, 0); in codec_hevc_setup_buffers_gxl() 141 buf_uv_paddr = vb2_dma_contig_plane_dma_addr(vb, 1); in codec_hevc_setup_buffers_gxl() 179 u32 idx = buf->vb.vb2_buf.index; in codec_hevc_alloc_fbc_buffers() 232 u32 idx = buf->vb.vb2_buf.index; in codec_hevc_alloc_mmu_headers() [all …]
|
| H A D | esparser.c | 189 struct vb2_buffer *vb, in esparser_pad_start_code() argument 193 u8 *vaddr = vb2_plane_vaddr(vb, 0); in esparser_pad_start_code() 201 vb2_plane_size(vb, 0)) { in esparser_pad_start_code() 294 struct vb2_buffer *vb = &vbuf->vb2_buf; in esparser_queue() local 297 u32 payload_size = vb2_get_plane_payload(vb, 0); in esparser_queue() 298 dma_addr_t phy = vb2_dma_contig_plane_dma_addr(vb, 0); in esparser_queue() 329 ret = amvdec_add_ts(sess, vb->timestamp, vbuf->timecode, offset, vbuf->flags); in esparser_queue() 336 vb->timestamp, payload_size, offset, vbuf->flags); in esparser_queue() 343 payload_size = vp9_update_header(core, vb); in esparser_queue() 347 amvdec_remove_ts(sess, vb->timestamp); in esparser_queue() [all …]
|
| /linux/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | v4l2.c | 116 static int tegra_buf_out_validate(struct vb2_buffer *vb) in tegra_buf_out_validate() argument 118 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in tegra_buf_out_validate() 124 static void __tegra_buf_cleanup(struct vb2_buffer *vb, unsigned int i) in __tegra_buf_cleanup() argument 126 struct vb2_queue *vq = vb->vb2_queue; in __tegra_buf_cleanup() 128 struct tegra_m2m_buffer *tb = vb_to_tegra_buf(vb); in __tegra_buf_cleanup() 148 static int tegra_buf_init(struct vb2_buffer *vb) in tegra_buf_init() argument 150 struct vb2_queue *vq = vb->vb2_queue; in tegra_buf_init() 152 struct tegra_m2m_buffer *tb = vb_to_tegra_buf(vb); in tegra_buf_init() 159 if (V4L2_TYPE_IS_CAPTURE(vq->type) && vb->num_planes > 1) { in tegra_buf_init() 165 vb2_plane_size(vb, 1)); in tegra_buf_init() [all …]
|
| /linux/fs/ceph/ |
| H A D | ceph_frag.c | 11 unsigned vb = ceph_frag_value(b); in ceph_frag_compare() local 12 if (va < vb) in ceph_frag_compare() 14 if (va > vb) in ceph_frag_compare() 17 vb = ceph_frag_bits(b); in ceph_frag_compare() 18 if (va < vb) in ceph_frag_compare() 20 if (va > vb) in ceph_frag_compare()
|
| /linux/arch/arm64/crypto/ |
| H A D | aes-ce-ccm-core.S | 26 .macro dround, va, vb, vk 29 aese \vb\().16b, \vk\().16b 30 aesmc \vb\().16b, \vb\().16b 33 .macro aes_encrypt, va, vb, nr 35 dround \va, \vb, v10 36 dround \va, \vb, v11 38 dround \va, \vb, v12 39 dround \va, \vb, v13 41 dround \va, \vb, \v 44 aese \vb\().16b, v4.16b
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_queue.c | 61 static int uvc_buffer_prepare(struct vb2_buffer *vb) in uvc_buffer_prepare() argument 63 struct uvc_video_queue *queue = vb2_get_drv_priv(vb->vb2_queue); in uvc_buffer_prepare() 65 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in uvc_buffer_prepare() 68 if (vb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && in uvc_buffer_prepare() 69 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare() 79 buf->sgt = vb2_dma_sg_plane_desc(vb, 0); in uvc_buffer_prepare() 82 buf->mem = vb2_plane_vaddr(vb, 0); in uvc_buffer_prepare() 84 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare() 85 if (vb->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in uvc_buffer_prepare() 88 buf->bytesused = vb2_get_plane_payload(vb, 0); in uvc_buffer_prepare() [all …]
|
| /linux/drivers/media/common/saa7146/ |
| H A D | saa7146_vbi.c | 234 static void buf_queue(struct vb2_buffer *vb) in buf_queue() argument 236 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_queue() 237 struct vb2_queue *vq = vb->vb2_queue; in buf_queue() 239 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); in buf_queue() 248 static int buf_init(struct vb2_buffer *vb) in buf_init() argument 250 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_init() 251 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); in buf_init() 252 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in buf_init() 255 struct vb2_queue *vq = vb->vb2_queue; in buf_init() 270 static int buf_prepare(struct vb2_buffer *vb) in buf_prepare() argument [all …]
|
| H A D | saa7146_video.c | 90 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in saa7146_pgtable_build() 571 static void buf_queue(struct vb2_buffer *vb) in buf_queue() argument 573 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_queue() 574 struct vb2_queue *vq = vb->vb2_queue; in buf_queue() 576 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); in buf_queue() 585 static int buf_init(struct vb2_buffer *vb) in buf_init() argument 587 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buf_init() 588 struct saa7146_buf *buf = container_of(vbuf, struct saa7146_buf, vb); in buf_init() 589 struct vb2_queue *vq = vb->vb2_queue; in buf_init() 612 static int buf_prepare(struct vb2_buffer *vb) in buf_prepare() argument [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | helpers.c | 450 struct vb2_buffer *vb = &vbuf->vb2_buf; in put_ts_metadata() local 453 u64 ts_us = vb->timestamp; in put_ts_metadata() 473 inst->tss[slot].ts_ns = vb->timestamp; in put_ts_metadata() 479 struct vb2_buffer *vb = &vbuf->vb2_buf; in venus_helper_get_ts_metadata() local 492 vb->timestamp = inst->tss[i].ts_ns; in venus_helper_get_ts_metadata() 502 struct vb2_buffer *vb = &vbuf->vb2_buf; in session_process_buf() local 503 unsigned int type = vb->type; in session_process_buf() 509 fdata.timestamp = vb->timestamp; in session_process_buf() 516 fdata.filled_len = vb2_get_plane_payload(vb, 0); in session_process_buf() 517 fdata.offset = vb->planes[0].data_offset; in session_process_buf() [all …]
|
| /linux/arch/alpha/math-emu/ |
| H A D | math.c | 105 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local 128 vb = alpha_read_fp_reg_s(fb); in alpha_fp_emul() 131 FP_UNPACK_SP(SB, &vb); in alpha_fp_emul() 158 vb = alpha_read_fp_reg(fb); in alpha_fp_emul() 162 FP_UNPACK_RAW_DP(DB, &vb); in alpha_fp_emul() 193 FP_UNPACK_DP(DB, &vb); in alpha_fp_emul() 224 vb = alpha_read_fp_reg_s(fb); in alpha_fp_emul() 225 FP_UNPACK_SP(SB, &vb); in alpha_fp_emul() 245 vb = alpha_read_fp_reg(fb); in alpha_fp_emul() 253 vc = ((vb & 0xc0000000) << 32 | /* sign and msb */ in alpha_fp_emul() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | vecemu.c | 266 unsigned int va, vb, vc, vd; in emulate_altivec() local 277 vb = (word >> 11) & 0x1f; in emulate_altivec() 285 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec() 288 vsubfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec() 291 vrefp(&vrs[vd], &vrs[vb]); in emulate_altivec() 294 vrsqrtefp(&vrs[vd], &vrs[vb]); in emulate_altivec() 298 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec() 302 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec() 306 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec() 310 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec() [all …]
|
| /linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-bytecap.c | 106 struct vb2_v4l2_buffer vb; member 382 vb2_buffer_done(&buf->vb.vb2_buf, state); in dcmipp_bytecap_all_buffers_done() 440 vcap->next->vb.vb2_buf.index, vcap->next, &vcap->next->addr); in dcmipp_bytecap_start_streaming() 542 static int dcmipp_bytecap_buf_prepare(struct vb2_buffer *vb) in dcmipp_bytecap_buf_prepare() argument 544 struct dcmipp_bytecap_device *vcap = vb2_get_drv_priv(vb->vb2_queue); in dcmipp_bytecap_buf_prepare() 545 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in dcmipp_bytecap_buf_prepare() 546 struct dcmipp_buf *buf = container_of(vbuf, struct dcmipp_buf, vb); in dcmipp_bytecap_buf_prepare() 551 if (vb2_plane_size(vb, 0) < size) { in dcmipp_bytecap_buf_prepare() 553 __func__, vb2_plane_size(vb, 0), size); in dcmipp_bytecap_buf_prepare() 557 vb2_set_plane_payload(vb, 0, size); in dcmipp_bytecap_buf_prepare() [all …]
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-v4l2-enc.c | 450 struct vb2_buffer *vb, const vop_header *vh) in solo_fill_jpeg() argument 452 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in solo_fill_jpeg() 454 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_jpeg() 459 if (vb2_plane_size(vb, 0) < vop_jpeg_size(vh) + solo_enc->jpeg_len) in solo_fill_jpeg() 463 vb2_set_plane_payload(vb, 0, vop_jpeg_size(vh) + solo_enc->jpeg_len); in solo_fill_jpeg() 472 struct vb2_buffer *vb, const vop_header *vh) in solo_fill_mpeg() argument 474 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in solo_fill_mpeg() 476 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_mpeg() 480 if (vb2_plane_size(vb, 0) < vop_mpeg_size(vh)) in solo_fill_mpeg() 489 vb2_set_plane_payload(vb, 0, vop_mpeg_size(vh) + in solo_fill_mpeg() [all …]
|
| /linux/drivers/media/platform/rockchip/rkisp1/ |
| H A D | rkisp1-stats.c | 107 static void rkisp1_stats_vb2_buf_queue(struct vb2_buffer *vb) in rkisp1_stats_vb2_buf_queue() argument 109 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rkisp1_stats_vb2_buf_queue() 111 container_of(vbuf, struct rkisp1_buffer, vb); in rkisp1_stats_vb2_buf_queue() 112 struct vb2_queue *vq = vb->vb2_queue; in rkisp1_stats_vb2_buf_queue() 121 static int rkisp1_stats_vb2_buf_prepare(struct vb2_buffer *vb) in rkisp1_stats_vb2_buf_prepare() argument 123 if (vb2_plane_size(vb, 0) < sizeof(struct rkisp1_stat_buffer)) in rkisp1_stats_vb2_buf_prepare() 126 vb2_set_plane_payload(vb, 0, sizeof(struct rkisp1_stat_buffer)); in rkisp1_stats_vb2_buf_prepare() 144 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in rkisp1_stats_vb2_stop_streaming() 357 vb2_plane_vaddr(&cur_buf->vb.vb2_buf, 0); in rkisp1_stats_send_measurement() 372 vb2_set_plane_payload(&cur_buf->vb.vb2_buf, 0, in rkisp1_stats_send_measurement() [all …]
|
| /linux/mm/ |
| H A D | vmalloc.c | 2579 * regular operations: Purge if vb->free is less than 1/4 of the capacity. 2700 struct vmap_block *vb; in new_vmap_block() local 2709 vb = kmalloc_node(sizeof(struct vmap_block), gfp_mask, node); in new_vmap_block() 2710 if (unlikely(!vb)) in new_vmap_block() 2718 kfree(vb); in new_vmap_block() 2723 spin_lock_init(&vb->lock); in new_vmap_block() 2724 vb->va = va; in new_vmap_block() 2727 bitmap_zero(vb->used_map, VMAP_BBMAP_BITS); in new_vmap_block() 2728 vb->free = VMAP_BBMAP_BITS - (1UL << order); in new_vmap_block() 2729 vb->dirty = 0; in new_vmap_block() [all …]
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-m2m.c | 193 struct vb2_v4l2_buffer *vb; in mdp_m2m_stop_streaming() local 195 vb = mdp_m2m_buf_remove(ctx, q->type); in mdp_m2m_stop_streaming() 196 while (vb) { in mdp_m2m_stop_streaming() 197 v4l2_m2m_buf_done(vb, VB2_BUF_STATE_ERROR); in mdp_m2m_stop_streaming() 198 vb = mdp_m2m_buf_remove(ctx, q->type); in mdp_m2m_stop_streaming() 229 static int mdp_m2m_buf_prepare(struct vb2_buffer *vb) in mdp_m2m_buf_prepare() argument 231 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in mdp_m2m_buf_prepare() 233 struct vb2_v4l2_buffer *v4l2_buf = to_vb2_v4l2_buffer(vb); in mdp_m2m_buf_prepare() 238 if (V4L2_TYPE_IS_CAPTURE(vb->type)) { in mdp_m2m_buf_prepare() 239 pix_mp = &ctx_get_frame(ctx, vb->type)->format.fmt.pix_mp; in mdp_m2m_buf_prepare() [all …]
|
| /linux/drivers/media/platform/ti/davinci/ |
| H A D | vpif_display.c | 58 struct vpif_disp_buffer *to_vpif_buffer(struct vb2_v4l2_buffer *vb) in to_vpif_buffer() argument 60 return container_of(vb, struct vpif_disp_buffer, vb); in to_vpif_buffer() 65 * @vb: ptr to vb2_buffer 71 static int vpif_buffer_prepare(struct vb2_buffer *vb) in vpif_buffer_prepare() argument 73 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vpif_buffer_prepare() 74 struct channel_obj *ch = vb2_get_drv_priv(vb->vb2_queue); in vpif_buffer_prepare() 79 vb2_set_plane_payload(vb, 0, common->fmt.fmt.pix.sizeimage); in vpif_buffer_prepare() 80 if (vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) in vpif_buffer_prepare() 85 if (vb->vb2_queue->type != V4L2_BUF_TYPE_SLICED_VBI_OUTPUT) { in vpif_buffer_prepare() 86 unsigned long addr = vb2_dma_contig_plane_dma_addr(vb, 0); in vpif_buffer_prepare() [all …]
|
| /linux/arch/powerpc/xmon/ |
| H A D | ppc-opc.c | 158 /* The VB field in a VX form instruction when it must be the same 732 /* The VB field in a VA, VX or VXR form instruction. */ 733 #define VB VA + 1 macro 737 #define VC VB + 1 2529 /* A VX_MASK with the VB field fixed. */ 2532 /* A VX_MASK with the VA and VB fields fixed. */ 3088 {"vaddubm", VX (4, 0), VX_MASK, PPCVEC, 0, {VD, VA, VB}}, 3090 {"vmaxub", VX (4, 2), VX_MASK, PPCVEC, 0, {VD, VA, VB}}, 3091 {"vrlb", VX (4, 4), VX_MASK, PPCVEC, 0, {VD, VA, VB}}, 3092 {"vcmpequb", VXR(4, 6,0), VXR_MASK, PPCVEC, 0, {VD, VA, VB}}, [all …]
|