Searched refs:flash_vendor (Results 1 – 4 of 4) sorted by relevance
2409 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl2_init_flash_opcode()2410 hw->flash_vendor = 0; /* ATMEL */ in atl2_init_flash_opcode()2414 flash_table[hw->flash_vendor].cmdPROGRAM); in atl2_init_flash_opcode()2416 flash_table[hw->flash_vendor].cmdSECTOR_ERASE); in atl2_init_flash_opcode()2418 flash_table[hw->flash_vendor].cmdCHIP_ERASE); in atl2_init_flash_opcode()2420 flash_table[hw->flash_vendor].cmdRDID); in atl2_init_flash_opcode()2422 flash_table[hw->flash_vendor].cmdWREN); in atl2_init_flash_opcode()2424 flash_table[hw->flash_vendor].cmdRDSR); in atl2_init_flash_opcode()2426 flash_table[hw->flash_vendor].cmdWRSR); in atl2_init_flash_opcode()2428 flash_table[hw->flash_vendor].cmdREAD); in atl2_init_flash_opcode()[all …]
821 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl1_init_flash_opcode()823 hw->flash_vendor = 0; in atl1_init_flash_opcode()826 iowrite8(flash_table[hw->flash_vendor].cmd_program, in atl1_init_flash_opcode()828 iowrite8(flash_table[hw->flash_vendor].cmd_sector_erase, in atl1_init_flash_opcode()830 iowrite8(flash_table[hw->flash_vendor].cmd_chip_erase, in atl1_init_flash_opcode()832 iowrite8(flash_table[hw->flash_vendor].cmd_rdid, in atl1_init_flash_opcode()834 iowrite8(flash_table[hw->flash_vendor].cmd_wren, in atl1_init_flash_opcode()836 iowrite8(flash_table[hw->flash_vendor].cmd_rdsr, in atl1_init_flash_opcode()838 iowrite8(flash_table[hw->flash_vendor].cmd_wrsr, in atl1_init_flash_opcode()840 iowrite8(flash_table[hw->flash_vendor].cmd_read, in atl1_init_flash_opcode()
428 u8 flash_vendor; member
748 u8 flash_vendor; member