Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 248) sorted by relevance

12345678910

/illumos-kvm-cmd/hw/
H A Dpxa2xx_template.h116 data = bswap32(data); in glue()
144 data = bswap32(data); in glue()
180 data = bswap32(data); in glue()
207 data[0] = bswap32(data[0]); in glue()
208 data[1] = bswap32(data[1]); in glue()
209 data[2] = bswap32(data[2]); in glue()
250 data = bswap32(data); in glue()
281 data[0] = bswap32(data[0]); in glue()
340 data = bswap32(data); in glue()
361 data = bswap32(data); in glue()
[all …]
H A Dvmmouse.c183 data[0] = env->regs[R_EAX]; data[1] = env->regs[R_EBX]; in vmmouse_get_data()
184 data[2] = env->regs[R_ECX]; data[3] = env->regs[R_EDX]; in vmmouse_get_data()
185 data[4] = env->regs[R_ESI]; data[5] = env->regs[R_EDI]; in vmmouse_get_data()
188 data[0], data[1], data[2], data[3], data[4], data[5]); in vmmouse_get_data()
196 data[0], data[1], data[2], data[3], data[4], data[5]); in vmmouse_set_data()
198 env->regs[R_EAX] = data[0]; env->regs[R_EBX] = data[1]; in vmmouse_set_data()
199 env->regs[R_ECX] = data[2]; env->regs[R_EDX] = data[3]; in vmmouse_set_data()
200 env->regs[R_ESI] = data[4]; env->regs[R_EDI] = data[5]; in vmmouse_set_data()
206 uint32_t data[6]; in vmmouse_ioport_read() local
237 vmmouse_data(s, data, data[1]); in vmmouse_ioport_read()
[all …]
H A Dpl110_template.h121 uint32_t data; in glue() local
149 uint32_t data; in glue() local
177 uint32_t data; in glue() local
205 uint32_t data; in glue() local
228 uint32_t data; in glue() local
233 data = bswap32(data); in glue()
244 data >>= 5; in glue()
246 data >>= 6; in glue()
248 data >>= 5; in glue()
251 data >>= 5; in glue()
[all …]
H A Dds1338.c65 s->ptr = data; in ds1338_send()
69 s->nvram[s->ptr - 8] = data; in ds1338_send()
70 if (data < 8) { in ds1338_send()
72 switch(data) { in ds1338_send()
75 s->now.tm_sec = from_bcd(data & 0x7f); in ds1338_send()
81 if (data & 0x40) { in ds1338_send()
82 if (data & 0x20) { in ds1338_send()
83 data = from_bcd(data & 0x4f) + 11; in ds1338_send()
85 data = from_bcd(data & 0x1f) - 1; in ds1338_send()
88 data = from_bcd(data); in ds1338_send()
[all …]
H A Dgusemu_hal.c216 if (data & 0x80) in gus_write()
264 GUSregb(SB2xCd) = (GUSbyte) data; in gus_write()
267 GUSregb(SB2xE) = (GUSbyte) data; in gus_write()
270 GUSregb(RegCtrl_2xF) = (GUSbyte) data; in gus_write()
276 GUSregb(FunkSelReg3x3) = (GUSbyte) data; in gus_write()
366 if (data & 0x01) in gus_write()
383 if (!(data & 0x20)) in gus_write()
385 if (!(data & 0x02)) in gus_write()
422 if (!(data & 0x04)) in gus_write()
427 if (!(data & 0x08)) in gus_write()
[all …]
H A Dusb-bt.c39 uint8_t *data; member
46 uint8_t data[4096]; member
275 buf = fifo->data + off; in usb_bt_fifo_enqueue()
285 fifo->fifo[off].data = memcpy(buf, data, len); in usb_bt_fifo_enqueue()
298 memcpy(p->data, fifo->fifo[fifo->start].data, len); in usb_bt_fifo_dequeue()
325 memcpy(fifo->data + fifo->len, data, len); in usb_bt_fifo_out_enqueue()
332 send(s->hci, data, len); in usb_bt_fifo_out_enqueue()
334 memcpy(fifo->data, data, len); in usb_bt_fifo_out_enqueue()
401 data[0] = 0x00; in usb_bt_handle_control()
402 data[1] = 0x00; in usb_bt_handle_control()
[all …]
H A Dblizzard.c160 if (s->mx[1] < s->data.x + s->data.dx) in blizzard_window()
171 src = s->data.data; in blizzard_window()
189 s->data.len = s->bpp * s->data.dx * s->data.dy; in blizzard_transfer_setup()
190 s->data.pitch = s->data.dx; in blizzard_transfer_setup()
191 if (s->data.len > s->data.buflen) { in blizzard_transfer_setup()
192 s->data.buf = qemu_realloc(s->data.buf, s->data.len); in blizzard_transfer_setup()
193 s->data.buflen = s->data.len; in blizzard_transfer_setup()
195 s->data.ptr = s->data.buf; in blizzard_transfer_setup()
196 s->data.data = s->data.buf; in blizzard_transfer_setup()
870 s->data.data = buf; in s1d13745_write_block()
[all …]
H A Dsmbus.c228 uint8_t data; in smbus_receive_byte() local
231 data = i2c_recv(bus); in smbus_receive_byte()
234 return data; in smbus_receive_byte()
240 i2c_send(bus, data); in smbus_send_byte()
246 uint8_t data; in smbus_read_byte() local
250 data = i2c_recv(bus); in smbus_read_byte()
253 return data; in smbus_read_byte()
260 i2c_send(bus, data); in smbus_write_byte()
266 uint16_t data; in smbus_read_word() local
270 data = i2c_recv(bus); in smbus_read_word()
[all …]
H A Dsyborg_rtc.c39 int64_t data; member
51 return (uint32_t)s->data; in syborg_rtc_read()
53 return (uint32_t)(s->data >> 32); in syborg_rtc_read()
71 s->offset = s->data - now; in syborg_rtc_write()
73 s->data = now + s->offset; in syborg_rtc_write()
75 s->data /= 1000; in syborg_rtc_write()
81 s->data = (s->data & ~(uint64_t)0xffffffffu) | value; in syborg_rtc_write()
84 s->data = (s->data & 0xffffffffu) | ((uint64_t)value << 32); in syborg_rtc_write()
110 qemu_put_be64(f, s->data); in syborg_rtc_save()
121 s->data = qemu_get_be64(f); in syborg_rtc_load()
H A Ddp8393x.c194 uint16_t data[8]; in do_load_cam() local
205 (uint8_t *)data, size, 0); in do_load_cam()
224 (uint8_t *)data, size, 0); in do_load_cam()
236 uint16_t data[8]; in do_read_rra() local
244 (uint8_t *)data, size, 0); in do_read_rra()
341 uint16_t data[12]; in do_transmit_packets() local
356 (uint8_t *)data, size, 0); in do_transmit_packets()
425 (uint8_t *)data, size, 1); in do_transmit_packets()
731 uint16_t data[10]; in nic_receive() local
756 if (data[0 * width] & 0x1) { in nic_receive()
[all …]
H A Ddma.c92 d->regs[ichan].page = data; in write_page()
105 d->regs[ichan].pageh = data; in write_pageh()
200 if ((data != 0) && (data & CMD_NOT_SUPPORTED)) { in write_cont()
204 d->command = data; in write_cont()
208 ichan = data & 3; in write_cont()
209 if (data & 4) { in write_cont()
220 if (data & 4) in write_cont()
229 ichan = data & 3; in write_cont()
233 op = (data >> 2) & 3; in write_cont()
263 d->mask = data; in write_cont()
[all …]
H A Dbt-l2cap.c269 memcpy(params->data, data, len); in l2cap_configuration_request()
294 memcpy(params->data, data, len); in l2cap_configuration_response()
361 memcpy(params->data, data, len); in l2cap_info_response()
507 data = memcpy(rsp, data, len); in l2cap_channel_config()
509 opt = (void *) data; in l2cap_channel_config()
758 uint8_t data[4]; in l2cap_info() local
770 data[len ++] = 0x03; in l2cap_info()
771 data[len ++] = 0x00; in l2cap_info()
772 data[len ++] = 0x00; in l2cap_info()
962 data += clen; in l2cap_cframe_in()
[all …]
H A Dbt-sdp.c500 pdu_id = *data ++; in bt_l2cap_sdp_sdu_in()
501 transaction_id = (data[0] << 8) | data[1]; in bt_l2cap_sdp_sdu_in()
502 plen = (data[2] << 8) | data[3]; in bt_l2cap_sdp_sdu_in()
503 data += 4; in bt_l2cap_sdp_sdu_in()
589 } data; member
636 data[len ++] = element->type; in sdp_attr_write()
672 memcpy(data + 2, element->value.str, data[1] = len); in sdp_attr_write()
681 data[1] = len - 2; in sdp_attr_write()
701 uint8_t *data; in sdp_service_record_build() local
715 data = qemu_malloc(len); in sdp_service_record_build()
[all …]
H A Dmac_nvram.c44 uint8_t *data; member
56 ret = s->data[addr]; in macio_nvram_read()
70 s->data[addr] = val; in macio_nvram_write()
80 s->data[addr] = value; in macio_nvram_writeb()
90 value = s->data[addr]; in macio_nvram_readb()
112 qemu_put_buffer(f, s->data, s->size); in macio_nvram_save()
122 qemu_get_buffer(f, s->data, s->size); in macio_nvram_load()
137 s->data = qemu_mallocz(size); in macio_nvram_init()
169 part_header = (struct OpenBIOS_nvpart_v1 *)nvr->data; in pmac_format_nvram_partition()
175 end = OpenBIOS_set_var(nvr->data, end, prom_envs[i]); in pmac_format_nvram_partition()
[all …]
H A Dssd0303.c66 static int ssd0303_send(i2c_slave *i2c, uint8_t data) in ssd0303_send() argument
72 DPRINTF("byte 0x%02x\n", data); in ssd0303_send()
73 if (data == 0x80) in ssd0303_send()
75 else if (data == 0x40) in ssd0303_send()
78 BADF("Unexpected byte 0x%x\n", data); in ssd0303_send()
81 DPRINTF("data 0x%02x\n", data); in ssd0303_send()
93 DPRINTF("cmd 0x%02x\n", data); in ssd0303_send()
95 switch (data) { in ssd0303_send()
139 s->row = data & 7; in ssd0303_send()
164 BADF("Unknown command: 0x%x\n", data); in ssd0303_send()
[all …]
H A Dsd.c98 uint8_t data[512]; member
508 sd->data[1] = 0x01; in sd_function_switch()
510 sd->data[3] = 0x01; in sd_function_switch()
512 sd->data[5] = 0x01; in sd_function_switch()
514 sd->data[7] = 0x01; in sd_function_switch()
516 sd->data[9] = 0x01; in sd_function_switch()
518 sd->data[11] = 0x43; in sd_function_switch()
520 sd->data[13] = 0x03; in sd_function_switch()
529 sd->data[65] = crc >> 8; in sd_function_switch()
530 sd->data[66] = crc & 0xff; in sd_function_switch()
[all …]
H A Dvga_template.h167 data = ((uint32_t *)s)[0]; in glue()
168 data &= plane_mask; in glue()
169 v = expand2[GET_PLANE(data, 0)]; in glue()
176 v = expand2[GET_PLANE(data, 1)]; in glue()
209 data = ((uint32_t *)s)[0]; in glue()
210 data &= plane_mask; in glue()
211 v = expand2[GET_PLANE(data, 0)]; in glue()
242 data = ((uint32_t *)s)[0]; in glue()
243 data &= plane_mask; in glue()
274 data = ((uint32_t *)s)[0]; in glue()
[all …]
H A Dwdt_i6300esb.c218 d->int_type = (data & ESB_WDT_INTTYPE); in i6300esb_config_write()
221 d->locked = (data & ESB_WDT_LOCK) != 0; in i6300esb_config_write()
222 d->free_run = (data & ESB_WDT_FUNC) != 0; in i6300esb_config_write()
238 uint32_t data; in i6300esb_config_read() local
243 data = in i6300esb_config_read()
247 return data; in i6300esb_config_read()
249 data = in i6300esb_config_read()
253 return data; in i6300esb_config_read()
268 uint32_t data = 0; in i6300esb_mem_readw() local
278 data = d->previous_reboot_flag ? 0x1200 : 0; in i6300esb_mem_readw()
[all …]
H A Dtestdev.c11 static void test_device_serial_write(void *opaque, uint32_t addr, uint32_t data) in test_device_serial_write() argument
14 uint8_t buf[1] = { data }; in test_device_serial_write()
21 static void test_device_exit(void *opaque, uint32_t addr, uint32_t data) in test_device_exit() argument
23 exit(data); in test_device_exit()
33 static void test_device_irq_line(void *opaque, uint32_t addr, uint32_t data) in test_device_irq_line() argument
35 qemu_set_irq(ioapic_irq_hack[addr - 0x2000], !!data); in test_device_irq_line()
40 static void test_device_ioport_write(void *opaque, uint32_t addr, uint32_t data) in test_device_ioport_write() argument
42 test_device_ioport_data = data; in test_device_ioport_write()
50 static void test_device_flush_page(void *opaque, uint32_t addr, uint32_t data) in test_device_flush_page() argument
53 void *a = cpu_physical_memory_map(data & ~0xffful, &len, 0); in test_device_flush_page()
/illumos-kvm-cmd/kvm/vgabios/
H A Dbiossums.c197 sum = sum + *( data + i ); in chksum_bios_calc_value()
206 return( *( data + offset ) ); in chksum_bios_get_value()
212 *( data + offset ) = value; in chksum_bios_set_value()
227 sum = sum + *( data + offset + i ); in chksum_pmid_calc_value()
241 if( *( data + offset + 0 ) == 'P' && \ in chksum_pmid_get_offset()
242 *( data + offset + 1 ) == 'M' && \ in chksum_pmid_get_offset()
243 *( data + offset + 2 ) == 'I' && \ in chksum_pmid_get_offset()
244 *( data + offset + 3 ) == 'D' ) { in chksum_pmid_get_offset()
273 if( *( data + offset + 0 ) == 'P' && \ in chksum_pcir_get_offset()
274 *( data + offset + 1 ) == 'C' && \ in chksum_pcir_get_offset()
[all …]
/illumos-kvm-cmd/
H A Dcursor.c51 c->data[pixel] = ctab[idx]; in cursor_parse_xpm()
60 uint32_t *data = c->data; in cursor_print_ascii_art() local
65 for (x = 0; x < c->width; x++, data++) { in cursor_print_ascii_art()
132 uint32_t *data = c->data; in cursor_set_mono() local
139 for (x = 0; x < c->width; x++, data++) { in cursor_set_mono()
141 *data = 0x00000000; in cursor_set_mono()
143 *data = 0x00000000; in cursor_set_mono()
145 *data = 0xff000000 | foreground; in cursor_set_mono()
147 *data = 0xff000000 | background; in cursor_set_mono()
161 uint32_t *data = c->data; in cursor_get_mono_image() local
[all …]
H A Dioport.c93 address, data); in default_ioport_writeb()
99 uint32_t data; in default_ioport_readw() local
100 data = ioport_read(0, address); in default_ioport_readw()
103 return data; in default_ioport_readw()
122 address, data); in default_ioport_writel()
180 uint64_t data; in ioport_readb_thunk() local
183 return data; in ioport_readb_thunk()
189 uint64_t data; in ioport_readw_thunk() local
192 return data; in ioport_readw_thunk()
198 uint64_t data; in ioport_readl_thunk() local
[all …]
H A Dnet-checksum.c56 void net_checksum_calculate(uint8_t *data, int length) in net_checksum_calculate() argument
61 if ((data[14] & 0xf0) != 0x40) in net_checksum_calculate()
63 hlen = (data[14] & 0x0f) * 4; in net_checksum_calculate()
64 plen = (data[16] << 8 | data[17]) - hlen; in net_checksum_calculate()
65 proto = data[23]; in net_checksum_calculate()
81 data[14+hlen+csum_offset] = 0; in net_checksum_calculate()
82 data[14+hlen+csum_offset+1] = 0; in net_checksum_calculate()
83 csum = net_checksum_tcpudp(plen, proto, data+14+12, data+14+hlen); in net_checksum_calculate()
84 data[14+hlen+csum_offset] = csum >> 8; in net_checksum_calculate()
85 data[14+hlen+csum_offset+1] = csum & 0xff; in net_checksum_calculate()
/illumos-kvm-cmd/net/
H A Dchecksum.c55 void net_checksum_calculate(uint8_t *data, int length) in net_checksum_calculate() argument
60 if ((data[14] & 0xf0) != 0x40) in net_checksum_calculate()
62 hlen = (data[14] & 0x0f) * 4; in net_checksum_calculate()
63 plen = (data[16] << 8 | data[17]) - hlen; in net_checksum_calculate()
64 proto = data[23]; in net_checksum_calculate()
80 data[14+hlen+csum_offset] = 0; in net_checksum_calculate()
81 data[14+hlen+csum_offset+1] = 0; in net_checksum_calculate()
82 csum = net_checksum_tcpudp(plen, proto, data+14+12, data+14+hlen); in net_checksum_calculate()
83 data[14+hlen+csum_offset] = csum >> 8; in net_checksum_calculate()
84 data[14+hlen+csum_offset+1] = csum & 0xff; in net_checksum_calculate()
/illumos-kvm-cmd/ui/
H A Dvnc.c261 QObject *data; in vnc_qmp_event() local
1373 return ((data[offset] << 24) | (data[offset + 1] << 16) | in read_u32()
1374 (data[offset + 2] << 8) | data[offset + 3]); in read_u32()
1915 read_u8(data, 6), read_u8(data, 7), in protocol_client_msg()
1916 read_u16(data, 8), read_u16(data, 10), in protocol_client_msg()
1917 read_u16(data, 12), read_u8(data, 14), in protocol_client_msg()
1918 read_u8(data, 15), read_u8(data, 16)); in protocol_client_msg()
1943 read_u8(data, 1), read_u16(data, 2), read_u16(data, 4), in protocol_client_msg()
1950 key_event(vs, read_u8(data, 1), read_u32(data, 4)); in protocol_client_msg()
1956 pointer_event(vs, read_u8(data, 1), read_u16(data, 2), read_u16(data, 4)); in protocol_client_msg()
[all …]

Completed in 104 milliseconds

12345678910