Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 29) sorted by relevance

12

/illumos-kvm-cmd/hw/
H A Dptimer.c41 s->enabled = 0; in ptimer_reload()
58 if (s->enabled == 2) { in ptimer_tick()
59 s->enabled = 0; in ptimer_tick()
70 if (s->enabled) { in ptimer_get_count()
124 if (s->enabled) { in ptimer_set_count()
132 if (s->enabled) { in ptimer_run()
148 if (!s->enabled) in ptimer_stop()
153 s->enabled = 0; in ptimer_stop()
161 if (s->enabled) { in ptimer_set_period()
172 if (s->enabled) { in ptimer_set_freq()
[all …]
H A Dsyborg_interrupt.c53 unsigned enabled:1; member
78 if (s->flags[irq].enabled) { in syborg_int_set_irq()
102 if (s->flags[i].level & s->flags[i].enabled) { in syborg_int_read()
128 s->flags[i].enabled = 0; in syborg_int_write()
134 if (s->flags[value].enabled) { in syborg_int_write()
135 if (s->flags[value].enabled) in syborg_int_write()
137 s->flags[value].enabled = 0; in syborg_int_write()
144 if (!(s->flags[value].enabled)) { in syborg_int_write()
147 s->flags[value].enabled = 1; in syborg_int_write()
179 qemu_put_be32(f, s->flags[i].enabled in syborg_int_save()
[all …]
H A Dsh_timer.c43 int enabled; member
96 if (s->enabled) { in sh_timer_write()
142 if (s->enabled) { in sh_timer_write()
163 printf("sh_timer_start_stop %d (%d)\n", enable, s->enabled); in sh_timer_start_stop()
166 if (s->enabled && !enable) { in sh_timer_start_stop()
169 if (!s->enabled && enable) { in sh_timer_start_stop()
172 s->enabled = !!enable; in sh_timer_start_stop()
175 printf("sh_timer_start_stop done %d\n", s->enabled); in sh_timer_start_stop()
182 s->int_level = s->enabled; in sh_timer_tick()
198 s->enabled = 0; in sh_timer_init()
H A Dtsc2005.c40 int enabled; member
200 s->enabled = !(data & 0x4000); in tsc2005_write()
203 if (s->busy && !s->enabled) in tsc2005_write()
205 s->busy &= s->enabled; in tsc2005_write()
255 s->enabled = 0; in tsc2005_pin_update()
275 s->enabled = 0; in tsc2005_pin_update()
286 if (!s->enabled || s->busy) in tsc2005_pin_update()
301 s->enabled = 0; in tsc2005_reset()
341 s->busy &= s->enabled; in tsc2005_txrx_word()
453 qemu_put_byte(f, s->enabled); in tsc2005_save()
[all …]
H A Dwdt_i6300esb.c85 int enabled; /* If true, watchdog is enabled. */ member
112 if (!d->enabled) in i6300esb_restart_timer()
159 d->enabled = 0; in i6300esb_reset()
223 old = d->enabled; in i6300esb_config_write()
224 d->enabled = (data & ESB_WDT_ENABLE) != 0; in i6300esb_config_write()
225 if (!old && d->enabled) /* Enabled transitioned from 0 -> 1 */ in i6300esb_config_write()
227 else if (!d->enabled) in i6300esb_config_write()
252 (d->enabled ? ESB_WDT_ENABLE : 0); in i6300esb_config_read()
395 VMSTATE_INT32(enabled, I6300State),
H A Dmcf_intc.c15 uint64_t enabled; member
28 active = (s->ipr | s->ifr) & s->enabled & ~s->imr; in mcf_intc_update()
85 s->enabled &= ~(1ull << n); in mcf_intc_write()
87 s->enabled |= (1ull << n); in mcf_intc_write()
125 s->enabled = 0; in mcf_intc_reset()
H A Darm_gic.c42 unsigned enabled:1; member
59 #define GIC_TEST_ENABLED(irq) s->irq_state[irq].enabled
87 int enabled; member
124 if (!s->enabled || !s->cpu_enabled[cpu]) { in gic_update()
265 return s->enabled; in gic_dist_readb()
397 s->enabled = (value & 1); in gic_dist_writeb()
650 s->enabled = 1; in gic_reset()
652 s->enabled = 0; in gic_reset()
662 qemu_put_be32(f, s->enabled); in gic_save()
681 qemu_put_byte(f, s->irq_state[i].enabled); in gic_save()
[all …]
H A Dadlib.c67 int enabled; member
214 if (!(s->active && s->enabled) || !samples) { in adlib_callback()
275 s->enabled = 0; in Adlib_fini()
291 s->enabled = 1; in Adlib_init()
301 s->enabled = 1; in Adlib_init()
H A Darmv7m_nvic.c218 if (s->gic.irq_state[ARMV7M_EXCP_MEM].enabled) val |= (1 << 16); in nvic_readl()
219 if (s->gic.irq_state[ARMV7M_EXCP_BUS].enabled) val |= (1 << 17); in nvic_readl()
220 if (s->gic.irq_state[ARMV7M_EXCP_USAGE].enabled) val |= (1 << 18); in nvic_readl()
351 s->gic.irq_state[ARMV7M_EXCP_MEM].enabled = (value & (1 << 16)) != 0; in nvic_writel()
352 s->gic.irq_state[ARMV7M_EXCP_BUS].enabled = (value & (1 << 17)) != 0; in nvic_writel()
353 s->gic.irq_state[ARMV7M_EXCP_USAGE].enabled = (value & (1 << 18)) != 0; in nvic_writel()
H A Dsyborg_fb.c72 uint32_t enabled : 1; member
128 return s->enabled; in syborg_fb_enabled()
345 return s->enabled; in syborg_fb_read()
433 s->enabled = val; in syborg_fb_write()
468 qemu_put_be32(f, s->enabled); in syborg_fb_save()
491 s->enabled = qemu_get_be32(f); in syborg_fb_load()
H A Dssd0303.c52 int enabled; member
133 s->enabled = 0; in ssd0303_send()
136 s->enabled = 1; in ssd0303_send()
275 VMSTATE_INT32(enabled, ssd0303_state),
H A Dtsc210x.c56 int enabled; member
158 s->enabled = 0; in tsc210x_reset()
443 return (s->pin_func << 14) | ((!s->enabled) << 13) | in tsc2102_control_register_read()
595 s->enabled = !(value & 0x4000); in tsc2102_control_register_write()
596 if (s->busy && !s->enabled) in tsc2102_control_register_write()
598 s->busy &= s->enabled; in tsc2102_control_register_write()
819 if (!s->enabled) in tsc210x_pin_update()
846 s->enabled = 0; in tsc210x_pin_update()
861 if (!s->enabled || s->busy || s->dav) in tsc210x_pin_update()
1024 qemu_put_byte(f, s->enabled); in tsc210x_save()
[all …]
H A Dmusicpal.c649 uint32_t enabled; member
655 qemu_set_irq(s->parent_irq, (s->level & s->enabled)); in mv88w8618_pic_update()
676 return s->level & s->enabled; in mv88w8618_pic_read()
690 s->enabled |= value; in mv88w8618_pic_write()
694 s->enabled &= ~value; in mv88w8618_pic_write()
707 s->enabled = 0; in mv88w8618_pic_reset()
743 VMSTATE_UINT32(enabled, mv88w8618_pic_state),
H A Dppc4xx_devs.c399 static void sdram_set_bcr (uint32_t *bcrp, uint32_t bcr, int enabled) in sdram_set_bcr() argument
411 if (enabled && (bcr & 0x00000001)) { in sdram_set_bcr()
H A Dipf.c341 audio_enabled = c->enabled; in audio_init()
350 if (c->enabled) { in audio_init()
H A Domap_clk.c42 int enabled; /* Is enabled, regardless of its input clk */ member
1132 running = parent && (clk->enabled || in omap_clk_update()
1192 clk->enabled = on; in omap_clk_onoff()
/illumos-kvm-cmd/audio/
H A Daudio.c56 int enabled; member
75 .enabled = 1,
87 .enabled = 1,
741 if (cap->hw.enabled != enabled) { in audio_capture_maybe_changed()
743 cap->hw.enabled = enabled; in audio_capture_maybe_changed()
753 int enabled = 0; in audio_recalc_and_notify_capture() local
757 enabled = 1; in audio_recalc_and_notify_capture()
1142 if (!sw->hw->enabled) { in AUD_write()
1160 if (!sw->hw->enabled) { in AUD_read()
1316 if (hw->enabled) { in audio_capture_mix_and_clear()
[all …]
H A Daudio_template.h218 if (hw->enabled) { in glue()
311 if (glue (conf.fixed_, TYPE).enabled && glue (conf.fixed_, TYPE).greedy) { in glue()
340 if (glue (conf.fixed_, TYPE).enabled) { in glue()
457 if (!glue (conf.fixed_, TYPE).enabled && sw) { in glue()
H A Daudio_int.h70 int enabled; member
90 int enabled; member
/illumos-kvm-cmd/
H A Darch_init.c467 int enabled; member
588 c->enabled = 1; in select_soundhw()
600 c->enabled = 1; in select_soundhw()
630 if (c->enabled) { in audio_init()
H A Dqemu-timer.c159 int enabled; member
409 clock->enabled = 1; in qemu_new_clock()
413 void qemu_clock_enable(QEMUClock *clock, int enabled) in qemu_clock_enable() argument
415 clock->enabled = enabled; in qemu_clock_enable()
520 if (!clock->enabled) in qemu_run_timers()
H A Dqmp-commands.hx912 <- { "return": "kvm support: enabled\r\n" }
1439 - "enabled": true if KVM support is enabled, false otherwise (json-bool)
1445 <- { "return": { "enabled": true, "present": true } }
1515 - "enabled": true or false (json-bool)
1544 "enabled":true,
1572 - "enabled": true or false (json-bool)
1600 "enabled": true,
H A Dqemu-timer.h38 void qemu_clock_enable(QEMUClock *clock, int enabled);
/illumos-kvm-cmd/kvm/include/linux/
H A Dkvm.h70 __u32 enabled; member
76 __u32 enabled; member
333 __u32 enabled; member
/illumos-kvm-cmd/kvm/libkvm/
H A Dlibkvm-x86.c505 static int tpr_access_reporting(kvm_context_t kvm, int vcpu, int enabled) in tpr_access_reporting() argument
509 .enabled = enabled, in tpr_access_reporting()

Completed in 108 milliseconds

12