Home
last modified time | relevance | path

Searched refs:_type (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/u-boot/include/
H A Dlinker_lists.h29 #define llsym(_type, _name, _list) \ argument
30 ((_type *)&_u_boot_list_2_##_list##_2_##_name)
70 #define ll_entry_declare(_type, _name, _list) \ argument
71 _type _u_boot_list_2_##_list##_2_##_name __aligned(4) \
93 #define ll_entry_declare_list(_type, _name, _list) \ argument
94 _type _u_boot_list_2_##_list##_2_##_name[] __aligned(4) \
125 #define ll_entry_start(_type, _list) \ argument
129 (_type *)&start; \
151 #define ll_entry_end(_type, _list) \ argument
155 (_type *)&end; \
[all …]
H A Dbinman_sym.h35 #define binman_sym_declare(_type, _entry_name, _prop_name) \ argument
36 _type binman_symname(_entry_name, _prop_name) \
46 #define binman_sym_extern(_type, _entry_name, _prop_name) \ argument
47 extern _type binman_symname(_entry_name, _prop_name) \
60 #define binman_sym_declare_optional(_type, _entry_name, _prop_name) \ argument
61 _type binman_symname(_entry_name, _prop_name) \
77 #define binman_sym(_type, _entry_name, _prop_name) \ argument
78 (*(_type *)&binman_symname(_entry_name, _prop_name))
82 #define binman_sym_declare(_type, _entry_name, _prop_name) argument
84 #define binman_sym_declare_optional(_type, _entry_name, _prop_name) argument
[all …]
H A Datf_common.h23 #define SET_PARAM_HEAD(_p, _type, _ver, _attr) do { \ argument
24 (_p)->h.type = (uint8_t)(_type); \
/openbmc/qemu/include/migration/
H A Dvmstate.h272 #define vmstate_offset_value(_state, _field, _type) \ argument
274 type_check(_type, typeof_field(_state, _field)))
276 #define vmstate_offset_pointer(_state, _field, _type) \ argument
278 type_check_pointer(_type, typeof_field(_state, _field)))
280 #define vmstate_offset_array(_state, _field, _type, _num) \ argument
282 type_check_array(_type, typeof_field(_state, _field), _num))
284 #define vmstate_offset_2darray(_state, _field, _type, _n1, _n2) \ argument
286 type_check_2darray(_type, typeof_field(_state, _field), _n1, _n2))
288 #define vmstate_offset_sub_array(_state, _field, _type, _start) \ argument
289 vmstate_offset_value(_state, _field[_start], _type)
[all …]
/openbmc/qemu/include/hw/
H A Dqdev-properties.h78 #define DEFINE_PROP(_name, _state, _field, _prop, _type, ...) { \ argument
82 + type_check(_type, typeof_field(_state, _field)), \
86 #define DEFINE_PROP_SIGNED(_name, _state, _field, _defval, _prop, _type) \ argument
87 DEFINE_PROP(_name, _state, _field, _prop, _type, \
89 .defval.i = (_type)_defval)
91 #define DEFINE_PROP_SIGNED_NODEFAULT(_name, _state, _field, _prop, _type) \ argument
92 DEFINE_PROP(_name, _state, _field, _prop, _type)
100 #define DEFINE_PROP_UNSIGNED(_name, _state, _field, _defval, _prop, _type) \ argument
101 DEFINE_PROP(_name, _state, _field, _prop, _type, \
103 .defval.u = (_type)_defval)
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dmru.cpp20 pel >> _type >> _size >> _flags >> _reserved4B; in MRU()
33 sizeof(_type) + sizeof(_size) + sizeof(_flags) + sizeof(_reserved4B) + in MRU()
60 _type = substructureType; in MRU()
61 _size = sizeof(_type) + sizeof(_size) + sizeof(_flags) + in MRU()
69 pel << _type << _size << _flags << _reserved4B; in flatten()
H A Dfru_identity.cpp42 pel >> _type >> _size >> _flags; in FRUIdentity()
62 size_t size = sizeof(_type) + sizeof(_size) + sizeof(_flags); in flattenedSize()
85 _type = substructureType; in FRUIdentity()
97 _type = substructureType; in FRUIdentity()
108 _type = substructureType; in FRUIdentity()
176 pel << _type << _size << _flags; in flatten()
H A Dpce_identity.cpp15 pel >> _type >> _size >> _flags >> _mtms; in PCEIdentity()
31 pel << _type << _size << _flags << _mtms << _pceName; in flatten()
H A Dfru_identity.hpp169 return _type; in type()
307 uint16_t _type; member in openpower::pels::src::FRUIdentity
H A Dpce_identity.hpp93 uint16_t _type; member in openpower::pels::src::PCEIdentity
H A Dmru.hpp124 uint16_t _type; member in openpower::pels::src::MRU
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/
H A Dpyshlex.py552 self._type = TK_TOKEN
614 self._type = TK_NEWLINE
622 self._type = TK_OP
636 self._type = TK_COMMENT
718 heredoc.pendings[:0] = [(self._token, self._type, heredoc.name)]
721 self._type = type
731 if self._type!=TK_TOKEN:
734 self._type = TK_HERENAME
737 if self._type==TK_NEWLINE:
741 self._heredoc.pendings.append((self._token, self._type, delim))
[all …]
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_mc_cmd.h80 #define MC_PREP_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
83 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
84 (_arg = (_type)mc_dec(cpu_to_le64(_ext[_param]), (_offset), (_width)))
86 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
89 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
90 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
/openbmc/phosphor-hwmon/test/
H A Dhwmonio_default_unittest.cpp25 const std::string _type = "fan"; member in hwmonio::__anon58fc77ce0111::HwmonIOTest
38 EXPECT_THAT(_hwmonio.read(_type, _id, _sensor, _retries, _delay), _value); in TEST_F()
52 EXPECT_THAT(_hwmonio.read(_type, _id, _sensor, _retries, _delay), _value); in TEST_F()
/openbmc/u-boot/drivers/clk/renesas/
H A Drenesas-cpg-mssr.h65 #define DEF_TYPE(_name, _id, _type...) \ argument
66 { .name = _name, .id = _id, .type = _type }
67 #define DEF_BASE(_name, _id, _type, _parent...) \ argument
68 DEF_TYPE(_name, _id, _type, .parent = _parent)
/openbmc/phosphor-fan-presence/control/json/
H A Dgroup.hpp128 _type = type; in setType()
136 return _type; in getType()
177 std::optional<std::string> _type; member in phosphor::fan::control::json::Group
H A Dgroup.cpp45 _type = origObj.getType(); in Group()
/openbmc/phosphor-hwmon/
H A Dfan_speed.cpp23 _ioAccess->write(value, _type, _id, entry::target, hwmonio::retries, in target()
35 auto file = sysfs::make_sysfs_path(_ioAccess->path(), _type, _id, in target()
50 auto enable = env::getEnv("ENABLE", _type, _id); in enable()
H A Dfan_pwm.cpp29 _ioAccess->write(value, _type, _id, empty, hwmonio::retries, in target()
42 sysfs::make_sysfs_path(_ioAccess->path(), _type, _id, empty); in target()
H A Dfan_pwm.hpp52 static constexpr auto _type = "pwm"; member in hwmon::FanPwm
H A Dfan_speed.hpp59 static constexpr auto _type = "fan"; member in hwmon::FanSpeed
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dtimer_based_actions.cpp109 if (_type == TimerType::repeating) in startTimer()
113 else if (_type == TimerType::oneshot) in startTimer()
176 _type = TimerType::oneshot; in setTimerConf()
180 _type = TimerType::repeating; in setTimerConf()
H A Dtimer_based_actions.hpp128 TimerType _type; member in phosphor::fan::control::json::TimerBasedActions
/openbmc/qemu/target/ppc/
H A Dcpu-models.c35 #define POWERPC_DEF_SVR(_name, _desc, _pvr, _svr, _type) \ argument
37 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init) \
49 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info) = { \
51 .parent = stringify(_type) "-family-" TYPE_POWERPC_CPU, \
53 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init), \
57 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types)(void) \
60 &glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info)); \
64 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types))
66 #define POWERPC_DEF(_name, _pvr, _type, _desc) \ argument
67 POWERPC_DEF_SVR(_name, _desc, _pvr, POWERPC_SVR_NONE, _type)
/openbmc/qemu/include/hw/pci/
H A Dshpc.h56 #define SHPC_VMSTATE(_field, _type, _test) \ argument
57 VMSTATE_BUFFER_UNSAFE_INFO_TEST(_field, _type, _test, 0, \

12