| /OK3568_Linux_fs/kernel/drivers/staging/axis-fifo/ |
| H A D | axis-fifo.c | 153 static ssize_t sysfs_write(struct device *dev, const char *buf, in sysfs_write() 169 static ssize_t sysfs_read(struct device *dev, char *buf, in sysfs_read() 185 const char *buf, size_t count) in isr_store() 191 struct device_attribute *attr, char *buf) in isr_show() 199 const char *buf, size_t count) in ier_store() 205 struct device_attribute *attr, char *buf) in ier_show() 213 const char *buf, size_t count) in tdfr_store() 221 struct device_attribute *attr, char *buf) in tdfv_show() 229 const char *buf, size_t count) in tdfd_store() 237 const char *buf, size_t count) in tlr_store() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_ex_fun.c | 212 u8 *buf = NULL; in fts_debug_read() local 417 u8 *buf = NULL; in fts_debug_read() local 545 …ts_hw_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in fts_hw_reset_store() 550 static ssize_t fts_hw_reset_show(struct device *dev, struct device_attribute *attr, char *buf) in fts_hw_reset_show() 566 static ssize_t fts_irq_store(struct device *dev, struct device_attribute *attr, const char *buf, si… in fts_irq_store() 582 static ssize_t fts_irq_show(struct device *dev, struct device_attribute *attr, char *buf) in fts_irq_show() 590 static ssize_t fts_tpfwver_show(struct device *dev, struct device_attribute *attr, char *buf) in fts_tpfwver_show() 620 static ssize_t fts_tpfwver_store(struct device *dev, struct device_attribute *attr, const char *buf… in fts_tpfwver_store() 632 static ssize_t fts_tprwreg_show(struct device *dev, struct device_attribute *attr, char *buf) in fts_tprwreg_show() 734 static int fts_parse_buf(const char *buf, size_t cmd_len) in fts_parse_buf() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/mellanox/ |
| H A D | mlxbf-bootctl.c | 82 struct device_attribute *attr, char *buf) in post_reset_wdog_show() 95 const char *buf, size_t count) in post_reset_wdog_store() 111 static ssize_t mlxbf_bootctl_show(int smc_op, char *buf) in mlxbf_bootctl_show() 122 static int mlxbf_bootctl_store(int smc_op, const char *buf, size_t count) in mlxbf_bootctl_store() 138 struct device_attribute *attr, char *buf) in reset_action_show() 145 const char *buf, size_t count) in reset_action_store() 152 char *buf) in second_reset_action_show() 159 const char *buf, size_t count) in second_reset_action_store() 166 struct device_attribute *attr, char *buf) in lifecycle_state_show() 194 char *buf) in secure_boot_fuse_state_show()
|
| /OK3568_Linux_fs/u-boot/lib/zlib/ |
| H A D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument 16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 18 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 19 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 57 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32()
|
| /OK3568_Linux_fs/kernel/net/ieee802154/ |
| H A D | header_ops.c | 15 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr() 47 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr() 80 u8 buf[IEEE802154_MAX_HEADER_LEN]; in ieee802154_hdr_push() local 124 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan, in ieee802154_hdr_get_addr() 161 ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr) in ieee802154_hdr_get_sechdr() 218 ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr) in ieee802154_hdr_get_addrs() 266 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() local 286 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek() local
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm-sysfs.c | 33 char *buf) in pubek_show() 83 char *buf) in pcrs_show() 118 char *buf) in enabled_show() 140 char *buf) in active_show() 162 char *buf) in owned_show() 184 struct device_attribute *attr, char *buf) in temp_deactivated_show() 206 char *buf) in caps_show() 257 const char *buf, size_t count) in cancel_store() 271 char *buf) in durations_show() 288 char *buf) in timeouts_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | tlclk.c | 243 static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count, in tlclk_read() 280 struct device_attribute *attr, char *buf) in show_current_ref() 296 struct device_attribute *attr, char *buf) in show_telclock_version() 312 struct device_attribute *attr, char *buf) in show_alarms() 327 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a() 349 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b() 371 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output() 392 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output() 413 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output() 435 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/ |
| H A D | usnic_ib_sysfs.c | 50 struct device_attribute *attr, char *buf) in board_id_show() 68 config_show(struct device *device, struct device_attribute *attr, char *buf) in config_show() 130 iface_show(struct device *device, struct device_attribute *attr, char *buf) in iface_show() 141 max_vf_show(struct device *device, struct device_attribute *attr, char *buf) in max_vf_show() 152 qp_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in qp_per_vf_show() 167 cq_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in cq_per_vf_show() 200 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show() 218 static ssize_t context_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in context_show() 223 static ssize_t summary_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in summary_show()
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | adt7470.c | 395 char *buf) in auto_update_interval_show() 403 const char *buf, size_t count) in auto_update_interval_store() 422 char *buf) in num_temp_sensors_show() 430 const char *buf, size_t count) in num_temp_sensors_store() 450 struct device_attribute *devattr, char *buf) in temp_min_show() 459 const char *buf, size_t count) in temp_min_store() 482 struct device_attribute *devattr, char *buf) in temp_max_show() 491 const char *buf, size_t count) in temp_max_store() 514 char *buf) in temp_show() 523 char *buf) in alarm_mask_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | uhci-debug.c | 27 static void lprintk(char *buf) in lprintk() 43 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, in uhci_show_td() 101 char *buf, int len, int space) in uhci_show_urbp() 166 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh() 262 static int uhci_show_sc(int port, unsigned short status, char *buf) in uhci_show_sc() 279 static int uhci_show_root_hub_state(struct uhci_hcd *uhci, char *buf) in uhci_show_root_hub_state() 305 static int uhci_show_status(struct uhci_hcd *uhci, char *buf, int len) in uhci_show_status() 374 static int uhci_sprint_schedule(struct uhci_hcd *uhci, char *buf, int len) in uhci_sprint_schedule() 592 static ssize_t uhci_debug_read(struct file *file, char __user *buf, in uhci_debug_read() 622 static inline void lprintk(char *buf) in lprintk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/uvc/ |
| H A D | uvc_queue.c | 41 static inline struct uvc_buffer *uvc_vbuf_to_buffer(struct vb2_v4l2_buffer *buf) in uvc_vbuf_to_buffer() 59 struct uvc_buffer *buf = list_first_entry(&queue->irqqueue, in uvc_queue_return_buffers() local 108 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_prepare() local 135 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_queue() local 158 struct uvc_buffer *buf = uvc_vbuf_to_buffer(vbuf); in uvc_buffer_finish() local 278 int uvc_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvc_query_buffer() 302 struct media_device *mdev, struct v4l2_buffer *buf) in uvc_queue_buffer() 325 int uvc_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvc_dequeue_buffer() 466 struct uvc_buffer *buf) in uvc_queue_buffer_requeue() 478 struct uvc_buffer *buf = container_of(ref, struct uvc_buffer, ref); in uvc_queue_buffer_complete() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/trigger/ |
| H A D | ledtrig-netdev.c | 95 struct device_attribute *attr, char *buf) in device_name_show() 108 struct device_attribute *attr, const char *buf, in device_name_store() 149 static ssize_t netdev_led_attr_show(struct device *dev, char *buf, in netdev_led_attr_show() 172 static ssize_t netdev_led_attr_store(struct device *dev, const char *buf, in netdev_led_attr_store() 211 struct device_attribute *attr, char *buf) in link_show() 217 struct device_attribute *attr, const char *buf, size_t size) in link_store() 225 struct device_attribute *attr, char *buf) in tx_show() 231 struct device_attribute *attr, const char *buf, size_t size) in tx_store() 239 struct device_attribute *attr, char *buf) in rx_show() 245 struct device_attribute *attr, const char *buf, size_t size) in rx_store() [all …]
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | rkbootloader.c | 43 struct stat buf; in wait_for_device() local 123 static unsigned int iavb_crc32(unsigned int crc_in, const unsigned char* buf, int size) in iavb_crc32() 134 static unsigned int avb_crc32(const unsigned char* buf, size_t size) in avb_crc32() 144 static int writeMisc_mtd(char *buf, int offset, int size) in writeMisc_mtd() 188 static int readMisc_mtd(char *buf, int offset, int size) in readMisc_mtd() 215 static int writeMisc_block(char *buf, int offset, int size) in writeMisc_block() 235 static int readMisc_block(char *buf, int offset, int size) in readMisc_block() 259 static int writeMisc(char *buf, int offset, int size) in writeMisc() 268 static int readMisc(char *buf, int offset, int size) in readMisc() 470 uint8_t *buf; in readCustomMiscCmdline() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pps/ |
| H A D | sysfs.c | 19 char *buf) in assert_show() 33 char *buf) in clear_show() 47 char *buf) in mode_show() 56 char *buf) in echo_show() 65 char *buf) in name_show() 74 char *buf) in path_show()
|
| /OK3568_Linux_fs/kernel/drivers/video/backlight/ |
| H A D | adp8870_bl.c | 542 static ssize_t adp8870_show(struct device *dev, char *buf, int reg) in adp8870_show() 558 static ssize_t adp8870_store(struct device *dev, const char *buf, in adp8870_store() 577 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_max_show() 583 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l5_dark_max_store() 592 struct device_attribute *attr, char *buf) in adp8870_bl_l4_indoor_max_show() 598 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l4_indoor_max_store() 607 struct device_attribute *attr, char *buf) in adp8870_bl_l3_office_max_show() 613 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l3_office_max_store() 622 struct device_attribute *attr, char *buf) in adp8870_bl_l2_bright_max_show() 628 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l2_bright_max_store() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/events/intel/ |
| H A D | pt.c | 91 char *buf) in pt_cap_show() 486 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_config() local 607 static void pt_config_buffer(struct pt_buffer *buf) in pt_config_buffer() 684 static void topa_insert_table(struct pt_buffer *buf, struct topa *topa) in topa_insert_table() 730 static int topa_insert_pages(struct pt_buffer *buf, int cpu, gfp_t gfp) in topa_insert_pages() 773 static void pt_topa_dump(struct pt_buffer *buf) in pt_topa_dump() 808 static void pt_buffer_advance(struct pt_buffer *buf) in pt_buffer_advance() 831 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_update_head() local 862 static void *pt_buffer_region(struct pt_buffer *buf) in pt_buffer_region() 871 static size_t pt_buffer_region_size(struct pt_buffer *buf) in pt_buffer_region_size() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | dcdbas.c | 81 void *buf; in smi_data_buf_realloc() local 120 char *buf) in smi_data_buf_phys_addr_show() 127 char *buf) in smi_data_buf_size_show() 134 const char *buf, size_t count) in smi_data_buf_size_store() 153 char *buf, loff_t pos, size_t count) in smi_data_read() 166 char *buf, loff_t pos, size_t count) in smi_data_write() 188 char *buf) in host_control_action_show() 195 const char *buf, size_t count) in host_control_action_store() 212 char *buf) in host_control_smi_type_show() 219 const char *buf, size_t count) in host_control_smi_type_store() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/ |
| H A D | omapfb-sysfs.c | 27 struct device_attribute *attr, char *buf) in show_rotate_type() 37 const char *buf, size_t count) in store_rotate_type() 81 struct device_attribute *attr, char *buf) in show_mirror() 91 const char *buf, size_t count) in store_mirror() 131 struct device_attribute *attr, char *buf) in show_overlays() 180 const char *buf, size_t count) in store_overlays() 321 struct device_attribute *attr, char *buf) in show_overlays_rotate() 343 struct device_attribute *attr, const char *buf, size_t count) in store_overlays_rotate() 413 struct device_attribute *attr, char *buf) in show_size() 422 const char *buf, size_t count) in store_size() [all …]
|
| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | debugfs.c | 24 char buf[DEBUGFS_FORMAT_BUFFER_SIZE]; in mac80211_format_buffer() local 82 char buf[200]; in aqm_read() local 122 char buf[100]; in aqm_write() local 157 char buf[128] = {}, *pos, *end; in airtime_flags_read() local 178 char buf[16]; in airtime_flags_write() local 210 char buf[400]; in aql_txq_limit_read() local 237 char buf[100]; in aql_txq_limit_write() local 290 char buf[3]; in force_tx_status_read() local 305 char buf[3]; in force_tx_status_write() local 416 char *buf = kzalloc(bufsz, GFP_KERNEL); in hwflags_read() local [all …]
|
| /OK3568_Linux_fs/kernel/fs/quota/ |
| H A D | quota_tree.c | 52 char *buf = kmalloc(size, GFP_NOFS); in getdqbuf() local 59 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() 68 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() 115 char *buf = getdqbuf(info->dqi_usable_bs); in get_free_dqblk() local 147 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() 164 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in remove_free_dqentry() 211 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf, in insert_free_dqentry() 262 char *buf = getdqbuf(info->dqi_usable_bs); in find_free_dqentry() local 336 char *buf = getdqbuf(info->dqi_usable_bs); in do_insert_tree() local 452 char *buf = getdqbuf(info->dqi_usable_bs); in free_dqentry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_devlink.c | 9 static void ice_info_get_dsn(struct ice_pf *pf, char *buf, size_t len) in ice_info_get_dsn() 19 static int ice_info_pba(struct ice_pf *pf, char *buf, size_t len) in ice_info_pba() 33 static int ice_info_fw_mgmt(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_mgmt() 43 static int ice_info_fw_api(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_api() 52 static int ice_info_fw_build(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_build() 61 static int ice_info_orom_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_orom_ver() 70 static int ice_info_nvm_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_nvm_ver() 79 static int ice_info_eetrack(struct ice_pf *pf, char *buf, size_t len) in ice_info_eetrack() 88 static int ice_info_ddp_pkg_name(struct ice_pf *pf, char *buf, size_t len) in ice_info_ddp_pkg_name() 97 static int ice_info_ddp_pkg_version(struct ice_pf *pf, char *buf, size_t len) in ice_info_ddp_pkg_version() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 205 char *buf; in il_dbgfs_tx_stats_read() local 246 char buf[8]; in il_dbgfs_clear_traffic_stats_write() local 266 char *buf; in il_dbgfs_rx_stats_read() local 309 char *buf; in il_dbgfs_sram_read() local 368 char buf[64]; in il_dbgfs_sram_write() local 395 char *buf; in il_dbgfs_stations_read() local 460 char *buf; in il_dbgfs_nvm_read() local 504 char *buf; in il_dbgfs_channels_read() local 581 char buf[512]; in il_dbgfs_status_read() local 644 char *buf; in il_dbgfs_interrupt_read() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/ |
| H A D | target_core_fabric_lib.c | 38 unsigned char *buf) in sas_get_pr_transport_id() 55 unsigned char *buf) in fc_get_pr_transport_id() 87 unsigned char *buf) in sbp_get_pr_transport_id() 103 unsigned char *buf) in srp_get_pr_transport_id() 132 unsigned char *buf) in iscsi_get_pr_transport_id() 262 char *buf, in iscsi_parse_pr_out_transport_id() 370 unsigned char *buf) in target_get_pr_transport_id() 391 char *buf, u32 *out_tid_len, char **port_nexus_ptr) in target_parse_pr_out_transport_id()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | edd.c | 105 edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf) in edd_attr_show() 121 edd_show_host_bus(struct edd_device *edev, char *buf) in edd_show_host_bus() 167 edd_show_interface(struct edd_device *edev, char *buf) in edd_show_interface() 233 edd_show_raw_data(struct edd_device *edev, char *buf) in edd_show_raw_data() 255 edd_show_version(struct edd_device *edev, char *buf) in edd_show_version() 270 edd_show_mbr_signature(struct edd_device *edev, char *buf) in edd_show_mbr_signature() 278 edd_show_extensions(struct edd_device *edev, char *buf) in edd_show_extensions() 304 edd_show_info_flags(struct edd_device *edev, char *buf) in edd_show_info_flags() 334 edd_show_legacy_max_cylinder(struct edd_device *edev, char *buf) in edd_show_legacy_max_cylinder() 349 edd_show_legacy_max_head(struct edd_device *edev, char *buf) in edd_show_legacy_max_head() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | zutil.h | 57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument 58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 60 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 61 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 79 const Byte *buf, in zlib_adler32()
|