Searched refs:n_blocks (Results 1 – 6 of 6) sorted by relevance
| /linux/include/linux/ |
| H A D | dm-bufio.h | 90 sector_t block, unsigned int n_blocks); 93 sector_t block, unsigned int n_blocks, 154 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 528 __u32 n_blocks, w_alignment, h_alignment, hdr_alignment; in drm_gem_afbc_min_size() local 571 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size() 573 afbc_fb->afbc_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); in drm_gem_afbc_min_size() 574 afbc_fb->afbc_size += n_blocks * ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8, in drm_gem_afbc_min_size()
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | de2104x.c | 265 u8 n_blocks; member 1837 if (il->n_blocks == 0) in de21041_get_srom_info() 1840 (sizeof(struct de_srom_info_leaf) + (sizeof(struct de_srom_media_block) * il->n_blocks))) in de21041_get_srom_info() 1867 for (i = 0; i < il->n_blocks; i++) { in de21041_get_srom_info()
|
| /linux/drivers/usb/host/ |
| H A D | oxu210hp-hcd.c | 885 int n_blocks; /* minium blocks needed to hold len */ in oxu_buf_alloc() local 898 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc() 901 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 1515 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks() argument 1524 if (n_blocks > req_blocks) in ata_check_nblocks()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | drxk_hard.c | 1279 u16 n_blocks; in download_microcode() local 1294 n_blocks = (p_src[0] << 8) | p_src[1]; in download_microcode() 1298 for (i = 0; i < n_blocks; i += 1) { in download_microcode()
|