/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml_inline_defs.h | 67 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()
|
/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 | 222 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
|
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),
|
D | rsxface.c | 27 ACPI_COPY_FIELD(out, in, address.granularity); \
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 113 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()
|
/drivers/pci/pcie/ |
D | ptm.c | 168 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()
|
/drivers/staging/vme_user/ |
D | vme_tsi148.c | 471 unsigned int i, addr = 0, granularity = 0; in tsi148_slave_set() local 487 granularity = 0x10; in tsi148_slave_set() 491 granularity = 0x1000; in tsi148_slave_set() 495 granularity = 0x10000; in tsi148_slave_set() 499 granularity = 0x10000; in tsi148_slave_set() 514 vme_bound = vme_base + size - granularity; in tsi148_slave_set() 519 if (vme_base_low & (granularity - 1)) { in tsi148_slave_set() 523 if (vme_bound_low & (granularity - 1)) { in tsi148_slave_set() 527 if (pci_offset_low & (granularity - 1)) { in tsi148_slave_set() 614 unsigned int i, granularity = 0, ctl = 0; in tsi148_slave_get() local [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()
|
/drivers/gpu/drm/i915/ |
D | Kconfig.profile | 16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 56 int "Preempt timeout (ms, jiffy granularity)" 106 int "Scheduling quantum for userspace batches (ms, jiffy granularity)"
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 292 uint8_t *granularity, uint32_t *flags) in svm_range_set_default_attributes() argument 296 *granularity = 9; in svm_range_set_default_attributes() 341 &prange->granularity, &prange->flags); in svm_range_new() 762 prange->granularity = min_t(uint32_t, attrs[i].value, 0x3F); in svm_range_apply_attrs() 814 if (prange->granularity != attrs[i].value) in svm_range_is_same_attrs() 990 new->granularity = old->granularity; in svm_range_split_adjust() 1120 size = 1UL << prange->granularity; in svm_range_split_by_granularity() 1898 new->granularity = old->granularity; in svm_range_clone() 3516 uint8_t granularity = 0xff; in svm_range_get_attr() local 3582 &granularity, &flags_and); in svm_range_get_attr() [all …]
|
D | kfd_svm.h | 125 uint8_t granularity; member
|
/drivers/ufs/host/ |
D | ufshcd-pci.c | 187 u32 granularity, peer_granularity; in ufs_intel_lkf_apply_dev_quirks() local 191 ret = ufshcd_dme_get(hba, UIC_ARG_MIB(PA_GRANULARITY), &granularity); in ufs_intel_lkf_apply_dev_quirks() 207 if (granularity == peer_granularity) { in ufs_intel_lkf_apply_dev_quirks()
|
/drivers/media/platform/ti/omap3isp/ |
D | ispresizer.c | 551 unsigned int granularity; in resizer_adjust_bandwidth() local 566 granularity = 1024; in resizer_adjust_bandwidth() 570 granularity = 32; in resizer_adjust_bandwidth() 580 minimum = DIV_ROUND_UP(cycles_per_request, granularity); in resizer_adjust_bandwidth() 595 maximum = cycles_per_request / granularity; in resizer_adjust_bandwidth()
|
/drivers/cpufreq/ |
D | pcc-cpufreq.c | 67 u64 granularity; member 438 mem_resource->type_specific, mem_resource->granularity, in pcc_cpufreq_probe()
|
/drivers/net/ipa/ |
D | ipa_main.c | 396 u32 granularity = ipa_aggr_granularity_val(IPA_AGGR_GRANULARITY); in ipa_hardware_config_counter() local 402 val = ipa_reg_encode(reg, AGGR_GRANULARITY, granularity); in ipa_hardware_config_counter()
|
/drivers/block/ |
D | loop.c | 760 u32 granularity, max_discard_sectors; in loop_config_discard() local 773 granularity = bdev_discard_granularity(I_BDEV(inode)) ?: in loop_config_discard() 782 granularity = 0; in loop_config_discard() 789 granularity = sbuf.f_bsize; in loop_config_discard() 795 q->limits.discard_granularity = granularity; in loop_config_discard()
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 1515 unsigned int max_discard_sectors, granularity; in drbd_issue_discard_or_zero_out() local 1523 granularity = max(bdev_discard_granularity(bdev) >> 9, 1U); in drbd_issue_discard_or_zero_out() 1524 alignment = (bdev_discard_alignment(bdev) >> 9) % granularity; in drbd_issue_discard_or_zero_out() 1527 max_discard_sectors -= max_discard_sectors % granularity; in drbd_issue_discard_or_zero_out() 1531 if (nr_sectors < granularity) in drbd_issue_discard_or_zero_out() 1535 if (sector_div(tmp, granularity) != alignment) { in drbd_issue_discard_or_zero_out() 1536 if (nr_sectors < 2*granularity) in drbd_issue_discard_or_zero_out() 1539 tmp = start + granularity - alignment; in drbd_issue_discard_or_zero_out() 1540 tmp = start + granularity - sector_div(tmp, granularity); in drbd_issue_discard_or_zero_out() 1561 nr -= (unsigned int)nr % granularity; in drbd_issue_discard_or_zero_out()
|
D | drbd_nl.c | 1192 static void blk_queue_discard_granularity(struct request_queue *q, unsigned int granularity) in blk_queue_discard_granularity() argument 1194 q->limits.discard_granularity = granularity; in blk_queue_discard_granularity()
|
/drivers/cxl/ |
D | acpi.c | 108 rc = cxl_to_granularity(cfmws->granularity, &ig); in cxl_parse_cfmws()
|
/drivers/acpi/ |
D | resource.c | 210 u8 iodec = attr->granularity == 0xfff ? ACPI_DECODE_10 : ACPI_DECODE_16; in acpi_decode_space()
|
/drivers/ufs/core/ |
D | ufshcd.c | 8434 u32 granularity, peer_granularity; in ufshcd_quirk_tune_host_pa_tactivate() local 8440 &granularity); in ufshcd_quirk_tune_host_pa_tactivate() 8449 if ((granularity < PA_GRANULARITY_MIN_VAL) || in ufshcd_quirk_tune_host_pa_tactivate() 8450 (granularity > PA_GRANULARITY_MAX_VAL)) { in ufshcd_quirk_tune_host_pa_tactivate() 8452 __func__, granularity); in ufshcd_quirk_tune_host_pa_tactivate() 8472 pa_tactivate_us = pa_tactivate * gran_to_us_table[granularity - 1]; in ufshcd_quirk_tune_host_pa_tactivate()
|
/drivers/platform/x86/ |
D | Kconfig | 1009 granularity.
|