Home
last modified time | relevance | path

Searched refs:flash_table (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/atheros/atlx/
Datl2.c2165 static struct atl2_spi_flash_dev flash_table[] = variable
2411 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl2_init_flash_opcode()
2416 flash_table[hw->flash_vendor].cmdPROGRAM); in atl2_init_flash_opcode()
2418 flash_table[hw->flash_vendor].cmdSECTOR_ERASE); in atl2_init_flash_opcode()
2420 flash_table[hw->flash_vendor].cmdCHIP_ERASE); in atl2_init_flash_opcode()
2422 flash_table[hw->flash_vendor].cmdRDID); in atl2_init_flash_opcode()
2424 flash_table[hw->flash_vendor].cmdWREN); in atl2_init_flash_opcode()
2426 flash_table[hw->flash_vendor].cmdRDSR); in atl2_init_flash_opcode()
2428 flash_table[hw->flash_vendor].cmdWRSR); in atl2_init_flash_opcode()
2430 flash_table[hw->flash_vendor].cmdREAD); in atl2_init_flash_opcode()
Datlx.c48 static struct atlx_spi_flash_dev flash_table[] = { variable
Datl1.c821 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) 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()
/drivers/net/ethernet/broadcom/
Dbnx2.c150 static const struct flash_spec flash_table[] = variable
4361 entry_count = ARRAY_SIZE(flash_table); in bnx2_init_nvram()
4366 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()
4384 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()