Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datl2.c2119 static struct atl2_spi_flash_dev flash_table[] = variable
2365 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl2_init_flash_opcode()
2370 flash_table[hw->flash_vendor].cmdPROGRAM); in atl2_init_flash_opcode()
2372 flash_table[hw->flash_vendor].cmdSECTOR_ERASE); in atl2_init_flash_opcode()
2374 flash_table[hw->flash_vendor].cmdCHIP_ERASE); in atl2_init_flash_opcode()
2376 flash_table[hw->flash_vendor].cmdRDID); in atl2_init_flash_opcode()
2378 flash_table[hw->flash_vendor].cmdWREN); in atl2_init_flash_opcode()
2380 flash_table[hw->flash_vendor].cmdRDSR); in atl2_init_flash_opcode()
2382 flash_table[hw->flash_vendor].cmdWRSR); in atl2_init_flash_opcode()
2384 flash_table[hw->flash_vendor].cmdREAD); in atl2_init_flash_opcode()
Datlx.c35 static struct atlx_spi_flash_dev flash_table[] = { variable
Datl1.c802 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl1_init_flash_opcode()
807 iowrite8(flash_table[hw->flash_vendor].cmd_program, in atl1_init_flash_opcode()
809 iowrite8(flash_table[hw->flash_vendor].cmd_sector_erase, in atl1_init_flash_opcode()
811 iowrite8(flash_table[hw->flash_vendor].cmd_chip_erase, in atl1_init_flash_opcode()
813 iowrite8(flash_table[hw->flash_vendor].cmd_rdid, in atl1_init_flash_opcode()
815 iowrite8(flash_table[hw->flash_vendor].cmd_wren, in atl1_init_flash_opcode()
817 iowrite8(flash_table[hw->flash_vendor].cmd_rdsr, in atl1_init_flash_opcode()
819 iowrite8(flash_table[hw->flash_vendor].cmd_wrsr, in atl1_init_flash_opcode()
821 iowrite8(flash_table[hw->flash_vendor].cmd_read, in atl1_init_flash_opcode()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbnx2.c144 static const struct flash_spec flash_table[] = variable
4347 entry_count = ARRAY_SIZE(flash_table); in bnx2_init_nvram()
4352 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()
4370 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()