Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 224) sorted by relevance

123456789

/openbmc/qemu/tests/qtest/
H A Dnuma-test.c97 QDict *cpu, *props; in test_query_cpus() local
105 props = qdict_get_qdict(cpu, "props"); in test_query_cpus()
106 g_assert(qdict_haskey(props, "node-id")); in test_query_cpus()
107 node = qdict_get_int(props, "node-id"); in test_query_cpus()
140 QDict *cpu, *props; in pc_numa_cpu() local
145 props = qdict_get_qdict(cpu, "props"); in pc_numa_cpu()
147 g_assert(qdict_haskey(props, "node-id")); in pc_numa_cpu()
148 node = qdict_get_int(props, "node-id"); in pc_numa_cpu()
149 g_assert(qdict_haskey(props, "socket-id")); in pc_numa_cpu()
150 socket = qdict_get_int(props, "socket-id"); in pc_numa_cpu()
[all …]
H A Dsdhci-test.c98 check_specs_version(s, s->props.version); in test_registers()
99 check_capab_capareg(s, s->props.capab.reg); in test_registers()
101 check_capab_v3(s, s->props.version); in test_registers()
102 check_capab_sdma(s, s->props.capab.sdma); in test_registers()
103 check_capab_baseclock(s, s->props.baseclock); in test_registers()
/openbmc/qemu/target/i386/
H A Dcpu-system.c39 static const char *props[] = { in x86_cpu_static_props() local
57 for (i = 0; props[i]; i++) { in x86_cpu_static_props()
58 qdict_put_null(d, props[i]); in x86_cpu_static_props()
76 static void x86_cpu_expand_prop(X86CPU *cpu, QDict *props, const char *prop) in x86_cpu_expand_prop() argument
81 qdict_put_obj(props, prop, value); in x86_cpu_expand_prop()
87 static void x86_cpu_to_dict(X86CPU *cpu, QDict *props) in x86_cpu_to_dict() argument
94 x86_cpu_expand_prop(cpu, props, prop); in x86_cpu_to_dict()
102 static void x86_cpu_to_dict_full(X86CPU *cpu, QDict *props) in x86_cpu_to_dict_full() argument
122 x86_cpu_expand_prop(cpu, props, prop->name); in x86_cpu_to_dict_full()
126 static void object_apply_props(Object *obj, QObject *props, in object_apply_props() argument
[all …]
/openbmc/webui-vue/src/plugins/
H A Dtoast.js39 props: {
42 ...options.props,
50 props: {
55 ...options.props,
63 props: {
66 ...options.props,
74 props: {
77 ...options.props,
/openbmc/qemu/hw/core/
H A Dmachine.c783 cpu_item->props = g_memdup(&machine->possible_cpus->cpus[i].props, in machine_query_hotpluggable_cpus()
784 sizeof(*cpu_item->props)); in machine_query_hotpluggable_cpus()
821 const CpuInstanceProperties *props, Error **errp) in machine_set_cpu_numa_node() argument
834 assert(props->has_node_id); in machine_set_cpu_numa_node()
843 if (props->has_thread_id && !slot->props.has_thread_id) { in machine_set_cpu_numa_node()
848 if (props->has_core_id && !slot->props.has_core_id) { in machine_set_cpu_numa_node()
853 if (props->has_module_id && !slot->props.has_module_id) { in machine_set_cpu_numa_node()
858 if (props->has_cluster_id && !slot->props.has_cluster_id) { in machine_set_cpu_numa_node()
863 if (props->has_socket_id && !slot->props.has_socket_id) { in machine_set_cpu_numa_node()
868 if (props->has_die_id && !slot->props.has_die_id) { in machine_set_cpu_numa_node()
[all …]
H A Dmachine-smp.c310 const SmpCacheProperties *props = &ms->smp_cache.props[i]; in machine_parse_smp_cache() local
316 if (props->topology != CPU_TOPOLOGY_LEVEL_DEFAULT && in machine_parse_smp_cache()
317 !mc->smp_props.cache_supported[props->cache]) { in machine_parse_smp_cache()
320 CacheLevelAndType_str(props->cache)); in machine_parse_smp_cache()
324 if (props->topology == CPU_TOPOLOGY_LEVEL_THREAD) { in machine_parse_smp_cache()
327 CpuTopologyLevel_str(props->topology)); in machine_parse_smp_cache()
331 if (!machine_check_topo_support(ms, props->topology, errp)) { in machine_parse_smp_cache()
353 return ms->smp_cache.props[cache].topology; in machine_get_cache_topo_level()
359 ms->smp_cache.props[cache].topology = level; in machine_set_cache_topo_level()
374 assert(smp_cache->props[cache1].topology != CPU_TOPOLOGY_LEVEL_DEFAULT); in smp_cache_topo_cmp()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qdev-global-props.c113 static void register_global_properties(GlobalProperty *props) in register_global_properties() argument
117 for (i = 0; props[i].driver != NULL; i++) { in register_global_properties()
118 qdev_prop_register_global(props + i); in register_global_properties()
127 static GlobalProperty props[] = { in test_static_globalprop_subprocess() local
132 register_global_properties(props); in test_static_globalprop_subprocess()
239 static GlobalProperty props[] = { in test_dynamic_globalprop_subprocess() local
250 register_global_properties(props); in test_dynamic_globalprop_subprocess()
259 g_assert(props[0].used); in test_dynamic_globalprop_subprocess()
260 g_assert(props[1].used); in test_dynamic_globalprop_subprocess()
261 g_assert(!props[2].used); in test_dynamic_globalprop_subprocess()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.hpp81 pldm::utils::DbusChangedProps props{}; in Handler() local
83 msg.read(intf, props); in Handler()
85 props.find(HostState::property_names::current_host_state); in Handler()
86 if (itr != props.end()) in Handler()
119 pldm::utils::DbusChangedProps props{}; in Handler() local
121 msg.read(intf, props); in Handler()
122 const auto itr = props.find("CurrentPowerState"); in Handler()
123 if (itr != props.end()) in Handler()
172 Properties props{}; in Handler() local
174 msg.read(intf, props); in Handler()
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dahci.c94 AHCICommandProp *props; member
495 if (cmd->props->ncq && cmd->errors) { in ahci_port_check_nonbusy()
506 if (!cmd->props->ncq && cmd->errors) { in ahci_port_check_nonbusy()
549 if (cmd->props->atapi && (cmd->xbytes == 0 || cmd->props->dma)) { in ahci_port_check_pio_sanity()
569 if (!cmd->props->ncq) { in ahci_port_check_cmd_sanity()
635 if (!cmd->props->ncq) { in ahci_write_fis()
812 AHCICommandProp *props; in ahci_io() local
814 props = ahci_command_find(ide_cmd); in ahci_io()
815 g_assert(props); in ahci_io()
820 if (bufsize && props->write) { in ahci_io()
[all …]
H A Dsdhci.c30 s->props.version = version; in set_qsdhci_fields()
31 s->props.baseclock = baseclock; in set_qsdhci_fields()
32 s->props.capab.sdma = sdma; in set_qsdhci_fields()
33 s->props.capab.reg = reg; in set_qsdhci_fields()
73 memcpy(&sdhci->sdhci.props, common, sizeof(QSDHCIProperties)); in qos_init_sdhci_mm()
/openbmc/qemu/hw/net/
H A De1000x_common.c298 e1000x_txd_props *props) in e1000x_read_tx_ctx_descr() argument
302 props->ipcss = d->lower_setup.ip_fields.ipcss; in e1000x_read_tx_ctx_descr()
303 props->ipcso = d->lower_setup.ip_fields.ipcso; in e1000x_read_tx_ctx_descr()
304 props->ipcse = le16_to_cpu(d->lower_setup.ip_fields.ipcse); in e1000x_read_tx_ctx_descr()
305 props->tucss = d->upper_setup.tcp_fields.tucss; in e1000x_read_tx_ctx_descr()
306 props->tucso = d->upper_setup.tcp_fields.tucso; in e1000x_read_tx_ctx_descr()
307 props->tucse = le16_to_cpu(d->upper_setup.tcp_fields.tucse); in e1000x_read_tx_ctx_descr()
308 props->paylen = op & 0xfffff; in e1000x_read_tx_ctx_descr()
309 props->hdr_len = d->tcp_seg_setup.fields.hdr_len; in e1000x_read_tx_ctx_descr()
310 props->mss = le16_to_cpu(d->tcp_seg_setup.fields.mss); in e1000x_read_tx_ctx_descr()
[all …]
/openbmc/u-boot/tools/binman/
H A Dfdt_test.py52 prop = node.props['intval']
56 prop = node.props['intarray']
63 prop = node.props['byteval']
67 prop = node.props['bytearray']
74 prop = node.props['longbytearray']
78 prop = node.props['stringval']
82 prop = node.props['stringarray']
/openbmc/u-boot/drivers/gpio/
H A Dmscc_sgpio.c46 #define MSCC_M_CFG_SIO_AUTO_REPEAT(p) BIT(p->props->auto_repeat.beg)
47 #define MSCC_F_CFG_SIO_PORT_WIDTH(p, x) __F(p->props->port_width, x)
48 #define MSCC_M_CFG_SIO_PORT_WIDTH(p) __M(p->props->port_width)
49 #define MSCC_F_CLOCK_SIO_CLK_FREQ(p, x) __F(p->props->clk_freq, x)
50 #define MSCC_M_CLOCK_SIO_CLK_FREQ(p) __M(p->props->clk_freq)
51 #define MSCC_F_PORT_CFG_BIT_SOURCE(p, x) __F(p->props->bit_source, x)
52 #define MSCC_X_PORT_CFG_BIT_SOURCE(p, x) __X(p->props->bit_source, x)
76 const struct mscc_sgpio_props *props; member
81 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_readl()
89 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_writel()
[all …]
/openbmc/u-boot/tools/buildman/
H A Dboard.py18 def Matches(self, props): argument
26 for prop in props:
57 def Matches(self, props): argument
68 if not expr.Matches(props):
94 self.props = [self.target, self.arch, self.cpu, self.board_name,
281 if term.Matches(board.props):
294 if expr.Matches(board.props):
/openbmc/sdbusplus/test/gen/
H A Dtest_aserver_multiple_interfaces.cpp21 sdbusplus::common::server::Test::properties_t props{ in constructInterfaces() local
28 sdbusplus::aserver::server::Test<A> a1(ctx, "/1", props); in constructInterfaces()
37 ctx, "/3", props); in constructInterfaces()
56 ctx, "/6", props, props2); in constructInterfaces()
66 sdbusplus::aserver::server::Test3>>(ctx, "/8", props, props2, in constructInterfaces()
/openbmc/qemu/qom/
H A Dqom-qmp-cmds.c50 ObjectPropertyInfoList *props = NULL; in qmp_qom_list() local
63 QAPI_LIST_PREPEND(props, value); in qmp_qom_list()
69 return props; in qmp_qom_list()
73 ObjectPropertyValueList **props) in qom_list_add_property_value() argument
77 QAPI_LIST_PREPEND(*props, item); in qom_list_add_property_value()
90 ObjectPropertyValueList *props = NULL; in qom_get_property_value_list() local
99 qom_list_add_property_value(obj, prop, &props); in qom_get_property_value_list()
102 return props; in qom_get_property_value_list()
/openbmc/qemu/hw/gpio/
H A Daspeed_gpio.c667 const GPIOSetProperties *props; in aspeed_gpio_write_index_mode() local
679 props = &agc->props[set_idx]; in aspeed_gpio_write_index_mode()
691 reg_value &= props->output; in aspeed_gpio_write_index_mode()
713 reg_value = (reg_value | ~props->input) & props->output; in aspeed_gpio_write_index_mode()
794 set->input_mask = reg_value & props->input; in aspeed_gpio_write_index_mode()
810 const GPIOSetProperties *props; in aspeed_gpio_write() local
846 props = &agc->props[reg->set_idx]; in aspeed_gpio_write()
850 data &= props->output; in aspeed_gpio_write()
868 data = (data | ~props->input) & props->output; in aspeed_gpio_write()
922 set->input_mask = data & props->input; in aspeed_gpio_write()
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dfdt_util.py106 prop = node.props.get(propname)
126 prop = node.props.get(propname)
147 if propname in node.props:
162 prop = node.props.get(propname)
184 prop = node.props.get(propname)
H A Dtest_fdt43 prop = node.props[prop_name]
106 props = self.dtb.GetProps(node)
110 sorted(props.keys()))
188 del self.node.props['notstring']
198 prop = node.props['clocks']
225 prop = node.props['clocks']
291 prop = self.node.props['intval']
294 prop2 = node2.props['intval']
300 prop2 = self.node.props['intarray']
307 prop = self.node.props['longbytearray']
[all …]
H A Dtest_fdt.py43 prop = node.props[prop_name]
106 props = self.dtb.GetProps(node)
110 sorted(props.keys()))
188 del self.node.props['notstring']
198 prop = node.props['clocks']
225 prop = node.props['clocks']
291 prop = self.node.props['intval']
294 prop2 = node2.props['intval']
300 prop2 = self.node.props['intarray']
307 prop = self.node.props['longbytearray']
[all …]
H A Dfdt.py232 self.props = {}
271 self.props = self._fdt.GetProps(self)
309 prop = self.props.get(p.name)
328 del self.props[prop_name]
337 self.props[prop_name] = Prop(self, None, prop_name, '\0' * 4)
350 self.props[prop_name] = Prop(self, None, prop_name, value)
364 self.props[prop_name].SetInt(val)
376 self.props[prop_name].SetData(val)
388 self.props[prop_name].SetData(val + chr(0))
400 self.props[prop_name] = Prop(self, None, prop_name, val + chr(0))
[all …]
H A Ddtb_platdata.py121 compat = node.props['compatible'].value
234 cells = target.props.get(prop_name)
262 if 'compatible' in node.props:
263 status = node.props.get('status')
296 na_prop = parent.props.get('#address-cells')
297 ns_prop = parent.props.get('#size-cells')
312 reg = node.props.get('reg')
359 for name, prop in node.props.items():
381 for name, prop in node.props.items():
405 for pname, prop in node.props.items():
[all …]
/openbmc/qemu/hw/i386/
H A Dx86.c84 return possible_cpus->cpus[cpu_index].props; in x86_cpu_index_to_props()
132 ms->possible_cpus->cpus[i].props.has_socket_id = true; in x86_possible_cpu_arch_ids()
133 ms->possible_cpus->cpus[i].props.socket_id = topo_ids.pkg_id; in x86_possible_cpu_arch_ids()
135 ms->possible_cpus->cpus[i].props.has_die_id = true; in x86_possible_cpu_arch_ids()
136 ms->possible_cpus->cpus[i].props.die_id = topo_ids.die_id; in x86_possible_cpu_arch_ids()
139 ms->possible_cpus->cpus[i].props.has_module_id = true; in x86_possible_cpu_arch_ids()
140 ms->possible_cpus->cpus[i].props.module_id = topo_ids.module_id; in x86_possible_cpu_arch_ids()
142 ms->possible_cpus->cpus[i].props.has_core_id = true; in x86_possible_cpu_arch_ids()
143 ms->possible_cpus->cpus[i].props.core_id = topo_ids.core_id; in x86_possible_cpu_arch_ids()
144 ms->possible_cpus->cpus[i].props.has_thread_id = true; in x86_possible_cpu_arch_ids()
[all …]
/openbmc/qemu/hw/block/
H A Dxen-block.c82 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_find_free_vdev()
155 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_get_name()
168 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_disconnect()
179 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_connect()
180 BlockConf *conf = &blockdev->props.conf; in xen_block_connect()
211 order <= blockdev->props.max_ring_page_order) { in xen_block_connect()
274 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_unrealize()
296 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_set_size()
297 BlockConf *conf = &blockdev->props.conf; in xen_block_set_size()
350 XenBlockVdev *vdev = &blockdev->props.vdev; in xen_block_realize()
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Ddbus_log_watcher.cpp126 dbus::utility::DBusPropertiesMap props; in getReadingsForReport() local
128 msg.read(interface, props, invalidProps); in getReadingsForReport()
130 auto found = std::ranges::find_if(props, [](const auto& x) { in getReadingsForReport()
133 if (found == props.end()) in getReadingsForReport()

123456789