/openbmc/qemu/include/hw/block/ |
H A D | block.h | 52 #define DEFINE_BLOCK_PROPERTIES_BASE(_state, _conf) \ argument 53 DEFINE_PROP_ON_OFF_AUTO("backend_defaults", _state, \ 55 DEFINE_PROP_BLOCKSIZE("logical_block_size", _state, \ 57 DEFINE_PROP_BLOCKSIZE("physical_block_size", _state, \ 59 DEFINE_PROP_SIZE32("min_io_size", _state, _conf.min_io_size, 0), \ 60 DEFINE_PROP_SIZE32("opt_io_size", _state, _conf.opt_io_size, 0), \ 61 DEFINE_PROP_SIZE32("discard_granularity", _state, \ 63 DEFINE_PROP_ON_OFF_AUTO("write-cache", _state, _conf.wce, \ 65 DEFINE_PROP_BOOL("share-rw", _state, _conf.share_rw, false), \ 73 DEFINE_BLOCK_PROPERTIES_BASE(_state, _conf) [all …]
|
/openbmc/qemu/include/migration/ |
H A D | vmstate.h | 267 #define vmstate_offset_value(_state, _field, _type) \ argument 269 type_check(_type, typeof_field(_state, _field))) 273 type_check_pointer(_type, typeof_field(_state, _field))) 277 type_check_array(_type, typeof_field(_state, _field), _num)) 284 vmstate_offset_value(_state, _field[_start], _type) 288 sizeof(typeof_field(_state, _field))) 292 type_check_varray(_type, _state, _field)) 728 #define VMSTATE_WITH_TMP(_state, _tmp_type, _vmsd) \ argument 729 VMSTATE_WITH_TMP_TEST(_state, NULL, _tmp_type, _vmsd) 764 #define VMSTATE_BITMAP(_field, _state, _version, _field_size) \ argument [all …]
|
/openbmc/qemu/include/hw/ |
H A D | qdev-properties.h | 67 #define DEFINE_PROP(_name, _state, _field, _prop, _type, ...) { \ argument 70 .offset = offsetof(_state, _field) \ 71 + type_check(_type, typeof_field(_state, _field)), \ 81 DEFINE_PROP(_name, _state, _field, _prop, _type) 83 #define DEFINE_PROP_BIT(_name, _state, _field, _bit, _defval) \ argument 84 DEFINE_PROP(_name, _state, _field, qdev_prop_bit, uint32_t, \ 95 DEFINE_PROP(_name, _state, _field, _prop, _type) 97 #define DEFINE_PROP_BIT64(_name, _state, _field, _bit, _defval) \ argument 103 #define DEFINE_PROP_BOOL(_name, _state, _field, _defval) \ argument 104 DEFINE_PROP(_name, _state, _field, qdev_prop_bool, bool, \ [all …]
|
H A D | qdev-properties-system.h | 82 #define DEFINE_PROP_UUID(_name, _state, _field) \ argument 83 DEFINE_PROP(_name, _state, _field, qdev_prop_uuid, QemuUUID, \ 89 #define DEFINE_PROP_UUID_NODEFAULT(_name, _state, _field) \ argument 90 DEFINE_PROP(_name, _state, _field, qdev_prop_uuid, QemuUUID) 96 #define DEFINE_PROP_IOTHREAD_VQ_MAPPING_LIST(_name, _state, _field) \ argument 97 DEFINE_PROP(_name, _state, _field, qdev_prop_iothread_vq_mapping_list, \
|
/openbmc/qemu/include/hw/display/ |
H A D | edid.h | 25 #define DEFINE_EDID_PROPERTIES(_state, _edid_info) \ argument 26 DEFINE_PROP_UINT32("xres", _state, _edid_info.prefx, 0), \ 27 DEFINE_PROP_UINT32("yres", _state, _edid_info.prefy, 0), \ 28 DEFINE_PROP_UINT32("xmax", _state, _edid_info.maxx, 0), \ 29 DEFINE_PROP_UINT32("ymax", _state, _edid_info.maxy, 0), \ 30 DEFINE_PROP_UINT32("refresh_rate", _state, _edid_info.refresh_rate, 0)
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | net_target_increase.cpp | 53 _state = *s; in run() 75 if (value >= _state) in run() 81 (*dblPtr - std::get<double>(_state)) * in run() 90 std::get<int64_t>(_state)), in run() 103 if (_state == value) in run() 112 if (_state == value) in run() 143 _state = getJsonValue(jsonObj["state"]); in setState()
|
H A D | net_target_decrease.cpp | 53 _state = *s; in run() 68 if (value >= _state) in run() 82 std::get<double>(_state) - *dblPtr); in run() 87 std::get<int64_t>(_state) - in run() 110 if (_state == value) in run() 149 _state = getJsonValue(jsonObj["state"]); in setState()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 190 #define bfa_sm_set_state(_sm, _state) ((_sm)->sm = (bfa_sm_t)(_state)) argument 193 #define bfa_sm_cmp_state(_sm, _state) ((_sm)->sm == (bfa_sm_t)(_state)) argument 220 #define bfa_fsm_set_state(_fsm, _state) do { \ argument 221 (_fsm)->fsm = (bfa_fsm_t)(_state); \ 222 _state ## _entry(_fsm); \ 227 #define bfa_fsm_cmp_state(_fsm, _state) \ argument 228 ((_fsm)->fsm == (bfa_fsm_t)(_state))
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-gpu-pci.h | 34 #define DEFINE_VIRTIO_GPU_PCI_PROPERTIES(_state) \ argument 35 DEFINE_PROP_BIT("ioeventfd", _state, flags, \ 37 DEFINE_PROP_UINT32("vectors", _state, nvectors, 3)
|
H A D | virtio.h | 378 #define DEFINE_VIRTIO_COMMON_FEATURES(_state, _field) \ argument 379 DEFINE_PROP_BIT64("indirect_desc", _state, _field, \ 381 DEFINE_PROP_BIT64("event_idx", _state, _field, \ 383 DEFINE_PROP_BIT64("notify_on_empty", _state, _field, \ 385 DEFINE_PROP_BIT64("any_layout", _state, _field, \ 387 DEFINE_PROP_BIT64("iommu_platform", _state, _field, \ 389 DEFINE_PROP_BIT64("packed", _state, _field, \ 391 DEFINE_PROP_BIT64("queue_reset", _state, _field, \ 393 DEFINE_PROP_BIT64("in_order", _state, _field, \
|
/openbmc/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x.h | 99 #define is_afe_enabled(_state) \ argument 100 ((_state)->endpoints[ADV748X_PORT_AIN0] != NULL || \ 101 (_state)->endpoints[ADV748X_PORT_AIN1] != NULL || \ 102 (_state)->endpoints[ADV748X_PORT_AIN2] != NULL || \ 103 (_state)->endpoints[ADV748X_PORT_AIN3] != NULL || \ 104 (_state)->endpoints[ADV748X_PORT_AIN4] != NULL || \ 105 (_state)->endpoints[ADV748X_PORT_AIN5] != NULL || \ 106 (_state)->endpoints[ADV748X_PORT_AIN6] != NULL || \ 107 (_state)->endpoints[ADV748X_PORT_AIN7] != NULL) 108 #define is_hdmi_enabled(_state) ((_state)->endpoints[ADV748X_PORT_HDMI] != NULL) argument
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 71 #define bfa_fsm_set_state(_fsm, _state) do { \ argument 72 (_fsm)->fsm = (_state); \ 73 _state ## _entry(_fsm); \ 77 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state)) argument
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshlex.py | 554 self._state = self.ST_NORMAL 581 while self._state: 593 if self._state==self.ST_NORMAL: 597 elif self._state==self.ST_OP: 618 self._state = self.ST_QUOTED 625 self._state = self.ST_OP 635 self._state = self.ST_COMMENT 661 self._state = self.ST_NORMAL 672 self._state = self.ST_NORMAL 695 self._state = self.ST_NORMAL [all …]
|
/openbmc/qemu/hw/sd/ |
H A D | sdhci-internal.h | 310 #define DEFINE_SDHCI_COMMON_PROPERTIES(_state) \ argument 311 DEFINE_PROP_UINT8("endianness", _state, endianness, DEVICE_LITTLE_ENDIAN), \ 312 DEFINE_PROP_UINT8("sd-spec-version", _state, sd_spec_version, 2), \ 313 DEFINE_PROP_UINT8("uhs", _state, uhs_mode, UHS_NOT_SUPPORTED), \ 314 DEFINE_PROP_UINT8("vendor", _state, vendor, SDHCI_VENDOR_NONE), \ 318 DEFINE_PROP_UINT64("capareg", _state, capareg, SDHC_CAPAB_REG_DEFAULT), \ 319 DEFINE_PROP_UINT64("maxcurr", _state, maxcurr, 0)
|
/openbmc/qemu/include/qemu/ |
H A D | fifo8.h | 218 #define VMSTATE_FIFO8_TEST(_field, _state, _test) { \ argument 224 .offset = vmstate_offset_value(_state, _field, Fifo8), \ 227 #define VMSTATE_FIFO8(_field, _state) \ argument 228 VMSTATE_FIFO8_TEST(_field, _state, NULL)
|
/openbmc/qemu/include/hw/input/ |
H A D | hid.h | 64 #define VMSTATE_HID_KEYBOARD_DEVICE(_field, _state) { \ argument 69 .offset = vmstate_offset_value(_state, _field, HIDState), \ 74 #define VMSTATE_HID_POINTER_DEVICE(_field, _state) { \ argument 79 .offset = vmstate_offset_value(_state, _field, HIDState), \
|
/openbmc/qemu/hw/ide/ |
H A D | ide-internal.h | 382 #define VMSTATE_IDE_BUS(_field, _state) \ argument 383 VMSTATE_STRUCT(_field, _state, 1, vmstate_ide_bus, IDEBus) 385 #define VMSTATE_IDE_BUS_ARRAY(_field, _state, _num) \ argument 386 VMSTATE_STRUCT_ARRAY(_field, _state, _num, 1, vmstate_ide_bus, IDEBus) 390 #define VMSTATE_IDE_DRIVES(_field, _state) \ argument 391 VMSTATE_STRUCT_ARRAY(_field, _state, 2, 3, vmstate_ide_drive, IDEState) 393 #define VMSTATE_IDE_DRIVE(_field, _state) \ argument 394 VMSTATE_STRUCT(_field, _state, 1, vmstate_ide_drive, IDEState)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/libb64/ |
H A D | 0002-use-BUFSIZ-as-buffer-size.patch | 29 base64_decodestate _state; 36 base64_init_decodestate(&_state); 50 base64_encodestate _state; 57 base64_init_encodestate(&_state);
|
/openbmc/qemu/include/net/ |
H A D | net.h | 38 #define DEFINE_NIC_PROPERTIES(_state, _conf) \ argument 39 DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \ 40 DEFINE_PROP_NETDEV("netdev", _state, _conf.peers) 320 #define vmstate_offset_macaddr(_state, _field) \ argument 321 vmstate_offset_array(_state, _field.a, uint8_t, \ 322 sizeof(typeof_field(_state, _field))) 324 #define VMSTATE_MACADDR(_field, _state) { \ argument 329 .offset = vmstate_offset_macaddr(_state, _field), \
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap_device.c | 227 if (od && (od->_state == OMAP_DEVICE_STATE_ENABLED)) { in _omap_device_notifier_call() 238 if (od->_state == OMAP_DEVICE_STATE_ENABLED && in _omap_device_notifier_call() 471 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_enable() 474 __func__, od->_state); in omap_device_enable() 481 od->_state = OMAP_DEVICE_STATE_ENABLED; in omap_device_enable() 502 if (od->_state != OMAP_DEVICE_STATE_ENABLED) { in omap_device_idle() 505 __func__, od->_state); in omap_device_idle() 512 od->_state = OMAP_DEVICE_STATE_IDLE; in omap_device_idle() 615 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_late_idle()
|
H A D | omap_hwmod.c | 1881 oh->_state != _HWMOD_STATE_IDLE && in _enable() 1932 oh->_state = _HWMOD_STATE_ENABLED; in _enable() 2009 oh->_state = _HWMOD_STATE_IDLE; in _idle() 2031 if (oh->_state != _HWMOD_STATE_IDLE && in _shutdown() 2041 prev_state = oh->_state; in _shutdown() 2042 if (oh->_state == _HWMOD_STATE_IDLE) in _shutdown() 2053 if (oh->_state == _HWMOD_STATE_IDLE) in _shutdown() 2075 oh->_state = _HWMOD_STATE_DISABLED; in _shutdown() 2414 oh->name, oh->_state); in _setup_reset() 2578 oh->_state = _HWMOD_STATE_REGISTERED; in _register() [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | machine.c | 24 #define VMSTATE_FPU_REGS(_field, _state, _start) \ argument 25 VMSTATE_STRUCT_SUB_ARRAY(_field, _state, _start, 32, 0, \ 58 #define VMSTATE_LSXH_REGS(_field, _state, _start) \ argument 59 VMSTATE_STRUCT_SUB_ARRAY(_field, _state, _start, 32, 0, \ 91 #define VMSTATE_LASXH_REGS(_field, _state, _start) \ argument 92 VMSTATE_STRUCT_SUB_ARRAY(_field, _state, _start, 32, 0, \
|
/openbmc/qemu/target/ppc/ |
H A D | cpu-qom.h | 48 #define VMSTATE_PPC_TIMEBASE_V(_field, _state, _version) { \ argument 54 .offset = vmstate_offset_value(_state, _field, PPCTimebase), \
|
/openbmc/qemu/include/hw/i2c/ |
H A D | smbus_slave.h | 81 #define VMSTATE_SMBUS_DEVICE(_field, _state) { \ argument 86 .offset = vmstate_offset_value(_state, _field, SMBusDevice), \
|
/openbmc/qemu/hw/s390x/ |
H A D | ccw-device.h | 35 #define VMSTATE_CCW_DEVICE(_field, _state) \ argument 36 VMSTATE_STRUCT(_field, _state, 1, vmstate_ccw_dev, CcwDevice)
|