Home
last modified time | relevance | path

Searched refs:slop (Results 1 – 5 of 5) sorted by relevance

/drivers/ata/
Dpata_legacy.c298 int slop = buflen & 3; in pdc_data_xfer_vlb() local
301 if (ata_id_has_dword_io(dev->id) && (slop == 0 || slop == 3) in pdc_data_xfer_vlb()
318 if (unlikely(slop)) { in pdc_data_xfer_vlb()
323 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb()
325 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb()
328 buflen += 4 - slop; in pdc_data_xfer_vlb()
700 int slop = buflen & 3; in vlb32_data_xfer() local
702 if (ata_id_has_dword_io(adev->id) && (slop == 0 || slop == 3) in vlb32_data_xfer()
709 if (unlikely(slop)) { in vlb32_data_xfer()
713 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer()
[all …]
Dlibata-sff.c600 int slop = buflen & 3; in ata_sff_data_xfer32() local
612 if (unlikely(slop)) { in ata_sff_data_xfer32()
616 buf += buflen - slop; in ata_sff_data_xfer32()
623 if (slop < 3) in ata_sff_data_xfer32()
627 memcpy(buf, pad, slop); in ata_sff_data_xfer32()
629 memcpy(pad, buf, slop); in ata_sff_data_xfer32()
630 if (slop < 3) in ata_sff_data_xfer32()
/drivers/acpi/
Dtables.c605 phys_addr_t slop, clen; in acpi_table_upgrade() local
611 slop = dest_addr & ~PAGE_MASK; in acpi_table_upgrade()
613 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()
614 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()
616 clen + slop); in acpi_table_upgrade()
617 memcpy(dest_p + slop, src_p, clen); in acpi_table_upgrade()
618 early_memunmap(dest_p, clen + slop); in acpi_table_upgrade()
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_14nm.c340 u32 slop = 0; in pll_14nm_kvco_slop() local
343 slop = 600; in pll_14nm_kvco_slop()
345 slop = 400; in pll_14nm_kvco_slop()
347 slop = 280; in pll_14nm_kvco_slop()
349 return slop; in pll_14nm_kvco_slop()
/drivers/tty/serial/
Dmsm_serial.c1444 static u32 slop; in msm_poll_get_char_dm() local
1446 unsigned char *sp = (unsigned char *)&slop; in msm_poll_get_char_dm()
1450 c = sp[sizeof(slop) - count]; in msm_poll_get_char_dm()
1462 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm()
1474 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm()
1476 count = sizeof(slop) - 1; in msm_poll_get_char_dm()