Lines Matching refs:data

251 #define GET_PLANE(data, p) (((data) >> ((p) * 8)) & 0xff)  argument
308 uint64_t data = ~0ul; in stdvga_mem_read() local
313 data = stdvga_mem_readb(addr); in stdvga_mem_read()
317 data = stdvga_mem_readb(addr); in stdvga_mem_read()
318 data |= stdvga_mem_readb(addr + 1) << 8; in stdvga_mem_read()
322 data = stdvga_mem_readb(addr); in stdvga_mem_read()
323 data |= stdvga_mem_readb(addr + 1) << 8; in stdvga_mem_read()
324 data |= stdvga_mem_readb(addr + 2) << 16; in stdvga_mem_read()
325 data |= stdvga_mem_readb(addr + 3) << 24; in stdvga_mem_read()
329 data = (uint64_t)(stdvga_mem_readb(addr)); in stdvga_mem_read()
330 data |= (uint64_t)(stdvga_mem_readb(addr + 1)) << 8; in stdvga_mem_read()
331 data |= (uint64_t)(stdvga_mem_readb(addr + 2)) << 16; in stdvga_mem_read()
332 data |= (uint64_t)(stdvga_mem_readb(addr + 3)) << 24; in stdvga_mem_read()
333 data |= (uint64_t)(stdvga_mem_readb(addr + 4)) << 32; in stdvga_mem_read()
334 data |= (uint64_t)(stdvga_mem_readb(addr + 5)) << 40; in stdvga_mem_read()
335 data |= (uint64_t)(stdvga_mem_readb(addr + 6)) << 48; in stdvga_mem_read()
336 data |= (uint64_t)(stdvga_mem_readb(addr + 7)) << 56; in stdvga_mem_read()
344 *p_data = data; in stdvga_mem_read()
458 uint64_t data) in stdvga_mem_write() argument
467 .data = data, in stdvga_mem_write()
478 stdvga_mem_writeb(addr, (data >> 0) & 0xff); in stdvga_mem_write()
482 stdvga_mem_writeb(addr+0, (data >> 0) & 0xff); in stdvga_mem_write()
483 stdvga_mem_writeb(addr+1, (data >> 8) & 0xff); in stdvga_mem_write()
487 stdvga_mem_writeb(addr+0, (data >> 0) & 0xff); in stdvga_mem_write()
488 stdvga_mem_writeb(addr+1, (data >> 8) & 0xff); in stdvga_mem_write()
489 stdvga_mem_writeb(addr+2, (data >> 16) & 0xff); in stdvga_mem_write()
490 stdvga_mem_writeb(addr+3, (data >> 24) & 0xff); in stdvga_mem_write()
494 stdvga_mem_writeb(addr+0, (data >> 0) & 0xff); in stdvga_mem_write()
495 stdvga_mem_writeb(addr+1, (data >> 8) & 0xff); in stdvga_mem_write()
496 stdvga_mem_writeb(addr+2, (data >> 16) & 0xff); in stdvga_mem_write()
497 stdvga_mem_writeb(addr+3, (data >> 24) & 0xff); in stdvga_mem_write()
498 stdvga_mem_writeb(addr+4, (data >> 32) & 0xff); in stdvga_mem_write()
499 stdvga_mem_writeb(addr+5, (data >> 40) & 0xff); in stdvga_mem_write()
500 stdvga_mem_writeb(addr+6, (data >> 48) & 0xff); in stdvga_mem_write()
501 stdvga_mem_writeb(addr+7, (data >> 56) & 0xff); in stdvga_mem_write()