nvram_cmd 3236 drivers/net/ethernet/broadcom/tg3.c static int tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) nvram_cmd 3240 drivers/net/ethernet/broadcom/tg3.c tw32(NVRAM_CMD, nvram_cmd); nvram_cmd 3389 drivers/net/ethernet/broadcom/tg3.c u32 nvram_cmd; nvram_cmd 3428 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; nvram_cmd 3430 drivers/net/ethernet/broadcom/tg3.c if (tg3_nvram_exec_cmd(tp, nvram_cmd)) nvram_cmd 3436 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | NVRAM_CMD_WR | nvram_cmd 3439 drivers/net/ethernet/broadcom/tg3.c if (tg3_nvram_exec_cmd(tp, nvram_cmd)) nvram_cmd 3443 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_WREN | NVRAM_CMD_GO | NVRAM_CMD_DONE; nvram_cmd 3445 drivers/net/ethernet/broadcom/tg3.c if (tg3_nvram_exec_cmd(tp, nvram_cmd)) nvram_cmd 3457 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | nvram_cmd 3461 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= NVRAM_CMD_FIRST; nvram_cmd 3463 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= NVRAM_CMD_LAST; nvram_cmd 3465 drivers/net/ethernet/broadcom/tg3.c ret = tg3_nvram_exec_cmd(tp, nvram_cmd); nvram_cmd 3473 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_WRDI | NVRAM_CMD_GO | NVRAM_CMD_DONE; nvram_cmd 3474 drivers/net/ethernet/broadcom/tg3.c tg3_nvram_exec_cmd(tp, nvram_cmd); nvram_cmd 3488 drivers/net/ethernet/broadcom/tg3.c u32 page_off, phy_addr, nvram_cmd; nvram_cmd 3498 drivers/net/ethernet/broadcom/tg3.c nvram_cmd = NVRAM_CMD_GO | NVRAM_CMD_DONE | NVRAM_CMD_WR; nvram_cmd 3501 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= NVRAM_CMD_FIRST; nvram_cmd 3503 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= NVRAM_CMD_LAST; nvram_cmd 3506 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= NVRAM_CMD_LAST; nvram_cmd 3508 drivers/net/ethernet/broadcom/tg3.c if ((nvram_cmd & NVRAM_CMD_FIRST) || nvram_cmd 3516 drivers/net/ethernet/broadcom/tg3.c (nvram_cmd & NVRAM_CMD_FIRST)) { nvram_cmd 3526 drivers/net/ethernet/broadcom/tg3.c nvram_cmd |= (NVRAM_CMD_FIRST | NVRAM_CMD_LAST); nvram_cmd 3529 drivers/net/ethernet/broadcom/tg3.c ret = tg3_nvram_exec_cmd(tp, nvram_cmd);