Lines Matching refs:perrno
741 u8 *bytes, int *perrno);
744 u8 *bytes, int *perrno);
750 int *perrno);
753 int *perrno);
756 u8 *bytes, int *perrno);
759 u8 *bytes, int *perrno);
762 u8 *bytes, int *perrno);
765 u8 *bytes, int *perrno);
768 u8 *bytes, int *perrno);
815 u8 *bytes, int *perrno) in i40e_nvmupd_command() argument
821 *perrno = 0; in i40e_nvmupd_command()
824 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_command()
833 *perrno = -EFAULT; in i40e_nvmupd_command()
836 upd_cmd, *perrno); in i40e_nvmupd_command()
844 *perrno = -EFAULT; in i40e_nvmupd_command()
880 status = i40e_nvmupd_state_init(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
884 status = i40e_nvmupd_state_reading(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
888 status = i40e_nvmupd_state_writing(hw, cmd, bytes, perrno); in i40e_nvmupd_command()
903 *perrno = -EBUSY; in i40e_nvmupd_command()
911 *perrno = -ESRCH; in i40e_nvmupd_command()
931 u8 *bytes, int *perrno) in i40e_nvmupd_state_init() argument
936 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_init()
942 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
945 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
953 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
956 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
967 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
970 status = i40e_nvmupd_nvm_erase(hw, cmd, perrno); in i40e_nvmupd_state_init()
984 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
987 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1001 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
1004 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1017 *perrno = i40e_aq_rc_to_posix(status, in i40e_nvmupd_state_init()
1022 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_init()
1036 status = i40e_nvmupd_exec_aq(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1040 status = i40e_nvmupd_get_aq_result(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1044 status = i40e_nvmupd_get_aq_event(hw, cmd, bytes, perrno); in i40e_nvmupd_state_init()
1052 *perrno = -ESRCH; in i40e_nvmupd_state_init()
1070 u8 *bytes, int *perrno) in i40e_nvmupd_state_reading() argument
1075 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_reading()
1080 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_reading()
1084 status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno); in i40e_nvmupd_state_reading()
1094 *perrno = -ESRCH; in i40e_nvmupd_state_reading()
1112 u8 *bytes, int *perrno) in i40e_nvmupd_state_writing() argument
1118 upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno); in i40e_nvmupd_state_writing()
1123 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_writing()
1131 status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno); in i40e_nvmupd_state_writing()
1133 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1149 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1164 *perrno = hw->aq.asq_last_status ? in i40e_nvmupd_state_writing()
1181 *perrno = -ESRCH; in i40e_nvmupd_state_writing()
1282 int *perrno) in i40e_nvmupd_validate_command() argument
1299 *perrno = -EFAULT; in i40e_nvmupd_validate_command()
1378 u8 *bytes, int *perrno) in i40e_nvmupd_exec_aq() argument
1403 *perrno = -EINVAL; in i40e_nvmupd_exec_aq()
1438 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_exec_aq()
1462 u8 *bytes, int *perrno) in i40e_nvmupd_get_aq_result() argument
1478 *perrno = -EINVAL; in i40e_nvmupd_get_aq_result()
1531 u8 *bytes, int *perrno) in i40e_nvmupd_get_aq_event() argument
1565 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_read() argument
1588 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_read()
1604 int *perrno) in i40e_nvmupd_nvm_erase() argument
1627 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_erase()
1644 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_write() argument
1670 *perrno = i40e_aq_rc_to_posix(status, hw->aq.asq_last_status); in i40e_nvmupd_nvm_write()