#include "hpi_internal.h"
#include "hpidebug.h"
#include <linux/delay.h>
#include <linux/sched.h>
Go to the source code of this file.
#define SOURCEFILE_NAME "hpios.c" |
void hpios_delay_micro_seconds |
( |
u32 |
num_micro_sec | ) |
|
Allocate an area of locked memory for bus master DMA operations.
If allocation fails, return 1, and *pMemArea.size = 0
- Parameters
-
p_mem_area | memory handle |
size | Size in bytes to allocate |
pdev | OS specific data required for memory allocation |
Definition at line 46 of file hpios.c.
Free mapping and memory represented by LockedMemHandle
Frees any resources, then invalidates the handle. Returns 0 on success, 1 if handle is invalid.
Definition at line 69 of file hpios.c.