Home
last modified time | relevance | path

Searched refs:blk_size (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp293 uint32_t blk_size = 0; in gpt2_set_boot_chain() local
296 if (ioctl(fd, BLKSSZGET, &blk_size) != 0) { in gpt2_set_boot_chain()
302 gpt_header = (uint8_t*)malloc(blk_size); in gpt2_set_boot_chain()
308 gpt2_header_offset = lseek64(fd, 0, SEEK_END) - blk_size; in gpt2_set_boot_chain()
317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); in gpt2_set_boot_chain()
324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; in gpt2_set_boot_chain()
349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); in gpt2_set_boot_chain()
355 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; in gpt2_set_boot_chain()
373 r = blk_rw(fd, 1, gpt2_header_offset, gpt_header, blk_size); in gpt2_set_boot_chain()
406 uint32_t blk_size = 0; in gpt_get_state() local
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dpsb_MPEG2MC.c134 uint32_t blk_size;/* buffer elements size */ member
152 uint32_t blk_size; in psb__MPEG2MC_send_interPB_prediction() local
159 blk_size = 1; /* 16 x 8 */ in psb__MPEG2MC_send_interPB_prediction()
161 blk_size = 0; /* 16 x 16 */ in psb__MPEG2MC_send_interPB_prediction()
165 blk_size = 1; /* 16 x 8 */ in psb__MPEG2MC_send_interPB_prediction()
167 blk_size = 0; /* 16 x 16 */ in psb__MPEG2MC_send_interPB_prediction()
180 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, INTER_PRED_BLOCK_SIZE, blk_size); in psb__MPEG2MC_send_interPB_prediction()
545 if (ctx->residual_pendingDMA != (ctx->blk_size * ctx->blk_in_buffer)) { in psb__MPEG2MC_finalise_residDMA()
548 ctx->residual_pendingDMA, ctx->residual_pendingDMA / ctx->blk_size, in psb__MPEG2MC_finalise_residDMA()
549 ctx->blk_size * ctx->blk_in_buffer, in psb__MPEG2MC_finalise_residDMA()
[all …]