/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml_inline_defs.h | 68 static inline double dml_ceil(double a, double granularity) in dml_ceil() argument 70 return (double) dcn_bw_ceil2(a, granularity); in dml_ceil() 73 static inline double dml_floor(double a, double granularity) in dml_floor() argument 75 return (double) dcn_bw_floor2(a, granularity); in dml_floor() 98 static inline double dml_ceil_ex(double x, double granularity) in dml_ceil_ex() argument 100 return (double) dcn_bw_ceil2(x, granularity); in dml_ceil_ex() 103 static inline double dml_floor_ex(double x, double granularity) in dml_floor_ex() argument 105 return (double) dcn_bw_floor2(x, granularity); in dml_floor_ex()
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | rsaddr.c | 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), 42 AML_OFFSET(address16.granularity), 79 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), 80 AML_OFFSET(address32.granularity), 117 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), 118 AML_OFFSET(address64.granularity), 162 ACPI_RS_OFFSET(data.ext_address64.address.granularity), 163 AML_OFFSET(ext_address64.granularity),
|
D | amlresrc.h | 220 u64 granularity; member 232 AML_RESOURCE_ADDRESS_COMMON u64 granularity; member 241 AML_RESOURCE_ADDRESS_COMMON u32 granularity; member 250 AML_RESOURCE_ADDRESS_COMMON u16 granularity; member
|
D | rsdumpinfo.c | 150 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity), 167 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.granularity), 184 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.granularity), 201 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.granularity),
|
/Linux-v5.4/arch/arm/mach-mmp/ |
D | sram.c | 27 int granularity; member 89 info->granularity = pdata->granularity; in sram_probe() 91 info->gpool = gen_pool_create(ilog2(info->granularity), -1); in sram_probe()
|
D | brownstone.c | 200 .granularity = SRAM_GRANULARITY, 205 .granularity = SRAM_GRANULARITY,
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 112 return round_down(offset + diff_offs, granularity); \ 125 if (diff_offs >= size || granularity == sizeof(_type)) \ 148 size_t granularity) in vmw_find_first_diff() argument 164 granularity); in vmw_find_first_diff() 185 return round_down(location, granularity); \ 199 if (location < 0 || granularity == sizeof(_type)) \ 220 size_t granularity) in vmw_find_last_diff() argument 232 granularity); in vmw_find_last_diff()
|
/Linux-v5.4/drivers/pci/pcie/ |
D | ptm.c | 87 int pci_enable_ptm(struct pci_dev *dev, u8 *granularity) in pci_enable_ptm() argument 130 if (granularity) in pci_enable_ptm() 131 *granularity = dev->ptm_granularity; in pci_enable_ptm()
|
/Linux-v5.4/arch/powerpc/boot/ |
D | simple_alloc.c | 127 unsigned long granularity, unsigned long max_allocs) in simple_alloc_init() argument 131 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init() 132 alloc_min = granularity; in simple_alloc_init()
|
/Linux-v5.4/sound/pci/lola/ |
D | lola.c | 39 static int granularity[SNDRV_CARDS] = { variable 48 module_param_array(granularity, int, NULL, 0444); 49 MODULE_PARM_DESC(granularity, "Granularity value"); 422 lola_set_granularity(chip, chip->granularity, true); in lola_reset_setups() 520 if (chip->granularity != LOLA_GRANULARITY_MIN) in lola_parse_tree() 521 lola_set_granularity(chip, chip->granularity, true); in lola_parse_tree() 584 chip->granularity = granularity[dev]; in lola_create() 585 switch (chip->granularity) { in lola_create() 598 chip->granularity, LOLA_GRANULARITY_MAX); in lola_create() 599 chip->granularity = LOLA_GRANULARITY_MAX; in lola_create()
|
D | lola_clock.c | 59 if (!chip->granularity) in check_gran_clock_compatibility() 81 if (val == chip->granularity) in lola_set_granularity() 93 chip->granularity = val; in lola_set_granularity() 279 if (!check_gran_clock_compatibility(chip, chip->granularity, freq)) in lola_set_clock()
|
D | lola_pcm.c | 42 if (chip->granularity) { in lola_get_tstamp() 44 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp() 45 tstamp -= tstamp % chip->granularity; in lola_get_tstamp() 239 chip->granularity); in lola_pcm_open() 241 chip->granularity); in lola_pcm_open()
|
/Linux-v5.4/drivers/vme/bridges/ |
D | vme_ca91cx42.c | 337 unsigned int i, addr = 0, granularity; in ca91cx42_slave_set() local 383 granularity = 0x1000; in ca91cx42_slave_set() 385 granularity = 0x10000; in ca91cx42_slave_set() 387 if (vme_base & (granularity - 1)) { in ca91cx42_slave_set() 392 if (vme_bound & (granularity - 1)) { in ca91cx42_slave_set() 397 if (pci_offset & (granularity - 1)) { in ca91cx42_slave_set() 443 unsigned int i, granularity = 0, ctl = 0; in ca91cx42_slave_get() local 452 granularity = 0x1000; in ca91cx42_slave_get() 454 granularity = 0x10000; in ca91cx42_slave_get() 464 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in ca91cx42_slave_get() [all …]
|
D | vme_fake.c | 158 unsigned int i, granularity = 0; in fake_slave_set() local 170 granularity = 0x10; in fake_slave_set() 173 granularity = 0x1000; in fake_slave_set() 176 granularity = 0x10000; in fake_slave_set() 179 granularity = 0x10000; in fake_slave_set() 195 vme_bound = vme_base + size - granularity; in fake_slave_set() 197 if (vme_base & (granularity - 1)) { in fake_slave_set() 201 if (vme_bound & (granularity - 1)) { in fake_slave_set()
|
D | vme_tsi148.c | 475 unsigned int i, addr = 0, granularity = 0; in tsi148_slave_set() local 491 granularity = 0x10; in tsi148_slave_set() 495 granularity = 0x1000; in tsi148_slave_set() 499 granularity = 0x10000; in tsi148_slave_set() 503 granularity = 0x10000; in tsi148_slave_set() 519 vme_bound = vme_base + size - granularity; in tsi148_slave_set() 524 if (vme_base_low & (granularity - 1)) { in tsi148_slave_set() 528 if (vme_bound_low & (granularity - 1)) { in tsi148_slave_set() 532 if (pci_offset_low & (granularity - 1)) { in tsi148_slave_set() 620 unsigned int i, granularity = 0, ctl = 0; in tsi148_slave_get() local [all …]
|
/Linux-v5.4/include/linux/ |
D | blkdev.h | 1352 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset() local 1353 unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) in queue_limit_alignment_offset() 1356 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset() 1382 unsigned int alignment, granularity, offset; in queue_limit_discard_alignment() local 1389 granularity = lim->discard_granularity >> SECTOR_SHIFT; in queue_limit_discard_alignment() 1390 if (!granularity) in queue_limit_discard_alignment() 1394 offset = sector_div(sector, granularity); in queue_limit_discard_alignment() 1397 offset = (granularity + alignment - offset) % granularity; in queue_limit_discard_alignment()
|
/Linux-v5.4/include/linux/platform_data/ |
D | dma-mmp_tdma.h | 24 int granularity; member
|
/Linux-v5.4/fs/xfs/ |
D | xfs_discard.c | 151 unsigned int granularity = q->limits.discard_granularity; in xfs_ioc_trim() local 173 range.minlen = max_t(u64, granularity, range.minlen); in xfs_ioc_trim()
|
/Linux-v5.4/block/ |
D | blk-merge.c | 66 unsigned int max_discard_sectors, granularity; in blk_bio_discard_split() local 74 granularity = max(q->limits.discard_granularity >> 9, 1U); in blk_bio_discard_split() 78 max_discard_sectors -= max_discard_sectors % granularity; in blk_bio_discard_split() 94 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split() 97 tmp = sector_div(tmp, granularity); in blk_bio_discard_split()
|
/Linux-v5.4/include/acpi/ |
D | acrestyp.h | 280 u16 granularity; member 288 u32 granularity; member 296 u64 granularity; member
|
/Linux-v5.4/sound/pci/pcxhr/ |
D | pcxhr_core.c | 1143 mgr->granularity); in pcxhr_stream_read_position() 1161 samples_to_add = mgr->granularity; in pcxhr_update_timer_pos() 1171 if (new_sample_count >= mgr->granularity) { in pcxhr_update_timer_pos() 1176 new_sample_count -= mgr->granularity; in pcxhr_update_timer_pos() 1286 if (tmp_diff > 0 && tmp_diff <= (2*mgr->granularity)) { in pcxhr_threaded_irq() 1302 else if (dsp_time_diff >= (2*mgr->granularity)) in pcxhr_threaded_irq() 1307 else if (dsp_time_diff % mgr->granularity) in pcxhr_threaded_irq()
|
/Linux-v5.4/Documentation/driver-api/ |
D | lightnvm-pblk.rst | 7 - Map logical addresses onto physical addresses (4KB granularity) in a
|
/Linux-v5.4/Documentation/ABI/obsolete/ |
D | sysfs-class-dax | 11 1/ Guarantees fault granularity with respect to a given
|
/Linux-v5.4/Documentation/scheduler/ |
D | sched-nice-design.rst | 52 right minimal granularity - and this translates to 5% CPU utilization. 60 coupling to timeslices and granularity it was not really viable. 92 (and granularity was made a separate concept from nice levels) and thus
|
/Linux-v5.4/net/dcb/ |
D | Kconfig | 20 works at the granularity of the 802.1p priority instead of the
|