Home
last modified time | relevance | path

Searched defs:buf (Results 251 – 275 of 9636) sorted by relevance

1...<<11121314151617181920>>...386

/OK3568_Linux_fs/u-boot/drivers/fpga/
H A Dzynqmppl.c49 static u32 load_word(const void *buf, u32 swap) in load_word()
70 static u32 check_header(const void *buf) in check_header()
103 static void *check_data(u8 *buf, size_t bsize, u32 *swap) in check_data()
129 static ulong zynqmp_align_dma_buffer(u32 *buf, u32 len, u32 swap) in zynqmp_align_dma_buffer()
167 static int zynqmp_validate_bitstream(xilinx_desc *desc, const void *buf, in zynqmp_validate_bitstream()
195 static int zynqmp_load(xilinx_desc *desc, const void *buf, size_t bsize, in zynqmp_load()
H A Dvirtex2.c94 static int virtex2_load(xilinx_desc *desc, const void *buf, size_t bsize, in virtex2_load()
117 static int virtex2_dump(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_dump()
158 static int virtex2_ssm_load(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_ssm_load()
357 static int virtex2_ssm_dump(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_ssm_dump()
409 static int virtex2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_ss_load()
415 static int virtex2_ss_dump(xilinx_desc *desc, const void *buf, size_t bsize) in virtex2_ss_dump()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_sysfs.c88 static ssize_t group_enabled_read(struct file *filp, char __user *buf, size_t count, loff_t *offp) in group_enabled_read()
103 static ssize_t group_enabled_write(struct file *filp, const char __user *buf, size_t count, loff_t … in group_enabled_write()
150 static ssize_t hw_core_base_addr_read(struct file *filp, char __user *buf, size_t count, loff_t *of… in hw_core_base_addr_read()
176 char buf[64]; in profiling_counter_src_read() local
221 char buf[64]; in profiling_counter_src_write() local
284 char buf[64]; in l2_l2x_counter_srcx_read() local
306 char buf[64]; in l2_l2x_counter_srcx_write() local
338 char buf[64]; in l2_all_counter_srcx_write() local
434 char buf[64]; in l2_l2x_counter_valx_read() local
486 char buf[32]; in power_always_on_write() local
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dadm1031.c322 struct device_attribute *attr, char *buf) in fan_auto_channel_show()
331 const char *buf, size_t count) in fan_auto_channel_store()
387 struct device_attribute *attr, char *buf) in auto_temp_off_show()
395 struct device_attribute *attr, char *buf) in auto_temp_min_show()
404 const char *buf, size_t count) in auto_temp_min_store()
425 struct device_attribute *attr, char *buf) in auto_temp_max_show()
434 const char *buf, size_t count) in auto_temp_max_store()
468 char *buf) in pwm_show()
475 const char *buf, size_t count) in pwm_store()
557 char *buf) in fan_show()
[all …]
H A Dsis5595.c212 char *buf) in in_show()
221 char *buf) in in_min_show()
230 char *buf) in in_max_show()
239 const char *buf, size_t count) in in_min_store()
259 const char *buf, size_t count) in in_max_store()
296 struct device_attribute *attr, char *buf) in temp1_input_show()
303 char *buf) in temp1_max_show()
310 struct device_attribute *attr, const char *buf, in temp1_max_store()
329 struct device_attribute *attr, char *buf) in temp1_max_hyst_show()
337 const char *buf, size_t count) in temp1_max_hyst_store()
[all …]
H A Dvia686a.c345 char *buf) { in in_show()
353 char *buf) { in in_min_show()
361 char *buf) { in in_max_show()
369 const char *buf, size_t count) { in in_min_store()
388 const char *buf, size_t count) { in in_max_store()
425 char *buf) { in temp_show()
432 char *buf) { in temp_over_show()
439 char *buf) { in temp_hyst_show()
446 struct device_attribute *da, const char *buf, in temp_over_store()
466 struct device_attribute *da, const char *buf, in temp_hyst_store()
[all …]
H A Dw83792d.c340 char *buf) in show_in()
406 const char *buf, size_t count) in store_fan_min()
430 char *buf) in show_fan_div()
446 const char *buf, size_t count) in store_fan_div()
488 char *buf) in show_temp1()
497 const char *buf, size_t count) in store_temp1()
522 char *buf) in show_temp23()
535 const char *buf, size_t count) in store_temp23()
564 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) in alarms_show()
571 struct device_attribute *attr, char *buf) in show_alarm()
[all …]
H A Dw83791d.c429 char *buf) in show_beep()
440 const char *buf, size_t count) in store_beep()
475 char *buf) in show_alarm()
531 const char *buf, size_t count) in store_fan_min()
553 char *buf) in show_fan_div()
568 const char *buf, size_t count) in store_fan_div()
709 char *buf) in show_pwm()
718 const char *buf, size_t count) in store_pwm()
750 char *buf) in show_pwmenable()
759 struct device_attribute *attr, const char *buf, size_t count) in store_pwmenable()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/
H A Dindustrialio-core.c214 char *buf) in iio_read_const_attr()
371 char buf[80]; in iio_debugfs_write_reg() local
447 char *buf) in iio_read_channel_ext_info()
460 const char *buf, in iio_write_channel_ext_info()
474 uintptr_t priv, const struct iio_chan_spec *chan, char *buf) in iio_enum_available_read()
494 uintptr_t priv, const struct iio_chan_spec *chan, char *buf) in iio_enum_read()
513 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, in iio_enum_write()
548 const struct iio_chan_spec *chan, char *buf) in iio_show_mount_matrix()
602 static ssize_t __iio_format_value(char *buf, size_t len, unsigned int type, in __iio_format_value()
670 ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) in iio_format_value()
[all …]
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A Dregion_devs.c233 struct device_attribute *attr, char *buf) in size_show()
242 struct device_attribute *attr, char *buf) in deep_flush_show()
254 const char *buf, size_t len) in deep_flush_store()
273 struct device_attribute *attr, char *buf) in mappings_show()
282 struct device_attribute *attr, char *buf) in nstype_show()
291 struct device_attribute *attr, char *buf) in set_cookie_show()
390 struct device_attribute *attr, char *buf) in available_size_show()
413 struct device_attribute *attr, char *buf) in max_available_extent_show()
430 struct device_attribute *attr, char *buf) in init_namespaces_show()
447 struct device_attribute *attr, char *buf) in namespace_seed_show()
[all …]
H A Dbtt_devs.c41 struct device_attribute *attr, char *buf) in sector_size_show()
49 struct device_attribute *attr, const char *buf, size_t len) in sector_size_store()
68 struct device_attribute *attr, char *buf) in uuid_show()
78 struct device_attribute *attr, const char *buf, size_t len) in uuid_store()
94 struct device_attribute *attr, char *buf) in namespace_show()
107 struct device_attribute *attr, const char *buf, size_t len) in namespace_store()
125 struct device_attribute *attr, char *buf) in size_show()
144 struct device_attribute *attr, char *buf) in log_zero_flags_show()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_buffer.c58 struct tty_bufhead *buf = &port->buf; in tty_buffer_lock_exclusive() local
67 struct tty_bufhead *buf = &port->buf; in tty_buffer_unlock_exclusive() local
118 struct tty_bufhead *buf = &port->buf; in tty_buffer_free_all() local
197 struct tty_bufhead *buf = &port->buf; in tty_buffer_free() local
223 struct tty_bufhead *buf = &port->buf; in tty_buffer_flush() local
261 struct tty_bufhead *buf = &port->buf; in __tty_buffer_request_room() local
483 struct tty_bufhead *buf = &port->buf; in flush_to_ldisc() local
548 struct tty_bufhead *buf = &port->buf; in tty_flip_buffer_push() local
572 struct tty_bufhead *buf = &port->buf; in tty_insert_flip_string_and_push_buffer() local
596 struct tty_bufhead *buf = &port->buf; in tty_buffer_init() local
/OK3568_Linux_fs/kernel/drivers/media/pci/tw5864/
H A Dtw5864-h264.c25 u8 *buf; /* pointer to buffer beginning */ member
31 static void bs_init(struct bs *s, void *buf, int size) in bs_init()
101 static int tw5864_h264_gen_sps_rbsp(u8 *buf, size_t size, int width, int height) in tw5864_h264_gen_sps_rbsp()
130 static int tw5864_h264_gen_pps_rbsp(u8 *buf, size_t size, int qp) in tw5864_h264_gen_pps_rbsp()
155 static int tw5864_h264_gen_slice_head(u8 *buf, size_t size, in tw5864_h264_gen_slice_head()
197 void tw5864_h264_put_stream_header(u8 **buf, size_t *space_left, int qp, in tw5864_h264_put_stream_header()
229 void tw5864_h264_put_slice_header(u8 **buf, size_t *space_left, in tw5864_h264_put_slice_header()
/OK3568_Linux_fs/kernel/drivers/misc/ocxl/
H A Dsysfs.c15 char *buf) in global_mmio_size_show()
25 char *buf) in pp_mmio_size_show()
35 char *buf) in afu_version_show()
46 char *buf) in contexts_show()
56 char *buf) in reload_on_reset_show()
71 const char *buf, size_t count) in reload_on_reset_store()
97 struct bin_attribute *bin_attr, char *buf, in global_mmio_read()
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dcytherm.c52 void *buf, int size) in vendor_command()
67 static ssize_t brightness_show(struct device *dev, struct device_attribute *attr, char *buf) in brightness_show()
75 static ssize_t brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, in brightness_store()
116 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
153 static ssize_t button_show(struct device *dev, struct device_attribute *attr, char *buf) in button_show()
183 static ssize_t port0_show(struct device *dev, struct device_attribute *attr, char *buf) in port0_show()
207 static ssize_t port0_store(struct device *dev, struct device_attribute *attr, const char *buf, size… in port0_store()
238 static ssize_t port1_show(struct device *dev, struct device_attribute *attr, char *buf) in port1_show()
262 static ssize_t port1_store(struct device *dev, struct device_attribute *attr, const char *buf, size… in port1_store()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/
H A Dio.h45 void *buf, size_t len, in wlcore_raw_write()
63 void *buf, size_t len, in wlcore_raw_read()
81 void *buf, size_t len, in wlcore_raw_read_data()
88 void *buf, size_t len, in wlcore_raw_write_data()
119 void *buf, size_t len, bool fixed) in wlcore_read()
129 void *buf, size_t len, bool fixed) in wlcore_write()
139 void *buf, size_t len, in wlcore_write_data()
146 void *buf, size_t len, in wlcore_read_data()
153 void *buf, size_t len, in wlcore_read_hwaddr()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c151 const void *buf, size_t len) in ath6kl_dbg_dump()
304 char *buf; in read_file_war_stats() local
336 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) in ath6kl_debug_fwlog_event()
405 char *buf; in ath6kl_fwlog_read() local
458 char *buf; in ath6kl_fwlog_block_read() local
529 char buf[16]; in ath6kl_fwlog_mask_read() local
571 char *buf; in read_file_tgt_stats() local
710 char *buf; in read_file_credit_dist_stats() local
762 static unsigned int print_endpoint_stat(struct htc_target *target, char *buf, in print_endpoint_stat()
787 char *buf; in ath6kl_endpoint_stats_read() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A Ddebug.c154 char *buf; in ath10k_read_wmi_services() local
395 void *buf = NULL; in ath10k_fw_stats_open() local
446 const char *buf = file->private_data; in ath10k_fw_stats_read() local
467 char *buf; in ath10k_debug_fw_reset_stats_read() local
524 const char buf[] = in ath10k_read_simulate_fw_crash() local
546 char buf[32] = {0}; in ath10k_write_simulate_fw_crash() local
618 char buf[50]; in ath10k_read_chip_id() local
637 u8 buf[32]; in ath10k_reg_addr_read() local
685 u8 buf[48]; in ath10k_reg_value_read() local
756 u8 *buf; in ath10k_mem_value_read() local
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dio.c27 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb()
44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb()
58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns()
75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns()
89 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns()
106 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dyealink.c249 u8 *buf = (u8 *)p; in yealink_cmd() local
279 static int yealink_set_ringtone(struct yealink_dev *yld, u8 *buf, size_t size) in yealink_set_ringtone()
556 char *buf) in show_map()
563 const char *buf, size_t cnt) in store_map()
581 static ssize_t show_line(struct device *dev, char *buf, int a, int b) in show_line()
606 char *buf) in show_line1()
612 char *buf) in show_line2()
618 char *buf) in show_line3()
630 static ssize_t store_line(struct device *dev, const char *buf, size_t count, in store_line()
653 const char *buf, size_t count) in store_line1()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/
H A Dhwio.c31 void *buf, size_t buf_len, int buf_id) in __cw1200_reg_read()
52 const void *buf, size_t buf_len, int buf_id) in __cw1200_reg_write()
98 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
108 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
118 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) in cw1200_data_read()
144 int cw1200_data_write(struct cw1200_common *priv, const void *buf, in cw1200_data_write()
171 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, in cw1200_indirect_read()
235 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, in cw1200_apb_write()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Duvc_queue.c152 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); in uvc_buffer_prepare() local
184 struct uvc_buffer *buf = container_of(vbuf, struct uvc_buffer, buf); in uvc_buffer_queue() local
264 int uvcg_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_query_buffer()
269 int uvcg_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvcg_queue_buffer()
278 int uvcg_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvcg_dequeue_buffer()
328 struct uvc_buffer *buf; in uvcg_queue_cancel() local
404 struct uvc_buffer *buf) in uvcg_queue_next_buffer()
434 struct uvc_buffer *buf = NULL; in uvcg_queue_head() local
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_ppi.c51 struct device_attribute *attr, char *buf) in tpm_show_ppi_version()
59 struct device_attribute *attr, char *buf) in tpm_show_ppi_request()
114 const char *buf, size_t count) in tpm_store_ppi_request()
177 char *buf) in tpm_show_ppi_transition_action()
223 char *buf) in tpm_show_ppi_response()
282 static ssize_t show_ppi_operations(acpi_handle dev_handle, char *buf, u32 start, in show_ppi_operations()
326 char *buf) in tpm_show_ppi_tcg_operations()
336 char *buf) in tpm_show_ppi_vs_operations()
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dclass.c159 char *buf) in id_header_show()
168 char *buf) in cert_stat_show()
177 char *buf) in product_show()
186 char *buf) in product_type_vdo1_show()
195 char *buf) in product_type_vdo2_show()
204 char *buf) in product_type_vdo3_show()
263 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
391 vdo_show(struct device *dev, struct device_attribute *attr, char *buf) in vdo_show()
400 description_show(struct device *dev, struct device_attribute *attr, char *buf) in description_show()
409 active_show(struct device *dev, struct device_attribute *attr, char *buf) in active_show()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Ddebugfs.c237 void *buf = NULL; in ath11k_open_pdev_stats() local
290 const char *buf = file->private_data; in ath11k_read_pdev_stats() local
308 void *buf = NULL; in ath11k_open_vdev_stats() local
362 const char *buf = file->private_data; in ath11k_read_vdev_stats() local
381 void *buf = NULL; in ath11k_open_bcn_stats() local
447 const char *buf = file->private_data; in ath11k_read_bcn_stats() local
465 const char buf[] = in ath11k_read_simulate_fw_crash() local
487 char buf[32] = {0}; in ath11k_write_simulate_fw_crash() local
581 char buf[32] = {0}; in ath11k_read_enable_extd_tx_stats() local
674 char buf[32]; in ath11k_read_extd_rx_stats() local
[all …]

1...<<11121314151617181920>>...386