/linux/arch/riscv/include/asm/ |
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((void __iomem *)(long)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 127 #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count) argument 130 #define writesq(addr, buffer, count) __writesq(addr, buffer, count) argument [all …]
|
/linux/drivers/xen/ |
A D | sys-hypervisor.c | 38 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 50 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 80 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 90 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 100 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 158 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 320 static ssize_t xen_feature_show(int index, char *buffer) in xen_feature_show() 417 const char *buffer, size_t len) in pmu_mode_store() 466 const char *buffer, size_t len) in pmu_features_store() 572 char *buffer) in hyp_sysfs_show() [all …]
|
/linux/drivers/gpu/drm/etnaviv/ |
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() 63 static inline void CMD_LINK(struct etnaviv_cmdbuf *buffer, in CMD_LINK() 90 struct etnaviv_cmdbuf *buffer, u8 pipe) in etnaviv_cmd_select_pipe() 152 struct etnaviv_cmdbuf *buffer, unsigned int cmd_dwords) in etnaviv_buffer_reserve() 164 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_init() local 181 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_mmuv2() local 216 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_pta() local 234 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_end() local 302 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_sync_point_queue() local [all …]
|
/linux/drivers/net/ethernet/amd/xgbe/ |
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/ |
A D | industrialio-buffer.c | 310 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local 342 struct iio_buffer *buffer; in iio_device_detach_buffers() local 732 struct iio_buffer *buffer) in iio_buffer_activate() 774 struct iio_buffer *buffer) in iio_buffer_update_bytes_per_datum() 788 struct iio_buffer *buffer) in iio_buffer_request_update() 830 struct iio_buffer *buffer; in iio_verify_update() local 1041 struct iio_buffer *buffer; in iio_update_demux() local 1062 struct iio_buffer *buffer; in iio_enable_buffers() local 1144 struct iio_buffer *buffer; in iio_disable_buffers() local 1537 struct iio_buffer *buffer; in iio_device_buffer_getfd() local [all …]
|
/linux/sound/pci/emu10k1/ |
A D | emuproc.c | 24 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() 67 struct snd_info_buffer *buffer) in snd_emu10k1_proc_read() 224 struct snd_info_buffer *buffer) in snd_emu10k1_proc_spdif_read() 263 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read() 363 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read() 505 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_write00() 511 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_write20() 518 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read00a() 524 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read00b() 530 struct snd_info_buffer *buffer) in snd_emu_proc_ptr_reg_read20a() [all …]
|
/linux/drivers/android/ |
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 173 struct binder_buffer *buffer; in binder_alloc_prepare_to_free() local 351 struct binder_buffer *buffer; in debug_low_async_space_locked() local 393 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local 583 struct binder_buffer *buffer; in binder_alloc_new_buf() local 755 struct binder_buffer *buffer; in binder_alloc_mmap_handler() local 816 struct binder_buffer *buffer; in binder_alloc_deferred_release() local 879 struct binder_buffer *buffer) in print_binder_buffer() [all …]
|
/linux/drivers/s390/char/ |
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/sound/pci/hda/ |
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/input/ |
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/drivers/connector/ |
A D | cn_proc.c | 33 static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) in buffer_to_cn_msg() 73 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_fork_connector() local 103 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exec_connector() local 127 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_id_connector() local 165 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_sid_connector() local 189 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_ptrace_connector() local 221 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_comm_connector() local 247 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_coredump_connector() local 280 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exit_connector() local 322 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in cn_proc_ack() local
|
/linux/drivers/parport/ |
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/kernel/ |
A D | sysctl.c | 259 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 372 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() 530 char **buffer = (char **)buf; in proc_put_char() local 599 int write, void *buffer, in __do_proc_dointvec() 672 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() 683 void *buffer, in do_proc_douintvec_w() 770 int write, void *buffer, in __do_proc_douintvec() 1104 void *buffer, size_t *lenp, loff_t *ppos) in proc_dou8vec_minmax() 1187 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() 1669 void *buffer, size_t *lenp, loff_t *ppos) in proc_dobool() [all …]
|
A D | sysctl-test.c | 39 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local 85 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local 128 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local 162 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local 199 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local 230 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local 260 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local 290 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local 321 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local 359 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
|
/linux/sound/pci/ca0106/ |
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/tools/testing/selftests/vm/ |
A D | hmm-tests.c | 226 struct hmm_buffer *buffer; in TEST_F() local 290 struct hmm_buffer *buffer; in TEST_F() local 349 struct hmm_buffer *buffer; in TEST_F() local 397 struct hmm_buffer *buffer; in TEST_F() local 463 struct hmm_buffer *buffer; in TEST_F() local 541 struct hmm_buffer *buffer; in TEST_F() local 618 struct hmm_buffer *buffer; in TEST_F() local 675 struct hmm_buffer *buffer; in TEST_F() local 735 struct hmm_buffer *buffer; in TEST_F() local 790 struct hmm_buffer *buffer; in TEST_F() local [all …]
|
/linux/sound/pci/lola/ |
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/video/ |
A D | hdmi.c | 110 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only() 201 void *buffer, size_t size) in hdmi_avi_infoframe_pack() 281 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only() 335 void *buffer, size_t size) in hdmi_spd_infoframe_pack() 470 void *buffer, size_t size) in hdmi_audio_infoframe_pack() 568 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only() 631 void *buffer, size_t size) in hdmi_vendor_infoframe_pack() 712 void *buffer, size_t size) in hdmi_drm_infoframe_pack_only() 785 void *buffer, size_t size) in hdmi_drm_infoframe_pack() 821 void *buffer, size_t size) in hdmi_vendor_any_infoframe_pack_only() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_packet_manager_v9.c | 32 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_v9() 77 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_aldebaran() 115 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9() 153 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9() 181 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9() 248 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9() 324 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
|
A D | kfd_packet_manager_vi.c | 41 static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_process_vi() 74 static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_vi() 113 int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_vi() 141 static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_vi() 199 static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_vi() 265 static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_vi() 290 static int pm_release_mem_vi(uint64_t gpu_addr, uint32_t *buffer) in pm_release_mem_vi()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
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/include/asm-generic/ |
A D | io.h | 631 static inline void outsb(unsigned long addr, const void *buffer, in outsb() 640 static inline void outsw(unsigned long addr, const void *buffer, in outsw() 649 static inline void outsl(unsigned long addr, const void *buffer, in outsl() 840 void *buffer, unsigned int count) in ioread16_rep() 849 void *buffer, unsigned int count) in ioread32_rep() 859 void *buffer, unsigned int count) in ioread64_rep() 869 const void *buffer, in iowrite8_rep() 879 const void *buffer, in iowrite16_rep() 889 const void *buffer, in iowrite32_rep() 900 const void *buffer, in iowrite64_rep() [all …]
|
/linux/tools/wmi/ |
A D | dell-smbios-example.c | 32 static void show_buffer(struct dell_wmi_smbios_buffer *buffer) in show_buffer() 42 static int run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) in run_wmi_smbios_cmd() 95 struct dell_wmi_smbios_buffer *buffer) in token_is_active() 109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) in query_token() 123 static int activate_token(struct dell_wmi_smbios_buffer *buffer, in activate_token() 157 struct dell_wmi_smbios_buffer *buffer; in main() local
|
/linux/sound/usb/ |
A D | proc.c | 33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() 40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() 92 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() 175 struct snd_info_buffer *buffer) in proc_dump_ep_status() 194 struct snd_info_buffer *buffer) in proc_dump_substream_status() 210 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read()
|
/linux/drivers/gpu/drm/ |
A D | drm_client.c | 234 static void drm_client_buffer_delete(struct drm_client_buffer *buffer) in drm_client_buffer_delete() 255 struct drm_client_buffer *buffer; in drm_client_buffer_create() local 312 drm_client_buffer_vmap(struct drm_client_buffer *buffer, struct dma_buf_map *map_copy) in drm_client_buffer_vmap() 343 void drm_client_buffer_vunmap(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap() 351 static void drm_client_buffer_rmfb(struct drm_client_buffer *buffer) in drm_client_buffer_rmfb() 366 static int drm_client_buffer_addfb(struct drm_client_buffer *buffer, in drm_client_buffer_addfb() 415 struct drm_client_buffer *buffer; in drm_client_framebuffer_create() local 436 void drm_client_framebuffer_delete(struct drm_client_buffer *buffer) in drm_client_framebuffer_delete() 457 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect) in drm_client_framebuffer_flush()
|