Searched refs:slop (Results 1 – 4 of 4) sorted by relevance
/drivers/ata/ |
D | pata_legacy.c | 309 int slop = buflen & 3; in pdc_data_xfer_vlb() local 313 if (ata_id_has_dword_io(dev->id) && (slop == 0 || slop == 3) in pdc_data_xfer_vlb() 330 if (unlikely(slop)) { in pdc_data_xfer_vlb() 335 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb() 337 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb() 340 buflen += 4 - slop; in pdc_data_xfer_vlb() 710 int slop = buflen & 3; in vlb32_data_xfer() local 712 if (ata_id_has_dword_io(adev->id) && (slop == 0 || slop == 3) in vlb32_data_xfer() 719 if (unlikely(slop)) { in vlb32_data_xfer() 723 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer() [all …]
|
D | libata-sff.c | 619 int slop = buflen & 3; in ata_sff_data_xfer32() local 631 if (unlikely(slop)) { in ata_sff_data_xfer32() 635 buf += buflen - slop; in ata_sff_data_xfer32() 642 if (slop < 3) in ata_sff_data_xfer32() 646 memcpy(buf, pad, slop); in ata_sff_data_xfer32() 648 memcpy(pad, buf, slop); in ata_sff_data_xfer32() 649 if (slop < 3) in ata_sff_data_xfer32()
|
/drivers/acpi/ |
D | osl.c | 706 phys_addr_t slop, clen; in acpi_initrd_override() local 712 slop = dest_addr & ~PAGE_MASK; in acpi_initrd_override() 714 if (clen > MAP_CHUNK_SIZE - slop) in acpi_initrd_override() 715 clen = MAP_CHUNK_SIZE - slop; in acpi_initrd_override() 717 clen + slop); in acpi_initrd_override() 718 memcpy(dest_p + slop, src_p, clen); in acpi_initrd_override() 719 early_iounmap(dest_p, clen + slop); in acpi_initrd_override()
|
/drivers/tty/serial/ |
D | msm_serial.c | 1264 static u32 slop; in msm_poll_get_char_dm() local 1266 unsigned char *sp = (unsigned char *)&slop; in msm_poll_get_char_dm() 1270 c = sp[sizeof(slop) - count]; in msm_poll_get_char_dm() 1282 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm() 1294 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm() 1296 count = sizeof(slop) - 1; in msm_poll_get_char_dm()
|