Home
last modified time | relevance | path

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

12345678910>>...75

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/iio/
Dindustrialio-buffer.c313 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local
322 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data) in iio_pop_from_buffer()
331 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
345 struct iio_buffer *buffer; in iio_device_detach_buffers() local
399 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_show() local
449 struct iio_buffer *buffer, int bit) in iio_scan_mask_set()
486 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
493 struct iio_buffer *buffer, int bit) in iio_scan_mask_query()
515 struct iio_buffer *buffer = this_attr->buffer; in iio_scan_el_store() local
548 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_ts_show() local
[all …]
/linux-6.6.21/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()
213 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read()
300 static int disasm_emu10k1_reg(char *buffer, in disasm_emu10k1_reg()
319 static int disasm_sblive_reg(char *buffer, unsigned reg, const char *pfx) in disasm_sblive_reg()
324 static int disasm_audigy_reg(char *buffer, unsigned reg, const char *pfx) in disasm_audigy_reg()
330 struct snd_info_buffer *buffer) in snd_emu10k1_proc_acode_read()
424 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read()
448 struct snd_info_buffer *buffer, in snd_emu_proc_emu1010_link_read()
[all …]
/linux-6.6.21/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
173 struct binder_buffer *buffer; in binder_alloc_prepare_to_free() local
336 struct binder_buffer *buffer; in debug_low_async_space_locked() local
377 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local
568 struct binder_buffer *buffer; in binder_alloc_new_buf() local
[all …]
/linux-6.6.21/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.6.21/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.6.21/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(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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager_v9.c33 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_v9()
87 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_aldebaran()
140 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9()
178 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9()
211 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9()
290 uint32_t *buffer, in pm_set_grace_period_v9()
324 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9()
375 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/pnp/
Dinterface.c26 char *buffer; /* pointer to begin of buffer */ member
37 static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...) in pnp_printf()
56 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port()
68 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq()
101 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma()
153 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem()
189 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option()
212 pnp_info_buffer_t *buffer; in options_show() local
252 pnp_info_buffer_t *buffer; in resources_show() local
/linux-6.6.21/drivers/gpu/drm/
Ddrm_client.c265 static void drm_client_buffer_delete(struct drm_client_buffer *buffer) in drm_client_buffer_delete()
282 struct drm_client_buffer *buffer; in drm_client_buffer_create() local
338 drm_client_buffer_vmap(struct drm_client_buffer *buffer, in drm_client_buffer_vmap()
370 void drm_client_buffer_vunmap(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap()
378 static void drm_client_buffer_rmfb(struct drm_client_buffer *buffer) in drm_client_buffer_rmfb()
393 static int drm_client_buffer_addfb(struct drm_client_buffer *buffer, in drm_client_buffer_addfb()
443 struct drm_client_buffer *buffer; in drm_client_framebuffer_create() local
475 void drm_client_framebuffer_delete(struct drm_client_buffer *buffer) in drm_client_framebuffer_delete()
496 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect) in drm_client_framebuffer_flush()
/linux-6.6.21/net/core/
Dsysctl_net_core.c50 static void dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos, in dump_cpumask()
95 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl()
126 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl()
195 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl()
252 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl()
274 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc()
293 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight()
311 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key()
324 void *buffer, size_t *lenp, in proc_dointvec_minmax_bpf_enable()
357 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_bpf_restricted()
[all …]
/linux-6.6.21/drivers/dma-buf/heaps/
Dcma_heap.c53 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_attach() local
86 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_detach() local
124 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_begin_cpu_access() local
145 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_end_cpu_access() local
166 struct cma_heap_buffer *buffer = vma->vm_private_data; in cma_heap_vm_fault() local
183 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_mmap() local
194 static void *cma_heap_do_vmap(struct cma_heap_buffer *buffer) in cma_heap_do_vmap()
207 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_vmap() local
234 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_vunmap() local
247 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_release() local
[all …]

12345678910>>...75