/external/qemu/hw/android/goldfish/ |
mmc.c | 78 uint32_t int_status; member in struct:goldfish_mmc_state 79 // irq enable mask for int_status 102 QFIELD_INT32(int_status), 428 s->int_status |= new_status; 430 if ((s->int_status & s->int_enable)) { 431 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 443 return s->int_status & s->int_enable; 473 status = s->int_status; 476 s->int_status = status; 485 s->int_status = 0 [all...] |
audio.c | 84 uint32_t int_status; member in struct:goldfish_audio_state 85 // irq enable mask for int_status 229 QFIELD_INT32(int_status), 293 goldfish_device_set_irq(&s->dev, 0,(s->int_status & s->int_enable)); 388 s->int_status |= AUDIO_INT_READ_BUFFER_FULL; 389 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 400 ret = s->int_status & s->int_enable; 437 s->int_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | AUDIO_INT_WRITE_BUFFER_2_EMPTY); 438 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 466 s->int_status &= ~AUDIO_INT_WRITE_BUFFER_1_EMPTY [all...] |
battery.c | 40 uint32_t int_status; member in struct:goldfish_battery_state 41 // irq enable mask for int_status 60 QFIELD_INT32(int_status), 96 ret = s->int_status & s->int_enable; 99 s->int_status = 0; 130 // s->int_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | AUDIO_INT_WRITE_BUFFER_2_EMPTY); 131 // goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 220 if (new_status != battery_state->int_status) { 221 battery_state->int_status |= new_status; 222 goldfish_device_set_irq(&battery_state->dev, 0, (battery_state->int_status & battery_state->int_enable)) [all...] |
fb.c | 61 uint32_t int_status; member in struct:goldfish_fb_state 86 qemu_put_be32(f, s->int_status); 124 s->int_status = qemu_get_be32(f); 466 if((s->int_enable & FB_INT_VSYNC) && !(s->int_status & FB_INT_VSYNC)) { 467 s->int_status |= FB_INT_VSYNC; 474 s->int_status |= FB_INT_BASE_UPDATE_DONE; 570 ret = s->int_status & s->int_enable; 572 s->int_status &= ~ret; 604 goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 609 s->int_status &= ~FB_INT_BASE_UPDATE_DONE [all...] |