/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | bus.c | 63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read() argument 66 bcma_block_read(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_read() 69 void b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, in b43_bus_bcma_block_write() argument 72 bcma_block_write(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_write() 166 static void b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_ssb_block_read() argument 169 ssb_block_read(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_read() 172 void b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, in b43_bus_ssb_block_write() argument 175 ssb_block_write(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_write()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | event.c | 29 u8 *buffer; in wlcore_event_fw_logger() local 40 buffer = kzalloc(WL18XX_LOGGER_SDIO_BUFF_MAX, GFP_KERNEL); in wlcore_event_fw_logger() 41 if (!buffer) { in wlcore_event_fw_logger() 47 ret = wlcore_read(wl, addr, buffer, WL18XX_LOGGER_SDIO_BUFF_MAX, in wlcore_event_fw_logger() 50 wl1271_error("Fail to read logger buffer, error_id = %d", in wlcore_event_fw_logger() 56 memcpy(&fw_log, buffer, sizeof(fw_log)); in wlcore_event_fw_logger() 71 wl12xx_copy_fwlog(wl, &buffer[start_loc], len); in wlcore_event_fw_logger() 78 &buffer[WL18XX_LOGGER_BUFF_OFFSET], in wlcore_event_fw_logger() 90 /* indicate FW about Clear buffer */ in wlcore_event_fw_logger() 94 kfree(buffer); in wlcore_event_fw_logger() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | rsutils.c | 327 * Zero the entire area of the buffer. in acpi_rs_get_resource_source() 419 * ret_buffer - Pointer to a buffer structure for the 428 * and the contents of the callers buffer is undefined. 453 * Create a resource linked list from the byte stream buffer that comes in acpi_rs_get_prt_method_data() 469 * ret_buffer - Pointer to a buffer structure for the 478 * and the contents of the callers buffer is undefined. 504 * byte stream buffer that comes back from the _CRS method in acpi_rs_get_crs_method_data() 520 * ret_buffer - Pointer to a buffer structure for the 529 * and the contents of the callers buffer is undefined. 555 * byte stream buffer tha in acpi_rs_get_prs_method_data() 697 struct acpi_buffer buffer; acpi_rs_set_srs_method_data() local [all...] |
H A D | nsxfname.c | 114 * buffer - Buffer for returned path in ACPI_EXPORT_SYMBOL() 124 acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer *buffer) in ACPI_EXPORT_SYMBOL() 134 status = acpi_ut_validate_buffer(buffer); in ACPI_EXPORT_SYMBOL() 153 status = acpi_ns_handle_to_pathname(handle, buffer, in ACPI_EXPORT_SYMBOL() 160 status = acpi_ns_handle_to_name(handle, buffer); in ACPI_EXPORT_SYMBOL() 213 * Note: Allocates the return buffer, must be freed by the caller. 326 * return buffer in acpi_get_object_info() 376 * Create a pointer to the string area of the return buffer. in acpi_get_object_info() 390 * Copy the HID, UID, and CIDs to the return buffer. The variable-length in acpi_get_object_info() 391 * strings are copied to the reserved area at the end of the buffer in acpi_get_object_info() [all...] |
H A D | utobject.c | 193 * PARAMETERS: buffer_size - Size of buffer to be created 197 * DESCRIPTION: Create a fully initialized buffer object 204 u8 *buffer = NULL; in acpi_ut_create_buffer_object() local 215 /* Create an actual buffer only if size > 0 */ in acpi_ut_create_buffer_object() 219 /* Allocate the actual buffer */ in acpi_ut_create_buffer_object() 221 buffer = ACPI_ALLOCATE_ZEROED(buffer_size); in acpi_ut_create_buffer_object() 222 if (!buffer) { in acpi_ut_create_buffer_object() 231 /* Complete buffer object initialization */ in acpi_ut_create_buffer_object() 233 buffer_desc->buffer.flags |= AOPOBJ_DATA_VALID; in acpi_ut_create_buffer_object() 234 buffer_desc->buffer in acpi_ut_create_buffer_object() [all...] |
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | host_pci.c | 82 static void bcma_host_pci_block_read(struct bcma_device *core, void *buffer, in bcma_host_pci_block_read() argument 90 ioread8_rep(addr, buffer, count); in bcma_host_pci_block_read() 94 ioread16_rep(addr, buffer, count >> 1); in bcma_host_pci_block_read() 98 ioread32_rep(addr, buffer, count >> 2); in bcma_host_pci_block_read() 106 const void *buffer, size_t count, in bcma_host_pci_block_write() 114 iowrite8_rep(addr, buffer, count); in bcma_host_pci_block_write() 118 iowrite16_rep(addr, buffer, count >> 1); in bcma_host_pci_block_write() 122 iowrite32_rep(addr, buffer, count >> 2); in bcma_host_pci_block_write() 105 bcma_host_pci_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) bcma_host_pci_block_write() argument
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pfvf_vf_proto.c | 212 * @buffer: input buffer where to place the received data 213 * @buffer_len: buffer length as input, the amount of written bytes on output 217 * return the overall content back to the caller through the provided buffer. 218 * The buffer should be large enough to contain the requested message type, 224 u8 *buffer, unsigned int *buffer_len) in adf_send_vf2pf_blkmsg_req() 246 &buffer[ADF_PFVF_BLKMSG_VER_BYTE]); in adf_send_vf2pf_blkmsg_req() 250 if (unlikely(!buffer[ADF_PFVF_BLKMSG_VER_BYTE])) { in adf_send_vf2pf_blkmsg_req() 258 &buffer[ADF_PFVF_BLKMSG_LEN_BYTE]); in adf_send_vf2pf_blkmsg_req() 262 if (unlikely(!buffer[ADF_PFVF_BLKMSG_LEN_BYT in adf_send_vf2pf_blkmsg_req() 223 adf_send_vf2pf_blkmsg_req(struct adf_accel_dev *accel_dev, u8 type, u8 *buffer, unsigned int *buffer_len) adf_send_vf2pf_blkmsg_req() argument [all...] |
/kernel/linux/linux-6.6/drivers/iio/potentiostat/ |
H A D | lmp91000.c | 17 #include <linux/iio/buffer.h> 75 u32 buffer[4] __aligned(8); 129 *val = data->buffer[data->chan_select]; in lmp91000_read() 141 memset(data->buffer, 0, sizeof(data->buffer)); in lmp91000_buffer_handler() 145 data->buffer[0] = val; in lmp91000_buffer_handler() 146 iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, in lmp91000_buffer_handler() 268 data->buffer[data->chan_select] = *((int *)val); in lmp91000_buffer_cb()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | bus.c | 63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read() argument 66 bcma_block_read(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_read() 69 void b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, in b43_bus_bcma_block_write() argument 72 bcma_block_write(dev->bdev, buffer, count, offset, reg_width); in b43_bus_bcma_block_write() 166 static void b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_ssb_block_read() argument 169 ssb_block_read(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_read() 172 void b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, in b43_bus_ssb_block_write() argument 175 ssb_block_write(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_write()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | event.c | 29 u8 *buffer; in wlcore_event_fw_logger() local 42 buffer = kzalloc(WL18XX_LOGGER_SDIO_BUFF_MAX, GFP_KERNEL); in wlcore_event_fw_logger() 43 if (!buffer) { in wlcore_event_fw_logger() 49 ret = wlcore_read(wl, addr, buffer, WL18XX_LOGGER_SDIO_BUFF_MAX, in wlcore_event_fw_logger() 52 wl1271_error("Fail to read logger buffer, error_id = %d", in wlcore_event_fw_logger() 58 memcpy(&fw_log, buffer, sizeof(fw_log)); in wlcore_event_fw_logger() 67 /* Calculate the internal pointers to the start and end of log buffer */ in wlcore_event_fw_logger() 75 wl1271_error("buffer read pointer out of bounds: %x not in (%x-%x)\n", in wlcore_event_fw_logger() 83 /* Copy initial part up to the end of ring buffer */ in wlcore_event_fw_logger() 85 wl12xx_copy_fwlog(wl, &buffer[start_lo in wlcore_event_fw_logger() [all...] |
/kernel/linux/linux-6.6/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 71 unsigned long nsect, char *buffer, int write) in simdisk_transfer() 87 READ_ONCE(*buffer); in simdisk_transfer() 89 io = simc_write(dev->fd, buffer, nbytes); in simdisk_transfer() 91 io = simc_read(dev->fd, buffer, nbytes); in simdisk_transfer() 96 buffer += io; in simdisk_transfer() 111 char *buffer = bvec_kmap_local(&bvec); in simdisk_submit_bio() local 114 simdisk_transfer(dev, sector, len, buffer, in simdisk_submit_bio() 117 kunmap_local(buffer); in simdisk_submit_bio() 70 simdisk_transfer(struct simdisk *dev, unsigned long sector, unsigned long nsect, char *buffer, int write) simdisk_transfer() argument
|
/kernel/linux/linux-6.6/crypto/ |
H A D | ecdsa.c | 147 unsigned char *buffer; in ecdsa_verify() local 154 buffer = kmalloc(req->src_len + req->dst_len, GFP_KERNEL); in ecdsa_verify() 155 if (!buffer) in ecdsa_verify() 160 buffer, req->src_len + req->dst_len, 0); in ecdsa_verify() 163 buffer, req->src_len); in ecdsa_verify() 172 memcpy(&rawhash[diff], buffer + req->src_len, req->dst_len); in ecdsa_verify() 175 memcpy(&rawhash, buffer + req->src_len, keylen); in ecdsa_verify() 183 kfree(buffer); in ecdsa_verify()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | ad7949.c | 36 /* REF: reference/buffer selection */ 77 * @buffer: buffer to send / receive data to / from device 78 * @buf8b: be16 buffer to exchange data with the device in 8-bit transfers 89 u16 buffer __aligned(IIO_DMA_MINALIGN); 102 ad7949_adc->buffer = ad7949_adc->cfg << 2; in ad7949_spi_write_cfg() 103 ret = spi_write(ad7949_adc->spi, &ad7949_adc->buffer, 2); in ad7949_spi_write_cfg() 106 ad7949_adc->buffer = ad7949_adc->cfg; in ad7949_spi_write_cfg() 107 ret = spi_write(ad7949_adc->spi, &ad7949_adc->buffer, 2); in ad7949_spi_write_cfg() 153 ret = spi_read(ad7949_adc->spi, &ad7949_adc->buffer, in ad7949_spi_read_channel() [all...] |
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_force_umount.c | 201 static ssize_t ErrorVopReadlink(struct Vnode *vnode, char *buffer, size_t bufLen) in ErrorVopReadlink() argument 204 (void)buffer; in ErrorVopReadlink() 248 static ssize_t ErrorFopRead(struct file *filep, char *buffer, size_t buflen) in ErrorFopRead() argument 251 (void)buffer; in ErrorFopRead() 256 static ssize_t ErrorFopWrite(struct file *filep, const char *buffer, size_t buflen) in ErrorFopWrite() argument 259 (void)buffer; in ErrorFopWrite() 325 static ssize_t ErrorFopReadpage(struct file *filep, char *buffer, size_t buflen) in ErrorFopReadpage() argument 328 (void)buffer; in ErrorFopReadpage()
|
/test/xts/hats/hdf/display/composer/common/ |
H A D | hdi_test_display.cpp | 169 HdiGrallocBuffer* buffer = nullptr; in Commit() local 173 DISPLAY_TEST_LOGE("has no front buffer display id %{public}u", id_)); in Commit() 175 buffer = clientLayer_->GetBackBuffer(); in Commit() 176 DISPLAY_TEST_CHK_RETURN((buffer == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get back buffer")); in Commit() 177 BufferHandle* handle = buffer->Get(); in Commit() 181 ret = buffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> int32_t { in Commit() 182 int32_t result = device_->SetDisplayClientBuffer(id_, buffer, seqNo, -1); in Commit() 184 (result != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("set client buffer handl in Commit() [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_util.c | 45 static inline int nfs_pathsegment(const char **path, char *buffer, in nfs_pathsegment() argument 49 char *dest = buffer; in nfs_pathsegment() 327 * buffer in nfs_lookup() 342 * user buffer in nfs_lookup() 372 char buffer[NAME_MAX + 1]; in nfs_findnode() local 411 error = nfs_pathsegment(&path, buffer, &terminator); in nfs_findnode() 417 relpath, buffer, error); in nfs_findnode() 423 error = nfs_lookup(nmp, buffer, fhandle, obj_attributes, dir_attributes); in nfs_findnode() 427 relpath, buffer, error); in nfs_findnode() 456 buffer, pat in nfs_findnode() [all...] |
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | double-to-string.cc | 98 char buffer[kMaxExponentLength + 1]; in CreateExponentialRepresentation() 99 buffer[kMaxExponentLength] = '\0'; in CreateExponentialRepresentation() 102 buffer[--first_char_pos] = '0'; in CreateExponentialRepresentation() 105 buffer[--first_char_pos] = '0' + (exponent % 10); in CreateExponentialRepresentation() 112 buffer[--first_char_pos] = '0'; in CreateExponentialRepresentation() 114 result_builder->AddSubstring(&buffer[first_char_pos], in CreateExponentialRepresentation() 260 // will pass this buffer to strlen(), and this buffer is not generally in ToExponential() 345 // Fill buffer to contain 'precision' digits. in ToPrecision() 346 // Usually the buffer i in ToPrecision() 379 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 113 char buffer[kMaxExponentLength + 1]; 114 buffer[kMaxExponentLength] = '\0'; 117 buffer[--first_char_pos] = '0'; 120 buffer[--first_char_pos] = '0' + (exponent % 10); 127 buffer[--first_char_pos] = '0'; 129 result_builder->AddSubstring(&buffer[first_char_pos], 275 // will pass this buffer to strlen(), and this buffer is not generally 360 // Fill buffer to contain 'precision' digits. 361 // Usually the buffer i 395 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unorm.cpp | 137 UnicodeString buffer; in _iterate() local 141 buffer.append(uiter_next32(src)); in _iterate() 149 buffer.append(c); in _iterate() 154 /* always write this character to the front of the buffer */ in _iterate() 155 buffer.insert(0, c); in _iterate() 164 if(buffer.length()>0 && doNormalize) { in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 167 *pNeededToNormalize= destString!=buffer; in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_util.c | 22 char buffer[256]; in __tu_finishme() local 25 vsnprintf(buffer, sizeof(buffer), format, ap); in __tu_finishme() 28 mesa_loge("%s:%d: FINISHME: %s\n", file, line, buffer); in __tu_finishme() 41 char buffer[256]; in __vk_startup_errorf() local 52 vsnprintf(buffer, sizeof(buffer), format, ap); in __vk_startup_errorf() 55 mesa_loge("%s:%d: %s (%s)\n", file, line, buffer, error_str); in __vk_startup_errorf()
|
/third_party/node/lib/internal/crypto/ |
H A D | util.js | 61 const { Buffer } = require('buffer'); 78 let defaultEncoding = 'buffer'; 93 if (encoding === 'buffer') 120 const getArrayBufferOrView = hideStackFrames((buffer, name, encoding) => { 121 if (isAnyArrayBuffer(buffer)) 122 return buffer; 123 if (typeof buffer === 'string') { 124 if (encoding === 'buffer') 126 return Buffer.from(buffer, encoding); 128 if (!isArrayBufferView(buffer)) { [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream2-writable.js | 31 this.buffer = []; 38 this.buffer.push(chunk.toString()); 58 assert.deepStrictEqual(tw.buffer, chunks); 62 // Ignore backpressure. Just buffer it all up. 76 assert.deepStrictEqual(tw.buffer, chunks); 99 assert.deepStrictEqual(tw.buffer, chunks); 145 assert.deepStrictEqual(tw.buffer, chunks); 184 assert.deepStrictEqual(tw.buffer, chunks); 213 assert.deepStrictEqual(tw.buffer, chunks);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unorm.cpp | 137 UnicodeString buffer; in _iterate() local 141 buffer.append(uiter_next32(src)); in _iterate() 149 buffer.append(c); in _iterate() 154 /* always write this character to the front of the buffer */ in _iterate() 155 buffer.insert(0, c); in _iterate() 164 if(buffer.length()>0 && doNormalize) { in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 167 *pNeededToNormalize= destString!=buffer; in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 120 char buffer[kMaxExponentLength + 1]; 121 buffer[kMaxExponentLength] = '\0'; 124 buffer[--first_char_pos] = '0'; 127 buffer[--first_char_pos] = '0' + (exponent % 10); 134 buffer[--first_char_pos] = '0'; 136 result_builder->AddSubstring(&buffer[first_char_pos], 282 // will pass this buffer to strlen(), and this buffer is not generally 367 // Fill buffer to contain 'precision' digits. 368 // Usually the buffer i 402 DoubleToAscii(double v, DtoaMode mode, int requested_digits, char* buffer, int buffer_length, bool* sign, int* length, int* point) DoubleToAscii() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | pipe.c | 260 char* buffer, in uv__pipe_getsockpeername() 291 memcpy(buffer, sa.sun_path, addrlen); in uv__pipe_getsockpeername() 295 if (buffer[0] != '\0') in uv__pipe_getsockpeername() 296 buffer[addrlen] = '\0'; in uv__pipe_getsockpeername() 302 int uv_pipe_getsockname(const uv_pipe_t* handle, char* buffer, size_t* size) { in uv_pipe_getsockname() argument 303 return uv__pipe_getsockpeername(handle, getsockname, buffer, size); in uv_pipe_getsockname() 307 int uv_pipe_getpeername(const uv_pipe_t* handle, char* buffer, size_t* size) { in uv_pipe_getpeername() argument 308 return uv__pipe_getsockpeername(handle, getpeername, buffer, size); in uv_pipe_getpeername() 258 uv__pipe_getsockpeername(const uv_pipe_t* handle, uv__peersockfunc func, char* buffer, size_t* size) uv__pipe_getsockpeername() argument
|