Go to the source code of this file.
#define HMATRIX_MCFG |
( |
|
m | ) |
(0x0000 + 4 * (m)) |
#define HMATRIX_MCFG_ULBT_EIGHT_BEAT 3 /* Eight beat */ |
#define HMATRIX_MCFG_ULBT_FOUR_BEAT 2 /* Four beat */ |
#define HMATRIX_MCFG_ULBT_INFINITE 0 /* Infinite length */ |
#define HMATRIX_MCFG_ULBT_SINGLE 1 /* Single Access */ |
#define HMATRIX_MCFG_ULBT_SIXTEEN_BEAT 4 /* Sixteen beat */ |
#define HMATRIX_MRCR 0x0100 |
#define HMATRIX_MRCR_REMAP |
( |
|
m | ) |
( 1 << (m)) /* Remap master m */ |
#define HMATRIX_PRAS |
( |
|
s | ) |
(0x0080 + 8 * (s)) |
#define HMATRIX_PRAS_PRIO |
( |
|
m, |
|
|
|
p |
|
) |
| ((p) << ((m) * 4)) |
#define HMATRIX_PRBS |
( |
|
s | ) |
(0x0084 + 8 * (s)) |
#define HMATRIX_PRBS_PRIO |
( |
|
m, |
|
|
|
p |
|
) |
| ((p) << (((m) - 8) * 4)) |
#define HMATRIX_SCFG |
( |
|
s | ) |
(0x0040 + 4 * (s)) |
#define HMATRIX_SCFG_ARBT_FIXED_PRIO ( 1 << 24) /* Fixed priority */ |
#define HMATRIX_SCFG_ARBT_ROUND_ROBIN ( 0 << 24) /* RR arbitration */ |
#define HMATRIX_SCFG_DEFMSTR_FIXED ( 2 << 16) /* Fixed def master */ |
#define HMATRIX_SCFG_DEFMSTR_LAST ( 1 << 16) /* Last def master */ |
#define HMATRIX_SCFG_DEFMSTR_NONE ( 0 << 16) /* No default master */ |
#define HMATRIX_SCFG_FIXED_DEFMSTR |
( |
|
m | ) |
((m) << 18) /* Fixed master ID */ |
#define HMATRIX_SCFG_SLOT_CYCLE |
( |
|
x | ) |
((x) << 0) /* Max burst cycles */ |
#define HMATRIX_SFR |
( |
|
s | ) |
(0x0110 + 4 * (s)) |
u32 hmatrix_read_reg |
( |
unsigned long |
offset | ) |
|
hmatrix_read_reg - read HMATRIX configuration register : register offset
Returns the value of the register at .
Definition at line 45 of file hmatrix.c.
void hmatrix_sfr_clear_bits |
( |
unsigned int |
slave_id, |
|
|
u32 |
mask |
|
) |
| |
hmatrix_sfr_set_bits - clear bits in a slave's Special Function Register : operate on the SFR belonging to this slave : mask of bits to be cleared in the SFR
Definition at line 78 of file hmatrix.c.
void hmatrix_sfr_set_bits |
( |
unsigned int |
slave_id, |
|
|
u32 |
mask |
|
) |
| |
hmatrix_sfr_set_bits - set bits in a slave's Special Function Register : operate on the SFR belonging to this slave : mask of bits to be set in the SFR
Definition at line 61 of file hmatrix.c.
void hmatrix_write_reg |
( |
unsigned long |
offset, |
|
|
u32 |
value |
|
) |
| |
hmatrix_write_reg - write HMATRIX configuration register : register offset : value to be written to the register at
Definition at line 31 of file hmatrix.c.