Searched refs:towrite (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/libdrm/dist/
H A Dgen_table_fourcc.py33 towrite = sys.argv[2] variable
53 with open(towrite, "w") as f:
/xsrc/external/mit/libpciaccess/dist/src/
H A Dx86_pci.c997 int towrite = 4; local in function:pci_device_x86_write_conf1
998 if (towrite > size)
999 towrite = size;
1000 if (towrite > 4 - (offset & 0x3))
1001 towrite = 4 - (offset & 0x3);
1003 err = pci_system_x86_conf1_write(dev->bus, dev->dev, dev->func, offset, data, towrite);
1007 offset += towrite;
1008 data = (const char*)data + towrite;
1009 size -= towrite;
1010 *bytes_written += towrite;
1023 int towrite = 4; local in function:pci_device_x86_write_conf2
[all...]
H A Dhurd_pci.c411 size_t towrite = 4; local in function:pci_device_hurd_write
412 if (towrite > size)
413 towrite = size;
414 if (towrite > 4 - (offset & 0x3))
415 towrite = 4 - (offset & 0x3);
418 &towrite);
422 offset += towrite;
423 data = (const char*)data + towrite;
424 size -= towrite;
425 *bytes_written += towrite;
[all...]
H A Dfreebsd_pci.c240 int towrite = (size < 4 ? size : 4); local in function:pci_device_freebsd_write
243 if (towrite == 3)
244 towrite = 2;
247 io.pi_width = towrite;
248 memcpy( &io.pi_data, data, towrite );
253 offset += towrite;
254 data = (char *)data + towrite;
255 size -= towrite;
256 *bytes_written += towrite;

Completed in 7 milliseconds