Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 1792) sorted by relevance

12345678910>>...72

/linux-6.12.1/arch/riscv/include/asm/
Dio.h97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument
99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument
111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument
112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument
113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument
118 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument
[all …]
/linux-6.12.1/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c25 static inline void OUT(struct etnaviv_cmdbuf *buffer, u32 data) in OUT()
35 static inline void CMD_LOAD_STATE(struct etnaviv_cmdbuf *buffer, in CMD_LOAD_STATE()
49 static inline void CMD_END(struct etnaviv_cmdbuf *buffer) in CMD_END()
56 static inline void CMD_WAIT(struct etnaviv_cmdbuf *buffer, in CMD_WAIT()
64 static inline void CMD_LINK(struct etnaviv_cmdbuf *buffer, in CMD_LINK()
74 static inline void CMD_STALL(struct etnaviv_cmdbuf *buffer, in CMD_STALL()
83 static inline void CMD_SEM(struct etnaviv_cmdbuf *buffer, u32 from, u32 to) in CMD_SEM()
91 struct etnaviv_cmdbuf *buffer, u8 pipe) in etnaviv_cmd_select_pipe()
137 static void etnaviv_buffer_replace_wait(struct etnaviv_cmdbuf *buffer, in etnaviv_buffer_replace_wait()
153 struct etnaviv_cmdbuf *buffer, unsigned int cmd_dwords) in etnaviv_buffer_reserve()
[all …]
/linux-6.12.1/drivers/xen/
Dsys-hypervisor.c40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show()
52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show()
82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show()
92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show()
102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show()
139 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback()
160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show()
180 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show()
198 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show()
216 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show()
[all …]
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read()
148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write()
174 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read()
183 const char __user *buffer, in xgmac_reg_addr_write()
192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read()
204 const char __user *buffer, in xgmac_reg_value_write()
234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read()
242 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write()
251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read()
259 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write()
[all …]
/linux-6.12.1/sound/pci/emu10k1/
Demuproc.c19 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status()
62 struct snd_info_buffer *buffer) in snd_emu10k1_proc_read()
161 struct snd_info_buffer *buffer) in snd_emu10k1_proc_spdif_read()
217 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read()
304 static int disasm_emu10k1_reg(char *buffer, in disasm_emu10k1_reg()
323 static int disasm_sblive_reg(char *buffer, unsigned reg, const char *pfx) in disasm_sblive_reg()
328 static int disasm_audigy_reg(char *buffer, unsigned reg, const char *pfx) in disasm_audigy_reg()
334 struct snd_info_buffer *buffer) in snd_emu10k1_proc_acode_read()
428 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read()
452 struct snd_info_buffer *buffer, in snd_emu_proc_emu1010_link_read()
[all …]
/linux-6.12.1/drivers/iio/
Dindustrialio-buffer.c45 struct iio_buffer *buffer; member
347 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local
356 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data) in iio_pop_from_buffer()
365 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
381 struct iio_buffer *buffer; in iio_device_detach_buffers() local
443 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_show() local
509 struct iio_buffer *buffer, int bit) in iio_scan_mask_set()
546 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
553 struct iio_buffer *buffer, int bit) in iio_scan_mask_query()
575 struct iio_buffer *buffer = this_attr->buffer; in iio_scan_el_store() local
[all …]
/linux-6.12.1/sound/pci/hda/
Dhda_proc.c47 static void print_nid_array(struct snd_info_buffer *buffer, in print_nid_array()
74 static void print_nid_pcms(struct snd_info_buffer *buffer, in print_nid_pcms()
93 static void print_amp_caps(struct snd_info_buffer *buffer, in print_amp_caps()
133 static void print_amp_vals(struct snd_info_buffer *buffer, in print_amp_vals()
161 static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_rates()
177 static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_bits()
186 static void print_pcm_formats(struct snd_info_buffer *buffer, in print_pcm_formats()
199 static void print_pcm_caps(struct snd_info_buffer *buffer, in print_pcm_caps()
304 static void print_pin_caps(struct snd_info_buffer *buffer, in print_pin_caps()
400 static void print_pin_ctls(struct snd_info_buffer *buffer, in print_pin_ctls()
[all …]
/linux-6.12.1/drivers/android/
Dbinder_alloc.c50 static struct binder_buffer *binder_buffer_next(struct binder_buffer *buffer) in binder_buffer_next()
55 static struct binder_buffer *binder_buffer_prev(struct binder_buffer *buffer) in binder_buffer_prev()
61 struct binder_buffer *buffer) in binder_alloc_buffer_size()
73 struct binder_buffer *buffer; in binder_insert_free_buffer() local
106 struct binder_buffer *buffer; in binder_insert_allocated_buffer_locked() local
131 struct binder_buffer *buffer; in binder_alloc_prepare_to_free_locked() local
170 struct binder_buffer *buffer; in binder_alloc_prepare_to_free() local
269 struct binder_buffer *buffer, in binder_install_buffer_pages()
349 struct binder_buffer *buffer; in debug_no_space_locked() local
392 struct binder_buffer *buffer; in debug_low_async_space_locked() local
[all …]
/linux-6.12.1/drivers/s390/char/
Dsclp_rw.c43 struct sclp_buffer *buffer; in sclp_make_buffer() local
73 sclp_unmake_buffer(struct sclp_buffer *buffer) in sclp_unmake_buffer()
83 sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) in sclp_initialize_mto()
133 sclp_finalize_mto(struct sclp_buffer *buffer) in sclp_finalize_mto()
170 sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) in sclp_write()
306 sclp_buffer_space(struct sclp_buffer *buffer) in sclp_buffer_space()
322 sclp_chars_in_buffer(struct sclp_buffer *buffer) in sclp_chars_in_buffer()
360 struct sclp_buffer *buffer; in sclp_writedata_callback() local
425 sclp_emit_buffer(struct sclp_buffer *buffer, in sclp_emit_buffer()
/linux-6.12.1/kernel/
Dsysctl.c147 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string()
260 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring()
418 char **buffer = (char **)buf; in proc_put_char() local
472 int write, void *buffer, in __do_proc_dointvec()
545 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec()
556 void *buffer, in do_proc_douintvec_w()
611 static int do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, in do_proc_douintvec_r()
643 int write, void *buffer, in __do_proc_douintvec()
679 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec()
705 int proc_dobool(const struct ctl_table *table, int write, void *buffer, in proc_dobool()
[all …]
Dsysctl-test.c36 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local
82 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local
125 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local
159 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local
196 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local
227 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local
257 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local
287 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local
318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local
356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
/linux-6.12.1/drivers/parport/
Dieee1284_ops.c36 const void *buffer, size_t len, in parport_ieee1284_write_compat()
145 void *buffer, size_t len, in parport_ieee1284_read_nibble()
233 void *buffer, size_t len, in parport_ieee1284_read_byte()
389 const void *buffer, size_t len, in parport_ieee1284_ecp_write_data()
475 void *buffer, size_t len, int flags) in parport_ieee1284_ecp_read_data()
619 const void *buffer, size_t len, in parport_ieee1284_ecp_write_addr()
710 const void *buffer, size_t len, in parport_ieee1284_epp_write_data()
754 void *buffer, size_t len, in parport_ieee1284_epp_read_data()
798 const void *buffer, size_t len, in parport_ieee1284_epp_write_addr()
842 void *buffer, size_t len, in parport_ieee1284_epp_read_addr()
/linux-6.12.1/drivers/video/
Dhdmi.c47 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum()
111 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only()
202 void *buffer, size_t size) in hdmi_avi_infoframe_pack()
282 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only()
336 void *buffer, size_t size) in hdmi_spd_infoframe_pack()
393 u8 *buffer) in hdmi_audio_infoframe_pack_payload()
428 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only()
477 void *buffer, size_t size) in hdmi_audio_infoframe_pack()
612 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only()
675 void *buffer, size_t size) in hdmi_vendor_infoframe_pack()
[all …]
/linux-6.12.1/sound/pci/ca0106/
Dca0106_proc.c84 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958()
259 struct snd_info_buffer *buffer) in snd_ca0106_proc_iec958()
281 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write32()
299 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read32()
315 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read16()
331 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read8()
347 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read1()
365 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read2()
383 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write()
397 struct snd_info_buffer *buffer) in snd_ca0106_proc_i2c_write()
/linux-6.12.1/drivers/input/
Dinput-compat.c14 int input_event_from_user(const char __user *buffer, in input_event_from_user()
38 int input_event_to_user(char __user *buffer, in input_event_to_user()
62 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user()
99 int input_event_from_user(const char __user *buffer, in input_event_from_user()
108 int input_event_to_user(char __user *buffer, in input_event_to_user()
117 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user()
/linux-6.12.1/tools/testing/selftests/mm/
Dhmm-tests.c180 struct hmm_buffer *buffer, in hmm_dmirror_cmd()
205 static void hmm_buffer_free(struct hmm_buffer *buffer) in hmm_buffer_free()
269 struct hmm_buffer *buffer, in hmm_migrate_sys_to_dev()
276 struct hmm_buffer *buffer, in hmm_migrate_dev_to_sys()
294 struct hmm_buffer *buffer; in TEST_F() local
358 struct hmm_buffer *buffer; in TEST_F() local
417 struct hmm_buffer *buffer; in TEST_F() local
465 struct hmm_buffer *buffer; in TEST_F() local
531 struct hmm_buffer *buffer; in TEST_F() local
609 struct hmm_buffer *buffer; in TEST_F() local
[all …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_client.c268 static void drm_client_buffer_delete(struct drm_client_buffer *buffer) in drm_client_buffer_delete()
285 struct drm_client_buffer *buffer; in drm_client_buffer_create() local
340 int drm_client_buffer_vmap_local(struct drm_client_buffer *buffer, in drm_client_buffer_vmap_local()
370 void drm_client_buffer_vunmap_local(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap_local()
401 drm_client_buffer_vmap(struct drm_client_buffer *buffer, in drm_client_buffer_vmap()
439 void drm_client_buffer_vunmap(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap()
451 static void drm_client_buffer_rmfb(struct drm_client_buffer *buffer) in drm_client_buffer_rmfb()
466 static int drm_client_buffer_addfb(struct drm_client_buffer *buffer, in drm_client_buffer_addfb()
513 struct drm_client_buffer *buffer; in drm_client_framebuffer_create() local
545 void drm_client_framebuffer_delete(struct drm_client_buffer *buffer) in drm_client_framebuffer_delete()
[all …]
/linux-6.12.1/sound/pci/lola/
Dlola_proc.c16 static void print_audio_widget(struct snd_info_buffer *buffer, in print_audio_widget()
27 static void print_pin_widget(struct snd_info_buffer *buffer, in print_pin_widget()
48 static void print_clock_widget(struct snd_info_buffer *buffer, in print_clock_widget()
88 static void print_mixer_widget(struct snd_info_buffer *buffer, in print_mixer_widget()
98 struct snd_info_buffer *buffer) in lola_proc_codec_read()
135 struct snd_info_buffer *buffer) in lola_proc_codec_rw_write()
150 struct snd_info_buffer *buffer) in lola_proc_codec_rw_read()
160 struct snd_info_buffer *buffer) in lola_proc_regs_read()
/linux-6.12.1/drivers/connector/
Dcn_proc.c33 static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) in buffer_to_cn_msg()
121 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_fork_connector() local
151 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exec_connector() local
175 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_id_connector() local
213 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_sid_connector() local
237 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_ptrace_connector() local
269 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_comm_connector() local
295 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_coredump_connector() local
328 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exit_connector() local
370 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in cn_proc_ack() local
/linux-6.12.1/drivers/iio/buffer/
Dindustrialio-buffer-dma.c325 int iio_dma_buffer_request_update(struct iio_buffer *buffer) in iio_dma_buffer_request_update()
493 int iio_dma_buffer_enable(struct iio_buffer *buffer, in iio_dma_buffer_enable()
519 int iio_dma_buffer_disable(struct iio_buffer *buffer, in iio_dma_buffer_disable()
571 static int iio_dma_buffer_io(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_io()
634 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_read()
650 int iio_dma_buffer_write(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_write()
702 iio_dma_buffer_attach_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_attach_dmabuf()
728 void iio_dma_buffer_detach_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_detach_dmabuf()
757 int iio_dma_buffer_enqueue_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_enqueue_dmabuf()
789 void iio_dma_buffer_lock_queue(struct iio_buffer *buffer) in iio_dma_buffer_lock_queue()
[all …]
/linux-6.12.1/Documentation/userspace-api/
Dperf_ring_buffer.rst388 2.3.1 Producer-consumer model
437 2.3.2 Properties of the ring buffers
495 2.3.3 Writing samples into buffer
514 2.3.4 Reading samples from buffer
528 .. _memory_synchronization:
530 2.3.5 Memory synchronization
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager_vi.c42 static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_process_vi()
75 static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_vi()
114 static int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_vi()
142 static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_vi()
200 static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_vi()
246 static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_vi()
271 static int pm_release_mem_vi(uint64_t gpu_addr, uint32_t *buffer) in pm_release_mem_vi()
Dkfd_packet_manager_v9.c33 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_v9()
90 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_aldebaran()
147 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9()
190 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9()
224 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9()
301 uint32_t *buffer, in pm_set_grace_period_v9()
335 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9()
386 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
/linux-6.12.1/scripts/kconfig/
Dlexer.l40 struct buffer { struct
41 struct buffer *parent; argument
48 static struct buffer *current_buf; argument
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Dgp100.c30 gp100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) in gp100_fault_buffer_intr()
37 gp100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_fini()
44 gp100_fault_buffer_init(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_init()
52 u64 gp100_fault_buffer_pin(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_pin()
58 gp100_fault_buffer_info(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_info()

12345678910>>...72