Linux Kernel
3.7.1
|
#include <asm/vaddrs.h>
Go to the source code of this file.
Macros | |
#define | AUXIO_ORMEIN 0xf0 /* All writes must set these bits. */ |
#define | AUXIO_ORMEIN4M 0xc0 /* sun4m - All writes must set these bits. */ |
#define | AUXIO_FLPY_DENS 0x20 /* Floppy density, high if set. Read only. */ |
#define | AUXIO_FLPY_DCHG 0x10 /* A disk change occurred. Read only. */ |
#define | AUXIO_EDGE_ON 0x10 /* sun4m - On means Jumper block is in. */ |
#define | AUXIO_FLPY_DSEL 0x08 /* Drive select/start-motor. Write only. */ |
#define | AUXIO_LINK_TEST 0x08 /* sun4m - On means TPE Carrier detect. */ |
#define | AUXIO_FLPY_TCNT 0x04 /* Floppy terminal count. Write only. */ |
#define | AUXIO_FLPY_EJCT 0x02 /* Eject floppy disk. Write only. */ |
#define | AUXIO_LED 0x01 /* On if set, off if unset. Read/Write */ |
#define | AUXIO_LTE_ON 1 |
#define | AUXIO_LTE_OFF 0 |
#define | auxio_set_lte(on) |
#define | AUXIO_LED_ON 1 |
#define | AUXIO_LED_OFF 0 |
#define | auxio_set_led(on) |
#define | AUXIO_POWER_DETECT_FAILURE 32 |
#define | AUXIO_POWER_CLEAR_FAILURE 2 |
#define | AUXIO_POWER_OFF 1 |
Functions | |
void | set_auxio (unsigned char bits_on, unsigned char bits_off) |
unsigned char | get_auxio (void) |
Variables | |
__volatile__ unsigned char * | auxio_power_register |
#define AUXIO_EDGE_ON 0x10 /* sun4m - On means Jumper block is in. */ |
Definition at line 20 of file auxio_32.h.
#define AUXIO_FLPY_DCHG 0x10 /* A disk change occurred. Read only. */ |
Definition at line 19 of file auxio_32.h.
#define AUXIO_FLPY_DENS 0x20 /* Floppy density, high if set. Read only. */ |
Definition at line 18 of file auxio_32.h.
#define AUXIO_FLPY_DSEL 0x08 /* Drive select/start-motor. Write only. */ |
Definition at line 21 of file auxio_32.h.
#define AUXIO_FLPY_EJCT 0x02 /* Eject floppy disk. Write only. */ |
Definition at line 28 of file auxio_32.h.
#define AUXIO_FLPY_TCNT 0x04 /* Floppy terminal count. Write only. */ |
Definition at line 25 of file auxio_32.h.
#define AUXIO_LED 0x01 /* On if set, off if unset. Read/Write */ |
Definition at line 29 of file auxio_32.h.
#define AUXIO_LED_OFF 0 |
Definition at line 62 of file auxio_32.h.
#define AUXIO_LED_ON 1 |
Definition at line 61 of file auxio_32.h.
#define AUXIO_LINK_TEST 0x08 /* sun4m - On means TPE Carrier detect. */ |
Definition at line 22 of file auxio_32.h.
#define AUXIO_LTE_OFF 0 |
Definition at line 46 of file auxio_32.h.
#define AUXIO_LTE_ON 1 |
Definition at line 45 of file auxio_32.h.
#define AUXIO_ORMEIN 0xf0 /* All writes must set these bits. */ |
Definition at line 16 of file auxio_32.h.
#define AUXIO_ORMEIN4M 0xc0 /* sun4m - All writes must set these bits. */ |
Definition at line 17 of file auxio_32.h.
#define AUXIO_POWER_CLEAR_FAILURE 2 |
Definition at line 84 of file auxio_32.h.
#define AUXIO_POWER_DETECT_FAILURE 32 |
Definition at line 83 of file auxio_32.h.
#define AUXIO_POWER_OFF 1 |
Definition at line 85 of file auxio_32.h.
#define auxio_set_led | ( | on | ) |
Definition at line 68 of file auxio_32.h.
#define auxio_set_lte | ( | on | ) |
Definition at line 52 of file auxio_32.h.
Definition at line 74 of file auxio_32.c.
Definition at line 82 of file auxio_32.c.
__volatile__ unsigned char* auxio_power_register |
Definition at line 106 of file auxio_32.c.