/openbmc/phosphor-fan-presence/control/ |
H A D | functor.hpp | 92 _path(""), _intf(""), _prop(""), _handler(std::forward<U>(handler)) in Properties() 96 _path(path), _intf(intf), _prop(prop), in Properties() 120 auto it = props.find(_prop); in operator ()() 129 zone.getPropertyValueVisitor<T>(_intf, _prop, it->second); in operator ()() 131 _handler(zone, _path, _intf, _prop, std::forward<T>(value)); in operator ()() 137 auto val = zone.getPropertyByName<T>(_path, _intf, _prop); in operator ()() 138 _handler(zone, _path, _intf, _prop, std::forward<T>(val)); in operator ()() 185 const char* _prop; member 239 _path(path), _intf(intf), _prop(prop), in InterfacesAdded() 271 auto itProp = itIntf->second.find(_prop); in operator ()() [all …]
|
/openbmc/qemu/include/hw/ |
H A D | qdev-properties.h | 67 #define DEFINE_PROP(_name, _state, _field, _prop, _type, ...) { \ argument 69 .info = &(_prop), \ 75 #define DEFINE_PROP_SIGNED(_name, _state, _field, _defval, _prop, _type) \ argument 76 DEFINE_PROP(_name, _state, _field, _prop, _type, \ 80 #define DEFINE_PROP_SIGNED_NODEFAULT(_name, _state, _field, _prop, _type) \ argument 81 DEFINE_PROP(_name, _state, _field, _prop, _type) 89 #define DEFINE_PROP_UNSIGNED(_name, _state, _field, _defval, _prop, _type) \ argument 90 DEFINE_PROP(_name, _state, _field, _prop, _type, \ 94 #define DEFINE_PROP_UNSIGNED_NODEFAULT(_name, _state, _field, _prop, _type) \ argument 95 DEFINE_PROP(_name, _state, _field, _prop, _type)
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | chmc.c | 232 int *pin_p, char **dimm_str_p, void *_prop, in get_pin_and_dimm_str() argument 242 struct jbusmc_obp_mem_layout *p = _prop; in get_pin_and_dimm_str() 253 struct chmc_obp_mem_layout *p = _prop; in get_pin_and_dimm_str()
|
/openbmc/qemu/target/riscv/ |
H A D | cpu.h | 82 #define CPU_CFG_OFFSET(_prop) offsetof(struct RISCVCPUConfig, _prop) argument
|
H A D | cpu.c | 77 #define ISA_EXT_DATA_ENTRY(_name, _min_ver, _prop) \ argument 78 {#_name, _min_ver, CPU_CFG_OFFSET(_prop)} 1468 #define MULTI_EXT_CFG_BOOL(_name, _prop, _defval) \ argument 1469 {.name = _name, .offset = CPU_CFG_OFFSET(_prop), \
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 270 #define KVM_EXT_CFG(_name, _prop, _reg_id) \ argument 271 {.name = _name, .offset = CPU_CFG_OFFSET(_prop), \
|