Home
last modified time | relevance | path

Searched refs:buffer (Results 2101 - 2125 of 5070) sorted by relevance

1...<<81828384858687888990>>...203

/kernel/linux/linux-5.10/scripts/genksyms/
H A Dgenksyms.c410 char buffer[256]; in read_node() local
412 .string = buffer, in read_node()
418 if (node.string == buffer) in read_node()
424 if (node.string == buffer) in read_node()
429 if (node.string >= buffer + sizeof(buffer) - 1) { in read_node()
435 if (node.string == buffer) in read_node()
438 node.string = buffer; in read_node()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c41 static void rotate_calc_addr_pitch(dma_addr_t buffer, in rotate_calc_addr_pitch() argument
51 addr[i] = buffer; in rotate_calc_addr_pitch()
57 buffer += size; in rotate_calc_addr_pitch()
141 struct vb2_v4l2_buffer *buffer; in rotate_irq() local
160 buffer = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_irq()
161 v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_DONE); in rotate_irq()
163 buffer = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_irq()
164 v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_DONE); in rotate_irq()
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_samsung.c495 unsigned char *buffer, int offset, in onenand_read_bufferram()
501 memcpy(buffer, p + offset, count); in onenand_read_bufferram()
506 const unsigned char *buffer, int offset, in onenand_write_bufferram()
512 memcpy(p + offset, buffer, count); in onenand_write_bufferram()
617 unsigned char *buffer, int offset, size_t count) in s5pc110_read_bufferram()
621 void *buf = (void *) buffer; in s5pc110_read_bufferram()
662 dev_err(dev, "Couldn't map a %zu byte buffer for DMA\n", count); in s5pc110_read_bufferram()
680 memcpy(buffer, this->page_buf + offset, count); in s5pc110_read_bufferram()
682 memcpy_fromio(buffer, p, count); in s5pc110_read_bufferram()
494 onenand_read_bufferram(struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) onenand_read_bufferram() argument
505 onenand_write_bufferram(struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) onenand_write_bufferram() argument
616 s5pc110_read_bufferram(struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) s5pc110_read_bufferram() argument
/kernel/linux/linux-6.6/drivers/misc/c2port/
H A Dcore.c627 char *buffer, loff_t offset, size_t count) in __c2port_read_flash_data()
708 ret = c2port_read_dr(dev, buffer+i); in __c2port_read_flash_data()
718 char *buffer, loff_t offset, size_t count) in c2port_read_flash_data()
728 ret = __c2port_read_flash_data(c2dev, buffer, offset, count); in c2port_read_flash_data()
738 char *buffer, loff_t offset, size_t count) in __c2port_write_flash_data()
813 ret = c2port_write_dr(dev, *(buffer+i)); in __c2port_write_flash_data()
833 char *buffer, loff_t offset, size_t count) in c2port_write_flash_data()
843 ret = __c2port_write_flash_data(c2dev, buffer, offset, count); in c2port_write_flash_data()
626 __c2port_read_flash_data(struct c2port_device *dev, char *buffer, loff_t offset, size_t count) __c2port_read_flash_data() argument
716 c2port_read_flash_data(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buffer, loff_t offset, size_t count) c2port_read_flash_data() argument
737 __c2port_write_flash_data(struct c2port_device *dev, char *buffer, loff_t offset, size_t count) __c2port_write_flash_data() argument
831 c2port_write_flash_data(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buffer, loff_t offset, size_t count) c2port_write_flash_data() argument
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c41 static void rotate_calc_addr_pitch(dma_addr_t buffer, in rotate_calc_addr_pitch() argument
51 addr[i] = buffer; in rotate_calc_addr_pitch()
57 buffer += size; in rotate_calc_addr_pitch()
141 struct vb2_v4l2_buffer *buffer; in rotate_irq() local
160 buffer = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in rotate_irq()
161 v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_DONE); in rotate_irq()
163 buffer = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in rotate_irq()
164 v4l2_m2m_buf_done(buffer, VB2_BUF_STATE_DONE); in rotate_irq()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Drx.c37 /* Size of buffer allocated for skb header area. */
211 * buffer in a page.
241 * only be added if this is the final RX buffer, to prevent pages being used in
252 /* Only recycle the page after processing the final buffer. */ in ef4_recycle_rx_page()
279 /* Release the page reference we hold for the buffer. */ in ef4_fini_rx_buffer()
283 /* If this is the last buffer in a page, unmap and free it. */ in ef4_fini_rx_buffer()
703 rx_queue->buffer = kcalloc(entries, sizeof(*rx_queue->buffer), in ef4_probe_rx_queue()
705 if (!rx_queue->buffer) in ef4_probe_rx_queue()
710 kfree(rx_queue->buffer); in ef4_probe_rx_queue()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dbus.c207 in_params[0].buffer.length = 16; in acpi_run_osc()
208 in_params[0].buffer.pointer = (u8 *)&guid; in acpi_run_osc()
214 in_params[3].buffer.length = context->cap.length; in acpi_run_osc()
215 in_params[3].buffer.pointer = context->cap.pointer; in acpi_run_osc()
226 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc()
233 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
255 context->ret.length = out_obj->buffer.length; in acpi_run_osc()
256 context->ret.pointer = kmemdup(out_obj->buffer.pointer, in acpi_run_osc()
440 pr_info("USB4 _OSC: returned invalid length buffer\n"); in acpi_bus_osc_negotiate_usb_control()
796 * @modalias: Pointer to buffer tha
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dcon3215.c39 #define RAW3215_BUFFER_SIZE 65536 /* output buffer size */
40 #define RAW3215_INBUF_SIZE 256 /* input buffer size */
53 #define RAW3215_FLUSHING 128 /* set to flush buffer (no delay) */
69 int start, len; /* start index & len in output buffer */
82 char *buffer; /* pointer to output buffer */ member
83 char *inbuf; /* pointer to input buffer */
84 int head; /* first free byte in output buffer */
85 int count; /* number of bytes in output buffer */
92 char ubuffer[80]; /* copy_from_user buffer */
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_priv.h100 * Size of the per-process TBA+TMA buffer: 2 pages
442 * @queue_address: Queue ring buffer address.
444 * @queue_size: Queue ring buffer size.
457 * cp read from the ring buffer. This field updates automatically by the H/W.
459 * @write_ptr: Defines the number of dwords written to the ring buffer.
462 * buffer. This field should be similar to write_ptr and the user should
1373 int (*map_process)(struct packet_manager *pm, uint32_t *buffer,
1375 int (*runlist)(struct packet_manager *pm, uint32_t *buffer,
1377 int (*set_resources)(struct packet_manager *pm, uint32_t *buffer,
1379 int (*map_queues)(struct packet_manager *pm, uint32_t *buffer,
[all...]
/kernel/linux/linux-6.6/drivers/iio/proximity/
H A Dsx9500.c22 #include <linux/iio/buffer.h>
92 u16 *buffer; member
589 kfree(data->buffer); in sx9500_update_scan_mode()
590 data->buffer = kzalloc(indio_dev->scan_bytes, GFP_KERNEL); in sx9500_update_scan_mode()
593 if (data->buffer == NULL) in sx9500_update_scan_mode()
664 data->buffer[i++] = val; in sx9500_trigger_handler()
667 iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, in sx9500_trigger_handler()
990 kfree(data->buffer); in sx9500_remove()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dacpi_power_meter.c555 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in read_domain_devices() local
560 &buffer); in read_domain_devices()
567 pss = buffer.pointer; in read_domain_devices()
624 kfree(buffer.pointer); in read_domain_devices()
746 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in read_capabilities() local
754 &buffer); in read_capabilities()
761 pss = buffer.pointer; in read_capabilities()
819 kfree(buffer.pointer); in read_capabilities()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dkionix-kx022a.c179 __le16 buffer[8] __aligned(IIO_DMA_MINALIGN);
393 * buffer. If this turns out to be an issue we can later change logic in kx022a_write_raw()
473 ret = regmap_bulk_read(data->regmap, chan->address, &data->buffer[0], in kx022a_get_axis()
478 *val = le16_to_cpu(data->buffer[0]); in kx022a_get_axis()
590 * based on samples acquired when buffer was last enabled. in kx022a_drop_fifo_contents()
607 __le16 buffer[KX022A_FIFO_LENGTH * 3]; in __kx022a_fifo_flush() local
616 dev_err(dev, "Error reading buffer status\n"); in __kx022a_fifo_flush()
677 * Here we leave some old samples to the buffer. We need to in __kx022a_fifo_flush()
678 * adjust the timestamp to match the first sample in the buffer in __kx022a_fifo_flush()
687 &buffer[ in __kx022a_fifo_flush()
[all...]
/kernel/linux/linux-6.6/scripts/genksyms/
H A Dgenksyms.c410 char buffer[256]; in read_node() local
412 .string = buffer, in read_node()
418 if (node.string == buffer) in read_node()
424 if (node.string == buffer) in read_node()
429 if (node.string >= buffer + sizeof(buffer) - 1) { in read_node()
435 if (node.string == buffer) in read_node()
438 node.string = buffer; in read_node()
/kernel/linux/linux-6.6/sound/pci/lx6464es/
H A Dlx6464es.c216 /* buffer-size should better be multiple of period-size */ in lx_pcm_open()
437 dev_dbg(chip->card->dev, "starting: buffer index %x on 0x%lx (%d bytes)\n", in lx_trigger_start()
875 struct snd_info_buffer *buffer) in lx_proc_levels_read()
882 snd_iprintf(buffer, "capture levels:\n"); in lx_proc_levels_read()
889 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read()
890 snd_iprintf(buffer, "\n"); in lx_proc_levels_read()
893 snd_iprintf(buffer, "\nplayback levels:\n"); in lx_proc_levels_read()
901 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read()
902 snd_iprintf(buffer, "\n"); in lx_proc_levels_read()
905 snd_iprintf(buffer, "\ in lx_proc_levels_read()
874 lx_proc_levels_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) lx_proc_levels_read() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Ddebug.c49 char temp_buf[2048]; /* buffer for output */
453 * - copies formated debug entries to the user buffer
456 char __user *user_buf, /* user buffer */ in debug_output()
457 size_t len, /* length of buffer */ in debug_output()
797 * - set active entry to next in the ring buffer
812 * - set active area to next in the ring buffer
902 void *buffer, size_t *lenp, loff_t *ppos) in s390dbf_procactive()
905 return proc_dointvec(table, write, buffer, lenp, ppos); in s390dbf_procactive()
1212 char *buffer; in debug_get_user_string() local
1214 buffer in debug_get_user_string()
901 s390dbf_procactive(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) s390dbf_procactive() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Ddebug.c49 char temp_buf[2048]; /* buffer for output */
453 * - copies formated debug entries to the user buffer
456 char __user *user_buf, /* user buffer */ in debug_output()
457 size_t len, /* length of buffer */ in debug_output()
853 * - set active entry to next in the ring buffer
868 * - set active area to next in the ring buffer
958 void *buffer, size_t *lenp, loff_t *ppos) in s390dbf_procactive()
961 return proc_dointvec(table, write, buffer, lenp, ppos); in s390dbf_procactive()
1259 char *buffer; in debug_get_user_string() local
1261 buffer in debug_get_user_string()
957 s390dbf_procactive(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) s390dbf_procactive() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
H A Dni65.c115 * buffer configuration
733 unsigned long buffer[TMDNUM]; in ni65_stop_start() local
751 buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer); in ni65_stop_start()
765 p->tmdhead[i].u.buffer = (u32) isa_virt_to_bus((char *)buffer[num]); /* status is part of buffer field */ in ni65_stop_start()
825 tmdp->u.buffer = 0x0; in ni65_lance_reinit()
834 rmdp->u.buffer = (u32) isa_virt_to_bus(p->recv_skb[i]->data); in ni65_lance_reinit()
836 rmdp->u.buffer in ni65_lance_reinit()
[all...]
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Dxonar_wm87x6.c1221 struct snd_info_buffer *buffer) in dump_wm8776_registers()
1226 snd_iprintf(buffer, "\nWM8776:\n00:"); in dump_wm8776_registers()
1228 snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); in dump_wm8776_registers()
1229 snd_iprintf(buffer, "\n10:"); in dump_wm8776_registers()
1231 snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); in dump_wm8776_registers()
1232 snd_iprintf(buffer, "\n"); in dump_wm8776_registers()
1236 struct snd_info_buffer *buffer) in dump_wm87x6_registers()
1241 dump_wm8776_registers(chip, buffer); in dump_wm87x6_registers()
1242 snd_iprintf(buffer, "\nWM8766:\n00:"); in dump_wm87x6_registers()
1244 snd_iprintf(buffer, " in dump_wm87x6_registers()
1220 dump_wm8776_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_wm8776_registers() argument
1235 dump_wm87x6_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_wm87x6_registers() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/mixart/
H A Dmixart.c292 flowinfo[j].bufferinfo_count = 1; /* 1 will set the miXart to ring-buffer mode ! */ in snd_mixart_add_ref_pipe()
295 bufferinfo[j].buffer_address = 0; /* buffer is not yet allocated */ in snd_mixart_add_ref_pipe()
296 bufferinfo[j].available_length = 0; /* buffer is not yet allocated */ in snd_mixart_add_ref_pipe()
298 /* construct the identifier of the stream buffer received in the interrupts ! */ in snd_mixart_add_ref_pipe()
1166 struct snd_info_buffer *buffer) in snd_mixart_proc_read()
1171 snd_iprintf(buffer, "Digigram miXart (alsa card %d)\n\n", chip->chip_idx); in snd_mixart_proc_read()
1175 snd_iprintf(buffer, "- hardware -\n"); in snd_mixart_proc_read()
1177 case MIXART_DAUGHTER_TYPE_NONE : snd_iprintf(buffer, "\tmiXart8 (no daughter board)\n\n"); break; in snd_mixart_proc_read()
1178 case MIXART_DAUGHTER_TYPE_AES : snd_iprintf(buffer, "\tmiXart8 AES/EBU\n\n"); break; in snd_mixart_proc_read()
1179 case MIXART_DAUGHTER_TYPE_COBRANET : snd_iprintf(buffer, "\tmiXart in snd_mixart_proc_read()
1165 snd_mixart_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_mixart_proc_read() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddata-convert-bt.c253 char *buffer = NULL; in string_set_value() local
259 if (!buffer) in string_set_value()
261 buffer[p] = string[i]; in string_set_value()
268 if (!buffer) { in string_set_value()
269 buffer = zalloc(i + (len - i) * 4 + 2); in string_set_value()
270 if (!buffer) { in string_set_value()
275 strncpy(buffer, string, i); in string_set_value()
277 memcpy(buffer + p, numstr, 4); in string_set_value()
282 if (!buffer) in string_set_value()
284 err = bt_ctf_field_string_set_value(field, buffer); in string_set_value()
[all...]
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c641 char *buffer; in err_on_hypervisor() local
646 buffer = malloc(4096); in err_on_hypervisor()
647 if (!buffer) { in err_on_hypervisor()
649 err(-ENOMEM, "buffer malloc fail"); in err_on_hypervisor()
652 if (!fread(buffer, 1024, 1, cpuinfo)) { in err_on_hypervisor()
654 free(buffer); in err_on_hypervisor()
658 flags = strstr(buffer, "flags"); in err_on_hypervisor()
660 fseek(cpuinfo, flags - buffer, SEEK_SET); in err_on_hypervisor()
661 if (!fgets(buffer, 4096, cpuinfo)) { in err_on_hypervisor()
663 free(buffer); in err_on_hypervisor()
[all...]
/kernel/linux/linux-5.10/fs/proc/
H A Dvmcore.c38 /* Stores the pointer to the buffer containing kernel elf core headers. */
245 /* Leave now if buffer filled already */ in vmcoredd_copy_dumps()
282 /* Leave now if buffer filled already */ in vmcoredd_mmap_dumps()
299 static ssize_t __read_vmcore(char *buffer, size_t buflen, loff_t *fpos, in __read_vmcore() argument
317 if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) in __read_vmcore()
321 buffer += tsz; in __read_vmcore()
324 /* leave now if filled buffer already */ in __read_vmcore()
334 * other elf notes may not fill the elf notes buffer in __read_vmcore()
348 if (vmcoredd_copy_dumps(buffer, start, tsz, userbuf)) in __read_vmcore()
353 buffer in __read_vmcore()
402 read_vmcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) read_vmcore() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddata-convert-bt.c257 char *buffer = NULL; in string_set_value() local
263 if (!buffer) in string_set_value()
265 buffer[p] = string[i]; in string_set_value()
272 if (!buffer) { in string_set_value()
273 buffer = zalloc(i + (len - i) * 4 + 2); in string_set_value()
274 if (!buffer) { in string_set_value()
279 strncpy(buffer, string, i); in string_set_value()
281 memcpy(buffer + p, numstr, 4); in string_set_value()
286 if (!buffer) in string_set_value()
288 err = bt_ctf_field_string_set_value(field, buffer); in string_set_value()
[all...]
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c644 char *buffer; in err_on_hypervisor() local
649 buffer = malloc(4096); in err_on_hypervisor()
650 if (!buffer) { in err_on_hypervisor()
652 err(-ENOMEM, "buffer malloc fail"); in err_on_hypervisor()
655 if (!fread(buffer, 1024, 1, cpuinfo)) { in err_on_hypervisor()
657 free(buffer); in err_on_hypervisor()
661 flags = strstr(buffer, "flags"); in err_on_hypervisor()
663 fseek(cpuinfo, flags - buffer, SEEK_SET); in err_on_hypervisor()
664 if (!fgets(buffer, 4096, cpuinfo)) { in err_on_hypervisor()
666 free(buffer); in err_on_hypervisor()
[all...]
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Dxonar_wm87x6.c1221 struct snd_info_buffer *buffer) in dump_wm8776_registers()
1226 snd_iprintf(buffer, "\nWM8776:\n00:"); in dump_wm8776_registers()
1228 snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); in dump_wm8776_registers()
1229 snd_iprintf(buffer, "\n10:"); in dump_wm8776_registers()
1231 snd_iprintf(buffer, " %03x", data->wm8776_regs[i]); in dump_wm8776_registers()
1232 snd_iprintf(buffer, "\n"); in dump_wm8776_registers()
1236 struct snd_info_buffer *buffer) in dump_wm87x6_registers()
1241 dump_wm8776_registers(chip, buffer); in dump_wm87x6_registers()
1242 snd_iprintf(buffer, "\nWM8766:\n00:"); in dump_wm87x6_registers()
1244 snd_iprintf(buffer, " in dump_wm87x6_registers()
1220 dump_wm8776_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_wm8776_registers() argument
1235 dump_wm87x6_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_wm87x6_registers() argument
[all...]

Completed in 35 milliseconds

1...<<81828384858687888990>>...203