Go to the source code of this file.
|
#define | MC13xxx_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages, _ops) |
|
#define | MC13xxx_FIXED_DEFINE(prefix, _name, _reg, _voltages, _ops) |
|
#define | MC13xxx_GPO_DEFINE(prefix, _name, _reg,_voltages, _ops) |
|
#define | MC13xxx_DEFINE_SW(_name, _reg, _vsel_reg, _voltages, ops) MC13xxx_DEFINE(SW, _name, _reg, _vsel_reg, _voltages, ops) |
|
#define | MC13xxx_DEFINE_REGU(_name, _reg, _vsel_reg, _voltages, ops) MC13xxx_DEFINE(REGU, _name, _reg, _vsel_reg, _voltages, ops) |
|
#define MC13xxx_DEFINE |
( |
|
prefix, |
|
|
|
_name, |
|
|
|
_reg, |
|
|
|
_vsel_reg, |
|
|
|
_voltages, |
|
|
|
_ops |
|
) |
| |
Value:
.desc = { \
.name = #_name, \
.volt_table = _voltages, \
.ops = &_ops, \
}, \
.enable_bit =
prefix ## _reg ##
_ ## _name ## EN, \
.vsel_reg =
prefix ## _vsel_reg, \
.vsel_shift =
prefix ## _vsel_reg ##
_ ## _name ## VSEL,\
.vsel_mask =
prefix ## _vsel_reg ##
_ ## _name ## VSEL_M,\
}
Definition at line 60 of file mc13xxx.h.
#define MC13xxx_DEFINE_REGU |
( |
|
_name, |
|
|
|
_reg, |
|
|
|
_vsel_reg, |
|
|
|
_voltages, |
|
|
|
ops |
|
) |
| MC13xxx_DEFINE(REGU, _name, _reg, _vsel_reg, _voltages, ops) |
#define MC13xxx_DEFINE_SW |
( |
|
_name, |
|
|
|
_reg, |
|
|
|
_vsel_reg, |
|
|
|
_voltages, |
|
|
|
ops |
|
) |
| MC13xxx_DEFINE(SW, _name, _reg, _vsel_reg, _voltages, ops) |
#define MC13xxx_FIXED_DEFINE |
( |
|
prefix, |
|
|
|
_name, |
|
|
|
_reg, |
|
|
|
_voltages, |
|
|
|
_ops |
|
) |
| |
Value:
.desc = { \
.name = #_name, \
.volt_table = _voltages, \
.ops = &_ops, \
}, \
.enable_bit =
prefix ## _reg ##
_ ## _name ## EN, \
}
Definition at line 78 of file mc13xxx.h.
#define MC13xxx_GPO_DEFINE |
( |
|
prefix, |
|
|
|
_name, |
|
|
|
_reg, |
|
|
|
_voltages, |
|
|
|
_ops |
|
) |
| |
Value:
.desc = { \
.name = #_name, \
.volt_table = _voltages, \
.ops = &_ops, \
}, \
.enable_bit =
prefix ## _reg ##
_ ## _name ## EN, \
}
Definition at line 93 of file mc13xxx.h.