| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | dml_inline_defs.h | 67 static inline double dml_ceil(double a, double granularity) in dml_ceil() argument 69 if (granularity == 0) in dml_ceil() 71 return (double) dcn_bw_ceil2(a, granularity); in dml_ceil() 74 static inline double dml_floor(double a, double granularity) in dml_floor() argument 76 if (granularity == 0) in dml_floor() 78 return (double) dcn_bw_floor2(a, granularity); in dml_floor() 119 static inline double dml_ceil_ex(double x, double granularity) in dml_ceil_ex() argument 121 if (granularity == 0) in dml_ceil_ex() 123 return (double) dcn_bw_ceil2(x, granularity); in dml_ceil_ex() 126 static inline double dml_floor_ex(double x, double granularity) in dml_floor_ex() argument [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A 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),
|
| H A D | amlresrc.h | 224 u64 granularity; member 236 AML_RESOURCE_ADDRESS_COMMON u64 granularity; member 245 AML_RESOURCE_ADDRESS_COMMON u32 granularity; member 254 AML_RESOURCE_ADDRESS_COMMON u16 granularity; member
|
| H A 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/arch/powerpc/boot/ |
| H A D | simple_alloc.c | 128 unsigned long granularity, unsigned long max_allocs) in simple_alloc_init() argument 132 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init() 133 alloc_min = granularity; in simple_alloc_init()
|
| /linux/drivers/cxl/ |
| H A D | cxl.h | 84 static inline int eig_to_granularity(u16 eig, unsigned int *granularity) in eig_to_granularity() argument 88 *granularity = CXL_DECODER_MIN_GRANULARITY << eig; in eig_to_granularity() 109 static inline int granularity_to_eig(int granularity, u16 *eig) in granularity_to_eig() argument 111 if (granularity > SZ_16K || granularity < CXL_DECODER_MIN_GRANULARITY || in granularity_to_eig() 112 !is_power_of_2(granularity)) in granularity_to_eig() 114 *eig = ilog2(granularity) - 8; in granularity_to_eig()
|
| /linux/Documentation/wmi/devices/ |
| H A D | uniwill-laptop.rst | 153 System memory can be accessed with a granularity of either a single byte (``MMRB`` for reading and 161 The internal RAM of the EC can be accessed with a granularity of a single byte using the ``ECRR`` 169 The PCI config space can be accessed with a granularity of four bytes using the ``PCRD`` (read) and 176 IO ports can be accessed with a granularity of four bytes using the ``IORD`` (read) and ``IOWD`` 183 The CMOS RAM can be accessed with a granularity of a single byte using the ``RCMS`` (read) and 190 Indexed IO with IO ports with a granularity of a single byte can be performed using the ``RIOP``
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | Kconfig.profile | 16 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/drivers/thunderbolt/ |
| H A D | usb4.c | 2867 int usb4_dp_port_set_granularity(struct tb_port *port, int granularity) in usb4_dp_port_set_granularity() argument 2882 switch (granularity) { in usb4_dp_port_set_granularity() 2916 u32 val, granularity; in usb4_dp_port_set_estimated_bandwidth() local 2925 granularity = ret; in usb4_dp_port_set_estimated_bandwidth() 2933 val |= (bw / granularity) << ADP_DP_CS_2_ESTIMATED_BW_SHIFT; in usb4_dp_port_set_estimated_bandwidth() 2950 u32 val, granularity; in usb4_dp_port_allocated_bandwidth() local 2959 granularity = ret; in usb4_dp_port_allocated_bandwidth() 2969 return val * granularity; in usb4_dp_port_allocated_bandwidth() 3047 u32 val, granularity; in usb4_dp_port_allocate_bandwidth() local 3056 granularity = ret; in usb4_dp_port_allocate_bandwidth() [all …]
|
| H A D | tunnel.c | 887 int ret, estimated_bw, granularity, tmp; in tb_dp_bandwidth_alloc_mode_enable() local 948 for (granularity = 250; tmp / granularity > 255 && granularity <= 1000; in tb_dp_bandwidth_alloc_mode_enable() 949 granularity *= 2) in tb_dp_bandwidth_alloc_mode_enable() 952 tb_tunnel_dbg(tunnel, "granularity %d Mb/s\n", granularity); in tb_dp_bandwidth_alloc_mode_enable() 958 ret = usb4_dp_port_set_granularity(in, granularity); in tb_dp_bandwidth_alloc_mode_enable()
|
| /linux/fs/cachefiles/ |
| H A D | io.c | 200 loff_t start, size_t len, size_t granularity, in cachefiles_query_occupancy() argument 215 granularity = max_t(size_t, object->volume->cache->bsize, granularity); in cachefiles_query_occupancy() 228 if (round_up(off, granularity) >= start + len) in cachefiles_query_occupancy() 240 off = round_up(off, granularity); in cachefiles_query_occupancy() 241 off2 = round_down(off2, granularity); in cachefiles_query_occupancy()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-memory-page-offline | 13 The offlining is done in kernel specific granularity. 38 The offlining is done in kernel specific granularity.
|
| /linux/drivers/staging/vme_user/ |
| H A 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()
|
| /linux/tools/testing/cxl/test/ |
| H A D | cxl.c | 216 .granularity = 4, 231 .granularity = 4, 246 .granularity = 4, 261 .granularity = 4, 276 .granularity = 4, 291 .granularity = 4, 308 .granularity = 4, 324 .granularity = 0, 340 .granularity = 1, 831 eig_to_granularity(window->granularity, &cxld->interleave_granularity); in mock_init_hdm_decoder()
|
| /linux/include/acpi/ |
| H A D | acrestyp.h | 286 u16 granularity; member 294 u32 granularity; member 302 u64 granularity; member
|
| /linux/Documentation/scheduler/ |
| H A 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/Documentation/hwmon/ |
| H A D | sl28cpld.rst | 27 granularity.
|
| /linux/net/dcb/ |
| H A D | Kconfig | 20 works at the granularity of the 802.1p priority instead of the
|
| /linux/Documentation/driver-api/cxl/linux/example-configurations/ |
| H A D | intra-hb-interleave.rst | 181 The host bridge decoder interleaves these devices at a 256 byte granularity. 235 :code:`port3` - with a granularity of 256 bytes.
|
| /linux/Documentation/mm/damon/ |
| H A D | faq.rst | 21 Can I simply monitor page granularity?
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_svm.c | 313 int32_t *prefetch_loc, uint8_t *granularity, in svm_range_set_default_attributes() argument 318 *granularity = svms->default_granularity; in svm_range_set_default_attributes() 364 &prange->granularity, &prange->flags); in svm_range_new() 806 prange->granularity = min_t(uint32_t, attrs[i].value, 0x3F); in svm_range_apply_attrs() 858 if (prange->granularity != attrs[i].value) in svm_range_is_same_attrs() 1078 new->granularity = old->granularity; in svm_range_split_adjust() 2067 new->granularity = old->granularity; in svm_range_clone() 3161 size = 1UL << prange->granularity; in svm_range_restore_pages() 3805 uint8_t granularity = 0xff; in svm_range_get_attr() local 3871 &granularity, &flags_and); in svm_range_get_attr() [all …]
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | cxl-driver.rst | 371 settings (granularity and ways must be the same). 504 attached to 4 host bridges, linux expects the following ways/granularity 511 - granularity 532 granularity configuration. 598 - :code:`interleave_granularity` - the granularity to interleave at. 608 with the exception that the ways and granularity are defined by the interleave 614 - :code:`interleave_granularity` - the granularity to interleave at. 620 endpoints in an interleave set must have the same ways and granularity.
|
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr.h | 59 int granularity; member
|
| /linux/drivers/ufs/host/ |
| H A 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()
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispresizer.c | 550 unsigned int granularity; in resizer_adjust_bandwidth() local 565 granularity = 1024; in resizer_adjust_bandwidth() 569 granularity = 32; in resizer_adjust_bandwidth() 579 minimum = DIV_ROUND_UP(cycles_per_request, granularity); in resizer_adjust_bandwidth() 594 maximum = cycles_per_request / granularity; in resizer_adjust_bandwidth()
|