Home
last modified time | relevance | path

Searched refs:last_block (Results 1 – 10 of 10) sorted by relevance

/drivers/media/pci/mantis/
Dmantis_dma.c178 mantis->last_block = mantis->busy_block = 0; in mantis_dma_start()
208 while (mantis->last_block != mantis->busy_block) { in mantis_dma_xfer()
210 mantis->last_block, mantis->busy_block); in mantis_dma_xfer()
213 (&mantis->demux, &mantis->buf_cpu[mantis->last_block * MANTIS_BLOCK_BYTES], MANTIS_BLOCK_BYTES); in mantis_dma_xfer()
214 mantis->last_block = (mantis->last_block + 1) % MANTIS_BLOCK_COUNT; in mantis_dma_xfer()
Dmantis_common.h122 u32 last_block; member
/drivers/mtd/
Dinftlmount.c536 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local
582 last_block = BLOCK_NIL; in INFTL_mount()
616 if (last_block != BLOCK_NIL) in INFTL_mount()
617 s->PUtable[last_block] = block; in INFTL_mount()
673 if (last_block != BLOCK_NIL) in INFTL_mount()
674 s->PUtable[last_block] = block; in INFTL_mount()
675 last_block = block; in INFTL_mount()
717 last_block = BLOCK_NIL; in INFTL_mount()
741 s->PUtable[last_block] = BLOCK_NIL; in INFTL_mount()
746 last_block = block; in INFTL_mount()
/drivers/s390/cio/
Dcmf.c119 void *last_block; /* Last changed block copied from hardware block */ member
288 memcpy(cmb_data->last_block, hw_block, cmb_data->size); in cmf_copy_block()
356 memset(cmb_data->last_block, 0, cmb_data->size); in cmf_generic_reset()
489 cmb_data->last_block = kzalloc(sizeof(struct cmb), GFP_KERNEL); in alloc_cmb()
490 if (!cmb_data->last_block) { in alloc_cmb()
527 kfree(cmb_data->last_block); in alloc_cmb()
545 kfree(cmb_data->last_block); in free_cmb()
667 cmb = cmb_data->last_block; in readall_cmb()
773 cmb_data->last_block = kzalloc(sizeof(struct cmbe), GFP_KERNEL); in alloc_cmbe()
774 if (!cmb_data->last_block) in alloc_cmbe()
[all …]
/drivers/spi/
Dspi-mpc52xx-psc.c139 int last_block = 0; in mpc52xx_psc_spi_transfer_rxtx() local
149 last_block = 0; in mpc52xx_psc_spi_transfer_rxtx()
153 last_block = 1; in mpc52xx_psc_spi_transfer_rxtx()
159 if (send_at_once == 1 && last_block) in mpc52xx_psc_spi_transfer_rxtx()
/drivers/media/pci/bt8xx/
Dbt878.h108 volatile u32 last_block; member
Ddvb-bt8xx.c49 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_task()
52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task()
55 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_task()
/drivers/scsi/smartpqi/
Dsmartpqi_init.c2252 u64 last_block; in pqi_raid_bypass_submit_scsi_cmd() local
2336 last_block = first_block + block_cnt - 1; in pqi_raid_bypass_submit_scsi_cmd()
2340 if (last_block >= get_unaligned_le64(&raid_map->volume_blk_cnt) || in pqi_raid_bypass_submit_scsi_cmd()
2341 last_block < first_block) in pqi_raid_bypass_submit_scsi_cmd()
2354 tmpdiv = last_block; in pqi_raid_bypass_submit_scsi_cmd()
2358 last_row_offset = (u32)(last_block - (last_row * blocks_per_row)); in pqi_raid_bypass_submit_scsi_cmd()
2367 last_row = last_block / blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
2369 last_row_offset = (u32)(last_block - (last_row * blocks_per_row)); in pqi_raid_bypass_submit_scsi_cmd()
2451 tmpdiv = last_block; in pqi_raid_bypass_submit_scsi_cmd()
2458 last_group = (last_block % stripesize) / r5or6_blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
[all …]
/drivers/scsi/
Dhpsa.c5115 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local
5210 last_block = first_block + block_cnt - 1; in hpsa_scsi_ioaccel_raid_map()
5217 if (last_block >= le64_to_cpu(map->volume_blk_cnt) || in hpsa_scsi_ioaccel_raid_map()
5218 last_block < first_block) in hpsa_scsi_ioaccel_raid_map()
5229 tmpdiv = last_block; in hpsa_scsi_ioaccel_raid_map()
5233 last_row_offset = (u32) (last_block - (last_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()
5242 last_row = last_block / blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
5244 last_row_offset = (u32) (last_block - (last_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()
5322 tmpdiv = last_block; in hpsa_scsi_ioaccel_raid_map()
5329 last_group = (last_block % stripesize) / r5or6_blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
[all …]
/drivers/gpu/drm/
Ddrm_edid.c1838 u8 last_block; in connector_bad_edid() local
1846 last_block = edid[0x7e]; in connector_bad_edid()
1849 if (last_block < num_blocks) in connector_bad_edid()
1851 drm_edid_block_checksum(edid + last_block * EDID_LENGTH); in connector_bad_edid()