| /test/xts/acts/multimedia/av_codec/vcodec/encoder/include/ |
| H A D | videoenc_api11_sample.h | 88 void SetBufferParameter(OH_AVBuffer *buffer); 89 void SetLTRParameter(OH_AVBuffer *buffer); 106 void SetEOS(uint32_t index, OH_AVBuffer *buffer); 107 int32_t PushData(OH_AVBuffer *buffer, uint32_t index, int32_t &result); 122 void DumpLtrInfo(OH_AVBuffer *buffer); 123 void DumpQPInfo(OH_AVBuffer *buffer); 124 void DumpInfo(OH_AVCodecBufferAttr attr, OH_AVBuffer *buffer);
|
| /test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
| H A D | buffer_manager_utest.h | 56 void DequeueBuffer(std::shared_ptr<IBuffer>& buffer); 120 virtual void Deliver(std::shared_ptr<IBuffer>& buffer); 121 virtual void Receive(std::shared_ptr<IBuffer>& buffer); 122 virtual void Process(std::shared_ptr<IBuffer>& buffer); 137 void Deliver(std::shared_ptr<IBuffer>& buffer) override; 147 void Process(std::shared_ptr<IBuffer>& buffer) override; 166 void DeliverBuffer(std::shared_ptr<IBuffer>& buffer);
|
| /kernel/linux/linux-5.10/arch/x86/lib/ |
| H A D | cmdline.c | 114 * @buffer: memory buffer to return the option argument 115 * @bufsize: size of the supplied memory buffer 118 * truncated to fit in the buffer), or -1 on not found. 122 const char *option, char *buffer, int bufsize) in __cmdline_find_option() 127 char *bufptr = buffer; in __cmdline_find_option() 132 st_bufcpy, /* Copying this to buffer */ in __cmdline_find_option() 164 bufptr = buffer; in __cmdline_find_option() 188 * supplied buffer and leave room for the in __cmdline_find_option() 209 int cmdline_find_option(const char *cmdline, const char *option, char *buffer, in cmdline_find_option() argument 121 __cmdline_find_option(const char *cmdline, int max_cmdline_size, const char *option, char *buffer, int bufsize) __cmdline_find_option() argument [all...] |
| /kernel/linux/linux-5.10/drivers/acpi/acpica/ |
| H A D | dsdebug.c | 36 * Manages allocation/freeing of a pathname buffer 44 struct acpi_buffer buffer; in acpi_ds_print_node_pathname() local 56 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_ds_print_node_pathname() 58 status = acpi_ns_handle_to_pathname(node, &buffer, TRUE); in acpi_ds_print_node_pathname() 66 (char *)buffer.pointer, node)); in acpi_ds_print_node_pathname() 67 ACPI_FREE(buffer.pointer); in acpi_ds_print_node_pathname()
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/fw/cfe/ |
| H A D | cfe_api.h | 98 int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, 101 int cfe_read(int handle, unsigned char *buffer, int length); 102 int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, 105 int cfe_write(int handle, const char *buffer, int length); 106 int cfe_writeblk(int handle, int64_t offset, const char *buffer,
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/fw/cfe/ |
| H A D | cfe_api.h | 95 int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, 98 int cfe_read(int handle, unsigned char *buffer, int length); 99 int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, 102 int cfe_write(int handle, const char *buffer, int length); 103 int cfe_writeblk(int handle, int64_t offset, const char *buffer,
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| H A D | i915_mitigations.c | 97 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get() argument 104 return scnprintf(buffer, PAGE_SIZE, "%s\n", "off"); in mitigations_get() 107 count = scnprintf(buffer, PAGE_SIZE, "%s,", "auto"); in mitigations_get() 118 count += scnprintf(buffer + count, PAGE_SIZE - count, in mitigations_get() 122 buffer[count - 1] = '\n'; in mitigations_get()
|
| /kernel/linux/linux-5.10/sound/firewire/tascam/ |
| H A D | tascam-proc.c | 11 struct snd_info_buffer *buffer) in proc_read_firmware() 46 snd_iprintf(buffer, "Register: %d (0x%08x)\n", reg & 0xffff, reg); in proc_read_firmware() 47 snd_iprintf(buffer, "FPGA: %d (0x%08x)\n", fpga & 0xffff, fpga); in proc_read_firmware() 48 snd_iprintf(buffer, "ARM: %d (0x%08x)\n", arm & 0xffff, arm); in proc_read_firmware() 49 snd_iprintf(buffer, "Hardware: %d (0x%08x)\n", hw >> 16, hw); in proc_read_firmware() 10 proc_read_firmware(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_firmware() argument
|
| /kernel/linux/linux-5.10/fs/squashfs/ |
| H A D | page_actor.c | 14 * an intermediate buffer, and for decompressing directly into the 21 /* Implementation of page_actor for decompressing into intermediate buffer */ 25 return actor->buffer[0]; in cache_first_page() 33 return actor->buffer[actor->next_page++]; in cache_next_page() 41 struct squashfs_page_actor *squashfs_page_actor_init(void **buffer, in squashfs_page_actor_init() argument 50 actor->buffer = buffer; in squashfs_page_actor_init()
|
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | kdev_t.h | 14 #define print_dev_t(buffer, dev) \ 15 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) 17 #define format_dev_t(buffer, dev) \ 19 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ 20 buffer; \
|
| /kernel/linux/linux-6.6/drivers/acpi/acpica/ |
| H A D | dsdebug.c | 36 * Manages allocation/freeing of a pathname buffer 44 struct acpi_buffer buffer; in acpi_ds_print_node_pathname() local 56 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_ds_print_node_pathname() 58 status = acpi_ns_handle_to_pathname(node, &buffer, TRUE); in acpi_ds_print_node_pathname() 66 (char *)buffer.pointer, node)); in acpi_ds_print_node_pathname() 67 ACPI_FREE(buffer.pointer); in acpi_ds_print_node_pathname()
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | kdev_t.h | 14 #define print_dev_t(buffer, dev) \ 15 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) 17 #define format_dev_t(buffer, dev) \ 19 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ 20 buffer; \
|
| /kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | bioscfg.c | 39 int hp_get_integer_from_buffer(u8 **buffer, u32 *buffer_size, u32 *integer) in hp_get_integer_from_buffer() argument 41 int *ptr = PTR_ALIGN((int *)*buffer, sizeof(int)); in hp_get_integer_from_buffer() 48 *buffer = (u8 *)ptr; in hp_get_integer_from_buffer() 54 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size) in hp_get_string_from_buffer() argument 56 u16 *src = (u16 *)*buffer; in hp_get_string_from_buffer() 120 *buffer = (u8 *)src; in hp_get_string_from_buffer() 213 * hp_calculate_string_buffer() - determines size of string buffer for 782 buffer_size = obj->buffer.length; in hp_init_bios_buffer_attribute() 783 buffer_ptr = obj->buffer.pointer; in hp_init_bios_buffer_attribute() 933 pr_err("Expected ACPI-package or buffer typ in hp_init_bios_attributes() [all...] |
| /kernel/linux/linux-6.6/arch/x86/lib/ |
| H A D | cmdline.c | 116 * @buffer: memory buffer to return the option argument 117 * @bufsize: size of the supplied memory buffer 120 * truncated to fit in the buffer), or -1 on not found. 124 const char *option, char *buffer, int bufsize) in __cmdline_find_option() 129 char *bufptr = buffer; in __cmdline_find_option() 134 st_bufcpy, /* Copying this to buffer */ in __cmdline_find_option() 166 bufptr = buffer; in __cmdline_find_option() 190 * supplied buffer and leave room for the in __cmdline_find_option() 211 int cmdline_find_option(const char *cmdline, const char *option, char *buffer, in cmdline_find_option() argument 123 __cmdline_find_option(const char *cmdline, int max_cmdline_size, const char *option, char *buffer, int bufsize) __cmdline_find_option() argument [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| H A D | i915_mitigations.c | 98 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get() argument 105 return scnprintf(buffer, PAGE_SIZE, "%s\n", "off"); in mitigations_get() 108 count = scnprintf(buffer, PAGE_SIZE, "%s,", "auto"); in mitigations_get() 119 count += scnprintf(buffer + count, PAGE_SIZE - count, in mitigations_get() 123 buffer[count - 1] = '\n'; in mitigations_get()
|
| /kernel/linux/linux-6.6/sound/firewire/tascam/ |
| H A D | tascam-proc.c | 11 struct snd_info_buffer *buffer) in proc_read_firmware() 46 snd_iprintf(buffer, "Register: %d (0x%08x)\n", reg & 0xffff, reg); in proc_read_firmware() 47 snd_iprintf(buffer, "FPGA: %d (0x%08x)\n", fpga & 0xffff, fpga); in proc_read_firmware() 48 snd_iprintf(buffer, "ARM: %d (0x%08x)\n", arm & 0xffff, arm); in proc_read_firmware() 49 snd_iprintf(buffer, "Hardware: %d (0x%08x)\n", hw >> 16, hw); in proc_read_firmware() 10 proc_read_firmware(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_read_firmware() argument
|
| /test/xts/acts/multimedia_lite/utils_posix/common/src/ |
| H A D | ActsTestMediaUtils.cpp | 27 char *buffer;
in GetCurDir() local 28 if ((buffer = getcwd(NULL, 0)) == NULL) {
in GetCurDir() 31 printf("Current Dir: %s\r\n", buffer);
in GetCurDir() 32 filePath = buffer;
in GetCurDir() 33 free(buffer);
in GetCurDir()
|
| /test/xts/device_attest/services/core/utils/ |
| H A D | attest_utils_json.c | 67 char* buffer = (char *)ATTEST_MEM_MALLOC(len + 1); in GetObjectItemValueStr() local 68 if (buffer == NULL) { in GetObjectItemValueStr() 72 ret = strncpy_s(buffer, len + 1, valueString, len); in GetObjectItemValueStr() 74 ATTEST_MEM_FREE(buffer); in GetObjectItemValueStr() 77 *dest = buffer; in GetObjectItemValueStr()
|
| /test/xts/device_attest_lite/services/core/utils/ |
| H A D | attest_utils_json.c | 67 char* buffer = (char *)ATTEST_MEM_MALLOC(len + 1); in GetObjectItemValueStr() local 68 if (buffer == NULL) { in GetObjectItemValueStr() 72 ret = strncpy_s(buffer, len + 1, valueString, len); in GetObjectItemValueStr() 74 ATTEST_MEM_FREE(buffer); in GetObjectItemValueStr() 77 *dest = buffer; in GetObjectItemValueStr()
|
| /kernel/linux/linux-5.10/drivers/usb/storage/ |
| H A D | sddr55.c | 196 unsigned char *buffer; in sddr55_read_data() local 206 // a bounce buffer and move the data a piece at a time between the in sddr55_read_data() 207 // bounce buffer and the actual transfer buffer. in sddr55_read_data() 211 buffer = kmalloc(len, GFP_NOIO); in sddr55_read_data() 212 if (buffer == NULL) in sddr55_read_data() 236 memset (buffer, 0, len); in sddr55_read_data() 265 DMA_FROM_DEVICE, buffer, len); in sddr55_read_data() 289 // Store the data in the transfer buffer in sddr55_read_data() 290 usb_stor_access_xfer_buf(buffer, le in sddr55_read_data() 315 unsigned char *buffer; sddr55_write_data() local 643 unsigned char *buffer; sddr55_read_map() local [all...] |
| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| H A D | surface_acpi_notify.c | 202 if (obj->buffer.length != 1 || obj->buffer.pointer[0] != 0) { in san_acpi_notify_event() 262 * The Surface ACPI expects a buffer and not a package. It specifically in san_evt_bat_dptf() 267 payload.buffer.length = event->length; in san_evt_bat_dptf() 268 payload.buffer.pointer = (u8 *)&event->data[0]; in san_evt_bat_dptf() 563 static acpi_status san_rqst(struct san_data *d, struct gsb_buffer *buffer) in san_rqst() argument 571 gsb_rqst = san_validate_rqsx(d->dev, "RQST", buffer); in san_rqst() 590 return san_rqst_fixup_suspended(d, &rqst, buffer); in san_rqst() 597 gsb_rqsx_response_success(buffer, rsp.pointer, rsp.length); in san_rqst() 600 gsb_rqsx_response_error(buffer, statu in san_rqst() 606 san_rqsg(struct san_data *d, struct gsb_buffer *buffer) san_rqsg() argument 639 struct gsb_buffer *buffer = (struct gsb_buffer *)value64; san_opreg_handler() local [all...] |
| /kernel/linux/linux-6.6/drivers/usb/storage/ |
| H A D | sddr55.c | 196 unsigned char *buffer; in sddr55_read_data() local 206 // a bounce buffer and move the data a piece at a time between the in sddr55_read_data() 207 // bounce buffer and the actual transfer buffer. in sddr55_read_data() 211 buffer = kmalloc(len, GFP_NOIO); in sddr55_read_data() 212 if (buffer == NULL) in sddr55_read_data() 236 memset (buffer, 0, len); in sddr55_read_data() 265 DMA_FROM_DEVICE, buffer, len); in sddr55_read_data() 289 // Store the data in the transfer buffer in sddr55_read_data() 290 usb_stor_access_xfer_buf(buffer, le in sddr55_read_data() 315 unsigned char *buffer; sddr55_write_data() local 643 unsigned char *buffer; sddr55_read_map() local [all...] |
| /kernel/linux/linux-5.10/sound/pci/rme9652/ |
| H A D | rme9652.c | 78 /* bits 6-15 encode h/w buffer pointer position */ 98 /* Bit 6..15 : h/w buffer pointer */ 242 need to use in order to find the relevant channel buffer. RME 245 and the value is the DMA channel (i.e. channel buffer number) 1547 snd_rme9652_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_rme9652_proc_read() argument 1558 snd_iprintf(buffer, "%s (Card #%d)\n", rme9652->card_name, rme9652->card->number + 1); in snd_rme9652_proc_read() 1559 snd_iprintf(buffer, "Buffers: capture %p playback %p\n", in snd_rme9652_proc_read() 1561 snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", in snd_rme9652_proc_read() 1563 snd_iprintf(buffer, "Control register: %x\n", rme9652->control_register); in snd_rme9652_proc_read() 1565 snd_iprintf(buffer, "\ in snd_rme9652_proc_read() [all...] |
| /kernel/linux/linux-6.6/sound/core/ |
| H A D | rawmidi.c | 135 /* buffer refcount management: call with substream->lock held */ 180 runtime->buffer = kvzalloc(runtime->buffer_size, GFP_KERNEL); in snd_rawmidi_runtime_create() 181 if (!runtime->buffer) { in snd_rawmidi_runtime_create() 208 kvfree(runtime->buffer); in snd_rawmidi_runtime_free() 265 if (!substream->opened || !runtime || !runtime->buffer) { in snd_rawmidi_drain_output() 753 oldbuf = runtime->buffer; in resize_runtime_buffer() 754 runtime->buffer = newbuf; in resize_runtime_buffer() 1102 const unsigned char *buffer, int src_count, const struct timespec64 *tstamp) in receive_with_tstamp_framing() 1128 memcpy(frame.data, buffer, frame.length); in receive_with_tstamp_framing() 1129 buffer in receive_with_tstamp_framing() 1101 receive_with_tstamp_framing(struct snd_rawmidi_substream *substream, const unsigned char *buffer, int src_count, const struct timespec64 *tstamp) receive_with_tstamp_framing() argument 1168 snd_rawmidi_receive(struct snd_rawmidi_substream *substream, const unsigned char *buffer, int count) snd_rawmidi_receive() argument 1390 __snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream, unsigned char *buffer, int count) __snd_rawmidi_transmit_peek() argument 1449 snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream, unsigned char *buffer, int count) snd_rawmidi_transmit_peek() argument 1531 snd_rawmidi_transmit(struct snd_rawmidi_substream *substream, unsigned char *buffer, int count) snd_rawmidi_transmit() argument 1758 snd_rawmidi_proc_info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_rawmidi_proc_info_read() argument [all...] |
| /kernel/linux/linux-6.6/sound/pci/rme9652/ |
| H A D | rme9652.c | 76 /* bits 6-15 encode h/w buffer pointer position */ 96 /* Bit 6..15 : h/w buffer pointer */ 243 need to use in order to find the relevant channel buffer. RME 246 and the value is the DMA channel (i.e. channel buffer number) 1537 snd_rme9652_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_rme9652_proc_read() argument 1548 snd_iprintf(buffer, "%s (Card #%d)\n", rme9652->card_name, rme9652->card->number + 1); in snd_rme9652_proc_read() 1549 snd_iprintf(buffer, "Buffers: capture %p playback %p\n", in snd_rme9652_proc_read() 1551 snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n", in snd_rme9652_proc_read() 1553 snd_iprintf(buffer, "Control register: %x\n", rme9652->control_register); in snd_rme9652_proc_read() 1555 snd_iprintf(buffer, "\ in snd_rme9652_proc_read() [all...] |