Searched refs:nvram_cmd (Results 1 – 1 of 1) sorted by relevance
3231 static int tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) in tg3_nvram_exec_cmd() argument3235 tw32(NVRAM_CMD, nvram_cmd); in tg3_nvram_exec_cmd()3384 u32 nvram_cmd; in tg3_nvram_write_block_unbuffered() local3423 nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; in tg3_nvram_write_block_unbuffered()3425 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3431 nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | NVRAM_CMD_WR | in tg3_nvram_write_block_unbuffered()3434 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3438 nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; in tg3_nvram_write_block_unbuffered()3440 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3452 nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | in tg3_nvram_write_block_unbuffered()[all …]