Home
last modified time | relevance | path

Searched refs:buffer (Results 8901 - 8925 of 12906) sorted by relevance

1...<<351352353354355356357358359360>>...517

/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c52 static int32_t HdfDevEventGrowReadBuffer(struct HdfWriteReadBuf *buffer) in HdfDevEventGrowReadBuffer() argument
54 size_t newSize = buffer->readSize; in HdfDevEventGrowReadBuffer()
67 OsalMemFree((void *)(uintptr_t)buffer->readBuffer); in HdfDevEventGrowReadBuffer()
68 buffer->readBuffer = (uintptr_t)newBuff; in HdfDevEventGrowReadBuffer()
168 /* read buffer may not enough, grow read buffer and try again--The read buffere is insufficient. in HdfDevEventReadAndDispatch()
169 Expand the buffer and try again. */ in HdfDevEventReadAndDispatch()
/drivers/interface/display/composer/v1_0/display_command/
H A Ddisplay_cmd_requester.h126 int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo, in SetDisplayClientBuffer() argument
142 ret = CmdUtils::BufferHandlePack(buffer, requestPacker_, requestHdiFds_); in SetDisplayClientBuffer()
528 int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument
545 ret = CmdUtils::BufferHandlePack(buffer, requestPacker_, requestHdiFds_); in SetLayerBuffer()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter.c674 if (hwRender->renderParam.frameRenderMode.buffer != NULL) { in AudioAdapterDestroyRender()
693 AudioMemFree((void **)&hwRender->renderParam.frameRenderMode.buffer); in AudioAdapterDestroyRender()
1045 if (hwCapture->captureParam.frameCaptureMode.buffer != NULL) { in AudioAdapterDestroyCapture()
1062 AudioMemFree((void **)&hwCapture->captureParam.frameCaptureMode.buffer); in AudioAdapterDestroyCapture()
/kernel/linux/linux-5.10/drivers/acpi/apei/
H A Dghes.c308 static void ghes_copy_tofrom_phys(void *buffer, u64 paddr, u32 len, in ghes_copy_tofrom_phys() argument
322 memcpy_fromio(buffer, vaddr + offset, trunk); in ghes_copy_tofrom_phys()
324 memcpy_toio(vaddr + offset, buffer, trunk); in ghes_copy_tofrom_phys()
327 buffer += trunk; in ghes_copy_tofrom_phys()
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_bitmap.c803 /* merge number words from buffer into the bitmap starting at offset.
804 * buffer[i] is expected to be little endian unsigned long.
809 unsigned long *buffer) in drbd_bm_merge_lel()
837 word = *bm | *buffer++; in drbd_bm_merge_lel()
854 /* copy number words from the bitmap starting at offset into the buffer.
855 * buffer[i] will be little endian unsigned long.
858 unsigned long *buffer) in drbd_bm_get_lel()
886 *buffer++ = *bm++; in drbd_bm_get_lel()
808 drbd_bm_merge_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_merge_lel() argument
857 drbd_bm_get_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_get_lel() argument
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Defi.c429 static u8 __init palo_checksum(u8 *buffer, u32 length) in palo_checksum() argument
432 u8 *end = buffer + length; in palo_checksum()
434 while (buffer < end) in palo_checksum()
435 sum = (u8) (sum + *(buffer++)); in palo_checksum()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Defi.c431 static u8 __init palo_checksum(u8 *buffer, u32 length) in palo_checksum() argument
434 u8 *end = buffer + length; in palo_checksum()
436 while (buffer < end) in palo_checksum()
437 sum = (u8) (sum + *(buffer++)); in palo_checksum()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-raid1.c449 * remap a buffer to a particular mirror.
1400 char buffer[MAX_NR_MIRRORS + 1]; in mirror_status() local
1407 buffer[m] = device_status_char(&(ms->mirror[m])); in mirror_status()
1409 buffer[m] = '\0'; in mirror_status()
1413 (unsigned long long)ms->nr_regions, buffer); in mirror_status()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c635 const char __user *buffer, in ocrdma_dbgfs_ops_write()
647 if (copy_from_user(tmp_str, buffer, count)) in ocrdma_dbgfs_ops_write()
686 static ssize_t ocrdma_dbgfs_ops_read(struct file *filp, char __user *buffer, in ocrdma_dbgfs_ops_read() argument
744 status = simple_read_from_buffer(buffer, usr_buf_len, ppos, data, in ocrdma_dbgfs_ops_read()
634 ocrdma_dbgfs_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ocrdma_dbgfs_ops_write() argument
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Daiptek.c853 unsigned char report_id, void *buffer, int size) in aiptek_set_report()
862 aiptek->ifnum, buffer, size, 5000); in aiptek_set_report()
868 unsigned char report_id, void *buffer, int size) in aiptek_get_report()
877 aiptek->ifnum, buffer, size, 5000); in aiptek_get_report()
1704 dev_warn(&intf->dev, "cannot allocate usb buffer\n"); in aiptek_probe()
851 aiptek_set_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_set_report() argument
866 aiptek_get_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_get_report() argument
/kernel/linux/linux-5.10/drivers/iio/imu/
H A Dkmx61.c20 #include <linux/iio/buffer.h>
1201 s16 buffer[8]; in kmx61_trigger_handler() local
1216 buffer[i++] = ret; in kmx61_trigger_handler()
1220 iio_push_to_buffers(indio_dev, buffer); in kmx61_trigger_handler()
1369 "Failed to setup acc triggered buffer\n"); in kmx61_probe()
1379 "Failed to setup mag triggered buffer\n"); in kmx61_probe()
/kernel/linux/linux-5.10/drivers/iio/light/
H A Dsi1145.c26 #include <linux/iio/buffer.h>
167 * @autonomous: If automatic measurements are active (for buffer support)
171 * @buffer: Used to pack data read from sensor.
185 * Maximum buffer size (may be only partly used if not all
190 u8 buffer[24] __aligned(8);
484 sizeof(u16) * run, &data->buffer[j]); in si1145_trigger_handler()
499 iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, in si1145_trigger_handler()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c654 * Fill in the requested portion of the temporary buffer from the in dc8051_memory_read()
1378 char *buffer; in _driver_stats_seq_show() local
1380 size_t sz = seq_get_buf(s, &buffer); in _driver_stats_seq_show()
1386 *(u64 *)buffer = hfi1_sps_ints(); in _driver_stats_seq_show()
1388 *(u64 *)buffer = stats[*spos]; in _driver_stats_seq_show()
/kernel/linux/linux-5.10/drivers/net/hamradio/
H A Dbaycom_epp.c232 static inline void append_crc_ccitt(unsigned char *buffer, int len)
237 crc = (crc >> 8) ^ crc_ccitt_table[(crc ^ *buffer++) & 0xff];
239 *buffer++ = crc;
240 *buffer++ = crc >> 8;
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dusb.c147 const u8 *image; /* buffer for combine fw and nvram */
748 void *buffer, int buflen) in brcmf_usb_dl_cmd()
787 memcpy(buffer, tmpbuf, buflen); in brcmf_usb_dl_cmd()
864 brcmf_usb_dl_send_bulk(struct brcmf_usbdev_info *devinfo, void *buffer, int len) in brcmf_usb_dl_send_bulk() argument
873 devinfo->tx_pipe, buffer, len, in brcmf_usb_dl_send_bulk()
747 brcmf_usb_dl_cmd(struct brcmf_usbdev_info *devinfo, u8 cmd, void *buffer, int buflen) brcmf_usb_dl_cmd() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtc.c336 u8 *buffer, in ath10k_htc_process_trailer()
350 orig_buffer = buffer; in ath10k_htc_process_trailer()
354 record = (struct ath10k_htc_record *)buffer; in ath10k_htc_process_trailer()
362 /* no room left in buffer for record */ in ath10k_htc_process_trailer()
415 buffer += sizeof(record->hdr) + record->hdr.len; in ath10k_htc_process_trailer()
910 * even if the buffer was completed. It is suspected in ath10k_htc_wait_target()
1070 /* we controlled the buffer creation, it's aligned */ in ath10k_htc_connect_service()
335 ath10k_htc_process_trailer(struct ath10k_htc *htc, u8 *buffer, int length, enum ath10k_htc_ep_id src_eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_trailer() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c86 * Macro to check if DMA buffer is WORD-aligned and DMA-able.
87 * Most host controllers assume the buffer is DMA'able and will
454 req->buffer, req->length, in __ath6kl_sdio_write_async()
566 static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in ath6kl_sdio_write_async() argument
579 bus_req->buffer = buffer; in ath6kl_sdio_write_async()
978 * Fill the buffer with the address byte value we want to in ath6kl_set_addrwin_reg()
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c69 unsigned short req_parml; /* request parameter buffer */
71 unsigned char req_parmp[4]; /* request parameter buffer *
73 * parameter buffer follows *
75 unsigned char req_datal[4]; /* request data buffer */
77 unsigned char req_datap[4]; /* request data buffer */
79 unsigned short rpl_parml; /* reply parameter buffer */
82 unsigned char rpl_parmp[4]; /* reply parameter buffer *
84 * parameter buffer follows *
86 unsigned char rpl_datal[4]; /* reply data buffer len ULELONG */
87 unsigned char rpl_datap[4]; /* reply data buffer */
768 convert_type86_rng(struct zcrypt_queue *zq, struct ap_message *reply, char *buffer) convert_type86_rng() argument
1298 zcrypt_msgtype6_rng(struct zcrypt_queue *zq, char *buffer, struct ap_message *ap_msg) zcrypt_msgtype6_rng() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c520 "%s: unknown buffer %x\n", __func__, ent->t268.buf_type); in qla27xx_fwdt_entry_t268()
690 ulong offset = offsetof(typeof(*ent), t275.buffer); in qla27xx_fwdt_entry_t275()
693 void *buffer = ent->t275.buffer; in qla27xx_fwdt_entry_t275() local
696 "%s: buffer(%lx) [%lx]\n", __func__, length, *len); in qla27xx_fwdt_entry_t275()
699 "%s: buffer zero length\n", __func__); in qla27xx_fwdt_entry_t275()
706 "%s: buffer overflow, truncate [%lx]\n", __func__, length); in qla27xx_fwdt_entry_t275()
710 qla27xx_insertbuf(buffer, length, buf, len); in qla27xx_fwdt_entry_t275()
1008 ql_log(ql_log_warn, vha, 0x02f3, "-> mpi_fwdump no buffer\n"); in qla27xx_mpi_fwdump()
1020 "-> MPI firmware already dumped -- dump saving to temporary buffer in qla27xx_mpi_fwdump()
[all...]
/kernel/linux/linux-5.10/drivers/usb/class/
H A Dusblp.c119 * some arbitrary status buffer size;
120 * need a status buffer that is allocated via kmalloc(), not on stack
742 static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in usblp_write() argument
771 buffer + writecount, transfer_length)) { in usblp_write()
841 static ssize_t usblp_read(struct file *file, char __user *buffer, size_t len, loff_t *ppos) in usblp_read() argument
870 copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) { in usblp_read()
893 * Our write path has a peculiar property: it does not buffer like a tty,
897 * select(2) or poll(2) to wait for the buffer to drain before closing.
1065 * buffer. For example if you make sure you never request the device ID
1150 /* Malloc device ID string buffer t in usblp_probe()
[all...]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
H A Dverbs.c49 * o buffer memory
846 struct rpcrdma_buffer *buffer = &r_xprt->rx_buf; in rpcrdma_req_create() local
863 spin_lock(&buffer->rb_lock); in rpcrdma_req_create()
864 list_add(&req->rl_all, &buffer->rb_allreqs); in rpcrdma_req_create()
865 spin_unlock(&buffer->rb_lock); in rpcrdma_req_create()
888 /* Compute maximum header buffer size in bytes */ in rpcrdma_req_setup()
1200 * @buffers: buffer pool
1213 * rpcrdma_buffer_get - Get a request buffer
1214 * @buffers: Buffer pool from which to obtain a buffer
1234 * @buffers: buffer poo
[all...]
/kernel/linux/linux-5.10/net/rxrpc/
H A Dkey.c1044 char *buffer, size_t buflen) in rxrpc_read()
1124 if (!buffer || buflen < size) in rxrpc_read()
1127 xdr = (__be32 *)buffer; in rxrpc_read()
1242 ASSERTCMP((char __user *) xdr - buffer, ==, size); in rxrpc_read()
1043 rxrpc_read(const struct key *key, char *buffer, size_t buflen) rxrpc_read() argument
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dprodigy_hifi.c862 struct snd_info_buffer *buffer) in wm_proc_regs_write()
868 while (!snd_info_get_line(buffer, line, sizeof(line))) { in wm_proc_regs_write()
878 struct snd_info_buffer *buffer) in wm_proc_regs_read()
886 snd_iprintf(buffer, "%02x = %04x\n", reg, val); in wm_proc_regs_read()
861 wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) wm_proc_regs_write() argument
877 wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) wm_proc_regs_read() argument
/kernel/linux/linux-5.10/tools/include/nolibc/
H A Dnolibc.h2416 static char buffer[21]; in ltoa() local
2417 char *pos = buffer + sizeof(buffer) - 1; in ltoa()
2425 if (pos < buffer) in ltoa()
/kernel/linux/linux-5.10/kernel/
H A Dkexec_file.c313 pr_err("Could not allocate swap buffer\n"); in kimage_file_alloc_init()
633 * kexec_add_buffer - place a buffer in a kexec segment
638 * the buffer in memory.
655 * Make sure we are not trying to add buffer after allocating in kexec_add_buffer()
670 /* Walk the RAM ranges and allocate a suitable range for the buffer */ in kexec_add_buffer()
677 ksegment->kbuf = kbuf->buffer; in kexec_add_buffer()
752 * Assume rest of the buffer is filled with zero and in kexec_calculate_store_digests()
804 * kexec_purgatory_setup_kbuf - prepare buffer to load purgatory.
808 * Allocates the memory needed for the buffer. Caller is responsible to free
848 kbuf->buffer in kexec_purgatory_setup_kbuf()
[all...]

Completed in 52 milliseconds

1...<<351352353354355356357358359360>>...517