Home
last modified time | relevance | path

Searched refs:leftover (Results 1 – 9 of 9) sorted by relevance

/drivers/crypto/
Dpadlock-sha.c91 unsigned int leftover; in padlock_sha1_finup() local
103 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; in padlock_sha1_finup()
104 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
114 memcpy(state.buffer + leftover, in, count); in padlock_sha1_finup()
116 count += leftover; in padlock_sha1_finup()
157 unsigned int leftover; in padlock_sha256_finup() local
169 leftover = ((state.count - 1) & (SHA256_BLOCK_SIZE - 1)) + 1; in padlock_sha256_finup()
170 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup()
180 memcpy(state.buf + leftover, in, count); in padlock_sha256_finup()
182 count += leftover; in padlock_sha256_finup()
/drivers/staging/comedi/drivers/
Dni_at_a2150.c235 unsigned int max_points, num_points, residue, leftover; in a2150_interrupt() local
287 leftover = 0; in a2150_interrupt()
289 leftover = devpriv->dma_transfer_size / sample_size; in a2150_interrupt()
291 leftover = devpriv->count - max_points; in a2150_interrupt()
292 if (leftover > max_points) in a2150_interrupt()
293 leftover = max_points; in a2150_interrupt()
300 leftover = 0; in a2150_interrupt()
317 if (leftover) { in a2150_interrupt()
319 set_dma_count(devpriv->dma, leftover * sample_size); in a2150_interrupt()
Dni_labpc.c1548 unsigned int max_points, num_points, residue, leftover; in labpc_drain_dma() local
1571 leftover = 0; in labpc_drain_dma()
1573 leftover = devpriv->dma_transfer_size / sample_size; in labpc_drain_dma()
1575 leftover = devpriv->count - num_points; in labpc_drain_dma()
1576 if (leftover > max_points) in labpc_drain_dma()
1577 leftover = max_points; in labpc_drain_dma()
1589 set_dma_count(devpriv->dma_chan, leftover * sample_size); in labpc_drain_dma()
/drivers/mmc/host/
Dmmc_spi.c268 u8 leftover = 0; in mmc_spi_response_get() local
332 leftover = rotator; in mmc_spi_response_get()
379 rotator = leftover << 8; in mmc_spi_response_get()
389 rotator = leftover << 8; in mmc_spi_response_get()
790 u8 leftover; in mmc_spi_readblock() local
815 leftover = status << 1; in mmc_spi_readblock()
847 *cp++ = leftover | (temp >> bitshift); in mmc_spi_readblock()
848 leftover = temp << bitright; in mmc_spi_readblock()
852 *cp++ = leftover | (temp >> bitshift); in mmc_spi_readblock()
853 leftover = temp << bitright; in mmc_spi_readblock()
[all …]
/drivers/scsi/aic94xx/
Daic94xx_tmf.c346 int leftover; in asd_clear_nexus() local
358 leftover = wait_for_completion_timeout(&completion, in asd_clear_nexus()
363 if (leftover < 1) in asd_clear_nexus()
413 int leftover; in asd_abort_task() local
524 leftover = in asd_abort_task()
528 if (leftover < 1) in asd_abort_task()
/drivers/pcmcia/
Dds.c324 static void pcmcia_card_remove(struct pcmcia_socket *s, struct pcmcia_device *leftover) in pcmcia_card_remove() argument
329 dev_dbg(leftover ? &leftover->dev : &s->dev, in pcmcia_card_remove()
331 leftover ? leftover->devname : ""); in pcmcia_card_remove()
334 if (!leftover) in pcmcia_card_remove()
342 if (p_dev == leftover) in pcmcia_card_remove()
/drivers/mtd/maps/
Dvmu-flash.c360 int index = 0, retval, partition, leftover, numblocks; in vmu_flash_read() local
384 leftover = card->blocklen - vblock->ofs; in vmu_flash_read()
394 vblock->ofs, leftover); in vmu_flash_read()
395 index += leftover; in vmu_flash_read()
/drivers/net/wimax/i2400m/
Dfw.c1268 size_t leftover, offset, header_len, size; in i2400m_fw_check() local
1270 leftover = top - itr; in i2400m_fw_check()
1272 if (leftover <= sizeof(*bcf_hdr)) { in i2400m_fw_check()
1275 i2400m->fw_name, leftover, offset); in i2400m_fw_check()
/drivers/hwmon/
Dibmaem.c842 signed long leftover; in aem_show_power() local
850 leftover = schedule_timeout_interruptible( in aem_show_power()
853 if (leftover) { in aem_show_power()