Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 25 of 132) sorted by relevance

123456

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/
A Ddml_inline_defs.h67 static inline double dml_ceil(double a, double granularity) in dml_ceil() argument
69 return (double) dcn_bw_ceil2(a, granularity); in dml_ceil()
72 static inline double dml_floor(double a, double granularity) in dml_floor() argument
74 return (double) dcn_bw_floor2(a, granularity); in dml_floor()
115 static inline double dml_ceil_ex(double x, double granularity) in dml_ceil_ex() argument
117 return (double) dcn_bw_ceil2(x, granularity); in dml_ceil_ex()
120 static inline double dml_floor_ex(double x, double granularity) in dml_floor_ex() argument
122 return (double) dcn_bw_floor2(x, granularity); in dml_floor_ex()
/linux-6.3-rc2/drivers/acpi/acpica/
A Drsaddr.c41 {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),
A Damlresrc.h222 u64 granularity; member
234 AML_RESOURCE_ADDRESS_COMMON u64 granularity; member
243 AML_RESOURCE_ADDRESS_COMMON u32 granularity; member
252 AML_RESOURCE_ADDRESS_COMMON u16 granularity; member
A Drsdumpinfo.c150 {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-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_blit.c113 return round_down(offset + diff_offs, granularity); \
126 if (diff_offs >= size || granularity == sizeof(_type)) \
149 size_t granularity) in vmw_find_first_diff() argument
165 granularity); in vmw_find_first_diff()
186 return round_down(location, granularity); \
200 if (location < 0 || granularity == sizeof(_type)) \
221 size_t granularity) in vmw_find_last_diff() argument
233 granularity); in vmw_find_last_diff()
/linux-6.3-rc2/block/
A Dblk-settings.c493 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset() local
494 unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) in queue_limit_alignment_offset()
497 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()
503 unsigned int alignment, granularity, offset; in queue_limit_discard_alignment() local
510 granularity = lim->discard_granularity >> SECTOR_SHIFT; in queue_limit_discard_alignment()
511 if (!granularity) in queue_limit_discard_alignment()
515 offset = sector_div(sector, granularity); in queue_limit_discard_alignment()
518 offset = (granularity + alignment - offset) % granularity; in queue_limit_discard_alignment()
A Dblk-merge.c112 unsigned int max_discard_sectors, granularity; in bio_split_discard() local
119 granularity = max(lim->discard_granularity >> 9, 1U); in bio_split_discard()
123 max_discard_sectors -= max_discard_sectors % granularity; in bio_split_discard()
140 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
141 tmp = sector_div(tmp, granularity); in bio_split_discard()
/linux-6.3-rc2/sound/pci/lola/
A Dlola.c39 static int granularity[SNDRV_CARDS] = { variable
48 module_param_array(granularity, int, NULL, 0444);
49 MODULE_PARM_DESC(granularity, "Granularity value");
419 lola_set_granularity(chip, chip->granularity, true); in lola_reset_setups()
517 if (chip->granularity != LOLA_GRANULARITY_MIN) in lola_parse_tree()
518 lola_set_granularity(chip, chip->granularity, true); in lola_parse_tree()
556 chip->granularity = granularity[dev]; in lola_create()
557 switch (chip->granularity) { in lola_create()
570 chip->granularity, LOLA_GRANULARITY_MAX); in lola_create()
571 chip->granularity = LOLA_GRANULARITY_MAX; in lola_create()
A Dlola_clock.c59 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()
A Dlola_pcm.c42 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-6.3-rc2/arch/powerpc/boot/
A Dsimple_alloc.c125 unsigned long granularity, unsigned long max_allocs) in simple_alloc_init() argument
129 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
130 alloc_min = granularity; in simple_alloc_init()
/linux-6.3-rc2/drivers/cxl/
A Dcxl.h77 static inline int eig_to_granularity(u16 eig, unsigned int *granularity) in eig_to_granularity() argument
81 *granularity = CXL_DECODER_MIN_GRANULARITY << eig; in eig_to_granularity()
102 static inline int granularity_to_eig(int granularity, u16 *eig) in granularity_to_eig() argument
104 if (granularity > SZ_16K || granularity < CXL_DECODER_MIN_GRANULARITY || in granularity_to_eig()
105 !is_power_of_2(granularity)) in granularity_to_eig()
107 *eig = ilog2(granularity) - 8; in granularity_to_eig()
/linux-6.3-rc2/drivers/pci/pcie/
A Dptm.c168 int pci_enable_ptm(struct pci_dev *dev, u8 *granularity) in pci_enable_ptm() argument
179 if (granularity) in pci_enable_ptm()
180 *granularity = dev->ptm_granularity; in pci_enable_ptm()
/linux-6.3-rc2/fs/cachefiles/
A Dio.c198 loff_t start, size_t len, size_t granularity, in cachefiles_query_occupancy() argument
213 granularity = max_t(size_t, object->volume->cache->bsize, granularity); in cachefiles_query_occupancy()
226 if (round_up(off, granularity) >= start + len) in cachefiles_query_occupancy()
238 off = round_up(off, granularity); in cachefiles_query_occupancy()
239 off2 = round_down(off2, granularity); in cachefiles_query_occupancy()
/linux-6.3-rc2/drivers/thunderbolt/
A Dusb4.c2539 switch (granularity) { in usb4_dp_port_set_granularity()
2570 u32 val, granularity; in usb4_dp_port_set_estimated_bw() local
2579 granularity = ret; in usb4_dp_port_set_estimated_bw()
2603 u32 val, granularity; in usb4_dp_port_allocated_bw() local
2612 granularity = ret; in usb4_dp_port_allocated_bw()
2622 return val * granularity; in usb4_dp_port_allocated_bw()
2697 u32 val, granularity; in usb4_dp_port_allocate_bw() local
2706 granularity = ret; in usb4_dp_port_allocate_bw()
2714 val |= (bw / granularity) << DP_STATUS_ALLOCATED_BW_SHIFT; in usb4_dp_port_allocate_bw()
2740 u32 val, granularity; in usb4_dp_port_requested_bw() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A DKconfig.profile16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
56 int "Preempt timeout (ms, jiffy granularity)"
74 int "Preempt timeout for compute engines (ms, jiffy granularity)"
124 int "Scheduling quantum for userspace batches (ms, jiffy granularity)"
/linux-6.3-rc2/fs/xfs/
A Dxfs_discard.c151 unsigned int granularity = in xfs_ioc_trim() local
174 range.minlen = max_t(u64, granularity, range.minlen); in xfs_ioc_trim()
/linux-6.3-rc2/tools/testing/cxl/test/
A Dcxl.c205 .granularity = 4,
220 .granularity = 4,
235 .granularity = 4,
250 .granularity = 4,
265 .granularity = 4,
280 .granularity = 4,
297 .granularity = 4,
313 .granularity = 0,
329 .granularity = 0,
789 eig_to_granularity(window->granularity, &cxld->interleave_granularity); in mock_init_hdm_decoder()
/linux-6.3-rc2/drivers/staging/vme_user/
A Dvme_fake.c158 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()
A Dvme_tsi148.c486 granularity = 0x10; in tsi148_slave_set()
490 granularity = 0x1000; in tsi148_slave_set()
494 granularity = 0x10000; in tsi148_slave_set()
498 granularity = 0x10000; in tsi148_slave_set()
518 if (vme_base_low & (granularity - 1)) { in tsi148_slave_set()
522 if (vme_bound_low & (granularity - 1)) { in tsi148_slave_set()
526 if (pci_offset_low & (granularity - 1)) { in tsi148_slave_set()
656 granularity = 0x10; in tsi148_slave_get()
660 granularity = 0x1000; in tsi148_slave_get()
664 granularity = 0x10000; in tsi148_slave_get()
[all …]
/linux-6.3-rc2/sound/pci/pcxhr/
A Dpcxhr_core.c1143 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-6.3-rc2/include/acpi/
A Dacrestyp.h280 u16 granularity; member
288 u32 granularity; member
296 u64 granularity; member
/linux-6.3-rc2/Documentation/hwmon/
A Dsl28cpld.rst27 granularity.
/linux-6.3-rc2/Documentation/scheduler/
A Dsched-nice-design.rst52 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-6.3-rc2/net/dcb/
A DKconfig20 works at the granularity of the 802.1p priority instead of the

Completed in 67 milliseconds

123456