|
mbgtools-lx
4.2.8
|
#include <rsrc_lx.h>#include <mbgerror.h>#include <mbgddmsg.h>#include <linux/ioport.h>#include <linux/version.h>Go to the source code of this file.
Macros | |
| #define | _RSRC_LX |
Functions | |
| int | rsrc_alloc_ports (ulong port, ulong n) |
| Try to allocate an I/O port resource range. More... | |
| void | rsrc_dealloc_ports (ulong port, ulong n) |
| Release an I/O port resource range which has been allocated before. More... | |
| int | rsrc_alloc_mem (ulong start, ulong len) |
| Try to allocate a memory resource range. More... | |
| void | rsrc_dealloc_mem (ulong start, ulong len) |
| Release a memory resource range which has been allocated before. More... | |
Variables | |
| const char | driver_name [] |
Try to allocate a memory resource range.
| [in] | start | First port address to allocate |
| [in] | len | Number of port addresses to allocate |
Definition at line 104 of file rsrc_lx.c.
Referenced by pcps_add_rsrc_mem().
Try to allocate an I/O port resource range.
| [in] | port | First port address to allocate |
| [in] | n | Number of port addresses to allocate |
Definition at line 60 of file rsrc_lx.c.
Referenced by pcps_add_rsrc_io().
Release a memory resource range which has been allocated before.
| [in] | start | First port address to release |
| [in] | len | Number of port addresses to release |
Definition at line 131 of file rsrc_lx.c.
Referenced by pcps_release_rsrcs().
Release an I/O port resource range which has been allocated before.
| [in] | port | First port address to release |
| [in] | n | Number of port addresses to release |
Definition at line 85 of file rsrc_lx.c.
Referenced by pcps_release_rsrcs().
| const char driver_name[] |
Referenced by mbgclock_init_module(), mbgdrvr_enable_cyclic(), rsrc_alloc_mem(), and rsrc_alloc_ports().