/u-boot/test/log/ |
A D | nolog_test.c | 25 char buf[BUFFSIZE]; in log_test_nolog_err() local 39 char buf[BUFFSIZE]; in log_test_nolog_warning() local 53 char buf[BUFFSIZE]; in log_test_nolog_notice() local 67 char buf[BUFFSIZE]; in log_test_nolog_info() local 83 char buf[BUFFSIZE]; in nolog_test_nodebug() local 96 char buf[BUFFSIZE]; in log_test_nolog_nodebug() local 112 char buf[BUFFSIZE]; in nolog_test_debug() local 126 char buf[BUFFSIZE]; in log_test_nolog_debug() local
|
/u-boot/drivers/usb/gadget/ |
A D | u_os_desc.h | 37 static inline u8 *__usb_ext_prop_ptr(u8 *buf, size_t offset) in __usb_ext_prop_ptr() 42 static inline u8 *usb_ext_prop_size_ptr(u8 *buf) in usb_ext_prop_size_ptr() 47 static inline u8 *usb_ext_prop_type_ptr(u8 *buf) in usb_ext_prop_type_ptr() 52 static inline u8 *usb_ext_prop_name_len_ptr(u8 *buf) in usb_ext_prop_name_len_ptr() 57 static inline u8 *usb_ext_prop_name_ptr(u8 *buf) in usb_ext_prop_name_ptr() 62 static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off) in usb_ext_prop_data_len_ptr() 68 static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off) in usb_ext_prop_data_ptr() 73 static inline void usb_ext_prop_put_size(u8 *buf, int dw_size) in usb_ext_prop_put_size() 78 static inline void usb_ext_prop_put_type(u8 *buf, int type) in usb_ext_prop_put_type() 83 static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl) in usb_ext_prop_put_name() [all …]
|
A D | rndis.c | 144 static int gen_ndis_query_resp(int configNr, u32 OID, u8 *buf, in gen_ndis_query_resp() 646 static int gen_ndis_set_resp(u8 configNr, u32 OID, u8 *buf, u32 buf_len, in gen_ndis_set_resp() 769 static int rndis_init_response(int configNr, rndis_init_msg_type *buf) in rndis_init_response() 808 static int rndis_query_response(int configNr, rndis_query_msg_type *buf) in rndis_query_response() 852 static int rndis_set_response(int configNr, rndis_set_msg_type *buf) in rndis_set_response() 918 rndis_keepalive_msg_type *buf) in rndis_keepalive_response() 997 u8 *buf; in rndis_uninit() local 1025 int rndis_msg_parser(u8 configNr, u8 *buf) in rndis_msg_parser() 1198 void rndis_add_hdr(void *buf, int length) in rndis_add_hdr() 1210 void rndis_free_response(int configNr, u8 *buf) in rndis_free_response() [all …]
|
/u-boot/test/cmd/ |
A D | mem_search.c | 23 u8 *buf; in mem_test_ms_b() local 52 u16 *buf; in mem_test_ms_w() local 77 u32 *buf; in mem_test_ms_l() local 113 u8 *buf; in mem_test_ms_cont() local 163 u8 *buf; in mem_test_ms_cont_end() local 206 char *buf; in mem_test_ms_mult() local 236 char *buf; in mem_test_ms_s() local 277 u8 *buf; in mem_test_ms_limit() local 306 u8 *buf; in mem_test_ms_quiet() local
|
A D | setexpr.c | 24 u8 *buf; in setexpr_test_int() local 72 char *buf; in setexpr_test_plus() local 114 char *buf; in setexpr_test_oper() local 157 char *buf, *val; in setexpr_test_regex() local 191 char *buf, *val; in setexpr_test_regex_inc() local 208 char *buf, *nbuf; in setexpr_test_sub() local 248 char *buf, *nbuf; in setexpr_test_backref() local 294 char *buf; in setexpr_test_str() local 326 char *buf; in setexpr_test_str_oper() local 360 char *buf, *val; in setexpr_test_str_long() local
|
/u-boot/lib/zlib/ |
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()
|
/u-boot/lib/ |
A D | circbuf.c | 14 int buf_init (circbuf_t * buf, unsigned int size) in buf_init() 30 int buf_free (circbuf_t * buf) in buf_free() 41 int buf_pop (circbuf_t * buf, char *dest, unsigned int len) in buf_pop() 70 int buf_push (circbuf_t * buf, const char *src, unsigned int len) in buf_push()
|
A D | vsprintf.c | 52 static char *put_dec_trunc(char *buf, unsigned q) in put_dec_trunc() 88 static char *put_dec_full(char *buf, unsigned q) in put_dec_full() 130 static noinline char *put_dec(char *buf, uint64_t num) in put_dec() 159 static char *number(char *buf, char *end, u64 num, in number() 258 static char *string(char *buf, char *end, char *s, int field_width, in string() 713 int vsnprintf(char *buf, size_t size, const char *fmt, in vsnprintf() 732 int snprintf(char *buf, size_t size, const char *fmt, ...) in snprintf() 744 int scnprintf(char *buf, size_t size, const char *fmt, ...) in scnprintf() 769 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() 774 int sprintf(char *buf, const char *fmt, ...) in sprintf() [all …]
|
/u-boot/test/dm/ |
A D | i2c.c | 47 uint8_t buf[5]; in dm_test_i2c_read_write() local 64 uint8_t buf[5]; in dm_test_i2c_speed() local 86 uint8_t buf[5]; in dm_test_i2c_offset_len() local 119 uint8_t buf[5]; in dm_test_i2c_bytewise() local 174 uint8_t buf[5]; in dm_test_i2c_offset() local 247 u8 buf[5]; in dm_test_i2c_addr_offset() local
|
A D | acpi.c | 234 void *buf; in dm_test_acpi_write_tables() local 305 void *buf, *end; in dm_test_acpi_setup_base_tables() local 351 void *buf; in dm_test_acpi_cmd_list() local 393 void *buf; in dm_test_acpi_cmd_dump() local 423 char buf[ACPI_PATH_MAX]; in dm_test_acpi_device_path() local 472 u8 *buf; in dm_test_acpi_fill_ssdt() local 503 u8 *buf; in dm_test_acpi_inject_dsdt() local 534 void *buf; in dm_test_acpi_cmd_items() local
|
/u-boot/drivers/power/pmic/ |
A D | pmic_tps65910.c | 13 static inline int tps65910_read_reg(int addr, uchar *buf) in tps65910_read_reg() 28 static inline int tps65910_write_reg(int addr, uchar *buf) in tps65910_write_reg() 60 uchar buf; in tps65910_set_i2c_control() local 81 uchar buf; in tps65910_voltage_update() local
|
/u-boot/include/ |
A D | hwconfig.h | 29 static inline int hwconfig_f(const char *opt, char *buf) in hwconfig_f() 35 char *buf) in hwconfig_arg_f() 42 char *buf) in hwconfig_arg_cmp_f() 47 static inline int hwconfig_sub_f(const char *opt, const char *subopt, char *buf) in hwconfig_sub_f() 53 size_t *subarglen, char *buf) in hwconfig_subarg_f() 60 const char *subarg, char *buf) in hwconfig_subarg_cmp_f()
|
/u-boot/drivers/fpga/ |
A D | zynqmppl.c | 55 static u32 load_word(const void *buf, u32 swap) in load_word() 76 static u32 check_header(const void *buf) in check_header() 109 static void *check_data(u8 *buf, size_t bsize, u32 *swap) in check_data() 135 static ulong zynqmp_align_dma_buffer(u32 *buf, u32 len, u32 swap) in zynqmp_align_dma_buffer() 174 static int zynqmp_validate_bitstream(xilinx_desc *desc, const void *buf, in zynqmp_validate_bitstream() 202 static int zynqmp_load(xilinx_desc *desc, const void *buf, size_t bsize, in zynqmp_load() 249 static int zynqmp_loads(xilinx_desc *desc, const void *buf, size_t bsize, in zynqmp_loads()
|
A D | spartan3.c | 47 static int spartan3_load(xilinx_desc *desc, const void *buf, size_t bsize, in spartan3_load() 71 static int spartan3_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan3_dump() 103 static int spartan3_sp_load(xilinx_desc *desc, const void *buf, size_t bsize) in spartan3_sp_load() 257 static int spartan3_sp_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan3_sp_dump() 305 static int spartan3_ss_load(xilinx_desc *desc, const void *buf, size_t bsize) in spartan3_ss_load() 460 static int spartan3_ss_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan3_ss_dump()
|
A D | spartan2.c | 43 static int spartan2_load(xilinx_desc *desc, const void *buf, size_t bsize, in spartan2_load() 67 static int spartan2_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_dump() 99 static int spartan2_sp_load(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_sp_load() 251 static int spartan2_sp_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_sp_dump() 299 static int spartan2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_ss_load() 442 static int spartan2_ss_dump(xilinx_desc *desc, const void *buf, size_t bsize) in spartan2_ss_dump()
|
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()
|
/u-boot/board/keymile/common/ |
A D | ivm.c | 15 static int ivm_calc_crc(unsigned char *buf, int len) in ivm_calc_crc() 57 static int ivm_get_value(unsigned char *buf, int len, char *name, int off, in ivm_get_value() 102 unsigned char *buf) in ivm_findinventorystring() 172 static int ivm_check_crc(unsigned char *buf, int block) in ivm_check_crc() 190 static int process_mac(unsigned char *valbuf, unsigned char *buf, in process_mac() 219 static int ivm_analyze_block2(unsigned char *buf, int len) in ivm_analyze_block2() 239 int ivm_analyze_eeprom(unsigned char *buf, int len) in ivm_analyze_eeprom() 299 static int ivm_populate_env(unsigned char *buf, int len, int mac_address_offset) in ivm_populate_env() 333 int ivm_read_eeprom(unsigned char *buf, int len, int mac_address_offset) in ivm_read_eeprom()
|
/u-boot/drivers/rtc/ |
A D | rs5c372.c | 62 rs5c372_readram(unsigned char *buf, int len) in rs5c372_readram() 81 unsigned char buf[RS5C372_RAM_SIZE + 1]; in rs5c372_enable() local 117 rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf) in rs5c372_convert_to_time() 158 unsigned char buf[RS5C372_RAM_SIZE]; in rtc_get() local 186 unsigned char buf[8], reg15; in rtc_set() local
|
/u-boot/drivers/soc/ |
A D | soc_sandbox.c | 13 int soc_sandbox_get_family(struct udevice *dev, char *buf, int size) in soc_sandbox_get_family() 20 int soc_sandbox_get_machine(struct udevice *dev, char *buf, int size) in soc_sandbox_get_machine() 27 int soc_sandbox_get_revision(struct udevice *dev, char *buf, int size) in soc_sandbox_get_revision()
|
/u-boot/test/lib/ |
A D | string.c | 34 static void init_buffer(u8 buf[], u8 mask) in init_buffer() 52 static int test_memset(struct unit_test_state *uts, u8 buf[], u8 mask, in test_memset() 77 u8 buf[BUFLEN]; in lib_memset() local 109 static int test_memmove(struct unit_test_state *uts, u8 buf[], u8 mask, in test_memmove() 172 u8 buf[BUFLEN]; in lib_memmove() local
|
/u-boot/common/ |
A D | hwconfig.c | 125 int hwconfig_f(const char *opt, char *buf) in hwconfig_f() 143 const char *hwconfig_arg_f(const char *opt, size_t *arglen, char *buf) in hwconfig_arg_f() 162 int hwconfig_arg_cmp_f(const char *opt, const char *arg, char *buf) in hwconfig_arg_cmp_f() 186 int hwconfig_sub_f(const char *opt, const char *subopt, char *buf) in hwconfig_sub_f() 208 size_t *subarglen, char *buf) in hwconfig_subarg_f() 230 const char *subarg, char *buf) in hwconfig_subarg_cmp_f()
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_io.h | 27 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl() 29 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw() 31 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb() 34 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl() 36 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw() 38 static inline void writesb(const void __iomem *addr, const void *buf, int len) in writesb()
|
/u-boot/test/ |
A D | bootm.c | 28 char buf[BUF_SIZE]; in bootm_test_nop() local 45 char buf[BUF_SIZE]; in bootm_test_nospace() local 72 char buf[BUF_SIZE]; in bootm_test_silent() local 123 char buf[BUF_SIZE]; in bootm_test_subst() local
|
/u-boot/arch/m68k/include/asm/ |
A D | io.h | 46 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 47 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 48 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 69 static inline void _insb(volatile u8 * port, void *buf, int ns) in _insb() 76 static inline void _outsb(volatile u8 * port, const void *buf, int ns) in _outsb() 83 static inline void _insw(volatile u16 * port, void *buf, int ns) in _insw() 90 static inline void _outsw(volatile u16 * port, const void *buf, int ns) in _outsw() 99 static inline void _insl(volatile u32 * port, void *buf, int nl) in _insl() 106 static inline void _outsl(volatile u32 * port, const void *buf, int nl) in _outsl() 115 static inline void _insw_ns(volatile u16 * port, void *buf, int ns) in _insw_ns() [all …]
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_console.c | 22 static void mac(void *pointer, u16 **buf) in mac() 54 static void printx(u64 p, int prec, u16 **buf) in printx() 81 static void uint2dec(u32 value, int prec, u16 **buf) in uint2dec() 121 static void int2dec(s32 value, int prec, u16 **buf) in int2dec() 146 u16 buf[160]; in efi_st_printc() local
|