Searched refs:buf_offset (Results 1 – 2 of 2) sorted by relevance
156 uint buf_offset; member359 nfc->buf_offset = max(column, 0); in vf610_nfc_command()366 nfc->buf_offset = 0; in vf610_nfc_command()425 nfc->buf_offset = 0; in vf610_nfc_command()450 uint c = nfc->buf_offset; in vf610_nfc_read_buf()458 nfc->buf_offset += len; in vf610_nfc_read_buf()466 uint c = nfc->buf_offset; in vf610_nfc_write_buf()473 nfc->buf_offset += l; in vf610_nfc_write_buf()481 uint c = nfc->buf_offset; in vf610_nfc_read_byte()493 c = nfc->buf_offset ^ 0x3; in vf610_nfc_read_byte()[all …]
379 uint32_t buf_offset = geo->block_mark_byte_offset; in mxs_nand_swap_block_mark() local390 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()