Searched refs:T2T_BLOCKS_PER_SECTOR (Results 1 – 2 of 2) sorted by relevance
713 read_cmd[0] = block % T2T_BLOCKS_PER_SECTOR; in rw_t2t_read()714 if (p_t2t->sector != block / T2T_BLOCKS_PER_SECTOR) { in rw_t2t_read()721 p_t2t->select_sector = (uint8_t)(block / T2T_BLOCKS_PER_SECTOR); in rw_t2t_read()771 write_cmd[0] = (uint8_t)(block % T2T_BLOCKS_PER_SECTOR); in rw_t2t_write()774 if (p_t2t->sector != block / T2T_BLOCKS_PER_SECTOR) { in rw_t2t_write()781 p_t2t->select_sector = (uint8_t)(block / T2T_BLOCKS_PER_SECTOR); in rw_t2t_write()
183 #define T2T_BLOCKS_PER_SECTOR 0x100 macro