GVM User Suite
User tools for the GVM open source project.
|
#include <stdio.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
int | nv_open (int32_t major, uint16_t minor, const char *path, const char *proc_path) |
Opens a Nvidia device. More... | |
int | nv_open_dev (uint16_t minor) |
Opens a traditional NVIDIA device. More... | |
int | nv_open_mdev (uint16_t minor) |
Opens a Mediated NVIDIA device. More... | |
int nv_open | ( | int32_t | major, |
uint16_t | minor, | ||
const char * | path, | ||
const char * | proc_path | ||
) |
Opens a Nvidia device.
Opens a nvidia device given information.
major | - Major for the NVIDIA component to use. |
minor | - Minor for the NVIDIA component to use. |
path | - Path for the component. |
proc_path | - Path for the driver params. |
Definition at line 33 of file device.c.
int nv_open_dev | ( | uint16_t | minor | ) |
Opens a traditional NVIDIA device.
Opens a traditional NVIDIA device given a minor number.
minor | - Minor to use to open the device. |
Definition at line 65 of file device.c.
int nv_open_mdev | ( | uint16_t | minor | ) |
Opens a Mediated NVIDIA device.
Opens a Mediated NVIDIA device given a minor number.
minor | - Minor to use to open the device. |
Definition at line 82 of file device.c.