Searched refs:slop (Results 1 – 5 of 5) sorted by relevance
/drivers/ata/ |
D | pata_legacy.c | 297 int slop = buflen & 3; in pdc_data_xfer_vlb() local 300 if (ata_id_has_dword_io(dev->id) && (slop == 0 || slop == 3) in pdc_data_xfer_vlb() 317 if (unlikely(slop)) { in pdc_data_xfer_vlb() 321 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb() 323 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb() 326 buflen += 4 - slop; in pdc_data_xfer_vlb() 698 int slop = buflen & 3; in vlb32_data_xfer() local 700 if (ata_id_has_dword_io(adev->id) && (slop == 0 || slop == 3) in vlb32_data_xfer() 707 if (unlikely(slop)) { in vlb32_data_xfer() 710 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer() [all …]
|
D | libata-sff.c | 604 int slop = buflen & 3; in ata_sff_data_xfer32() local 616 if (unlikely(slop)) { in ata_sff_data_xfer32() 620 buf += buflen - slop; in ata_sff_data_xfer32() 627 if (slop < 3) in ata_sff_data_xfer32() 631 memcpy(buf, pad, slop); in ata_sff_data_xfer32() 633 memcpy(pad, buf, slop); in ata_sff_data_xfer32() 634 if (slop < 3) in ata_sff_data_xfer32()
|
/drivers/acpi/ |
D | tables.c | 616 phys_addr_t slop, clen; in acpi_table_upgrade() local 622 slop = dest_addr & ~PAGE_MASK; in acpi_table_upgrade() 624 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade() 625 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade() 627 clen + slop); in acpi_table_upgrade() 628 memcpy(dest_p + slop, src_p, clen); in acpi_table_upgrade() 629 early_memunmap(dest_p, clen + slop); in acpi_table_upgrade()
|
/drivers/gpu/drm/msm/dsi/pll/ |
D | dsi_pll_14nm.c | 340 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/ |
D | msm_serial.c | 1427 static u32 slop; in msm_poll_get_char_dm() local 1429 unsigned char *sp = (unsigned char *)&slop; in msm_poll_get_char_dm() 1433 c = sp[sizeof(slop) - count]; in msm_poll_get_char_dm() 1445 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm() 1457 slop = msm_read(port, UARTDM_RF); in msm_poll_get_char_dm() 1459 count = sizeof(slop) - 1; in msm_poll_get_char_dm()
|