Searched refs:flash_table (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2168 static struct atl2_spi_flash_dev flash_table[] = variable 2414 if (hw->flash_vendor >= ARRAY_SIZE(flash_table)) in atl2_init_flash_opcode() 2419 flash_table[hw->flash_vendor].cmdPROGRAM); in atl2_init_flash_opcode() 2421 flash_table[hw->flash_vendor].cmdSECTOR_ERASE); in atl2_init_flash_opcode() 2423 flash_table[hw->flash_vendor].cmdCHIP_ERASE); in atl2_init_flash_opcode() 2425 flash_table[hw->flash_vendor].cmdRDID); in atl2_init_flash_opcode() 2427 flash_table[hw->flash_vendor].cmdWREN); in atl2_init_flash_opcode() 2429 flash_table[hw->flash_vendor].cmdRDSR); in atl2_init_flash_opcode() 2431 flash_table[hw->flash_vendor].cmdWRSR); in atl2_init_flash_opcode() 2433 flash_table[hw->flash_vendor].cmdREAD); in atl2_init_flash_opcode()
|
D | atlx.c | 48 static struct atlx_spi_flash_dev flash_table[] = { variable
|
D | atl1.c | 821 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()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 150 static const struct flash_spec flash_table[] = variable 4355 entry_count = ARRAY_SIZE(flash_table); in bnx2_init_nvram() 4360 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram() 4378 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()
|