granularity 200 arch/arm/mach-mmp/brownstone.c .granularity = SRAM_GRANULARITY, granularity 205 arch/arm/mach-mmp/brownstone.c .granularity = SRAM_GRANULARITY, granularity 27 arch/arm/mach-mmp/sram.c int granularity; granularity 89 arch/arm/mach-mmp/sram.c info->granularity = pdata->granularity; granularity 91 arch/arm/mach-mmp/sram.c info->gpool = gen_pool_create(ilog2(info->granularity), -1); granularity 94 arch/powerpc/boot/ops.h unsigned long granularity, unsigned long max_allocs); granularity 127 arch/powerpc/boot/simple_alloc.c unsigned long granularity, unsigned long max_allocs) granularity 131 arch/powerpc/boot/simple_alloc.c heap_size = _ALIGN_UP(heap_size, granularity); granularity 132 arch/powerpc/boot/simple_alloc.c alloc_min = granularity; granularity 66 block/blk-merge.c unsigned int max_discard_sectors, granularity; granularity 74 block/blk-merge.c granularity = max(q->limits.discard_granularity >> 9, 1U); granularity 78 block/blk-merge.c max_discard_sectors -= max_discard_sectors % granularity; granularity 94 block/blk-merge.c alignment = (q->limits.discard_alignment >> 9) % granularity; granularity 97 block/blk-merge.c tmp = sector_div(tmp, granularity); granularity 220 drivers/acpi/acpica/amlresrc.h u64 granularity; granularity 232 drivers/acpi/acpica/amlresrc.h AML_RESOURCE_ADDRESS_COMMON u64 granularity; granularity 241 drivers/acpi/acpica/amlresrc.h AML_RESOURCE_ADDRESS_COMMON u32 granularity; granularity 250 drivers/acpi/acpica/amlresrc.h AML_RESOURCE_ADDRESS_COMMON u16 granularity; granularity 41 drivers/acpi/acpica/rsaddr.c {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), granularity 42 drivers/acpi/acpica/rsaddr.c AML_OFFSET(address16.granularity), granularity 79 drivers/acpi/acpica/rsaddr.c {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), granularity 80 drivers/acpi/acpica/rsaddr.c AML_OFFSET(address32.granularity), granularity 117 drivers/acpi/acpica/rsaddr.c {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), granularity 118 drivers/acpi/acpica/rsaddr.c AML_OFFSET(address64.granularity), granularity 162 drivers/acpi/acpica/rsaddr.c ACPI_RS_OFFSET(data.ext_address64.address.granularity), granularity 163 drivers/acpi/acpica/rsaddr.c AML_OFFSET(ext_address64.granularity), granularity 150 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity), granularity 167 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.granularity), granularity 184 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.granularity), granularity 201 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.granularity), granularity 27 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.granularity); \ granularity 209 drivers/acpi/resource.c u8 iodec = attr->granularity == 0xfff ? ACPI_DECODE_10 : ACPI_DECODE_16; granularity 1190 drivers/block/drbd/drbd_nl.c static void blk_queue_discard_granularity(struct request_queue *q, unsigned int granularity) granularity 1192 drivers/block/drbd/drbd_nl.c q->limits.discard_granularity = granularity; granularity 1516 drivers/block/drbd/drbd_receiver.c unsigned int max_discard_sectors, granularity; granularity 1524 drivers/block/drbd/drbd_receiver.c granularity = max(q->limits.discard_granularity >> 9, 1U); granularity 1525 drivers/block/drbd/drbd_receiver.c alignment = (bdev_discard_alignment(bdev) >> 9) % granularity; granularity 1528 drivers/block/drbd/drbd_receiver.c max_discard_sectors -= max_discard_sectors % granularity; granularity 1532 drivers/block/drbd/drbd_receiver.c if (nr_sectors < granularity) granularity 1536 drivers/block/drbd/drbd_receiver.c if (sector_div(tmp, granularity) != alignment) { granularity 1537 drivers/block/drbd/drbd_receiver.c if (nr_sectors < 2*granularity) granularity 1540 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - alignment; granularity 1541 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - sector_div(tmp, granularity); granularity 1561 drivers/block/drbd/drbd_receiver.c nr -= (unsigned int)nr % granularity; granularity 67 drivers/cpufreq/pcc-cpufreq.c u64 granularity; granularity 438 drivers/cpufreq/pcc-cpufreq.c mem_resource->type_specific, mem_resource->granularity, granularity 68 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h static inline double dml_ceil(double a, double granularity) granularity 70 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_ceil2(a, granularity); granularity 73 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h static inline double dml_floor(double a, double granularity) granularity 75 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_floor2(a, granularity); granularity 98 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h static inline double dml_ceil_ex(double x, double granularity) granularity 100 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_ceil2(x, granularity); granularity 103 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h static inline double dml_floor_ex(double x, double granularity) granularity 105 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_floor2(x, granularity); granularity 112 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c return round_down(offset + diff_offs, granularity); \ granularity 125 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c if (diff_offs >= size || granularity == sizeof(_type)) \ granularity 148 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c size_t granularity) granularity 164 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c granularity); granularity 185 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c return round_down(location, granularity); \ granularity 199 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c if (location < 0 || granularity == sizeof(_type)) \ granularity 220 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c size_t granularity) granularity 232 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c granularity); granularity 548 drivers/media/platform/omap3isp/ispresizer.c unsigned int granularity; granularity 563 drivers/media/platform/omap3isp/ispresizer.c granularity = 1024; granularity 567 drivers/media/platform/omap3isp/ispresizer.c granularity = 32; granularity 577 drivers/media/platform/omap3isp/ispresizer.c minimum = DIV_ROUND_UP(cycles_per_request, granularity); granularity 592 drivers/media/platform/omap3isp/ispresizer.c maximum = cycles_per_request / granularity; granularity 566 drivers/pci/pci.h int pci_enable_ptm(struct pci_dev *dev, u8 *granularity); granularity 569 drivers/pci/pci.h static inline int pci_enable_ptm(struct pci_dev *dev, u8 *granularity) granularity 87 drivers/pci/pcie/ptm.c int pci_enable_ptm(struct pci_dev *dev, u8 *granularity) granularity 130 drivers/pci/pcie/ptm.c if (granularity) granularity 131 drivers/pci/pcie/ptm.c *granularity = dev->ptm_granularity; granularity 6675 drivers/scsi/ufs/ufshcd.c u32 granularity, peer_granularity; granularity 6681 drivers/scsi/ufs/ufshcd.c &granularity); granularity 6690 drivers/scsi/ufs/ufshcd.c if ((granularity < PA_GRANULARITY_MIN_VAL) || granularity 6691 drivers/scsi/ufs/ufshcd.c (granularity > PA_GRANULARITY_MAX_VAL)) { granularity 6693 drivers/scsi/ufs/ufshcd.c __func__, granularity); granularity 6713 drivers/scsi/ufs/ufshcd.c pa_tactivate_us = pa_tactivate * gran_to_us_table[granularity - 1]; granularity 337 drivers/vme/bridges/vme_ca91cx42.c unsigned int i, addr = 0, granularity; granularity 383 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x1000; granularity 385 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x10000; granularity 387 drivers/vme/bridges/vme_ca91cx42.c if (vme_base & (granularity - 1)) { granularity 392 drivers/vme/bridges/vme_ca91cx42.c if (vme_bound & (granularity - 1)) { granularity 397 drivers/vme/bridges/vme_ca91cx42.c if (pci_offset & (granularity - 1)) { granularity 443 drivers/vme/bridges/vme_ca91cx42.c unsigned int i, granularity = 0, ctl = 0; granularity 452 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x1000; granularity 454 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x10000; granularity 464 drivers/vme/bridges/vme_ca91cx42.c *size = (unsigned long long)((vme_bound - *vme_base) + granularity); granularity 594 drivers/vme/bridges/vme_ca91cx42.c unsigned int i, granularity = 0; granularity 607 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x1000; granularity 609 drivers/vme/bridges/vme_ca91cx42.c granularity = 0x10000; granularity 612 drivers/vme/bridges/vme_ca91cx42.c if (vme_base & (granularity - 1)) { granularity 618 drivers/vme/bridges/vme_ca91cx42.c if (size & (granularity - 1)) { granularity 158 drivers/vme/bridges/vme_fake.c unsigned int i, granularity = 0; granularity 170 drivers/vme/bridges/vme_fake.c granularity = 0x10; granularity 173 drivers/vme/bridges/vme_fake.c granularity = 0x1000; granularity 176 drivers/vme/bridges/vme_fake.c granularity = 0x10000; granularity 179 drivers/vme/bridges/vme_fake.c granularity = 0x10000; granularity 195 drivers/vme/bridges/vme_fake.c vme_bound = vme_base + size - granularity; granularity 197 drivers/vme/bridges/vme_fake.c if (vme_base & (granularity - 1)) { granularity 201 drivers/vme/bridges/vme_fake.c if (vme_bound & (granularity - 1)) { granularity 475 drivers/vme/bridges/vme_tsi148.c unsigned int i, addr = 0, granularity = 0; granularity 491 drivers/vme/bridges/vme_tsi148.c granularity = 0x10; granularity 495 drivers/vme/bridges/vme_tsi148.c granularity = 0x1000; granularity 499 drivers/vme/bridges/vme_tsi148.c granularity = 0x10000; granularity 503 drivers/vme/bridges/vme_tsi148.c granularity = 0x10000; granularity 519 drivers/vme/bridges/vme_tsi148.c vme_bound = vme_base + size - granularity; granularity 524 drivers/vme/bridges/vme_tsi148.c if (vme_base_low & (granularity - 1)) { granularity 528 drivers/vme/bridges/vme_tsi148.c if (vme_bound_low & (granularity - 1)) { granularity 532 drivers/vme/bridges/vme_tsi148.c if (pci_offset_low & (granularity - 1)) { granularity 620 drivers/vme/bridges/vme_tsi148.c unsigned int i, granularity = 0, ctl = 0; granularity 663 drivers/vme/bridges/vme_tsi148.c granularity = 0x10; granularity 667 drivers/vme/bridges/vme_tsi148.c granularity = 0x1000; granularity 671 drivers/vme/bridges/vme_tsi148.c granularity = 0x10000; granularity 675 drivers/vme/bridges/vme_tsi148.c granularity = 0x10000; granularity 680 drivers/vme/bridges/vme_tsi148.c *size = (unsigned long long)((vme_bound - *vme_base) + granularity); granularity 326 fs/f2fs/f2fs.h unsigned int granularity; /* discard granularity */ granularity 1071 fs/f2fs/segment.c int discard_type, unsigned int granularity) granularity 1077 fs/f2fs/segment.c dpolicy->granularity = granularity; granularity 1091 fs/f2fs/segment.c dpolicy->granularity = 1; granularity 1105 fs/f2fs/segment.c dpolicy->granularity = 1; granularity 1482 fs/f2fs/segment.c if (i + 1 < dpolicy->granularity) granularity 1594 fs/f2fs/segment.c if (dc->len < dpolicy->granularity) granularity 2777 fs/f2fs/segment.c if (dc->len < dpolicy->granularity) granularity 151 fs/xfs/xfs_discard.c unsigned int granularity = q->limits.discard_granularity; granularity 173 fs/xfs/xfs_discard.c range.minlen = max_t(u64, granularity, range.minlen); granularity 280 include/acpi/acrestyp.h u16 granularity; granularity 288 include/acpi/acrestyp.h u32 granularity; granularity 296 include/acpi/acrestyp.h u64 granularity; granularity 1352 include/linux/blkdev.h unsigned int granularity = max(lim->physical_block_size, lim->io_min); granularity 1353 include/linux/blkdev.h unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) granularity 1356 include/linux/blkdev.h return (granularity + lim->alignment_offset - alignment) % granularity; granularity 1382 include/linux/blkdev.h unsigned int alignment, granularity, offset; granularity 1389 include/linux/blkdev.h granularity = lim->discard_granularity >> SECTOR_SHIFT; granularity 1390 include/linux/blkdev.h if (!granularity) granularity 1394 include/linux/blkdev.h offset = sector_div(sector, granularity); granularity 1397 include/linux/blkdev.h offset = (granularity + alignment - offset) % granularity; granularity 24 include/linux/platform_data/dma-mmp_tdma.h int granularity; granularity 45 include/sound/vx_core.h int granularity; /* granularity */ granularity 628 sound/drivers/vx/vx_core.c chip->ibl.granularity); granularity 193 sound/drivers/vx/vx_pcm.c info->granularity = rmh.Stat[3]; granularity 195 sound/drivers/vx/vx_pcm.c info->size, info->max_size, info->min_size, info->granularity); granularity 1185 sound/drivers/vx/vx_pcm.c chip->ibl.size = ((preferred + chip->ibl.granularity - 1) / granularity 1186 sound/drivers/vx/vx_pcm.c chip->ibl.granularity) * chip->ibl.granularity; granularity 39 sound/pci/lola/lola.c static int granularity[SNDRV_CARDS] = { granularity 48 sound/pci/lola/lola.c module_param_array(granularity, int, NULL, 0444); granularity 49 sound/pci/lola/lola.c MODULE_PARM_DESC(granularity, "Granularity value"); granularity 422 sound/pci/lola/lola.c lola_set_granularity(chip, chip->granularity, true); granularity 520 sound/pci/lola/lola.c if (chip->granularity != LOLA_GRANULARITY_MIN) granularity 521 sound/pci/lola/lola.c lola_set_granularity(chip, chip->granularity, true); granularity 584 sound/pci/lola/lola.c chip->granularity = granularity[dev]; granularity 585 sound/pci/lola/lola.c switch (chip->granularity) { granularity 598 sound/pci/lola/lola.c chip->granularity, LOLA_GRANULARITY_MAX); granularity 599 sound/pci/lola/lola.c chip->granularity = LOLA_GRANULARITY_MAX; granularity 359 sound/pci/lola/lola.h unsigned int granularity; granularity 59 sound/pci/lola/lola_clock.c if (!chip->granularity) granularity 81 sound/pci/lola/lola_clock.c if (val == chip->granularity) granularity 93 sound/pci/lola/lola_clock.c chip->granularity = val; granularity 279 sound/pci/lola/lola_clock.c if (!check_gran_clock_compatibility(chip, chip->granularity, freq)) granularity 42 sound/pci/lola/lola_pcm.c if (chip->granularity) { granularity 44 sound/pci/lola/lola_pcm.c tstamp += (wait_banks + 1) * chip->granularity - 1; granularity 45 sound/pci/lola/lola_pcm.c tstamp -= tstamp % chip->granularity; granularity 239 sound/pci/lola/lola_pcm.c chip->granularity); granularity 241 sound/pci/lola/lola_pcm.c chip->granularity); granularity 804 sound/pci/pcxhr/pcxhr.c stream->timer_period_frag += mgr->granularity; granularity 889 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= mgr->granularity; granularity 1278 sound/pci/pcxhr/pcxhr.c mgr->granularity); granularity 1553 sound/pci/pcxhr/pcxhr.c mgr->granularity = PCXHR_GRANULARITY_HR22; granularity 1555 sound/pci/pcxhr/pcxhr.c mgr->granularity = PCXHR_GRANULARITY; granularity 59 sound/pci/pcxhr/pcxhr.h int granularity; granularity 1143 sound/pci/pcxhr/pcxhr_core.c mgr->granularity); granularity 1161 sound/pci/pcxhr/pcxhr_core.c samples_to_add = mgr->granularity; granularity 1171 sound/pci/pcxhr/pcxhr_core.c if (new_sample_count >= mgr->granularity) { granularity 1176 sound/pci/pcxhr/pcxhr_core.c new_sample_count -= mgr->granularity; granularity 1286 sound/pci/pcxhr/pcxhr_core.c if (tmp_diff > 0 && tmp_diff <= (2*mgr->granularity)) { granularity 1302 sound/pci/pcxhr/pcxhr_core.c else if (dsp_time_diff >= (2*mgr->granularity)) granularity 1307 sound/pci/pcxhr/pcxhr_core.c else if (dsp_time_diff % mgr->granularity) granularity 70 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[1] = (1<<23) + mgr->granularity;