Home
last modified time | relevance | path

Searched refs:int_status (Results 1 – 5 of 5) sorted by relevance

/external/qemu/hw/android/goldfish/
Daudio.c84 uint32_t int_status; member
229 QFIELD_INT32(int_status), in QFIELD_INT32() argument
293 goldfish_device_set_irq(&s->dev, 0,(s->int_status & s->int_enable)); in audio_state_load()
388 s->int_status |= AUDIO_INT_READ_BUFFER_FULL; in start_read()
389 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); in start_read()
400 ret = s->int_status & s->int_enable; in goldfish_audio_read()
437 s->int_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | AUDIO_INT_WRITE_BUFFER_2_EMPTY); in goldfish_audio_write()
438 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); in goldfish_audio_write()
466 s->int_status &= ~AUDIO_INT_WRITE_BUFFER_1_EMPTY; in goldfish_audio_write()
474 s->int_status &= ~AUDIO_INT_WRITE_BUFFER_2_EMPTY; in goldfish_audio_write()
[all …]
Dbattery.c40 uint32_t int_status; member
60 QFIELD_INT32(int_status), in QFIELD_INT32() argument
96 ret = s->int_status & s->int_enable; in goldfish_battery_read()
99 s->int_status = 0; in goldfish_battery_read()
220 if (new_status != battery_state->int_status) { in goldfish_battery_set_prop()
221 battery_state->int_status |= new_status; in goldfish_battery_set_prop()
222 …goldfish_device_set_irq(&battery_state->dev, 0, (battery_state->int_status & battery_state->int_en… in goldfish_battery_set_prop()
Dmmc.c78 uint32_t int_status; member
102 QFIELD_INT32(int_status), in QFIELD_INT32()
428 s->int_status |= new_status; in goldfish_mmc_do_command()
430 if ((s->int_status & s->int_enable)) { in goldfish_mmc_do_command()
431 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); in goldfish_mmc_do_command()
443 return s->int_status & s->int_enable; in goldfish_mmc_read()
473 status = s->int_status; in goldfish_mmc_write()
476 s->int_status = status; in goldfish_mmc_write()
485 s->int_status = 0; in goldfish_mmc_write()
486 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); in goldfish_mmc_write()
Dfb.c61 uint32_t int_status; member
86 qemu_put_be32(f, s->int_status); in goldfish_fb_save()
124 s->int_status = qemu_get_be32(f); in goldfish_fb_load()
466 if((s->int_enable & FB_INT_VSYNC) && !(s->int_status & FB_INT_VSYNC)) { in goldfish_fb_update_display()
467 s->int_status |= FB_INT_VSYNC; in goldfish_fb_update_display()
474 s->int_status |= FB_INT_BASE_UPDATE_DONE; in goldfish_fb_update_display()
570 ret = s->int_status & s->int_enable; in goldfish_fb_read()
572 s->int_status &= ~ret; in goldfish_fb_read()
604 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); in goldfish_fb_write()
609 s->int_status &= ~FB_INT_BASE_UPDATE_DONE; in goldfish_fb_write()
[all …]
/external/qemu/docs/
DGOLDFISH-VIRTUAL-HARDWARE.TXT545 The virtual device has an internal 'int_status' field made of 3 bit flags:
556 where <mask> has the same format as 'int_status'. A 1 bit in the mask enables the
567 Later, the device will raise its IRQ and set bit2 of 'int_status' to indicate