Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/mga/
Dmga_warp.c117 unsigned int src_size, dst_size; in mga_warp_install_microcode() local
121 src_size = be16_to_cpu(rec->len); in mga_warp_install_microcode()
122 dst_size = WARP_UCODE_SIZE(src_size); in mga_warp_install_microcode()
123 memcpy(vcbase, rec->data, src_size); in mga_warp_install_microcode()
/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c176 unsigned int src_size = (pending->height << 16) | pending->width; in mtk_ovl_layer_config() local
188 writel_relaxed(src_size, comp->regs + DISP_REG_OVL_SRC_SIZE(idx)); in mtk_ovl_layer_config()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c216 struct drm_vmw_size *src_size; in vmw_surface_define_encode() local
233 src_size = srf->sizes; in vmw_surface_define_encode()
235 for (i = 0; i < srf->num_sizes; ++i, cmd_size++, src_size++) { in vmw_surface_define_encode()
236 cmd_size->width = src_size->width; in vmw_surface_define_encode()
237 cmd_size->height = src_size->height; in vmw_surface_define_encode()
238 cmd_size->depth = src_size->depth; in vmw_surface_define_encode()
/drivers/infiniband/core/
Ducma.c705 (cmd.src_size && (cmd.src_size != rdma_addr_size_kss(&cmd.src_addr))) || in ucma_resolve_addr()
879 resp.src_size = rdma_addr_size(addr); in ucma_query_addr()
880 memcpy(&resp.src_addr, addr, resp.src_size); in ucma_query_addr()
941 resp.src_size = sizeof(*addr); in ucma_query_gid()
943 memcpy(addr, &ctx->cm_id->route.addr.src_addr, resp.src_size); in ucma_query_gid()
/drivers/media/i2c/smiapp/
Dsmiapp-core.c2118 struct v4l2_rect *src_size, *crops[SMIAPP_PADS]; in smiapp_set_crop() local
2125 src_size = &ssd->sink_fmt; in smiapp_set_crop()
2127 src_size = &ssd->compose; in smiapp_set_crop()
2136 src_size = &_r; in smiapp_set_crop()
2138 src_size = in smiapp_set_crop()
2149 sel->r.width = min(sel->r.width, src_size->width); in smiapp_set_crop()
2150 sel->r.height = min(sel->r.height, src_size->height); in smiapp_set_crop()
2152 sel->r.left = min_t(int, sel->r.left, src_size->width - sel->r.width); in smiapp_set_crop()
2153 sel->r.top = min_t(int, sel->r.top, src_size->height - sel->r.height); in smiapp_set_crop()
/drivers/video/fbdev/
Dudlfb.c1431 char *src, loff_t src_off, size_t src_size) { in edid_store() argument
1438 if ((src_size != EDID_LENGTH) || (src_off != 0)) in edid_store()
1441 ret = dlfb_setup_modes(dev, fb_info, src, src_size); in edid_store()
1445 if (!dev->edid || memcmp(src, dev->edid, src_size)) in edid_store()
1450 return src_size; in edid_store()
/drivers/net/wireless/broadcom/b43legacy/
Dmain.c1084 u16 src_size, elem_size, src_pos, dest_pos; in b43legacy_generate_probe_resp() local
1089 src_size = dev->wl->current_beacon->len; in b43legacy_generate_probe_resp()
1097 if (B43legacy_WARN_ON(src_size < ie_start)) in b43legacy_generate_probe_resp()
1100 dest_data = kmalloc(src_size, GFP_ATOMIC); in b43legacy_generate_probe_resp()
1108 for ( ; src_pos < src_size - 2; src_pos += elem_size) { in b43legacy_generate_probe_resp()
/drivers/media/platform/coda/
Dcoda-bit.c184 u32 src_size = vb2_get_plane_payload(&src_buf->vb2_buf, 0); in coda_bitstream_queue() local
188 vb2_plane_vaddr(&src_buf->vb2_buf, 0), src_size); in coda_bitstream_queue()
189 if (n < src_size) in coda_bitstream_queue()