Home | History | Annotate | Download | only in hw

Lines Matching full:opaque

33     uint32_t (*writefn)(void *opaque, uint32_t state);
39 static void goldfish_switch_save(QEMUFile* f, void* opaque)
41 struct switch_state* s = opaque;
48 static int goldfish_switch_load(QEMUFile* f, void* opaque, int version_id)
50 struct switch_state* s = opaque;
62 static uint32_t goldfish_switch_read(void *opaque, target_phys_addr_t offset)
64 struct switch_state *s = (struct switch_state *)opaque;
88 static void goldfish_switch_write(void *opaque, target_phys_addr_t offset, uint32_t value)
90 struct switch_state *s = (struct switch_state *)opaque;
135 void goldfish_switch_set_state(void *opaque, uint32_t state)
137 struct switch_state *s = opaque;
144 void *goldfish_switch_add(char *name, uint32_t (*writefn)(void *opaque, uint32_t state), void *writeopaque, int id)