Home
last modified time | relevance | path

Searched refs:buffer (Results 1476 - 1500 of 12656) sorted by relevance

1...<<51525354555657585960>>...507

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dcorsair-cpro.c81 struct mutex mutex; /* whenever buffer is used, lock before send_usb_cmd */
82 u8 *buffer; member
89 /* converts response error in buffer to errno */
92 switch (ccp->buffer[0]) { in ccp_get_errno()
103 hid_dbg(ccp->hdev, "unknown device response error: %d", ccp->buffer[0]); in ccp_get_errno()
108 /* send command, check for error in response, response in ccp->buffer */
114 memset(ccp->buffer, 0x00, OUT_BUFFER_SIZE); in send_usb_cmd()
115 ccp->buffer[0] = command; in send_usb_cmd()
116 ccp->buffer[1] = byte1; in send_usb_cmd()
117 ccp->buffer[ in send_usb_cmd()
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dxattr.c86 * file into a user-specified buffer. Note that the getxattr
94 void *buffer, size_t size) in orangefs_inode_getxattr()
141 memcpy(buffer, cx->val, cx->length); in orangefs_inode_getxattr()
142 memset(buffer + cx->length, 0, size - cx->length); in orangefs_inode_getxattr()
199 * Check to see if key length is > provided buffer size. in orangefs_inode_getxattr()
206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr()
207 memset(buffer + length, 0, size - length); in orangefs_inode_getxattr()
222 memcpy(cx->val, buffer, length); in orangefs_inode_getxattr()
229 memcpy(cx->val, buffer, length); in orangefs_inode_getxattr()
400 * Tries to get a specified object's keys into a user-specified buffer o
93 orangefs_inode_getxattr(struct inode *inode, const char *name, void *buffer, size_t size) orangefs_inode_getxattr() argument
406 orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size) orangefs_listxattr() argument
528 orangefs_xattr_set_default(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) orangefs_xattr_set_default() argument
539 orangefs_xattr_get_default(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) orangefs_xattr_get_default() argument
[all...]
/kernel/linux/linux-6.6/fs/orangefs/
H A Dxattr.c86 * file into a user-specified buffer. Note that the getxattr
94 void *buffer, size_t size) in orangefs_inode_getxattr()
141 memcpy(buffer, cx->val, cx->length); in orangefs_inode_getxattr()
142 memset(buffer + cx->length, 0, size - cx->length); in orangefs_inode_getxattr()
199 * Check to see if key length is > provided buffer size. in orangefs_inode_getxattr()
206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr()
207 memset(buffer + length, 0, size - length); in orangefs_inode_getxattr()
222 memcpy(cx->val, buffer, length); in orangefs_inode_getxattr()
229 memcpy(cx->val, buffer, length); in orangefs_inode_getxattr()
400 * Tries to get a specified object's keys into a user-specified buffer o
93 orangefs_inode_getxattr(struct inode *inode, const char *name, void *buffer, size_t size) orangefs_inode_getxattr() argument
406 orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size) orangefs_listxattr() argument
528 orangefs_xattr_set_default(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) orangefs_xattr_set_default() argument
540 orangefs_xattr_get_default(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) orangefs_xattr_get_default() argument
[all...]
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c76 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_parse_trt() local
80 status = acpi_evaluate_object(handle, "_TRT", NULL, &buffer); in acpi_parse_trt()
84 p = buffer.pointer; in acpi_parse_trt()
127 kfree(buffer.pointer); in acpi_parse_trt()
150 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_parse_art() local
155 status = acpi_evaluate_object(handle, "_ART", NULL, &buffer); in acpi_parse_art()
159 p = buffer.pointer; in acpi_parse_art()
201 kfree(buffer.pointer); in acpi_parse_art()
216 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_parse_psvt() local
226 status = acpi_evaluate_object(handle, "PSVT", NULL, &buffer); in acpi_parse_psvt()
355 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER}; get_single_name() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dcorsair-cpro.c81 struct mutex mutex; /* whenever buffer is used, lock before send_usb_cmd */
82 u8 *buffer; member
89 /* converts response error in buffer to errno */
92 switch (ccp->buffer[0]) { in ccp_get_errno()
103 hid_dbg(ccp->hdev, "unknown device response error: %d", ccp->buffer[0]); in ccp_get_errno()
108 /* send command, check for error in response, response in ccp->buffer */
114 memset(ccp->buffer, 0x00, OUT_BUFFER_SIZE); in send_usb_cmd()
115 ccp->buffer[0] = command; in send_usb_cmd()
116 ccp->buffer[1] = byte1; in send_usb_cmd()
117 ccp->buffer[ in send_usb_cmd()
[all...]
/kernel/liteos_a/fs/proc/os_adapt/
H A Dproc_vfs.c120 int VfsProcfsRead(struct file *filep, char *buffer, size_t buflen) in VfsProcfsRead() argument
124 if ((filep == NULL) || (filep->f_vnode == NULL) || (buffer == NULL)) { in VfsProcfsRead()
135 size = (ssize_t)ReadProcFile(entry, (void *)buffer, buflen); in VfsProcfsRead()
141 int VfsProcfsWrite(struct file *filep, const char *buffer, size_t buflen) in VfsProcfsWrite() argument
145 if ((filep == NULL) || (filep->f_vnode == NULL) || (buffer == NULL)) { in VfsProcfsWrite()
156 size = (ssize_t)WriteProcFile(entry, (void *)buffer, buflen); in VfsProcfsWrite()
292 char *buffer = NULL; in VfsProcfsReaddir() local
311 buffer = (char *)zalloc(sizeof(char) * NAME_MAX); in VfsProcfsReaddir()
312 if (buffer == NULL) { in VfsProcfsReaddir()
318 result = ReadProcFile(pde, (void *)buffer, NAME_MA in VfsProcfsReaddir()
428 VfsProcfsReadlink(struct Vnode *vnode, char *buffer, size_t bufLen) VfsProcfsReadlink() argument
[all...]
/third_party/glfw/tests/
H A Dcursor.c100 unsigned char buffer[64 * 64 * 4]; in create_cursor_frame() local
101 const GLFWimage image = { 64, 64, buffer }; in create_cursor_frame()
107 buffer[i++] = 255; in create_cursor_frame()
108 buffer[i++] = 255; in create_cursor_frame()
109 buffer[i++] = 255; in create_cursor_frame()
110 buffer[i++] = (unsigned char) (255 * star(x, y, t)); in create_cursor_frame()
120 unsigned char buffer[32 * 32 * 4]; in create_tracking_cursor() local
121 const GLFWimage image = { 32, 32, buffer }; in create_tracking_cursor()
129 buffer[i++] = 255; in create_tracking_cursor()
130 buffer[ in create_tracking_cursor()
[all...]
/third_party/backends/backend/genesys/
H A Dscanner_interface_usb.cpp93 std::uint8_t buffer[2]; in write_register() local
95 buffer[0] = address & 0xff; in write_register()
96 buffer[1] = value; in write_register()
104 2, buffer); in write_register()
130 std::vector<std::uint8_t> buffer; in write_registers() local
131 buffer.reserve(regs.size() * 2); in write_registers()
133 /* copy registers and values in data buffer */ in write_registers()
135 buffer.push_back(r.address); in write_registers()
136 buffer.push_back(r.value); in write_registers()
139 DBG(DBG_io, "%s (elems= %zu, size = %zu)\n", __func__, regs.size(), buffer in write_registers()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dwinnmfmt.cpp147 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
202 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
354 we don't need to reallocate the buffer. */ in format()
393 wchar_t *buffer = stackBuffer; in format() local
397 buffer[0] = 0x0000; in format()
415 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format()
423 buffer = NEW_ARRAY(wchar_t, newLength); in format()
424 buffer[0] = 0x0000; in format()
425 GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format()
437 result = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZ in format()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dwinnmfmt.cpp144 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
197 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
353 we don't need to reallocate the buffer. */ in format()
392 wchar_t *buffer = stackBuffer; in format() local
396 buffer[0] = 0x0000; in format()
414 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format()
422 buffer = NEW_ARRAY(wchar_t, newLength); in format()
423 buffer[0] = 0x0000; in format()
424 GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format()
436 result = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZ in format()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
H A Dunicodetext.cc59 // This routine is called only when we've discovered that a UTF-8 buffer in ConvertToInterchangeValid()
71 // reads, it is safe to change the buffer in place. It returns the in ConvertToInterchangeValid()
113 // Otherwise, allocate a new buffer. in reserve()
117 // If there is an old buffer, copy it into the new buffer. in reserve()
120 if (ours_) delete[] data_; // If we owned the old buffer, free it. in reserve()
123 ours_ = true; // We own the new buffer. in reserve()
139 // This implementation of clear() deallocates the buffer if we're an owner.
155 if (ours_ && data_) delete[] data_; // If we owned the old buffer, free it. in TakeOwnershipOf()
163 if (ours_ && data_) delete[] data_; // If we owned the old buffer, fre in PointTo()
232 CopyUTF8(const char* buffer, int byte_length) CopyUTF8() argument
242 UnsafeCopyUTF8(const char* buffer, int byte_length) UnsafeCopyUTF8() argument
250 TakeOwnershipOfUTF8(char* buffer, int byte_length, int byte_capacity) TakeOwnershipOfUTF8() argument
262 UnsafeTakeOwnershipOfUTF8(char* buffer, int byte_length, int byte_capacity) UnsafeTakeOwnershipOfUTF8() argument
271 PointToUTF8(const char* buffer, int byte_length) PointToUTF8() argument
283 UnsafePointToUTF8(const char* buffer, int byte_length) UnsafePointToUTF8() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ddouble-conversion-string-to-double.cpp588 buffer[kBufferSize]; // NOLINT: size is known at compile time.
591 // Copy significant digits of the integer part (if any) to the buffer.
595 buffer[buffer_pos++] = static_cast<char>(*current);
597 // Will later check if it's an octal in the buffer.
640 buffer[buffer_pos++] = static_cast<char>(*current);
730 char* start = buffer;
732 buffer + buffer_pos,
746 buffer[buffer_pos++] = '1';
751 buffer[buffer_pos] = '\0';
753 // Code above ensures there are no leading zeros and the buffer ha
[all...]
H A Dwinnmfmt.cpp144 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
196 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
348 we don't need to reallocate the buffer. */ in format()
387 wchar_t *buffer = stackBuffer; in format() local
391 buffer[0] = 0x0000; in format()
409 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format()
417 buffer = NEW_ARRAY(wchar_t, newLength); in format()
418 buffer[0] = 0x0000; in format()
419 GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format()
431 result = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZ in format()
[all...]
/third_party/skia/third_party/externals/freetype/src/tools/ftrandom/
H A Dftrandom.c353 char buffer[1025]; in FindFonts() local
377 snprintf( buffer, sizeof ( buffer ), in FindFonts()
379 if ( stat( buffer, &statb ) == -1 || S_ISDIR( statb.st_mode ) ) in FindFonts()
381 if ( !extensions || extmatch( buffer, extensions ) ) in FindFonts()
394 fontlist[fcnt].name = strdup( buffer ); in FindFonts()
440 static char buffer[8096]; in copyfont() local
461 while ( ( len = fread( buffer, 1, sizeof ( buffer ), good ) ) > 0 ) in copyfont()
462 fwrite( buffer, in copyfont()
520 char buffer[1024]; do_test() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
H A Dhb-aots-tester.cpp33 : buffer(buffer_), face(face_), font(font_), in TestData()
41 hb_buffer_destroy (buffer); in ~TestData()
44 hb_buffer_t *buffer; member
80 // setup buffer in runTest()
81 hb_buffer_t *buffer = hb_buffer_create(); in runTest() local
82 hb_buffer_set_direction(buffer, HB_DIRECTION_LTR); in runTest()
83 hb_buffer_set_script(buffer, HB_SCRIPT_LATIN); in runTest()
84 hb_buffer_set_language(buffer, hb_language_from_string("en", 2)); in runTest()
86 hb_buffer_add_utf32(buffer, in, nbIn, 0, nbIn); in runTest()
119 hb_shape(font, buffer, feature in runTest()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DQueueSubmitValidationTests.cpp24 // Test submitting with a mapped buffer is disallowed
26 // Create a map-write buffer. in TEST_F()
31 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F() local
33 // Create a fake copy destination buffer in TEST_F()
37 // Create a command buffer that reads from the mappable buffer. in TEST_F()
41 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F()
47 // Submitting when the buffer has never been mapped should succeed in TEST_F()
52 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F()
56 // Map the buffer, submittin in TEST_F()
103 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_F() local
139 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_F() local
143 wgpu::Buffer buffer; TEST_F() member
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fInternalFormatQueryTests.cpp231 // Query to larger buffer in iterate()
233 glw::GLint buffer[2] = { defaultValue, defaultValue }; in iterate() local
235 m_testCtx.getLog() << tcu::TestLog::Message << "Querying GL_NUM_SAMPLE_COUNTS to larger-than-needed buffer." << tcu::TestLog::EndMessage; in iterate()
236 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 2, buffer); in iterate()
239 if (buffer[1] != defaultValue) in iterate()
246 // Query to empty buffer in iterate()
248 glw::GLint buffer[1] = { defaultValue }; in iterate() local
250 m_testCtx.getLog() << tcu::TestLog::Message << "Querying GL_NUM_SAMPLE_COUNTS to zero-sized buffer." << tcu::TestLog::EndMessage; in iterate()
251 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 0, buffer); in iterate()
254 if (buffer[ in iterate()
325 glw::GLint buffer[3] = { defaultValue, defaultValue, defaultValue }; iterate() local
340 glw::GLint buffer[1] = { defaultValue }; iterate() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dintltest.cpp78 char buffer[64]; // nos changed from 10 to 64 in operator +() local
79 char danger = 'p'; // guard against overrunning the buffer (rtg) in operator +()
81 sprintf(buffer, "%ld", num); in operator +()
84 return left + buffer; in operator +()
91 char buffer[64]; // nos changed from 10 to 64 in operator +() local
92 char danger = 'p'; // guard against overrunning the buffer (rtg) in operator +()
94 sprintf(buffer, "%lu", num); in operator +()
97 return left + buffer; in operator +()
103 char buffer[64]; // nos changed from 10 to 64 in Int64ToUnicodeString() local
104 char danger = 'p'; // guard against overrunning the buffer (rt in Int64ToUnicodeString()
119 char buffer[64]; // nos changed from 10 to 64 DoubleToUnicodeString() local
133 char buffer[64]; // was 32, made it arbitrarily bigger (rtg) operator +() local
970 char buffer[4000]; log() local
984 char buffer[4000]; logln() local
998 char buffer[4000]; logKnownIssue() local
1036 char buffer[4000]; info() local
1048 char buffer[4000]; infoln() local
1060 char buffer[4000]; err() local
1071 char buffer[4000]; errln() local
1082 char buffer[4000]; dataerrln() local
1093 char buffer[4000]; errcheckln() local
1151 char buffer[30000]; LL_message() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddbutils.c134 obj_desc->buffer.length); in acpi_db_dump_external_object()
135 if (obj_desc->buffer.length) { in acpi_db_dump_external_object()
136 if (obj_desc->buffer.length > 16) { in acpi_db_dump_external_object()
142 obj_desc->buffer.pointer), in acpi_db_dump_external_object()
143 obj_desc->buffer.length, in acpi_db_dump_external_object()
282 * buffer - Buffer for result (not less than 11 bytes)
288 * NOTE: It is the caller's responsibility to ensure that the length of buffer
293 void acpi_db_uint32_to_hex_string(u32 value, char *buffer) in acpi_db_uint32_to_hex_string() argument
298 strcpy(buffer, "0"); in acpi_db_uint32_to_hex_string()
302 buffer[ in acpi_db_uint32_to_hex_string()
[all...]
H A Dnsnames.c75 * buffer - Where the name is returned
84 acpi_ns_handle_to_name(acpi_handle target_handle, struct acpi_buffer *buffer) in acpi_ns_handle_to_name() argument
97 /* Validate/Allocate/Clear caller buffer */ in acpi_ns_handle_to_name()
99 status = acpi_ut_initialize_buffer(buffer, ACPI_PATH_SEGMENT_LENGTH); in acpi_ns_handle_to_name()
107 ACPI_COPY_NAMESEG(buffer->pointer, node_name); in acpi_ns_handle_to_name()
108 ((char *)buffer->pointer)[ACPI_NAMESEG_SIZE] = 0; in acpi_ns_handle_to_name()
110 ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%4.4s\n", (char *)buffer->pointer)); in acpi_ns_handle_to_name()
120 * buffer - Where the pathname is returned
132 struct acpi_buffer *buffer, u8 no_trailing) in acpi_ns_handle_to_pathname()
145 /* Determine size required for the caller buffer */ in acpi_ns_handle_to_pathname()
131 acpi_ns_handle_to_pathname(acpi_handle target_handle, struct acpi_buffer *buffer, u8 no_trailing) acpi_ns_handle_to_pathname() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c7 * e1000_calculate_checksum - Calculate checksum for buffer
8 * @buffer: pointer to EEPROM
11 * Calculates the checksum for some buffer on a specified length. The
14 static u8 e1000_calculate_checksum(u8 *buffer, u32 length) in e1000_calculate_checksum() argument
19 if (!buffer) in e1000_calculate_checksum()
23 sum += buffer[i]; in e1000_calculate_checksum()
95 u32 *buffer = (u32 *)&hw->mng_cookie; in e1000e_enable_tx_pkt_filtering() local
121 *(buffer + i) = E1000_READ_REG_ARRAY(hw, E1000_HOST_IF, in e1000e_enable_tx_pkt_filtering()
172 * @buffer: pointer to the host interface buffer
181 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) e1000_mng_host_if_write() argument
249 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) e1000e_mng_write_dhcp_info() argument
[all...]
/kernel/linux/linux-5.10/drivers/parport/
H A Dprobe.c134 /* Read up to count-1 bytes of device id. Terminate buffer with
137 static ssize_t parport_read_device_id (struct parport *port, char *buffer, in parport_read_device_id() argument
158 memcpy(buffer, length, 2); in parport_read_device_id()
196 retval = parport_read (port, buffer+len, idlen-len); in parport_read_device_id()
214 if (buffer[len-1] == ';') { in parport_read_device_id()
222 /* Buffer not large enough, read to end of buffer. */ in parport_read_device_id()
225 retval = parport_read (port, buffer+len, count-len-1); in parport_read_device_id()
248 buffer[len] = '\0'; in parport_read_device_id()
253 ssize_t parport_device_id (int devnum, char *buffer, size_t count) in parport_device_id() argument
270 retval = parport_read_device_id (dev->port, buffer, coun in parport_device_id()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dhdlcdrv.h37 unsigned char buffer[HDLCDRV_BITBUFFER]; member
49 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer()
50 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer()
58 buf->buffer[buf->wr] = bits & 0xff; in hdlcdrv_add_bitbuffer_word()
59 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer_word()
60 buf->buffer[buf->wr] = (bits >> 8) & 0xff; in hdlcdrv_add_bitbuffer_word()
61 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer_word()
118 unsigned char buffer[HDLCDRV_MAXFLEN+2]; member
141 unsigned char buffer[HDLCDRV_MAXFLEN+2]; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c7 * e1000_calculate_checksum - Calculate checksum for buffer
8 * @buffer: pointer to EEPROM
11 * Calculates the checksum for some buffer on a specified length. The
14 static u8 e1000_calculate_checksum(u8 *buffer, u32 length) in e1000_calculate_checksum() argument
19 if (!buffer) in e1000_calculate_checksum()
23 sum += buffer[i]; in e1000_calculate_checksum()
95 u32 *buffer = (u32 *)&hw->mng_cookie; in e1000e_enable_tx_pkt_filtering() local
121 *(buffer + i) = E1000_READ_REG_ARRAY(hw, E1000_HOST_IF, in e1000e_enable_tx_pkt_filtering()
172 * @buffer: pointer to the host interface buffer
181 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) e1000_mng_host_if_write() argument
249 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) e1000e_mng_write_dhcp_info() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddbutils.c134 obj_desc->buffer.length); in acpi_db_dump_external_object()
135 if (obj_desc->buffer.length) { in acpi_db_dump_external_object()
136 if (obj_desc->buffer.length > 16) { in acpi_db_dump_external_object()
142 obj_desc->buffer.pointer), in acpi_db_dump_external_object()
143 obj_desc->buffer.length, in acpi_db_dump_external_object()
282 * buffer - Buffer for result (not less than 11 bytes)
288 * NOTE: It is the caller's responsibility to ensure that the length of buffer
293 void acpi_db_uint32_to_hex_string(u32 value, char *buffer) in acpi_db_uint32_to_hex_string() argument
298 strcpy(buffer, "0"); in acpi_db_uint32_to_hex_string()
302 buffer[ in acpi_db_uint32_to_hex_string()
[all...]

Completed in 18 milliseconds

1...<<51525354555657585960>>...507