Searched refs:byte_count (Results 1 - 25 of 65) sorted by relevance

123

/openbsd-current/sys/dev/pci/drm/radeon/
H A Dkv_smc.c119 const u8 *src, u32 byte_count, u32 limit)
124 if ((smc_start_address + byte_count) > limit)
147 } else if (byte_count > 0) {
149 byte_count--;
169 while (byte_count >= 4) {
180 byte_count -= 4;
185 if (byte_count > 0) {
194 extra_shift = 8 * (4 - byte_count);
196 while (byte_count > 0) {
199 byte_count
117 kv_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
[all...]
H A Dci_smc.c49 const u8 *src, u32 byte_count, u32 limit)
59 if ((smc_start_address + byte_count) > limit)
65 while (byte_count >= 4) {
76 byte_count -= 4;
81 if (byte_count > 0) {
90 extra_shift = 8 * (4 - byte_count);
92 while (byte_count > 0) {
94 byte_count--;
47 ci_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
H A Dsi_smc.c49 const u8 *src, u32 byte_count, u32 limit)
57 if ((smc_start_address + byte_count) > limit)
63 while (byte_count >= 4) {
74 byte_count -= 4;
79 if (byte_count > 0) {
88 extra_shift = 8 * (4 - byte_count);
90 while (byte_count > 0) {
93 byte_count--;
47 si_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
H A Drv770_smc.c285 u16 byte_count, u16 limit)
294 if ((smc_start_address + byte_count) > limit)
300 while (byte_count >= 4) {
311 byte_count -= 4;
316 if (byte_count > 0) {
325 extra_shift = 8 * (4 - byte_count);
327 while (byte_count > 0) {
330 byte_count--;
352 u32 byte_count)
356 if (byte_count
283 rv770_copy_bytes_to_smc(struct radeon_device *rdev, u16 smc_start_address, const u8 *src, u16 byte_count, u16 limit) argument
350 rv770_program_interrupt_vectors(struct radeon_device *rdev, u32 smc_first_vector, const u8 *src, u32 byte_count) argument
[all...]
H A Drv770_smc.h192 u16 byte_count, u16 limit);
/openbsd-current/sys/dev/pci/drm/amd/pm/legacy-dpm/
H A Damdgpu_kv_smc.c123 const u8 *src, u32 byte_count, u32 limit)
128 if ((smc_start_address + byte_count) > limit)
151 } else if (byte_count > 0) {
153 byte_count--;
173 while (byte_count >= 4) {
184 byte_count -= 4;
189 if (byte_count > 0) {
198 extra_shift = 8 * (4 - byte_count);
200 while (byte_count > 0) {
203 byte_count
121 amdgpu_kv_copy_bytes_to_smc(struct amdgpu_device *adev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
[all...]
H A Damdgpu_si_smc.c49 const u8 *src, u32 byte_count, u32 limit)
57 if ((smc_start_address + byte_count) > limit)
63 while (byte_count >= 4) {
74 byte_count -= 4;
79 if (byte_count > 0) {
87 extra_shift = 8 * (4 - byte_count);
89 while (byte_count > 0) {
92 byte_count--;
47 amdgpu_si_copy_bytes_to_smc(struct amdgpu_device *adev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) argument
/openbsd-current/gnu/usr.bin/perl/t/
H A Dcharset_tools.pl87 my $byte_count = $utf8_skip[$byte];
89 #diag($byte_count);
91 die "Illegal start byte" if $byte_count < 0;
92 if ($i + $byte_count > $length) {
93 die "Attempt to read " . $i + $byte_count - $length . " beyond end-of-string";
97 if ($byte_count == 1) {
105 my $ord = $byte & (0x1F >> ($byte_count - 2));
106 my $bytes_remaining = $byte_count - 1;
134 if ($byte_count != $expected_bytes) {
136 $ord, $expected_bytes, $byte_count;
[all...]
/openbsd-current/gnu/llvm/lldb/source/Symbol/
H A DArmUnwindInfo.cpp108 uint16_t byte_count = 0;
113 byte_count = 4;
118 byte_count = 4 * ((data[0] >> 16) & 0xff) + 4;
126 byte_count = 4 * ((data[1] >> 24) & 0xff) + 8;
135 while (byte_offset < byte_count) {
146 if (byte_offset >= byte_count)
202 if (byte_offset >= byte_count)
227 uint64_t uleb128 = GetULEB128(data, byte_offset, byte_count);
233 if (byte_offset >= byte_count)
279 if (byte_offset >= byte_count)
[all...]
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dsmu7_smumgr.c49 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, uint32_t *dest, uint32_t byte_count, uint32_t limit) argument
58 PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM area.", return -EINVAL);
62 while (byte_count >= 4) {
68 byte_count -= 4;
72 if (byte_count) {
77 for (i = 0; i < byte_count; i++)
86 const uint8_t *src, uint32_t byte_count, uint32_t limit)
95 PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM area.", return -EINVAL);
99 while (byte_count >= 4) {
111 byte_count
85 smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, const uint8_t *src, uint32_t byte_count, uint32_t limit) argument
456 uint32_t byte_count = length; local
[all...]
H A Dsmu7_smumgr.h57 uint32_t *dest, uint32_t byte_count, uint32_t limit);
59 const uint8_t *src, uint32_t byte_count, uint32_t limit);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000211-1.c28 size_t byte_count; member in struct:lstream
65 (( lstr )->out_buffer_ind >= ( lstr )->out_buffer_size ? Lstream_fputc ( lstr , pad ) : (( lstr )->out_buffer[( lstr )->out_buffer_ind++] = (unsigned char) ( pad ), ( lstr )->byte_count++, ( lstr )->buffering == LSTREAM_LINE_BUFFERED && ( lstr )->out_buffer[( lstr )->out_buffer_ind - 1] == '\n' ? Lstream_flush_out ( lstr ) : 0)) ;
77 (( lstr )->out_buffer_ind >= ( lstr )->out_buffer_size ? Lstream_fputc ( lstr , pad ) : (( lstr )->out_buffer[( lstr )->out_buffer_ind++] = (unsigned char) ( pad ), ( lstr )->byte_count++, ( lstr )->buffering == LSTREAM_LINE_BUFFERED && ( lstr )->out_buffer[( lstr )->out_buffer_ind - 1] == '\n' ? Lstream_flush_out ( lstr ) : 0)) ;
/openbsd-current/lib/libssl/
H A Dbio_ssl.c84 unsigned long byte_count; member in struct:bio_ssl_st
168 sb->byte_count += ret;
169 if (sb->byte_count > sb->renegotiate_count) {
170 sb->byte_count = 0;
241 bs->byte_count += ret;
242 if (bs->byte_count > bs->renegotiate_count) {
243 bs->byte_count = 0;
433 ((BIO_SSL *)dbio->ptr)->byte_count =
434 ((BIO_SSL *)b->ptr)->byte_count;
/openbsd-current/lib/libexpat/tests/
H A Dstructdata.c63 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); local
64 XML_Char *const dup = (XML_Char *)malloc(byte_count);
67 memcpy(dup, s, byte_count);
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_sdma.h134 uint32_t byte_count,
150 uint32_t byte_count);
/openbsd-current/sys/dev/pci/
H A Dpciidereg.h112 u_int32_t byte_count; /* memory region length */ member in struct:idedma_table
/openbsd-current/sys/dev/adb/
H A Dadb.h61 int byte_count; /* number of bytes */ member in struct:adb_event_s
H A Dams.c423 event.byte_count = buffer[0];
424 memcpy(event.bytes, buffer + 1, event.byte_count);
455 max_byte = event->byte_count;
H A Dakbd.c279 event.byte_count = buffer[0];
280 memcpy(event.bytes, buffer + 1, event.byte_count);
463 switch (event->byte_count) {
496 sc->sc_dev.dv_xname, event->byte_count);
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_bufs.c729 int byte_count; local
745 byte_count = 0;
813 buf->offset = (dma->byte_count + offset);
836 byte_count += PAGE_SIZE << page_order;
839 DRM_DEBUG("byte_count: %d\n", byte_count);
859 dma->page_count += byte_count >> PAGE_SHIFT;
860 dma->byte_count += byte_count;
893 int byte_count; local
1114 int byte_count; local
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/config/pa/
H A Dnm-hppah.h111 #define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(byte_count) \
/openbsd-current/sys/dev/pci/drm/i915/gvt/
H A Dedid.c296 int byte_count = byte_left; local
306 if (byte_count > 4)
307 byte_count = 4;
308 for (i = 0; i < byte_count; i++) {
313 memcpy(&vgpu_vreg(vgpu, offset), &reg_data, byte_count); local
/openbsd-current/sys/dev/ic/
H A Dfxpreg.h131 volatile u_int8_t byte_count; member in struct:fxp_cb_config
183 volatile u_int16_t byte_count; member in struct:fxp_cb_tx
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dxtensa-isa.c528 int fence_post, start, increment, i, byte_count; local
548 byte_count = xtensa_insn_length (isa, opc);
549 fence_post = start + (byte_count * increment);
/openbsd-current/libexec/ftpd/
H A Dftpd.c145 off_t byte_count; variable
1136 byte_count = -1;
1172 logxfer(name, byte_count, start);
1180 LOGBYTES("get", name, byte_count);
1217 byte_count = -1;
1264 LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count);
1345 byte_count = 0;
1513 byte_count++;
1565 byte_count += cnt;
1585 byte_count
[all...]

Completed in 208 milliseconds

123