Lines Matching refs:upd_cmd
815 enum i40e_nvmupd_cmd upd_cmd; in i40e_nvmupd_command() local
821 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_command()
824 i40e_nvm_update_state_str[upd_cmd], in i40e_nvmupd_command()
829 if (upd_cmd == I40E_NVMUPD_INVALID) { in i40e_nvmupd_command()
833 upd_cmd, *perrno); in i40e_nvmupd_command()
839 if (upd_cmd == I40E_NVMUPD_STATUS) { in i40e_nvmupd_command()
931 enum i40e_nvmupd_cmd upd_cmd; in i40e_nvmupd_state_init() local
933 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_init()
935 switch (upd_cmd) { in i40e_nvmupd_state_init()
1047 i40e_nvm_update_state_str[upd_cmd]); in i40e_nvmupd_state_init()
1070 enum i40e_nvmupd_cmd upd_cmd; in i40e_nvmupd_state_reading() local
1072 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_reading()
1074 switch (upd_cmd) { in i40e_nvmupd_state_reading()
1089 i40e_nvm_update_state_str[upd_cmd]); in i40e_nvmupd_state_reading()
1112 enum i40e_nvmupd_cmd upd_cmd; in i40e_nvmupd_state_writing() local
1115 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_writing()
1118 switch (upd_cmd) { in i40e_nvmupd_state_writing()
1176 i40e_nvm_update_state_str[upd_cmd]); in i40e_nvmupd_state_writing()
1281 enum i40e_nvmupd_cmd upd_cmd; in i40e_nvmupd_validate_command() local
1285 upd_cmd = I40E_NVMUPD_INVALID; in i40e_nvmupd_validate_command()
1304 upd_cmd = I40E_NVMUPD_READ_CON; in i40e_nvmupd_validate_command()
1307 upd_cmd = I40E_NVMUPD_READ_SNT; in i40e_nvmupd_validate_command()
1310 upd_cmd = I40E_NVMUPD_READ_LCB; in i40e_nvmupd_validate_command()
1313 upd_cmd = I40E_NVMUPD_READ_SA; in i40e_nvmupd_validate_command()
1317 upd_cmd = I40E_NVMUPD_STATUS; in i40e_nvmupd_validate_command()
1319 upd_cmd = I40E_NVMUPD_GET_AQ_RESULT; in i40e_nvmupd_validate_command()
1322 upd_cmd = I40E_NVMUPD_GET_AQ_EVENT; in i40e_nvmupd_validate_command()
1330 upd_cmd = I40E_NVMUPD_WRITE_CON; in i40e_nvmupd_validate_command()
1333 upd_cmd = I40E_NVMUPD_WRITE_SNT; in i40e_nvmupd_validate_command()
1336 upd_cmd = I40E_NVMUPD_WRITE_LCB; in i40e_nvmupd_validate_command()
1339 upd_cmd = I40E_NVMUPD_WRITE_SA; in i40e_nvmupd_validate_command()
1342 upd_cmd = I40E_NVMUPD_WRITE_ERA; in i40e_nvmupd_validate_command()
1345 upd_cmd = I40E_NVMUPD_CSUM_CON; in i40e_nvmupd_validate_command()
1348 upd_cmd = I40E_NVMUPD_CSUM_SA; in i40e_nvmupd_validate_command()
1351 upd_cmd = I40E_NVMUPD_CSUM_LCB; in i40e_nvmupd_validate_command()
1355 upd_cmd = I40E_NVMUPD_EXEC_AQ; in i40e_nvmupd_validate_command()
1361 return upd_cmd; in i40e_nvmupd_validate_command()