bccmd.c | 176 static char *storestostr(uint16_t stores) 178 switch (stores) { 585 uint16_t type, stores[4] = { 0x0001, 0x0002, 0x0004, 0x0008 }; local 592 array[0] = stores[i] & 0xff; 593 array[1] = stores[i] >> 8; 601 printf("%s (0x%04x) = %s (%d)\n", storestostr(stores[i]), 602 stores[i], memorytostr(type), type); 609 { "stores", 1, 0, 's' }, 615 static int opt_pskey(int argc, char *argv[], uint16_t *stores, int *reset, int *help) 622 if (!stores) 671 uint16_t pskey, length, value, stores = CSR_STORES_DEFAULT; local 746 uint16_t pskey, length, value, stores = CSR_STORES_PSRAM; local 852 uint16_t pskey, stores = CSR_STORES_PSRAM; local 889 uint16_t pskey = 0x0000, length, stores = CSR_STORES_DEFAULT; local 934 uint16_t pskey = 0x0000, length, stores = CSR_STORES_DEFAULT; local 1003 uint16_t pskey, length, size, stores = CSR_STORES_PSRAM; local [all...] |