Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 5 of 5) 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.hal419 * and width dimensions. The value block_size indicates the input block size
422 * Chunks of data of size block_size * block_size from depth are rearranged
423 * into non-overlapping blocks of size block_size x block_size.
425 * The width of the output tensor is input_depth * block_size, whereas the
426 * height is input_height * block_size. The depth of the input tensor must
427 * be divisible by block_size * block_size
439 * * 1: An {@link OperandType::INT32} scalar, specifying the block_size.
440 * block_size must be >=1 and block_size * block_size must be a divisor
444 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
445 * width*block_size, depth/(block_size*block_size)].
[all …]
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal621 * and width dimensions. The value block_size indicates the input block size
624 * Chunks of data of size block_size * block_size from depth are rearranged
625 * into non-overlapping blocks of size block_size x block_size.
627 * The width of the output tensor is input_depth * block_size, whereas the
628 * height is input_height * block_size. The depth of the input tensor must
629 * be divisible by block_size * block_size
645 * * 1: An {@link OperandType::INT32} scalar, specifying the block_size.
646 * block_size must be >=1 and block_size * block_size must be a divisor
653 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
654 * width*block_size, depth/(block_size*block_size)].
[all …]
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal600 * and width dimensions. The value block_size indicates the input block size
603 * Chunks of data of size block_size * block_size from depth are rearranged
604 * into non-overlapping blocks of size block_size x block_size.
606 * The width of the output tensor is input_depth * block_size, whereas the
607 * height is input_height * block_size. The depth of the input tensor must
608 * be divisible by block_size * block_size
625 * * 1: An {@link OperandType::INT32} scalar, specifying the block_size.
626 * block_size must be >=1 and block_size * block_size must be a divisor
633 * * 0: The output 4-D tensor, of shape [batch, height*block_size,
634 * width*block_size, depth/(block_size*block_size)].
[all …]