/linux/arch/riscv/include/asm/ |
H A D | io.h | 97 #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 124 #define readsq(addr, buffer, count) __readsq(addr, buffer, count) argument [all …]
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_buffer.c | 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() 91 struct etnaviv_cmdbuf *buffer, u8 pipe) in etnaviv_cmd_select_pipe() 153 struct etnaviv_cmdbuf *buffer, unsigned int cmd_dwords) in etnaviv_buffer_reserve() 165 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_init() local 182 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_mmuv2() local 217 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_pta() local 235 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_end() local 303 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_sync_point_queue() local [all …]
|
/linux/drivers/xen/ |
H A D | sys-hypervisor.c | 40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in 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() 160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 322 static ssize_t xen_feature_show(int index, char *buffer) in xen_feature_show() 412 static ssize_t flag_show(struct hyp_sysfs_attr *attr, char *buffer) in flag_show() 473 const char *buffer, size_t len) in pmu_mode_store() 522 const char *buffer, size_t len) in pmu_features_store() 632 char *buffer) in hyp_sysfs_show() [all …]
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 124 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() 183 const char __user *buffer, in xgmac_reg_addr_write() 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() 251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read() 281 const char __user *buffer, in xpcs_reg_value_write() 328 const char __user *buffer, in xprop_reg_addr_write() 349 const char __user *buffer, in xprop_reg_value_write() 388 const char __user *buffer, in xi2c_reg_addr_write() [all …]
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 314 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local 346 struct iio_buffer *buffer; in iio_device_detach_buffers() local 593 struct iio_buffer *buffer, in iio_buffer_add_channel_sysfs() 741 struct iio_buffer *buffer) in iio_buffer_activate() 840 struct iio_buffer *buffer; in iio_verify_update() local 985 struct iio_buffer *buffer) in iio_buffer_update_demux() 1052 struct iio_buffer *buffer; in iio_update_demux() local 1158 struct iio_buffer *buffer; in iio_disable_buffers() local 1525 struct iio_buffer *buffer; in iio_device_buffer_getfd() local 1741 struct iio_buffer *buffer; in iio_buffers_alloc_sysfs_and_mask() local [all …]
|
/linux/sound/pci/emu10k1/ |
H A D | emuproc.c | 19 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() 428 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read() 608 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_write00() 614 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_write20() 623 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read00a() 629 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read00b() 635 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read20a() [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_proc.c | 47 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() 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() 438 static void print_vol_knob(struct snd_info_buffer *buffer, in print_vol_knob() 638 static void print_gpio(struct snd_info_buffer *buffer, in print_gpio() 749 struct snd_info_buffer *buffer) in print_codec_core_info() [all …]
|
/linux/drivers/android/ |
H A D | binder_alloc.c | 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 349 struct binder_buffer *buffer; in debug_no_space_locked() local 392 struct binder_buffer *buffer; in debug_low_async_space_locked() local 444 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local 817 struct binder_buffer *buffer; in binder_alloc_mmap_handler() local 893 struct binder_buffer *buffer; in binder_alloc_deferred_release() local 964 struct binder_buffer *buffer; in binder_alloc_print_allocated() local [all …]
|
/linux/drivers/s390/char/ |
H A D | sclp_rw.c | 43 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/kernel/ |
H A D | sysctl.c | 147 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() 643 int write, void *buffer, in __do_proc_douintvec() 868 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() 965 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() 1508 void *buffer, size_t *lenp, loff_t *ppos) in proc_dobool() [all …]
|
H A D | sysctl-test.c | 36 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/drivers/parport/ |
H A D | ieee1284_ops.c | 36 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/drivers/video/ |
H A D | hdmi.c | 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() 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() 829 void *buffer, size_t size) in hdmi_drm_infoframe_pack() 865 void *buffer, size_t size) in hdmi_vendor_any_infoframe_pack_only() [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_proc.c | 84 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/drivers/input/ |
H A D | input-compat.c | 14 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/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 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 686 struct hmm_buffer *buffer; in TEST_F() local 790 struct hmm_buffer *buffer; in TEST_F() local 847 struct hmm_buffer *buffer; in TEST_F() local 902 struct hmm_buffer *buffer; in TEST_F() local [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_client.c | 268 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/sound/pci/lola/ |
H A D | lola_proc.c | 16 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/drivers/connector/ |
H A D | cn_proc.c | 33 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/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager_v9.c | 33 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() 212 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9() 291 uint32_t *buffer, in pm_set_grace_period_v9() 325 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9() 376 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
|
H A D | kfd_packet_manager_vi.c | 42 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/Documentation/userspace-api/ |
H A D | perf_ring_buffer.rst | 388 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/scripts/kconfig/ |
H A D | lexer.l | 39 struct buffer { struct 40 struct buffer *parent; argument 47 static struct buffer *current_buf; argument
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | gp100.c | 30 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/drivers/md/dm-vdo/ |
H A D | encodings.c | 204 static void encode_version_number(u8 *buffer, size_t *offset, in encode_version_number() 221 static void decode_version_number(u8 *buffer, size_t *offset, in decode_version_number() 248 static void decode_volume_geometry(u8 *buffer, size_t *offset, in decode_volume_geometry() 366 static int decode_block_map_state_2_0(u8 *buffer, size_t *offset, in decode_block_map_state_2_0() 415 static void encode_block_map_state_2_0(u8 *buffer, size_t *offset, in encode_block_map_state_2_0() 548 static void encode_slab_depot_state_2_0(u8 *buffer, size_t *offset, in encode_slab_depot_state_2_0() 576 static int decode_slab_depot_state_2_0(u8 *buffer, size_t *offset, in decode_slab_depot_state_2_0() 1124 static void encode_vdo_component(u8 *buffer, size_t *offset, in encode_vdo_component() 1316 static int __must_check decode_components(u8 *buffer, size_t *offset, in decode_components() 1405 static void vdo_encode_component_states(u8 *buffer, size_t *offset, in vdo_encode_component_states() [all …]
|