Private definitions for interfacing with NETINT video processing devices over NVMe.
More...
|
ni_retcode_t | ni_nvme_check_error_code (int rc, int opcode, uint32_t xcoder_type, uint32_t hw_id, uint32_t *p_instance_id) |
| Check f/w error return code, and if it's a fatal one, terminate application's decoding/encoding processing by sending self a SIGTERM signal. Application shall handle this gracefully. More...
|
|
int32_t | ni_nvme_send_admin_cmd (ni_nvme_admin_opcode_t opcode, ni_device_handle_t handle, ni_nvme_command_t *p_ni_nvme_cmd, uint32_t data_len, void *p_data, uint32_t *p_result) |
| Compose a nvme admin command. More...
|
|
int32_t | ni_nvme_send_io_cmd (ni_nvme_opcode_t opcode, ni_device_handle_t handle, ni_nvme_command_t *p_ni_nvme_cmd, uint32_t data_len, void *p_data, uint32_t *p_result) |
| Compose a nvme io command. More...
|
|
void | ni_parse_lba (uint64_t lba) |
| parse the lba opcode, subtype, option It's called only if a I/O read/write fails, so just use the print level "NI_LOG_ERROR" now. More...
|
|
int32_t | ni_nvme_send_read_cmd (ni_device_handle_t handle, ni_event_handle_t event_handle, void *p_data, uint32_t data_len, uint32_t lba) |
| Compose an io read command. More...
|
|
int32_t | ni_nvme_send_write_cmd (ni_device_handle_t handle, ni_event_handle_t event_handle, void *p_data, uint32_t data_len, uint32_t lba) |
| Compose a io write command. More...
|
|
Private definitions for interfacing with NETINT video processing devices over NVMe.
Definition in file ni_nvme.c.