Lines Matching refs:perrno

738 					  u8 *bytes, int *perrno);
741 u8 *bytes, int *perrno);
747 int *perrno);
750 int *perrno);
753 u8 *bytes, int *perrno);
756 u8 *bytes, int *perrno);
759 u8 *bytes, int *perrno);
762 u8 *bytes, int *perrno);
765 u8 *bytes, int *perrno);
812 u8 *bytes, int *perrno) in i40e_nvmupd_command() argument
818 *perrno = 0; in i40e_nvmupd_command()
821 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_command()
830 *perrno = -EFAULT; in i40e_nvmupd_command()
833 upd_cmd, *perrno); in i40e_nvmupd_command()
841 *perrno = -EFAULT; in i40e_nvmupd_command()
877 status = i40e_nvmupd_state_init(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
881 status = i40e_nvmupd_state_reading(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
885 status = i40e_nvmupd_state_writing(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
900 *perrno = -EBUSY; in i40e_nvmupd_command()
908 *perrno = -ESRCH; in i40e_nvmupd_command()
928 u8 *bytes, int *perrno) in i40e_nvmupd_state_init() argument
933 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_init()
939 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
942 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
950 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
953 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
964 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
967 status = i40e_nvmupd_nvm_erase(hw, cmd, perrno); in i40e_nvmupd_state_init()
981 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
984 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
998 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
1001 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1014 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
1019 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_init()
1033 status = i40e_nvmupd_exec_aq(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1037 status = i40e_nvmupd_get_aq_result(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1041 status = i40e_nvmupd_get_aq_event(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1049 *perrno = -ESRCH; in i40e_nvmupd_state_init()
1067 u8 *bytes, int *perrno) in i40e_nvmupd_state_reading() argument
1072 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_reading()
1077 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_reading()
1081 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_reading()
1091 *perrno = -ESRCH; in i40e_nvmupd_state_reading()
1109 u8 *bytes, int *perrno) in i40e_nvmupd_state_writing() argument
1115 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_writing()
1120 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_writing()
1128 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_writing()
1130 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1146 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1161 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1178 *perrno = -ESRCH; in i40e_nvmupd_state_writing()
1279 int *perrno) in i40e_nvmupd_validate_command() argument
1296 *perrno = -EFAULT; in i40e_nvmupd_validate_command()
1375 u8 *bytes, int *perrno) in i40e_nvmupd_exec_aq() argument
1400 *perrno = -EINVAL; in i40e_nvmupd_exec_aq()
1435 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_exec_aq()
1459 u8 *bytes, int *perrno) in i40e_nvmupd_get_aq_result() argument
1475 *perrno = -EINVAL; in i40e_nvmupd_get_aq_result()
1528 u8 *bytes, int *perrno) in i40e_nvmupd_get_aq_event() argument
1562 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_read() argument
1585 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_read()
1601 int *perrno) in i40e_nvmupd_nvm_erase() argument
1624 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_erase()
1641 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_write() argument
1667 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_write()