Searched refs:toread (Results 1 - 7 of 7) sorted by relevance
| /xsrc/external/mit/libpciaccess/dist/src/ |
| H A D | hurd_pci.c | 380 size_t toread = 1 << (ffs(0x4 + (offset & 0x03)) - 1); local in function:pci_device_hurd_read 381 if (toread > size) 382 toread = size; 385 &toread); 389 offset += toread; 390 data = (char*)data + toread; 391 size -= toread; 392 *bytes_read += toread; 498 size_t toread; local in function:enum_devices 563 toread [all...] |
| H A D | x86_pci.c | 949 int toread = 1 << (ffs(0x4 + (offset & 0x03)) - 1); local in function:pci_device_x86_read_conf1 950 if (toread > size) 951 toread = size; 953 err = pci_system_x86_conf1_read(dev->bus, dev->dev, dev->func, offset, data, toread); 957 offset += toread; 958 data = (char*)data + toread; 959 size -= toread; 960 *bytes_read += toread; 973 int toread = 1 << (ffs(0x4 + (offset & 0x03)) - 1); local in function:pci_device_x86_read_conf2 974 if (toread > siz [all...] |
| H A D | freebsd_pci.c | 202 int toread = (size < 4) ? size : 4; local in function:pci_device_freebsd_read 205 if (toread == 3) 206 toread = 2; 209 io.pi_width = toread; 214 memcpy(data, &io.pi_data, toread ); 216 offset += toread; 217 data = (char *)data + toread; 218 size -= toread; 219 *bytes_read += toread;
|
| H A D | netbsd_pci.c | 215 size_t toread = MIN(size, 4 - (offset & 0x3)); local in function:pci_device_netbsd_read 227 memcpy(data, &rval, toread); 229 offset += toread; 230 data = (char *)data + toread; 231 size -= toread; 232 *bytes_read += toread;
|
| H A D | openbsd_pci.c | 264 int toread = MIN(size, 4 - (offset & 0x3)); local in function:pci_device_openbsd_read 275 memcpy(data, &io.pi_data, toread); 277 offset += toread; 278 data = (char *)data + toread; 279 size -= toread; 280 *bytes_read += toread;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| H A D | sunKbd.c | 850 int toread; local in function:sunChangeKbdTranslation 887 if (ioctl (fd, FIONREAD, &toread) != -1 && toread > 0) { 888 while (toread) { 889 tmp = toread; 890 if (toread > sizeof (junk)) 893 toread -= tmp;
|
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| H A D | sunKbd.c | 1005 int toread; local in function:sunChangeKbdTranslation 1042 if (ioctl (fd, FIONREAD, &toread) != -1 && toread > 0) { 1043 while (toread) { 1044 tmp = toread; 1045 if (toread > sizeof (junk)) 1048 toread -= tmp;
|
Completed in 9 milliseconds