Lines Matching refs:table
192 uint8_t table[BASIC_TABLE_LEN * 4] = { 0 }, i, j; in read_basic_table() local
198 if (read_sfdp_data(flash, table_addr, table, sizeof(table)) != SFUD_SUCCESS) { in read_basic_table()
206 …SFUD_DEBUG("[%04d] 0x%02X 0x%02X 0x%02X 0x%02X", i + 1, table[i * 4 + 3], table[i * 4 + 2], table[… in read_basic_table()
207 table[i * 4]); in read_basic_table()
211 sfdp->erase_4k_cmd = table[1]; in read_basic_table()
212 switch (table[0] & 0x03) { in read_basic_table()
227 switch ((table[0] & (0x01 << 2)) >> 2) { in read_basic_table()
238 switch ((table[0] & (0x01 << 3)) >> 3) { in read_basic_table()
252 switch ((table[0] & (0x01 << 4)) >> 4) { in read_basic_table()
267 switch ((table[2] & (0x03 << 1)) >> 1) { in read_basic_table()
290 …uint32_t table2_temp = ((long)table[7] << 24) | ((long)table[6] << 16) | ((long)table[5] << 8) | (… in read_basic_table()
291 switch ((table[7] & (0x01 << 7)) >> 7) { in read_basic_table()
308 if (table[28 + 2 * i] != 0x00) { in read_basic_table()
309 sfdp->eraser[j].size = 1L << table[28 + 2 * i]; in read_basic_table()
310 sfdp->eraser[j].cmd = table[28 + 2 * i + 1]; in read_basic_table()