Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 20 of 20) sorted by relevance

/openbsd-src/sys/dev/pci/drm/radeon/
H A Datombios_i2c.c105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
126 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer()
129 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer()
133 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer()
134 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
H A Dradeon_audio.c749 unsigned char *buf, int max_bytes) in radeon_audio_component_get_eld() argument
779 memcpy(buf, connector->eld, min(max_bytes, ret)); in radeon_audio_component_get_eld()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_i2c.c112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
133 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer()
136 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer()
140 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer()
141 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
H A Damdgpu_vram_mgr.c427 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local
443 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new()
445 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new()
467 if (ttm_resource_manager_usage(man) > max_bytes) { in amdgpu_vram_mgr_new()
H A Damdgpu_ttm.c2226 uint32_t max_bytes; in amdgpu_copy_buffer()
2235 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer()
2236 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2244 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
2280 uint32_t max_bytes; in amdgpu_ttm_fill_mem()
2284 max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_ttm_fill_mem()
2285 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
2293 uint32_t cur_size = min(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
2223 uint32_t max_bytes; amdgpu_copy_buffer() local
2277 uint32_t max_bytes; amdgpu_ttm_fill_mem() local
H A Damdgpu_cs.c679 u64 *max_bytes, in amdgpu_cs_get_threshold_for_moves()
694 *max_bytes = 0; in amdgpu_cs_get_threshold_for_moves()
741 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
675 amdgpu_cs_get_threshold_for_moves(struct amdgpu_device * adev,u64 * max_bytes,u64 * max_vis_bytes) amdgpu_cs_get_threshold_for_moves() argument
/openbsd-src/sys/dev/pci/drm/include/drm/
H A Ddrm_audio_component.h64 unsigned char *buf, int max_bytes);
/openbsd-src/lib/libcrypto/rand/
H A Drand.h93 int RAND_load_file(const char *file, long max_bytes);
/openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dutf8_setup.pl63 $::max_bytes = (isASCII) ? 13 : 14; # Max number of bytes in a UTF-8 sequence
H A Dutf8_warn_base.pl97 return ($length == $::max_bytes) ? 8 : (($length <= 3) ? 1 : 2);
1202 && $length >= $::max_bytes;
1275 $new_expected_len = $::max_bytes;
H A Dutf8.t615 ? ($u < 0x1000000000 ? 7 : $::max_bytes)
624 $u < 0x40000000 ? 7 : $::max_bytes );
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dgen7_renderclear.c93 u32 *start, u32 offset, u32 max_bytes) in batch_init() argument
99 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
/openbsd-src/sys/dev/ic/
H A Drtl81x9.c567 u_int16_t rx_bytes = 0, max_bytes; in rl_rxeof() local
575 max_bytes = (RL_RXBUFLEN - cur_rx) + limit; in rl_rxeof()
577 max_bytes = limit - cur_rx; in rl_rxeof()
629 if (rx_bytes > max_bytes) { in rl_rxeof()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.cpp802 const std::optional<uint64_t> max_bytes = in ExtractLibcxxStringInfo() local
805 if (!max_bytes || size > *max_bytes || !location_sp) in ExtractLibcxxStringInfo()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp844 const uint32_t max_bytes = packet.GetU32(&offset); in DumpPacket() local
845 s.Printf(" (max_bytes = 0x%8.8x (%u))", max_bytes, max_bytes); in DumpPacket()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DValueObject.cpp755 auto max_bytes = in GetPointeeData() local
757 if (max_bytes && *max_bytes > offset) { in GetPointeeData()
758 size_t bytes_read = std::min<uint64_t>(*max_bytes - offset, bytes); in GetPointeeData()
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_audio.c1138 unsigned char *buf, int max_bytes) in i915_audio_component_get_eld() argument
1158 memcpy(buf, eld, min(max_bytes, ret)); in i915_audio_component_get_eld()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DTarget.cpp1993 size_t max_bytes, Status &error, in ReadStringFromMemory() argument
1995 if (!dst || !max_bytes || !type_width || max_bytes < type_width) in ReadStringFromMemory()
2002 memset(dst, 0, max_bytes); in ReadStringFromMemory()
2003 size_t bytes_left = max_bytes - type_width; in ReadStringFromMemory()
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DTarget.h1083 size_t ReadStringFromMemory(const Address &addr, char *dst, size_t max_bytes,
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c938 unsigned char *buf, int max_bytes) in amdgpu_dm_audio_component_get_eld()
959 memcpy(buf, connector->eld, min(max_bytes, ret)); in amdgpu_dm_audio_component_get_eld()
932 amdgpu_dm_audio_component_get_eld(struct device * kdev,int port,int pipe,bool * enabled,unsigned char * buf,int max_bytes) amdgpu_dm_audio_component_get_eld() argument