Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 25 of 256) sorted by relevance

1234567891011

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-space-map.h20 void (*destroy)(struct dm_space_map *sm);
25 int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks);
31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
43 int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result);
44 int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b,
46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
48 int (*commit)(struct dm_space_map *sm);
50 int (*inc_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
51 int (*dec_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
[all …]
H A Ddm-space-map-disk.c26 struct dm_space_map sm; member
35 static void sm_disk_destroy(struct dm_space_map *sm) in sm_disk_destroy() argument
37 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy()
42 static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_disk_extend() argument
44 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend()
49 static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_blocks() argument
51 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks()
58 static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_free() argument
60 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free()
67 static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_get_count() argument
[all …]
H A Ddm-space-map-metadata.c169 struct dm_space_map sm; member
276 static void sm_metadata_destroy(struct dm_space_map *sm) in sm_metadata_destroy() argument
278 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_destroy()
283 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks() argument
285 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_blocks()
292 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free() argument
294 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_free()
302 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count() argument
307 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_count()
342 static int sm_metadata_count_is_more_than_one(struct dm_space_map *sm, in sm_metadata_count_is_more_than_one() argument
[all …]
H A Ddm-transaction-manager.c95 struct dm_space_map *sm; member
163 struct dm_space_map *sm) in dm_tm_create() argument
175 tm->sm = sm; in dm_tm_create()
219 r = dm_sm_commit(tm->sm); in dm_tm_pre_commit()
249 r = dm_sm_new_block(tm->sm, &new_block); in dm_tm_new_block()
255 dm_sm_dec_block(tm->sm, new_block); in dm_tm_new_block()
276 r = dm_sm_new_block(tm->sm, &new); in __shadow_block()
280 r = dm_sm_dec_block(tm->sm, orig); in __shadow_block()
317 r = dm_sm_count_is_more_than_one(tm->sm, orig, inc_children); in dm_tm_shadow_block()
363 dm_sm_inc_block(tm->sm, b); in dm_tm_inc()
[all …]
/openbmc/linux/drivers/mfd/
H A Dsm501.c133 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk() argument
135 unsigned long misct = smc501_readl(sm->regs + SM501_MISC_TIMING); in sm501_dump_clk()
136 unsigned long pm0 = smc501_readl(sm->regs + SM501_POWER_MODE_0_CLOCK); in sm501_dump_clk()
137 unsigned long pm1 = smc501_readl(sm->regs + SM501_POWER_MODE_1_CLOCK); in sm501_dump_clk()
138 unsigned long pmc = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL); in sm501_dump_clk()
163 dev_dbg(sm->dev, "MISCT=%08lx, PM0=%08lx, PM1=%08lx\n", in sm501_dump_clk()
166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk()
169 dev_dbg(sm->dev, "SDRAM: PM0=%ld, PM1=%ld\n", sdclk0, sdclk1); in sm501_dump_clk()
171 dev_dbg(sm->dev, "PM0[%c]: " in sm501_dump_clk()
180 dev_dbg(sm->dev, "PM1[%c]: " in sm501_dump_clk()
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Dscrub.c173 if (error == 0 && (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR)) in xchk_teardown()
368 struct xfs_scrub_metadata *sm) in xchk_validate_inputs() argument
375 sm->sm_flags &= ~XFS_SCRUB_FLAGS_OUT; in xchk_validate_inputs()
376 if (sm->sm_flags & ~XFS_SCRUB_FLAGS_IN) in xchk_validate_inputs()
379 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()
384 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) in xchk_validate_inputs()
386 ops = &meta_scrub_ops[sm->sm_type]; in xchk_validate_inputs()
398 if (sm->sm_ino || sm->sm_gen || sm->sm_agno) in xchk_validate_inputs()
402 if (sm->sm_ino || sm->sm_gen || in xchk_validate_inputs()
403 sm->sm_agno >= mp->m_sb.sb_agcount) in xchk_validate_inputs()
[all …]
H A Dcommon.c82 sc->sm, *error); in __xchk_process_error()
87 sc->sm->sm_flags |= errflag; in __xchk_process_error()
136 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_fblock_process_error()
141 sc->sm->sm_flags |= errflag; in __xchk_fblock_process_error()
192 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; in xchk_block_set_preen()
206 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; in xchk_ino_set_preen()
215 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_set_corrupt()
225 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_block_set_corrupt()
235 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_XCORRUPT; in xchk_block_xref_set_corrupt()
249 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_ino_set_corrupt()
[all …]
H A Dhealth.c140 bad = (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_update_health()
142 switch (type_to_health_flag[sc->sm->sm_type].group) { in xchk_update_health()
144 pag = xfs_perag_get(sc->mp, sc->sm->sm_agno); in xchk_update_health()
195 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_ag_btree_healthy_enough()
200 if (sc->sm->sm_type == XFS_SCRUB_TYPE_CNTBT) in xchk_ag_btree_healthy_enough()
205 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_ag_btree_healthy_enough()
210 if (sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT) in xchk_ag_btree_healthy_enough()
215 if (sc->sm->sm_type == XFS_SCRUB_TYPE_RMAPBT) in xchk_ag_btree_healthy_enough()
220 if (sc->sm->sm_type == XFS_SCRUB_TYPE_REFCNTBT) in xchk_ag_btree_healthy_enough()
236 type_to_health_flag[sc->sm->sm_type].group == XHG_AG) in xchk_ag_btree_healthy_enough()
[all …]
H A Dstats.c183 const struct xfs_scrub_metadata *sm, in xchk_stats_merge_one() argument
188 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
189 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
193 css = &cs->cs_stats[sm->sm_type]; in xchk_stats_merge_one()
196 if (!(sm->sm_flags & XFS_SCRUB_OFLAG_UNCLEAN)) in xchk_stats_merge_one()
198 if (sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_stats_merge_one()
200 if (sm->sm_flags & XFS_SCRUB_OFLAG_PREEN) in xchk_stats_merge_one()
202 if (sm->sm_flags & XFS_SCRUB_OFLAG_XFAIL) in xchk_stats_merge_one()
204 if (sm->sm_flags & XFS_SCRUB_OFLAG_XCORRUPT) in xchk_stats_merge_one()
206 if (sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_stats_merge_one()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dsmt.c172 smc->sm.smt_tid = 0 ; in smt_agent_init()
180 smc->sm.pend[i] = 0 ; in smt_agent_init()
181 smc->sm.please_reconnect = 0 ; in smt_agent_init()
182 smc->sm.uniq_ticks = 0 ; in smt_agent_init()
195 smt_timer_start(smc,&smc->sm.smt_timer, (u_long)1000000L, in smt_agent_task()
208 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
222 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
236 if (smc->sm.please_reconnect) { in smt_event()
237 smc->sm.please_reconnect -- ; in smt_event()
238 if (smc->sm.please_reconnect == 0) { in smt_event()
[all …]
H A Dess.c78 static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
98 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
112 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() argument
131 if (!(p = (void *) sm_to_para(smc,sm,SMT_P0015))) { in ess_raf_received_pack()
140 if (!(cmd = (struct smt_p_0016 *) sm_to_para(smc,sm,SMT_P0016))) { in ess_raf_received_pack()
148 DB_ESSN(2, "fc %x ft %x", sm->smt_class, sm->smt_type); in ess_raf_received_pack()
149 DB_ESSN(2, "ver %x tran %x", sm->smt_version, sm->smt_tid); in ess_raf_received_pack()
150 DB_ESSN(2, "stn_id %pM", &sm->smt_source); in ess_raf_received_pack()
152 DB_ESSN(2, "infolen %x res %lx", sm->smt_len, msg_res_type); in ess_raf_received_pack()
167 if (sm->smt_type == SMT_REQUEST) { in ess_raf_received_pack()
[all …]
/openbmc/linux/drivers/scsi/isci/
H A Dphy.c313 sci_change_state(&iphy->sm, SCI_PHY_STOPPED); in sci_phy_link_layer_initialization()
336 sci_change_state(&iphy->sm, SCI_PHY_STARTING); in phy_sata_timeout()
392 sci_change_state(&iphy->sm, SCI_PHY_STOPPED); in sci_phy_initialize()
466 enum sci_phy_states state = iphy->sm.current_state_id; in sci_phy_start()
474 sci_change_state(&iphy->sm, SCI_PHY_STARTING); in sci_phy_start()
480 enum sci_phy_states state = iphy->sm.current_state_id; in sci_phy_stop()
500 sci_change_state(&iphy->sm, SCI_PHY_STOPPED); in sci_phy_stop()
506 enum sci_phy_states state = iphy->sm.current_state_id; in sci_phy_reset()
514 sci_change_state(&iphy->sm, SCI_PHY_RESETTING); in sci_phy_reset()
520 enum sci_phy_states state = iphy->sm.current_state_id; in sci_phy_consume_power_handler()
[all …]
H A Dremote_device.c238 dev_state_name(idev->sm.current_state_id), in isci_remote_device_terminate_requests()
241 rnc_state_name(idev->rnc.sm.current_state_id), in isci_remote_device_terminate_requests()
271 dev_state_name(idev->sm.current_state_id), in isci_remote_device_terminate_requests()
274 rnc_state_name(idev->rnc.sm.current_state_id), in isci_remote_device_terminate_requests()
329 sci_change_state(&idev->sm, SCI_DEV_STOPPED); in rnc_destruct_done()
341 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_stop() local
342 enum sci_remote_device_states state = sm->current_state_id; in sci_remote_device_stop()
362 sci_change_state(sm, SCI_DEV_STOPPING); in sci_remote_device_stop()
372 sci_change_state(sm, SCI_DEV_STOPPING); in sci_remote_device_stop()
390 sci_change_state(sm, SCI_DEV_STOPPING); in sci_remote_device_stop()
[all …]
H A Dremote_node_context.c87 u32 current_state = sci_rnc->sm.current_state_id; in sci_remote_node_context_is_ready()
98 u32 current_state = sci_rnc->sm.current_state_id; in sci_remote_node_context_is_suspended()
268 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_initial_state_enter() argument
270 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); in sci_remote_node_context_initial_state_enter()
277 if (sm->previous_state_id == SCI_RNC_INVALIDATING) { in sci_remote_node_context_initial_state_enter()
286 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_posting_state_enter() argument
288 struct sci_remote_node_context *sci_rnc = container_of(sm, typeof(*sci_rnc), sm); in sci_remote_node_context_posting_state_enter()
293 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_invalidating_state_enter() argument
295 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); in sci_remote_node_context_invalidating_state_enter()
302 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_resuming_state_enter() argument
[all …]
H A Dhost.c147 void sci_init_sm(struct sci_base_state_machine *sm, in sci_init_sm() argument
152 sm->initial_state_id = initial_state; in sci_init_sm()
153 sm->previous_state_id = initial_state; in sci_init_sm()
154 sm->current_state_id = initial_state; in sci_init_sm()
155 sm->state_table = state_table; in sci_init_sm()
157 handler = sm->state_table[initial_state].enter_state; in sci_init_sm()
159 handler(sm); in sci_init_sm()
163 void sci_change_state(struct sci_base_state_machine *sm, u32 next_state) in sci_change_state() argument
167 handler = sm->state_table[sm->current_state_id].exit_state; in sci_change_state()
169 handler(sm); in sci_change_state()
[all …]
H A Dport.c298 struct sci_base_state_machine *sm = &iport->sm; in port_state_machine_change() local
299 enum sci_port_states old_state = sm->current_state_id; in port_state_machine_change()
304 sci_change_state(sm, state); in port_state_machine_change()
708 struct sci_base_state_machine *sm = &iport->sm; in sci_port_general_link_up_handler() local
711 if (sm->current_state_id == SCI_PORT_RESETTING) in sci_port_general_link_up_handler()
789 current_state = iport->sm.current_state_id; in port_timeout()
943 static void sci_port_ready_substate_waiting_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_waiting_enter() argument
945 struct isci_port *iport = container_of(sm, typeof(*iport), sm); in sci_port_ready_substate_waiting_enter()
959 struct sci_base_state_machine *sm) in scic_sds_port_ready_substate_waiting_exit() argument
961 struct isci_port *iport = container_of(sm, typeof(*iport), sm); in scic_sds_port_ready_substate_waiting_exit()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgm200.c52 u8 sm, i; in gm200_grctx_generate_smid_config() local
54 for (sm = 0; sm < gr->sm_nr; sm++) { in gm200_grctx_generate_smid_config()
55 const u8 gpc = gr->sm[sm].gpc; in gm200_grctx_generate_smid_config()
56 const u8 tpc = gr->sm[sm].tpc; in gm200_grctx_generate_smid_config()
57 dist[sm / 4] |= ((gpc << 4) | tpc) << ((sm % 4) * 8); in gm200_grctx_generate_smid_config()
58 gpcs[gpc] |= sm << (tpc * 8); in gm200_grctx_generate_smid_config()
H A Dctxgp100.c111 u8 sm, i; in gp100_grctx_generate_smid_config() local
113 for (sm = 0; sm < gr->sm_nr; sm++) { in gp100_grctx_generate_smid_config()
114 const u8 gpc = gr->sm[sm].gpc; in gp100_grctx_generate_smid_config()
115 const u8 tpc = gr->sm[sm].tpc; in gp100_grctx_generate_smid_config()
116 dist[sm / 4] |= ((gpc << 4) | tpc) << ((sm % 4) * 8); in gp100_grctx_generate_smid_config()
117 gpcs[gpc + (gr->func->gpc_nr * (tpc / 4))] |= sm << ((tpc % 4) * 8); in gp100_grctx_generate_smid_config()
H A Dtu102.c37 int sm; in tu102_gr_init_fs() local
42 for (sm = 0; sm < gr->sm_nr; sm++) { in tu102_gr_init_fs()
43 int tpc = gv100_gr_nonpes_aware_tpc(gr, gr->sm[sm].gpc, gr->sm[sm].tpc); in tu102_gr_init_fs()
45 nvkm_wr32(device, GPC_UNIT(gr->sm[sm].gpc, 0x0c10 + tpc * 4), sm); in tu102_gr_init_fs()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.h219 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq()
264 csio_post_event(&ioreq->sm, CSIO_SCSIE_COMPLETED); in csio_scsi_completed()
265 if (csio_list_deleted(&ioreq->sm.sm_list)) in csio_scsi_completed()
266 list_add_tail(&ioreq->sm.sm_list, cbfn_q); in csio_scsi_completed()
272 csio_post_event(&ioreq->sm, CSIO_SCSIE_ABORTED); in csio_scsi_aborted()
273 list_add_tail(&ioreq->sm.sm_list, cbfn_q); in csio_scsi_aborted()
279 csio_post_event(&ioreq->sm, CSIO_SCSIE_CLOSED); in csio_scsi_closed()
280 list_add_tail(&ioreq->sm.sm_list, cbfn_q); in csio_scsi_closed()
286 csio_post_event(&ioreq->sm, CSIO_SCSIE_DRVCLEANUP); in csio_scsi_drvcleanup()
298 csio_post_event(&ioreq->sm, CSIO_SCSIE_START_IO); in csio_scsi_start_io()
[all …]
H A Dcsio_rnode.c127 list_for_each(tmp, &rnhead->sm.sm_list) { in csio_rn_lookup()
151 list_for_each(tmp, &rnhead->sm.sm_list) { in csio_rn_lookup_wwpn()
175 list_for_each(tmp, &rnhead->sm.sm_list) { in csio_rnode_lookup_portid()
200 list_for_each(tmp, &rnhead->sm.sm_list) { in csio_rn_dup_flowid()
616 csio_set_state(&rn->sm, csio_rns_ready); in csio_rns_uninit()
671 csio_set_state(&rn->sm, csio_rns_offline); in csio_rns_ready()
680 csio_set_state(&rn->sm, csio_rns_offline); in csio_rns_ready()
697 csio_set_state(&rn->sm, csio_rns_uninit); in csio_rns_ready()
702 csio_set_state(&rn->sm, csio_rns_disappeared); in csio_rns_ready()
741 csio_set_state(&rn->sm, csio_rns_ready); in csio_rns_offline()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dcontrol.c21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() local
22 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
36 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put() local
37 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
50 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info() local
51 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_info()
55 if (!sm->platform_max) in snd_sof_volume_info()
56 sm->platform_max = sm->max; in snd_sof_volume_info()
57 platform_max = sm->platform_max; in snd_sof_volume_info()
66 uinfo->value.integer.max = platform_max - sm->min; in snd_sof_volume_info()
[all …]
/openbmc/linux/fs/ceph/
H A Dsnap.c1177 struct ceph_snapid_map *sm, *exist; in ceph_get_snapid_map() local
1204 sm = kmalloc(sizeof(*sm), GFP_NOFS); in ceph_get_snapid_map()
1205 if (!sm) in ceph_get_snapid_map()
1208 ret = get_anon_bdev(&sm->dev); in ceph_get_snapid_map()
1210 kfree(sm); in ceph_get_snapid_map()
1214 INIT_LIST_HEAD(&sm->lru); in ceph_get_snapid_map()
1215 atomic_set(&sm->ref, 1); in ceph_get_snapid_map()
1216 sm->snap = snap; in ceph_get_snapid_map()
1237 rb_link_node(&sm->node, parent, p); in ceph_get_snapid_map()
1238 rb_insert_color(&sm->node, &mdsc->snapid_map_tree); in ceph_get_snapid_map()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm_crb.c93 u32 sm; member
139 if (priv->sm != ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) in crb_try_pluton_doorbell()
176 if ((priv->sm == ACPI_TPM2_START_METHOD) || in __crb_go_idle()
177 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD) || in __crb_go_idle()
178 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC)) in __crb_go_idle()
225 if ((priv->sm == ACPI_TPM2_START_METHOD) || in __crb_cmd_ready()
226 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD) || in __crb_cmd_ready()
227 (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC)) in __crb_cmd_ready()
414 if (priv->sm == ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) in crb_send()
426 if ((priv->sm == ACPI_TPM2_COMMAND_BUFFER) || in crb_send()
[all …]
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/
H A Dsmbios.py265 sm = super(SMBIOS, cls).__new__(cls)
66 sm._header_memory = bits.memory(sm_ptr, 0x1f)
67 return sm
120 def __new__(cls, u, sm):
126 def __init__(self, u, sm):
141 …self.raw_strings = str(bits.memory(sm.header.structure_table_address + self.strings_offset, self.s…
172 def __init__(self, u, sm):
173 super(BIOSInformation, self).__init__(u, sm)
182 …minor_version_str = str(sm.header.minor_version) # 34 is .34, 4 is .4, 41 is .41; compare ASCIIbet…
183 if (sm.header.major_version, minor_version_str) >= (2,"4"):
[all …]

1234567891011