Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp1128 uint32_t block_size = 0; in gpt_get_block_size() local
1134 if (ioctl(fd, BLKSSZGET, &block_size) != 0) { in gpt_get_block_size()
1140 return block_size; in gpt_get_block_size()
1150 uint32_t block_size = 0; in gpt_set_header() local
1157 block_size = gpt_get_block_size(fd); in gpt_set_header()
1158 ALOGI("%s: Block size is : %d", __func__, block_size); in gpt_set_header()
1159 if (block_size == 0) { in gpt_set_header()
1164 gpt_header_offset = block_size; in gpt_set_header()
1166 gpt_header_offset = lseek64(fd, 0, SEEK_END) - block_size; in gpt_set_header()
1173 if (blk_rw(fd, 1, gpt_header_offset, gpt_header, block_size)) { in gpt_set_header()
[all …]
Dgpt-utils.h137 uint32_t block_size; member
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal408 * and width dimensions. The value block_size indicates the input block size
411 * Chunks of data of size block_size * block_size from depth are rearranged
412 * into non-overlapping blocks of size block_size x block_size.
414 * The width of the output tensor is input_depth * block_size, whereas the
415 * height is input_height * block_size. The depth of the input tensor must
416 * be divisible by block_size * block_size
427 * * 1: An {@link OperandType::INT32} scalar, specifying the block_size.
428 * block_size must be >=1 and block_size * block_size must be a divisor
432 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
433 * width*block_size, depth/(block_size*block_size)].
[all …]
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal630 * and width dimensions. The value block_size indicates the input block size
633 * Chunks of data of size block_size * block_size from depth are rearranged
634 * into non-overlapping blocks of size block_size x block_size.
636 * The width of the output tensor is input_depth * block_size, whereas the
637 * height is input_height * block_size. The depth of the input tensor must
638 * be divisible by block_size * block_size
653 * * 1: An {@link OperandType::INT32} scalar, specifying the block_size.
654 * block_size must be >=1 and block_size * block_size must be a divisor
661 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
662 * width*block_size, depth/(block_size*block_size)].
[all …]