Lines Matching refs:FPWV
20 #define FPWV FLASH_PORT_WIDTHV macro
31 ulong flash_get_size(FPWV * addr, flash_info_t * info);
33 int write_word(flash_info_t * info, FPWV * dest, u16 data);
44 flash_get_size((FPWV *) fbase, &flash_info[0]); in flash_init()
129 ulong flash_get_size(FPWV * addr, flash_info_t * info) in flash_get_size()
133 addr[FLASH_CYCLE1] = (FPWV) 0x00AA00AA; /* for Atmel, Intel ignores this */ in flash_get_size()
134 addr[FLASH_CYCLE2] = (FPWV) 0x00550055; /* for Atmel, Intel ignores this */ in flash_get_size()
135 addr[FLASH_CYCLE1] = (FPWV) 0x00900090; /* selects Intel or Atmel */ in flash_get_size()
167 *addr = (FPWV) 0x00F000F0; in flash_get_size()
180 FPWV *addr; in flash_erase()
225 addr = (FPWV *) info->start[0]; in flash_erase()
268 addr = (FPWV *) (info->start[sect]); in flash_erase()
278 FPWV *base; /* first address in bank */ in flash_erase()
282 base = (FPWV *) (CONFIG_SYS_FLASH_BASE); /* First sector */ in flash_erase()
333 data = *((FPWV *) wp); in write_buff()
336 if ((rc = write_word(info, (FPWV *) wp, data)) != 0) in write_buff()
349 data = *((FPWV *) src); in write_buff()
351 if ((rc = write_word(info, (FPWV *) wp, data)) != 0) in write_buff()
367 data = *((FPWV *) wp); in write_buff()
371 if ((rc = write_word(info, (FPWV *) wp, data)) != 0) in write_buff()
399 int write_word(flash_info_t * info, FPWV * dest, u16 data) in write_word()
404 FPWV *base; /* first address in flash bank */ in write_word()
411 base = (FPWV *) (CONFIG_SYS_FLASH_BASE); in write_word()