Searched refs:nvram_cmd (Results 1 – 1 of 1) sorted by relevance
3230 static int tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) in tg3_nvram_exec_cmd() argument3234 tw32(NVRAM_CMD, nvram_cmd); in tg3_nvram_exec_cmd()3383 u32 nvram_cmd; in tg3_nvram_write_block_unbuffered() local3422 nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; in tg3_nvram_write_block_unbuffered()3424 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3430 nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | NVRAM_CMD_WR | in tg3_nvram_write_block_unbuffered()3433 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3437 nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; in tg3_nvram_write_block_unbuffered()3439 if (tg3_nvram_exec_cmd(tp, nvram_cmd)) in tg3_nvram_write_block_unbuffered()3451 nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | in tg3_nvram_write_block_unbuffered()[all …]