| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | item.h | 43 static inline u8 __mlxsw_item_get8(const char *buf, in __mlxsw_item_get8() 59 static inline void __mlxsw_item_set8(char *buf, const struct mlxsw_item *item, in __mlxsw_item_set8() 77 static inline u16 __mlxsw_item_get16(const char *buf, in __mlxsw_item_get16() 93 static inline void __mlxsw_item_set16(char *buf, const struct mlxsw_item *item, in __mlxsw_item_set16() 111 static inline u32 __mlxsw_item_get32(const char *buf, in __mlxsw_item_get32() 127 static inline void __mlxsw_item_set32(char *buf, const struct mlxsw_item *item, in __mlxsw_item_set32() 145 static inline u64 __mlxsw_item_get64(const char *buf, in __mlxsw_item_get64() 161 static inline void __mlxsw_item_set64(char *buf, const struct mlxsw_item *item, in __mlxsw_item_set64() 178 static inline void __mlxsw_item_memcpy_from(const char *buf, char *dst, in __mlxsw_item_memcpy_from() 187 static inline void __mlxsw_item_memcpy_to(char *buf, const char *src, in __mlxsw_item_memcpy_to() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | d_path.c | 182 char *buf, int buflen) in __d_path() 198 char *buf, int buflen) in d_absolute_path() 219 char **buf, int *buflen) in path_with_deleted() 262 char *d_path(const struct path *path, char *buf, int buflen) in d_path() 329 static char *__dentry_path(struct dentry *d, char *buf, int buflen) in __dentry_path() 374 char *dentry_path_raw(struct dentry *dentry, char *buf, int buflen) in dentry_path_raw() 380 char *dentry_path(struct dentry *dentry, char *buf, int buflen) in dentry_path() 429 SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) in SYSCALL_DEFINE2() argument
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | exc3000.c | 76 u8 buf[2 * EXC3000_LEN_FRAME]; member 86 const u8 *buf, int num) in exc3000_report_slots() 108 static int exc3000_read_frame(struct exc3000_data *data, u8 *buf) in exc3000_read_frame() 141 u8 *buf, int *n_slots) in exc3000_read_data() 169 u8 *buf = data->buf; in exc3000_query_interrupt() local 193 u8 *buf = data->buf; in exc3000_interrupt() local 231 struct device_attribute *attr, char *buf) in fw_version_show() 286 struct device_attribute *attr, char *buf) in model_show()
|
| /OK3568_Linux_fs/kernel/sound/firewire/dice/ |
| H A D | dice.h | 138 void *buf, unsigned int len) in snd_dice_transaction_write_global() 146 void *buf, unsigned int len) in snd_dice_transaction_read_global() 154 void *buf, unsigned int len) in snd_dice_transaction_write_tx() 161 void *buf, unsigned int len) in snd_dice_transaction_read_tx() 168 void *buf, unsigned int len) in snd_dice_transaction_write_rx() 175 void *buf, unsigned int len) in snd_dice_transaction_read_rx() 182 void *buf, unsigned int len) in snd_dice_transaction_write_sync() 189 void *buf, unsigned int len) in snd_dice_transaction_read_sync()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/broadcom/ |
| H A D | bcm47xx_sprom.c | 37 const char *name, char *buf, int len) in create_key() 50 const char *name, char *buf, int len, bool fallback) in get_nvram_var() 99 char buf[100]; in NVRAM_READ_VAL() local 120 char buf[100]; in nvram_read_leddc() local 144 char buf[100]; in nvram_read_macaddr() local 159 char buf[10]; in nvram_read_alpha2() local 629 char buf[20]; in bcm47xx_sprom_apply_prefix_alias() local 653 char buf[10]; in bcm47xx_get_sprom_bcma() local
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | fschmd.c | 321 struct device_attribute *devattr, char *buf) in in_value_show() 339 struct device_attribute *devattr, char *buf) in temp_value_show() 348 struct device_attribute *devattr, char *buf) in temp_max_show() 358 const char *buf, size_t count) in temp_max_store() 381 struct device_attribute *devattr, char *buf) in temp_fault_show() 394 struct device_attribute *devattr, char *buf) in temp_alarm_show() 410 struct device_attribute *devattr, char *buf) in fan_value_show() 419 struct device_attribute *devattr, char *buf) in fan_div_show() 430 const char *buf, size_t count) in fan_div_store() 480 struct device_attribute *devattr, char *buf) in fan_alarm_show() [all …]
|
| H A D | pc87427.c | 388 struct device_attribute *devattr, char *buf) in fan_input_show() 397 struct device_attribute *devattr, char *buf) in fan_min_show() 406 struct device_attribute *devattr, char *buf) in fan_alarm_show() 416 struct device_attribute *devattr, char *buf) in fan_fault_show() 427 const char *buf, size_t count) in fan_min_store() 565 struct device_attribute *devattr, char *buf) in pwm_enable_show() 579 const char *buf, size_t count) in pwm_enable_store() 600 char *buf) in pwm_show() 609 const char *buf, size_t count) in pwm_store() 692 struct device_attribute *devattr, char *buf) in temp_input_show() [all …]
|
| H A D | adt7475.c | 327 char *buf) in voltage_show() 348 struct device_attribute *attr, const char *buf, in voltage_store() 386 char *buf) in temp_show() 444 const char *buf, size_t count) in temp_store() 546 char *buf) in temp_st_show() 572 struct device_attribute *attr, const char *buf, in temp_st_store() 633 char *buf) in point2_show() 651 const char *buf, size_t count) in point2_store() 694 char *buf) in tach_show() 712 const char *buf, size_t count) in tach_store() [all …]
|
| H A D | w83795.c | 701 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() 721 const char *buf, size_t count) in store_beep() 750 struct device_attribute *attr, const char *buf, in store_chassis_clear() 775 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() 794 const char *buf, size_t count) in store_fan_min() 826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() 855 const char *buf, size_t count) in store_pwm() 887 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_enable() 916 const char *buf, size_t count) in store_pwm_enable() 962 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_mode() [all …]
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpp_enc_roi_utils.c | 355 static MPP_RET set_roi_pos_val(RK_U32 *buf, RK_U32 pos, RK_U32 value) in set_roi_pos_val() 364 #define set_roi_qpadj(buf, index, val) \ argument 370 #define set_roi_force_split(buf, index, val) \ argument 376 #define set_roi_force_intra(buf, index, val) \ argument 382 #define set_roi_force_inter(buf, index, val) \ argument 388 static void set_roi_cu8_base_cfg(RK_U32 *buf, RK_U32 index, Vepu580RoiH265BsCfg val) in set_roi_cu8_base_cfg() 396 static void set_roi_cu16_base_cfg(RK_U32 *buf, RK_U32 index, Vepu580RoiH265BsCfg val) in set_roi_cu16_base_cfg() 405 static void set_roi_cu32_base_cfg(RK_U32 *buf, RK_U32 index, Vepu580RoiH265BsCfg val) in set_roi_cu32_base_cfg() 414 static void set_roi_cu64_base_cfg(RK_U32 *buf, Vepu580RoiH265BsCfg val) in set_roi_cu64_base_cfg() 422 static void set_roi_qp_cfg(void *buf, RK_U32 index, Vepu541RoiCfg *cfg) in set_roi_qp_cfg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2i/ |
| H A D | bnx2i_sysfs.c | 40 struct device_attribute *attr, char *buf) in bnx2i_show_sq_info() 61 const char *buf, size_t count) in bnx2i_set_sq_info() 98 struct device_attribute *attr, char *buf) in bnx2i_show_ccell_info() 117 const char *buf, size_t count) in bnx2i_set_ccell_info()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | kgdb.c | 13 kgdb_setjmp(long *buf) in kgdb_setjmp() 27 kgdb_longjmp(long *buf, int val) in kgdb_longjmp() 149 kgdb_getregs(struct pt_regs *regs, char *buf, int max) in kgdb_getregs() 183 kgdb_putreg(struct pt_regs *regs, int regno, char *buf, int length) in kgdb_putreg() 217 kgdb_putregs(struct pt_regs *regs, char *buf, int length) in kgdb_putregs()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | hexdump.c | 52 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() 183 int groupsize, const void *buf, size_t len, bool ascii) in print_hex_dump() 226 const void *buf, size_t len) in print_hex_dump_bytes() 236 int rowsize, int groupsize, const void *buf, in print_hex_dump() 242 const void *buf, size_t len) in print_hex_dump_bytes()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_debugfs_helper.c | 49 set_attr_from_string(char *const buf, void *const array, size_t const nelems, in set_attr_from_string() 91 int kbase_debugfs_string_validator(char *const buf) in kbase_debugfs_string_validator() 144 const char *const buf, void *const array, size_t const nelems, in kbase_debugfs_helper_set_attr_from_string() 168 char *const buf, size_t const size, void *const array, in kbase_debugfs_helper_get_attr_to_string() 196 char *buf; in kbase_debugfs_helper_seq_write() local
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/ |
| H A D | av7110_av.c | 78 int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len) in av7110_record_cb() 220 int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen) in av7110_pes_play() 349 static int get_video_format(struct av7110 *av7110, u8 *buf, int count) in get_video_format() 385 const u8 *buf, unsigned long count) in aux_ring_buffer_write() 407 static void play_video_cb(u8 *buf, int count, void *priv) in play_video_cb() 419 static void play_audio_cb(u8 *buf, int count, void *priv) in play_audio_cb() 430 static ssize_t ts_play(struct av7110 *av7110, const char __user *buf, in ts_play() 469 static ssize_t dvb_play(struct av7110 *av7110, const char __user *buf, in dvb_play() 502 static ssize_t dvb_play_kernel(struct av7110 *av7110, const u8 *buf, in dvb_play_kernel() 532 static ssize_t dvb_aplay(struct av7110 *av7110, const char __user *buf, in dvb_aplay() [all …]
|
| /OK3568_Linux_fs/kernel/fs/romfs/ |
| H A D | storage.c | 24 void *buf, size_t buflen) in romfs_mtd_read() 41 u_char buf[16], *p; in romfs_mtd_strnlen() local 69 u_char buf[17]; in romfs_mtd_strcmp() local 104 void *buf, size_t buflen) in romfs_blk_read() 137 u_char *buf, *p; in romfs_blk_strnlen() local 215 void *buf, size_t buflen) in romfs_dev_read()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_debugfs.c | 146 lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_disc_trc_data() 212 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() 280 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() 404 lpfc_debugfs_commonxripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_commonxripools_data() 456 lpfc_debugfs_multixripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_multixripools_data() 594 lpfc_debugfs_lockstat_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_lockstat_data() 663 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data() 722 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data() 805 lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nodelist_data() 1031 lpfc_debugfs_nvmestat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nvmestat_data() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | i2c_eeprom.c | 13 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 23 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() 33 static int i2c_eeprom_std_read(struct udevice *dev, int offset, uint8_t *buf, in i2c_eeprom_std_read() 40 const uint8_t *buf, int size) in i2c_eeprom_std_write()
|
| /OK3568_Linux_fs/kernel/drivers/soc/versatile/ |
| H A D | soc-realview.c | 43 manufacturer_show(struct device *dev, struct device_attribute *attr, char *buf) in manufacturer_show() 51 board_show(struct device *dev, struct device_attribute *attr, char *buf) in board_show() 59 fpga_show(struct device *dev, struct device_attribute *attr, char *buf) in fpga_show() 67 build_show(struct device *dev, struct device_attribute *attr, char *buf) in build_show()
|
| /OK3568_Linux_fs/u-boot/drivers/fpga/ |
| H A D | stratixII.c | 17 int StratixII_load (Altera_desc * desc, void *buf, size_t bsize) in StratixII_load() 40 int StratixII_dump (Altera_desc * desc, void *buf, size_t bsize) in StratixII_dump() 63 int StratixII_ps_fpp_dump (Altera_desc * desc, void *buf, size_t bsize) in StratixII_ps_fpp_dump() 69 int StratixII_ps_fpp_load (Altera_desc * desc, void *buf, size_t bsize, in StratixII_ps_fpp_load()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | ics932s401.c | 151 char *buf) in show_spread_enabled() 198 char *buf) in show_cpu_clock() 207 char *buf) in show_cpu_clock_sel() 255 char *buf) in show_src_clock() 264 char *buf) in show_src_clock_sel() 303 char *buf) in show_pci_clock() 312 char *buf) in show_pci_clock_sel() 362 char *buf) in show_value() 378 char *buf) in show_spread()
|
| /OK3568_Linux_fs/kernel/drivers/staging/iio/resolver/ |
| H A D | ad2s1210.c | 201 char *buf) in ad2s1210_show_fclkin() 210 const char *buf, in ad2s1210_store_fclkin() 240 char *buf) in ad2s1210_show_fexcit() 249 const char *buf, size_t len) in ad2s1210_store_fexcit() 277 char *buf) in ad2s1210_show_control() 290 const char *buf, size_t len) in ad2s1210_store_control() 332 char *buf) in ad2s1210_show_resolution() 341 const char *buf, size_t len) in ad2s1210_store_resolution() 386 struct device_attribute *attr, char *buf) in ad2s1210_show_fault() 400 const char *buf, in ad2s1210_clear_fault() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | sentelic.c | 420 const char *buf, size_t count) in fsp_attr_set_setreg() 450 void *data, char *buf) in fsp_attr_show_getreg() 463 const char *buf, size_t count) in fsp_attr_set_getreg() 489 void *data, char *buf) in fsp_attr_show_pagereg() 500 const char *buf, size_t count) in fsp_attr_set_pagereg() 522 void *data, char *buf) in fsp_attr_show_vscroll() 530 const char *buf, size_t count) in fsp_attr_set_vscroll() 551 void *data, char *buf) in fsp_attr_show_hscroll() 559 const char *buf, size_t count) in fsp_attr_set_hscroll() 580 void *data, char *buf) in fsp_attr_show_flags() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/ |
| H A D | anysee.c | 106 u8 buf[] = {CMD_REG_READ, reg >> 8, reg & 0xff, 0x01}; in anysee_read_reg() local 115 u8 buf[] = {CMD_REG_WRITE, reg >> 8, reg & 0xff, 0x01, val}; in anysee_write_reg() local 166 u8 buf[] = {CMD_GET_HW_INFO}; in anysee_get_hw_info() local 172 u8 buf[] = {CMD_STREAMING_CTRL, (u8)onoff, 0x00}; in anysee_streaming_ctrl() local 179 u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x01, mode, interval}; in anysee_led_ctrl() local 187 u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x02, onoff}; in anysee_ir_ctrl() local 198 u8 buf[52]; /* 4 + 48 (I2C WR USB command header + I2C WR max) */ in anysee_master_xfer() local 1117 u8 buf[] = {CMD_GET_IR_CODE}; in anysee_rc_query() local 1160 u8 buf[] = {CMD_CI, 0x02, 0x40 | addr >> 8, addr & 0xff, 0x00, 1}; in anysee_ci_read_attribute_mem() local 1175 u8 buf[] = {CMD_CI, 0x03, 0x40 | addr >> 8, addr & 0xff, 0x00, 1, val}; in anysee_ci_write_attribute_mem() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | time.c | 734 char *buf) in ctn_id_show() 750 char *buf) in ctn_type_show() 765 char *buf) in dst_offset_show() 780 char *buf) in leap_seconds_show() 795 char *buf) in leap_seconds_scheduled_show() 823 char *buf) in stratum_show() 838 char *buf) in time_offset_show() 853 char *buf) in time_zone_offset_show() 868 char *buf) in timing_mode_show() 883 char *buf) in timing_state_show() [all …]
|