Home
last modified time | relevance | path

Searched defs:buf (Results 101 – 125 of 9509) sorted by relevance

12345678910>>...381

/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dremoteproc_sysfs.c15 struct device_attribute *attr, char *buf) in recovery_show()
48 const char *buf, size_t count) in recovery_store()
84 struct device_attribute *attr, char *buf) in coredump_show()
109 const char *buf, size_t count) in coredump_store()
135 char *buf) in firmware_show()
157 const char *buf, size_t count) in firmware_store()
184 char *buf) in state_show()
196 const char *buf, size_t count) in state_store()
223 char *buf) in name_show()
/OK3568_Linux_fs/kernel/drivers/oprofile/
H A Doprofile_files.c30 static ssize_t timeout_read(struct file *file, char __user *buf, in timeout_read()
38 static ssize_t timeout_write(struct file *file, char const __user *buf, in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/
H A Dremap_backend.cpp38 static void ReadBinary(const std::string& path, void* buf, size_t size) { in ReadBinary()
48 static void WriteBinary(const std::string& path, void* buf, size_t size) { in WriteBinary()
72 FecMeshBuffer* buf = new FecMeshBuffer(); in AllocUserBuffer() local
96 void FecRemapBackend::FreeUserBuffer(FecMeshBuffer* buf) { in FreeUserBuffer()
145 FecMeshBuffer* buf = reinterpret_cast<FecMeshBuffer*>(info); in GetMeshFromFile() local
153 FecMeshBuffer* buf = reinterpret_cast<FecMeshBuffer*>(info); in WriteMeshToFile() local
173 [&mesh](const std::unique_ptr<FecMeshBuffer>& buf) { in Remap()
190 auto buf = reinterpret_cast<FecMeshBuffer*>(info); in Remap() local
195 FecMeshBuffer* buf = nullptr; in GetPendingHwResult() local
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_sysfs.c185 const char *buf, size_t count) in store_scan()
199 const char *buf, size_t count) in store_shost_state()
222 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state()
238 show_shost_mode(unsigned int mode, char *buf) in show_shost_mode()
255 char *buf) in show_shost_supported_mode()
271 struct device_attribute *attr, char *buf) in show_shost_active_mode()
295 const char *buf, size_t count) in store_host_reset()
321 struct device_attribute *attr, char *buf) in show_shost_eh_deadline()
332 const char *buf, size_t count) in store_shost_eh_deadline()
382 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) in show_host_busy()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/arm-spe-decoder/
H A Darm-spe-pkt-decoder.c85 static int arm_spe_get_payload(const unsigned char *buf, size_t len, in arm_spe_get_payload()
112 static int arm_spe_get_alignment(const unsigned char *buf, size_t len, in arm_spe_get_alignment()
130 static int arm_spe_get_timestamp(const unsigned char *buf, size_t len, in arm_spe_get_timestamp()
137 static int arm_spe_get_events(const unsigned char *buf, size_t len, in arm_spe_get_events()
154 static int arm_spe_get_data_source(const unsigned char *buf, size_t len, in arm_spe_get_data_source()
161 static int arm_spe_get_context(const unsigned char *buf, size_t len, in arm_spe_get_context()
170 static int arm_spe_get_op_type(const unsigned char *buf, size_t len, in arm_spe_get_op_type()
178 static int arm_spe_get_counter(const unsigned char *buf, size_t len, in arm_spe_get_counter()
195 static int arm_spe_get_addr(const unsigned char *buf, size_t len, in arm_spe_get_addr()
212 static int arm_spe_do_get_packet(const unsigned char *buf, size_t len, in arm_spe_do_get_packet()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/
H A Dnetconsole.c246 static ssize_t enabled_show(struct config_item *item, char *buf) in enabled_show()
251 static ssize_t extended_show(struct config_item *item, char *buf) in extended_show()
256 static ssize_t dev_name_show(struct config_item *item, char *buf) in dev_name_show()
261 static ssize_t local_port_show(struct config_item *item, char *buf) in local_port_show()
266 static ssize_t remote_port_show(struct config_item *item, char *buf) in remote_port_show()
271 static ssize_t local_ip_show(struct config_item *item, char *buf) in local_ip_show()
281 static ssize_t remote_ip_show(struct config_item *item, char *buf) in remote_ip_show()
291 static ssize_t local_mac_show(struct config_item *item, char *buf) in local_mac_show()
299 static ssize_t remote_mac_show(struct config_item *item, char *buf) in remote_mac_show()
312 const char *buf, size_t count) in enabled_store()
[all …]
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dide-sysfs.c24 char *buf) in media_show()
32 char *buf) in drivename_show()
40 char *buf) in modalias_show()
48 char *buf) in model_show()
56 char *buf) in firmware_show()
64 char *buf) in serial_show()
95 const char *buf, size_t n) in store_delete_devices()
111 const char *buf, size_t n) in store_scan()
/OK3568_Linux_fs/kernel/drivers/media/pci/ivtv/
H A Divtv-queue.c13 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user()
24 void ivtv_buf_swap(struct ivtv_buffer *buf) in ivtv_buf_swap()
40 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue()
61 struct ivtv_buffer *buf = NULL; in ivtv_dequeue() local
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf() local
133 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move() local
228 struct ivtv_buffer *buf = kzalloc(sizeof(struct ivtv_buffer), in ivtv_stream_alloc() local
255 struct ivtv_buffer *buf; in ivtv_stream_free() local
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/carl9170/
H A Ddebug.c47 #define ADD(buf, off, max, fmt, args...) \ argument
67 char *buf = NULL, *res_buf = NULL; in carl9170_debugfs_read() local
118 char *buf = NULL; in carl9170_debugfs_write() local
216 static char *carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_mem_usage_read()
239 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read()
284 struct sk_buff *skb, const char *prefix, char *buf, in carl9170_debugfs_format_frame()
300 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read()
356 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump()
382 static char *carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_sta_psm_read()
398 static char *carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_tx_stuck_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dpc87360.c245 struct device_attribute *devattr, char *buf) in fan_input_show()
253 struct device_attribute *devattr, char *buf) in fan_min_show()
261 struct device_attribute *devattr, char *buf) in fan_div_show()
269 struct device_attribute *devattr, char *buf) in fan_status_show()
278 const char *buf, size_t count) in fan_min_store()
344 char *buf) in pwm_show()
354 const char *buf, size_t count) in pwm_store()
393 struct device_attribute *devattr, char *buf) in in_input_show()
401 struct device_attribute *devattr, char *buf) in in_min_show()
409 struct device_attribute *devattr, char *buf) in in_max_show()
[all …]
H A Dasc7621.c165 char *buf) in show_u8()
173 const char *buf, size_t count) in store_u8()
194 struct device_attribute *attr, char *buf) in show_bitmask()
205 const char *buf, size_t count) in store_bitmask()
234 struct device_attribute *attr, char *buf) in show_fan16()
249 struct device_attribute *attr, const char *buf, in store_fan16()
295 char *buf) in show_in10()
313 char *buf) in show_in8()
324 const char *buf, size_t count) in store_in8()
348 struct device_attribute *attr, char *buf) in show_temp8()
[all …]
H A Dgl520sm.c190 struct device_attribute *attr, char *buf) in cpu0_vid_show()
206 struct device_attribute *attr, char *buf) in in_input_show()
219 char *buf) in in_min_show()
232 char *buf) in in_max_show()
245 const char *buf, size_t count) in in_min_store()
279 const char *buf, size_t count) in in_max_store()
339 struct device_attribute *attr, char *buf) in fan_input_show()
349 char *buf) in fan_min_show()
359 char *buf) in fan_div_show()
368 struct device_attribute *attr, char *buf) in fan1_off_show()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dsysfs.c101 struct attribute *attr, char *buf) in port_attr_show()
115 const char *buf, size_t count) in port_attr_store()
132 struct attribute *attr, char *buf) in gid_attr_show()
150 char *buf) in state_show()
174 char *buf) in lid_show()
188 char *buf) in lid_mask_count_show()
201 char *buf) in sm_lid_show()
214 char *buf) in sm_sl_show()
227 char *buf) in cap_mask_show()
240 char *buf) in rate_show()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DBits.h233 INLINE int readUtf8String(unsigned char const** ppSrc, char* buf, size_t bufLen) in readUtf8String()
254 char* buf; in readNewUtf8String() local
271 INLINE void set1(unsigned char* buf, unsigned char val) in set1()
279 INLINE void set2BE(unsigned char* buf, unsigned short val) in set2BE()
288 INLINE void set4BE(unsigned char* buf, unsigned int val) in set4BE()
299 INLINE void set8BE(unsigned char* buf, unsigned long long val) in set8BE()
314 INLINE void set2LE(unsigned char* buf, unsigned short val) in set2LE()
323 INLINE void set4LE(unsigned char* buf, unsigned int val) in set4LE()
334 INLINE void set8LE(unsigned char* buf, unsigned long long val) in set8LE()
349 INLINE void setUtf8String(unsigned char* buf, const unsigned char* str) in setUtf8String()
/OK3568_Linux_fs/external/recovery/minzip/
H A DBits.h233 INLINE int readUtf8String(unsigned char const** ppSrc, char* buf, size_t bufLen) in readUtf8String()
254 char* buf; in readNewUtf8String() local
271 INLINE void set1(unsigned char* buf, unsigned char val) in set1()
279 INLINE void set2BE(unsigned char* buf, unsigned short val) in set2BE()
288 INLINE void set4BE(unsigned char* buf, unsigned int val) in set4BE()
299 INLINE void set8BE(unsigned char* buf, unsigned long long val) in set8BE()
314 INLINE void set2LE(unsigned char* buf, unsigned short val) in set2LE()
323 INLINE void set4LE(unsigned char* buf, unsigned int val) in set4LE()
334 INLINE void set8LE(unsigned char* buf, unsigned long long val) in set8LE()
349 INLINE void setUtf8String(unsigned char* buf, const unsigned char* str) in setUtf8String()
/OK3568_Linux_fs/kernel/drivers/s390/scsi/
H A Dzfcp_sysfs.c93 char *buf) in zfcp_sysfs_port_failed_show()
105 const char *buf, size_t count) in zfcp_sysfs_port_failed_store()
125 char *buf) in zfcp_sysfs_unit_failed_show()
143 const char *buf, size_t count) in zfcp_sysfs_unit_failed_store()
169 char *buf) in zfcp_sysfs_adapter_failed_show()
189 const char *buf, size_t count) in zfcp_sysfs_adapter_failed_store()
215 const char *buf, size_t count) in zfcp_sysfs_port_rescan_store()
300 const char *buf, size_t count) in zfcp_sysfs_port_remove_store()
343 struct device_attribute *attr, char *buf) in zfcp_sysfs_adapter_diag_max_age_show()
361 const char *buf, size_t count) in zfcp_sysfs_adapter_diag_max_age_store()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_attr.c129 char *buf) in lpfc_drvr_version_show()
144 char *buf) in lpfc_enable_fip_show()
158 char *buf) in lpfc_nvme_info_show()
531 char *buf) in lpfc_scsi_stat_show()
582 char *buf) in lpfc_bg_info_show()
602 char *buf) in lpfc_bg_guard_err_show()
614 char *buf) in lpfc_bg_apptag_err_show()
626 char *buf) in lpfc_bg_reftag_err_show()
646 char *buf) in lpfc_info_show()
663 char *buf) in lpfc_serialnum_show()
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Draw_io.h101 static inline void raw_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_insb()
109 static inline void raw_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_outsb()
149 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw()
188 static inline void raw_outsw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw()
228 static inline void raw_insl(volatile u32 __iomem *port, u32 *buf, unsigned int nr) in raw_insl()
267 static inline void raw_outsl(volatile u32 __iomem *port, const u32 *buf, in raw_outsl()
308 static inline void raw_insw_swapw(volatile u16 __iomem *port, u16 *buf, in raw_insw_swapw()
361 static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw_swapw()
416 static inline void raw_rom_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_rom_insb()
424 static inline void raw_rom_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_rom_outsb()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c18 static unsigned int debugifc_count_whitespace(const char *buf, in debugifc_count_whitespace()
35 static unsigned int debugifc_count_nonwhitespace(const char *buf, in debugifc_count_nonwhitespace()
51 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, in debugifc_isolate_word()
79 static int debugifc_parse_unsigned_number(const char *buf,unsigned int count, in debugifc_parse_unsigned_number()
105 static int debugifc_match_keyword(const char *buf,unsigned int count, in debugifc_match_keyword()
116 int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) in pvr2_debugifc_print_info()
133 char *buf,unsigned int acnt) in pvr2_debugifc_print_status()
179 static int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_do1cmd()
289 int pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_docmd()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-dbg.c32 char buf[46], tmp[7], byte; in dbg_hcs_params() local
152 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status) in dbg_status_buf()
171 dbg_intr_buf(char *buf, unsigned len, const char *label, u32 enable) in dbg_intr_buf()
188 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command) in dbg_command_buf()
212 dbg_port_buf(char *buf, unsigned len, const char *label, int port, u32 status) in dbg_port_buf()
263 char buf[80]; in dbg_status() local
272 char buf[80]; in dbg_cmd() local
281 char buf[80]; in dbg_port() local
470 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
510 static ssize_t fill_bandwidth_buffer(struct debug_buffer *buf) in fill_bandwidth_buffer()
[all …]
/OK3568_Linux_fs/kernel/fs/ocfs2/dlm/
H A Ddlmdebug.c85 char buf[DLM_LOCKID_NAME_MAX]; in __dlm_print_one_lock_resource() local
236 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname()
257 char *buf, int len) in stringify_nodemap()
268 static int dump_mle(struct dlm_master_list_entry *mle, char *buf, int len) in dump_mle()
315 char *buf; in dlm_print_one_mle() local
341 static ssize_t debug_read(struct file *file, char __user *buf, in debug_read()
350 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
382 char *buf = NULL; in debug_purgelist_open() local
406 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
439 char *buf = NULL; in debug_mle_open() local
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_audit.c24 struct tty_audit_buf *buf; in tty_audit_buf_ref() local
33 struct tty_audit_buf *buf; in tty_audit_buf_alloc() local
53 static void tty_audit_buf_free(struct tty_audit_buf *buf) in tty_audit_buf_free()
90 static void tty_audit_buf_push(struct tty_audit_buf *buf) in tty_audit_buf_push()
113 struct tty_audit_buf *buf; in tty_audit_exit() local
155 struct tty_audit_buf *buf; in tty_audit_push() local
178 struct tty_audit_buf *buf; in tty_audit_buf_get() local
203 struct tty_audit_buf *buf; in tty_audit_add_data() local
/OK3568_Linux_fs/kernel/drivers/media/pci/cx18/
H A Dcx18-queue.c17 void cx18_buf_swap(struct cx18_buffer *buf) in cx18_buf_swap()
27 struct cx18_buffer *buf; in _cx18_mdl_swap() local
92 struct cx18_buffer *buf; in _cx18_mdl_update_bufs_for_cpu() local
112 struct cx18_buffer *buf; in cx18_mdl_update_bufs_for_cpu() local
235 struct cx18_buffer *buf; in cx18_unload_queues() local
266 struct cx18_buffer *buf; in cx18_load_queues() local
325 struct cx18_buffer *buf; in _cx18_mdl_sync_for_device() local
361 struct cx18_buffer *buf; in cx18_stream_alloc() local
405 struct cx18_buffer *buf; in cx18_stream_free() local
/OK3568_Linux_fs/u-boot/lib/
H A Dvsprintf.c50 static char *put_dec_trunc(char *buf, unsigned q) in put_dec_trunc()
86 static char *put_dec_full(char *buf, unsigned q) in put_dec_full()
128 static noinline char *put_dec(char *buf, uint64_t num) in put_dec()
157 static char *number(char *buf, char *end, u64 num, in number()
256 static char *string(char *buf, char *end, char *s, int field_width, in string()
276 static char *string16(char *buf, char *end, u16 *s, int field_width, in string16()
297 static char *mac_address_string(char *buf, char *end, u8 *addr, int field_width, in mac_address_string()
316 static char *ip6_addr_string(char *buf, char *end, u8 *addr, int field_width, in ip6_addr_string()
336 static char *ip4_addr_string(char *buf, char *end, u8 *addr, int field_width, in ip4_addr_string()
369 static char *uuid_string(char *buf, char *end, u8 *addr, int field_width, in uuid_string()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs-vif.c127 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write()
195 char buf[64]; in iwl_dbgfs_tx_pwr_lmt_read() local
212 char buf[512]; in iwl_dbgfs_pm_params_read() local
230 char buf[512]; in iwl_dbgfs_mac_params_read() local
350 static ssize_t iwl_dbgfs_bf_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_bf_params_write()
453 char buf[256]; in iwl_dbgfs_bf_params_read() local
496 static inline char *iwl_dbgfs_is_match(char *name, char *buf) in iwl_dbgfs_is_match()
513 char buf[64]; in iwl_dbgfs_os_device_timediff_read() local
528 static ssize_t iwl_dbgfs_low_latency_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_low_latency_write()
550 iwl_dbgfs_low_latency_force_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_low_latency_force_write()
[all …]

12345678910>>...381