Go to the source code of this file.
Defines | |
#define | _ABLE_CLIB_BUS_OPS_H 1 |
#define | BUSOP_COMMON (0x00000000) |
#define | BUSOP_PRINT (BUSOP_COMMON | 0x0001) |
#define | BUSOP_PRINTDEV (BUSOP_COMMON | 0x0002) |
#define | BUSOP_IRQMAP (BUSOP_COMMON | 0x0003) |
#define | BUSOP_GETIOAREA (BUSOP_COMMON | 0x0004) |
#define | DEVOP_IRQMAP BUSOP_IRQMAP |
#define | BUSOP_I2C (0xc0000000) |
#define | BUSOP_I2C_READ (BUSOP_I2C | 0x01) |
#define | BUSOP_I2C_WRITE (BUSOP_I2C | 0x02) |
#define | BUSOP_DEV (0xe0000000) |
#define | DEVOP_MAP_IO (BUSOP_DEV | 0x01) |
#define | DEVOP_IDE (BUSOP_DEV | 0x10) |
#define | BUSOP_PCI (0xf0000000) |
#define | BUSOP_CLASS(x) ((x) & 0xffff0000) |
#define | BUSOP_OP(x) ((x) & 0x0000ffff) |
Typedefs | |
typedef __u32 | busop_t |
Functions | |
int | bus_op (struct bus *bus, busop_t op, void *arg) |
#define _ABLE_CLIB_BUS_OPS_H 1 |
#define BUSOP_CLASS | ( | x | ) | ((x) & 0xffff0000) |
#define BUSOP_COMMON (0x00000000) |
#define BUSOP_DEV (0xe0000000) |
#define BUSOP_GETIOAREA (BUSOP_COMMON | 0x0004) |
#define BUSOP_I2C (0xc0000000) |
#define BUSOP_I2C_READ (BUSOP_I2C | 0x01) |
#define BUSOP_I2C_WRITE (BUSOP_I2C | 0x02) |
#define BUSOP_IRQMAP (BUSOP_COMMON | 0x0003) |
#define BUSOP_OP | ( | x | ) | ((x) & 0x0000ffff) |
#define BUSOP_PCI (0xf0000000) |
#define BUSOP_PRINT (BUSOP_COMMON | 0x0001) |
#define BUSOP_PRINTDEV (BUSOP_COMMON | 0x0002) |
#define DEVOP_IDE (BUSOP_DEV | 0x10) |
#define DEVOP_IRQMAP BUSOP_IRQMAP |
#define DEVOP_MAP_IO (BUSOP_DEV | 0x01) |
int bus_op | ( | struct bus * | bus, | |
busop_t | op, | |||
void * | arg | |||
) |