Home
last modified time | relevance | path

Searched refs:buf_offset (Results 1 – 25 of 25) sorted by relevance

/external/u-boot/drivers/mtd/nand/raw/
Dvf610_nfc.c155 uint buf_offset; member
358 nfc->buf_offset = max(column, 0); in vf610_nfc_command()
365 nfc->buf_offset = 0; in vf610_nfc_command()
424 nfc->buf_offset = 0; in vf610_nfc_command()
449 uint c = nfc->buf_offset; in vf610_nfc_read_buf()
457 nfc->buf_offset += len; in vf610_nfc_read_buf()
465 uint c = nfc->buf_offset; in vf610_nfc_write_buf()
472 nfc->buf_offset += l; in vf610_nfc_write_buf()
480 uint c = nfc->buf_offset; in vf610_nfc_read_byte()
492 c = nfc->buf_offset ^ 0x3; in vf610_nfc_read_byte()
[all …]
Dmxs_nand.c379 uint32_t buf_offset = geo->block_mark_byte_offset; in mxs_nand_swap_block_mark() local
390 src = data_buf[buf_offset] >> bit_offset; in mxs_nand_swap_block_mark()
391 src |= data_buf[buf_offset + 1] << (8 - bit_offset); in mxs_nand_swap_block_mark()
397 data_buf[buf_offset] &= ~(0xff << bit_offset); in mxs_nand_swap_block_mark()
398 data_buf[buf_offset + 1] &= 0xff << bit_offset; in mxs_nand_swap_block_mark()
400 data_buf[buf_offset] |= dst << bit_offset; in mxs_nand_swap_block_mark()
401 data_buf[buf_offset + 1] |= dst >> (8 - bit_offset); in mxs_nand_swap_block_mark()
/external/u-boot/common/spl/
Dspl_ymodem.c40 int res, err, buf_offset; in ymodem_read_fit() local
55 buf_offset = (info->image_read % BUF_SIZE); in ymodem_read_fit()
57 buf_offset = BUF_SIZE; in ymodem_read_fit()
58 memcpy(addr, &buf[buf_offset - res], res); in ymodem_read_fit()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c64 struct pipe_resource *buf, intptr_t buf_offset, in st_pbo_addresses_setup() argument
71 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup()
77 buf_offset -= skip_pixels; in st_pbo_addresses_setup()
83 assert(buf_offset >= 0); in st_pbo_addresses_setup()
86 addr->first_element = buf_offset; in st_pbo_addresses_setup()
87 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup()
119 intptr_t buf_offset = (intptr_t) pixels; in st_pbo_addresses_pixelstore() local
121 if (buf_offset % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore()
125 buf_offset = buf_offset / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
154 buf_offset += store->SkipPixels + addr->pixels_per_row * offset_rows; in st_pbo_addresses_pixelstore()
[all …]
Dst_pbo.h63 struct pipe_resource *buf, intptr_t buf_offset,
Dst_cb_texture.c1800 intptr_t buf_offset; in st_CompressedTexSubImage() local
1857 buf_offset = (intptr_t)data + store.SkipBytes; in st_CompressedTexSubImage()
1859 if (buf_offset % addr.bytes_per_pixel) { in st_CompressedTexSubImage()
1863 buf_offset = buf_offset / addr.bytes_per_pixel; in st_CompressedTexSubImage()
1875 buf_offset, &addr)) in st_CompressedTexSubImage()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D4-1.c91 size_t buf_offset = 0; in main() local
99 aiocbs[i].aio_offset = buf_offset; in main()
117 buf_offset += buf_size; in main()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c82 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_put() argument
94 box, size, buf_offset); in virgl_vtest_transfer_put()
100 virgl_vtest_send_transfer_put_data(vtws, ptr + buf_offset, size); in virgl_vtest_transfer_put()
110 uint32_t buf_offset, uint32_t level, in virgl_vtest_transfer_get_internal() argument
122 box, size, buf_offset); in virgl_vtest_transfer_get_internal()
154 virgl_vtest_recv_transfer_get_data(vtws, ptr + buf_offset, size, in virgl_vtest_transfer_get_internal()
167 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_get() argument
170 layer_stride, buf_offset, in virgl_vtest_transfer_get()
/external/freetype/src/lzw/
Dftzopen.c44 state->buf_offset = 0; in ft_lzwstate_refill()
63 FT_UInt offset = state->buf_offset; in ft_lzwstate_get_code()
96 state->buf_offset = offset + num_bits; in ft_lzwstate_get_code()
197 state->buf_offset = 0; in ft_lzwstate_reset()
Dftzopen.h119 FT_UInt buf_offset; member
/external/cn-cbor/src/
Dcn-encoder.c300 size_t buf_offset, in cn_cbor_encoder_write() argument
304 cn_write_state ws = { buf, buf_offset, buf_size }; in cn_cbor_encoder_write()
307 return ws.offset - buf_offset; in cn_cbor_encoder_write()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h58 uint32_t buf_offset, uint32_t level);
64 uint32_t buf_offset, uint32_t level);
/external/strace/
Dbtrfs.c1097 uint64_t buf_offset; in MPERS_PRINTER_DECL() local
1109 buf_offset = offsetof(struct btrfs_ioctl_search_args, buf); in MPERS_PRINTER_DECL()
1110 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset, in MPERS_PRINTER_DECL()
1119 uint64_t buf_offset; in MPERS_PRINTER_DECL() local
1139 buf_offset = offsetof(struct btrfs_ioctl_search_args_v2, buf); in MPERS_PRINTER_DECL()
1140 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset, in MPERS_PRINTER_DECL()
/external/virglrenderer/src/
Dvrend_decode.c43 uint32_t buf_offset; member
55 return ctx->ds->buf[ctx->ds->buf_offset + offset]; in get_buf_entry()
61 return &ctx->ds->buf[ctx->ds->buf_offset + offset]; in get_buf_ptr()
350 if (length + ctx->ds->buf_offset > ctx->ds->buf_total) in vrend_decode_resource_inline_write()
1320 gdctx->ds->buf_offset = 0; in vrend_decode_block()
1322 while (gdctx->ds->buf_offset < gdctx->ds->buf_total) { in vrend_decode_block()
1323 uint32_t header = gdctx->ds->buf[gdctx->ds->buf_offset]; in vrend_decode_block()
1328 if (gdctx->ds->buf_offset + len + 1 > gdctx->ds->buf_total) { in vrend_decode_block()
1462 gdctx->ds->buf_offset += (len) + 1; in vrend_decode_block()
Dvrend_renderer.c315 uint32_t buf_offset; member
994 int buf_offset = 0; in set_stream_out_varyings() local
1005 skip = so->stride[last_buffer] - buf_offset; in set_stream_out_varyings()
1014 buf_offset = 0; in set_stream_out_varyings()
1017 skip = so->output[i].dst_offset - buf_offset; in set_stream_out_varyings()
1023 buf_offset = so->output[i].dst_offset; in set_stream_out_varyings()
1025 buf_offset += so->output[i].num_components; in set_stream_out_varyings()
1030 skip = so->stride[last_buffer] - buf_offset; in set_stream_out_varyings()
2975 sel->buf_offset = pkt_length * 4; in vrend_create_shader()
2988 if (offlen != sel->buf_offset) { in vrend_create_shader()
[all …]
/external/mesa3d/include/GL/
Dmesa_glinterop.h226 ptrdiff_t buf_offset; member
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c552 uint32_t buf_offset; in radv_CmdUpdateBuffer() local
553 radv_cmd_buffer_upload_data(cmd_buffer, dataSize, 32, pData, &buf_offset); in radv_CmdUpdateBuffer()
555 buf_offset, dstOffset + dst_buffer->offset, dataSize); in radv_CmdUpdateBuffer()
/external/cn-cbor/include/cn-cbor/
Dcn-cbor.h276 size_t buf_offset,
/external/libaom/libaom/av1/common/
Dav1_inv_txfm2d.c283 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in inv_txfm2d_add_c() local
285 int32_t *temp_out = temp_in + buf_offset; in inv_txfm2d_add_c()
286 int32_t *buf = temp_out + buf_offset; in inv_txfm2d_add_c()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_base.cpp868 auto buf_offset = nir_src_as_const_value(instr->src[1]); in emit_load_ubo_vec4() local
870 if (!buf_offset) { in emit_load_ubo_vec4()
909 auto u = PValue(new UniformValue(512 + buf_offset->u32, cmp, bufid->u32 + 1)); in emit_load_ubo_vec4()
927 auto u = PValue(new UniformValue(512 + buf_offset->u32, cmp, kc_id)); in emit_load_ubo_vec4()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c310 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_put() argument
325 tohostcmd.offset = buf_offset; in virgl_bo_transfer_put()
339 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_get() argument
349 fromhostcmd.offset = buf_offset; in virgl_bo_transfer_get()
/external/libaom/libaom/av1/common/arm/
Dav1_inv_txfm_neon.c3810 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x4_neon() local
3811 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_4x4_neon()
3812 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_4x4_neon()
3873 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x8_neon() local
3874 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_4x8_neon()
3875 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_4x8_neon()
3939 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_8x4_neon() local
3940 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_8x4_neon()
3941 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_8x4_neon()
4005 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x16_neon() local
[all …]
/external/mesa3d/src/gallium/frontends/dri/
Ddri2.c1825 out->buf_offset = 0; in dri2_interop_export_object()
1907 out->buf_offset = obj->BufferOffset; in dri2_interop_export_object()
1973 out->buf_offset += whandle.offset; in dri2_interop_export_object()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c2068 LLVMValueRef vb_info, vbuffer_ptr, buf_offset, ofbit; in draw_llvm_generate() local
2097 buf_offset = lp_build_add(&bld, vb_buffer_offset, src_offset); in draw_llvm_generate()
2102 buf_offset, &ofbit); in draw_llvm_generate()
2141 map_ptr[j] = LLVMBuildGEP(builder, map_ptr[j], &buf_offset, 1, ""); in draw_llvm_generate()
2153 vb_buffer_offset, src_offset, buf_offset); in draw_llvm_generate()
/external/freetype/
DChangeLog.235920 Add `buf_tab', `buf_offset', `buf_size', `buf_clear', and