Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 60) sorted by relevance

123

/illumos-kvm-cmd/
H A Dsimpletrace.c29 uint64_t event; member
58 .event = HEADER_EVENT_ID, in write_header()
145 if (!trace_list[event].state) { in trace()
149 rec->event = event; in trace()
163 void trace0(TraceEventID event) in trace0() argument
165 trace(event, 0, 0, 0, 0, 0, 0); in trace0()
170 trace(event, x1, 0, 0, 0, 0, 0); in trace1()
175 trace(event, x1, x2, 0, 0, 0, 0); in trace2()
180 trace(event, x1, x2, x3, 0, 0, 0); in trace3()
185 trace(event, x1, x2, x3, x4, 0, 0); in trace4()
[all …]
H A Dsimpletrace.h25 void trace0(TraceEventID event);
26 void trace1(TraceEventID event, uint64_t x1);
27 void trace2(TraceEventID event, uint64_t x1, uint64_t x2);
28 void trace3(TraceEventID event, uint64_t x1, uint64_t x2, uint64_t x3);
29 void trace4(TraceEventID event, uint64_t x1, uint64_t x2, uint64_t x3, uint64_t x4);
30 void trace5(TraceEventID event, uint64_t x1, uint64_t x2, uint64_t x3, uint64_t x4, uint64_t x5);
31 void trace6(TraceEventID event, uint64_t x1, uint64_t x2, uint64_t x3, uint64_t x4, uint64_t x5, ui…
H A Dqemu-char.h52 typedef void IOEventHandler(void *opaque, int event); typedef
64 void (*chr_send_event)(struct CharDriverState *chr, int event);
85 void qemu_chr_send_event(CharDriverState *s, int event);
H A Dlinux-aio.c159 struct io_event event; in laio_cancel() local
170 ret = io_cancel(laiocb->ctx->ctx, &laiocb->iocb, &event); in laio_cancel()
H A Dqemu-tool.c72 void monitor_protocol_event(MonitorEvent event, QObject *data) in monitor_protocol_event() argument
/illumos-kvm-cmd/hw/
H A Dxenfb.c267 event.pos.abs_x = abs_x; in xenfb_send_position()
268 event.pos.abs_y = abs_y; in xenfb_send_position()
270 event.pos.abs_z = z; in xenfb_send_position()
273 event.pos.rel_z = z; in xenfb_send_position()
676 memset(&event, 0, sizeof(event)); in xenfb_send_refresh_period()
800 uint8_t type = event->type; in xenfb_handle_events()
838 event->resize.width, in xenfb_handle_events()
839 event->resize.height, in xenfb_handle_events()
840 event->resize.depth, in xenfb_handle_events()
842 event->resize.offset, in xenfb_handle_events()
[all …]
H A Dmusicpal.c1372 uint32_t event = 0; in musicpal_key_event() local
1387 event = MP_KEY_WHEEL_NAV; in musicpal_key_event()
1395 event = MP_KEY_WHEEL_VOL; in musicpal_key_event()
1405 event = MP_KEY_BTN_VOLUME; in musicpal_key_event()
1413 event = MP_KEY_BTN_MENU; in musicpal_key_event()
1418 event = 0; in musicpal_key_event()
1422 if (event) { in musicpal_key_event()
1426 if (event & (1 << i)) { in musicpal_key_event()
1432 if (event & (1 << i)) { in musicpal_key_event()
1437 s->pressed_keys &= ~event; in musicpal_key_event()
[all …]
H A Dds1338.c21 static void ds1338_event(i2c_slave *i2c, enum i2c_event event) in ds1338_event() argument
25 switch (event) { in ds1338_event()
122 .event = ds1338_event,
H A Di2c.c101 slave->info->event(slave, recv ? I2C_START_RECV : I2C_START_SEND); in i2c_start_transfer()
112 dev->info->event(dev, I2C_FINISH); in i2c_end_transfer()
144 dev->info->event(dev, I2C_NACK); in i2c_nack()
H A Dmax7310.c126 static void max7310_event(i2c_slave *i2c, enum i2c_event event) in max7310_event() argument
131 switch (event) { in max7310_event()
210 .event = max7310_event,
H A Dvirtio-serial-bus.c212 static size_t send_control_event(VirtIOSerialPort *port, uint16_t event, in send_control_event() argument
217 stw_p(&cpkt.event, event); in send_control_event()
317 cpkt.event = lduw_p(&gcpkt->event); in handle_control_message()
321 if (!port && cpkt.event != VIRTIO_CONSOLE_DEVICE_READY) in handle_control_message()
324 switch(cpkt.event) { in handle_control_message()
358 stw_p(&cpkt.event, VIRTIO_CONSOLE_PORT_NAME); in handle_control_message()
H A Di2c.h23 typedef void (*i2c_event_cb)(i2c_slave *s, enum i2c_event event);
32 i2c_event_cb event; member
H A Dtmp105.c166 static void tmp105_event(i2c_slave *i2c, enum i2c_event event) in tmp105_event() argument
170 if (event == I2C_START_RECV) in tmp105_event()
234 .event = tmp105_event,
H A Dtosa.c157 static void tosa_dac_event(i2c_slave *i2c, enum i2c_event event) in tosa_dac_event() argument
161 switch (event) { in tosa_dac_event()
259 .event = tosa_dac_event,
H A Dgrlib_apbuart.c100 static void grlib_apbuart_event(void *opaque, int event) in grlib_apbuart_event() argument
102 trace_grlib_apbuart_event(event); in grlib_apbuart_event()
H A Dssd0303.c176 static void ssd0303_event(i2c_slave *i2c, enum i2c_event event) in ssd0303_event() argument
179 switch (event) { in ssd0303_event()
302 .event = ssd0303_event,
H A Dvirtio-console.c46 static void chr_event(void *opaque, int event) in chr_event() argument
50 switch (event) { in chr_event()
H A Dlm832x.c381 static void lm_i2c_event(i2c_slave *i2c, enum i2c_event event) in lm_i2c_event() argument
385 switch (event) { in lm_i2c_event()
389 s->i2c_dir = (event == I2C_START_SEND); in lm_i2c_event()
502 .event = lm_i2c_event,
H A Dsmbus.c68 static void smbus_i2c_event(i2c_slave *s, enum i2c_event event) in smbus_i2c_event() argument
72 switch (event) { in smbus_i2c_event()
213 info->i2c.event = smbus_i2c_event; in smbus_register_device()
H A Dmcf_uart.c243 static void mcf_uart_event(void *opaque, int event) in mcf_uart_event() argument
247 switch (event) { in mcf_uart_event()
/illumos-kvm-cmd/audio/
H A Dwinwaveaudio.c31 HANDLE event; member
44 HANDLE event; member
305 if (wave->event) { in winwave_fini_out()
310 wave->event = NULL; in winwave_fini_out()
337 if (!wave->event) { in winwave_ctl_out()
343 if (wave->event) { in winwave_ctl_out()
372 if (wave->event) { in winwave_ctl_out()
545 if (wave->event) { in winwave_fini_in()
550 wave->event = NULL; in winwave_fini_in()
623 if (wave->event) { in winwave_ctl_in()
[all …]
/illumos-kvm-cmd/block/
H A Dblkdebug.c68 BlkDebugEvent event; member
183 static int get_event_by_name(const char *name, BlkDebugEvent *event) in get_event_by_name() argument
189 *event = i; in get_event_by_name()
207 BlkDebugEvent event; in add_rule() local
212 if (!event_name || get_event_by_name(event_name, &event) < 0) { in add_rule()
219 .event = event, in add_rule()
240 QLIST_INSERT_HEAD(&s->rules[event], rule, next); in add_rule()
436 static void blkdebug_debug_event(BlockDriverState *bs, BlkDebugEvent event) in blkdebug_debug_event() argument
442 assert((int)event >= 0 && event < BLKDBG_EVENT_MAX); in blkdebug_debug_event()
444 QLIST_FOREACH(rule, &s->rules[event], next) { in blkdebug_debug_event()
/illumos-kvm-cmd/scripts/
H A Dsimpletrace.py81 event = self.events[rec[0]]
82 fields = [event[0], '%0.3f' % (delta_ns / 1000.0)]
83 for i in xrange(1, len(event)):
84 fields.append('%s=0x%x' % (event[i], rec[i + 1]))
/illumos-kvm-cmd/ui/
H A Dcocoa.m52 kbd_mouse_event((int)[event deltaX], (int)[event deltaY], 0, buttons); \
54 [NSApp sendEvent:event]; \
272 - (void) handleEvent:(NSEvent *)event;
479 - (void) handleEvent:(NSEvent *)event
487 switch ([event type]) {
524 … if (([event modifierFlags] & NSControlKeyMask) && ([event modifierFlags] & NSAlternateKeyMask)) {
658 [NSApp sendEvent:event];
931 // Start the main event loop
981 NSEvent *event;
986 if (event != nil) {
[all …]
H A Dspice-core.c210 static void channel_event(int event, SpiceChannelEventInfo *info) in channel_event() argument
226 if (event == SPICE_CHANNEL_EVENT_INITIALIZED) { in channel_event()
231 if (event == SPICE_CHANNEL_EVENT_DISCONNECTED) { in channel_event()
237 monitor_protocol_event(qevent[event], data); in channel_event()

Completed in 103 milliseconds

123