| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | immap_5272.h | 54 uchar res1[3]; 55 uchar int_pivr; 86 uchar res1[4]; 90 uchar res2[4]; 96 uchar res1[2]; 101 uchar res2[12]; 106 uchar res1[2]; 108 uchar res2[2]; 110 uchar res3[120]; 122 uchar res4[114]; [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | pcmcia.c | 93 static uchar *known_cards[] = { 94 (uchar *)"ARGOSY PnPIDE D5", 144 static void print_fixed (volatile uchar *p) in print_fixed() 153 { uchar iface = *(p+2); in print_fixed() 161 { uchar f1 = *(p+2); in print_fixed() 162 uchar f2 = *(p+4); in print_fixed() 198 static int identify (volatile uchar *p) in identify() 200 uchar id_str[MAX_IDENT_CHARS]; in identify() 201 uchar data; in identify() 202 uchar *t; in identify() [all …]
|
| /rk3399_rockchip-uboot/net/ |
| H A D | sntp.h | 36 uchar mode:3; 37 uchar vn:3; 38 uchar li:2; 40 uchar li:2; 41 uchar vn:3; 42 uchar mode:3; 44 uchar stratum; 45 uchar poll; 46 uchar precision;
|
| H A D | cdp.c | 45 static const uchar cdp_snap_hdr[8] = { 48 static ushort cdp_compute_csum(const uchar *buff, ushort len) in cdp_compute_csum() 66 buff = (uchar *)p; in cdp_compute_csum() 108 uchar *pkt; in cdp_send_trigger() 131 memcpy((uchar *)pkt, cdp_snap_hdr, sizeof(cdp_snap_hdr)); in cdp_send_trigger() 147 memcpy((uchar *)s, buf, 16); in cdp_send_trigger() 159 memcpy((uchar *)s, buf, len); in cdp_send_trigger() 178 memcpy((uchar *)s, buf, len); in cdp_send_trigger() 190 memcpy((uchar *)s, buf, len); in cdp_send_trigger() 208 len = (uchar *)s - ((uchar *)net_tx_packet + ETHER_HDR_SIZE); in cdp_send_trigger() [all …]
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pmic_tps65217.c | 18 int tps65217_reg_read(uchar src_reg, uchar *src_val) in tps65217_reg_read() 38 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65217_reg_write() 39 uchar mask) in tps65217_reg_write() 41 uchar read_val; in tps65217_reg_write() 42 uchar xor_reg; in tps65217_reg_write() 91 int tps65217_voltage_update(uchar dc_cntrl_reg, uchar volt_sel) in tps65217_voltage_update()
|
| H A D | pmic_tps65218.c | 14 int tps65218_reg_read(uchar dest_reg, uchar *dest_val) in tps65218_reg_read() 16 uchar read_val; in tps65218_reg_read() 43 int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65218_reg_write() 44 uchar mask) in tps65218_reg_write() 46 uchar read_val; in tps65218_reg_write() 47 uchar xor_reg; in tps65218_reg_write() 96 int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel) in tps65218_voltage_update()
|
| /rk3399_rockchip-uboot/board/siemens/common/ |
| H A D | factoryset.c | 31 static int fact_match(unsigned char *eeprom_buf, uchar *s1, int i2) in fact_match() 46 static int get_factory_val(unsigned char *eeprom_buf, int size, uchar *name, in get_factory_val() 47 uchar *buf, int len) in get_factory_val() 59 val = fact_match(eeprom_buf, (uchar *)name, i); in get_factory_val() 82 int get_factory_record_val(unsigned char *eeprom_buf, int size, uchar *record, in get_factory_record_val() 83 uchar *name, uchar *buf, int len) in get_factory_record_val() 194 cp = (uchar *)eeprom_buf + sizeof(hdr); in factoryset_read_eeprom() 197 get_factory_record_val(cp, size, (uchar *)"ETH1", (uchar *)"mac", in factoryset_read_eeprom() 207 if (0 <= get_factory_record_val(cp, size, (uchar *)"USBD1", in factoryset_read_eeprom() 208 (uchar *)"vid", buf, in factoryset_read_eeprom() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | usbstring.c | 22 u16 uchar; in utf8_to_utf16le() local 36 uchar = (c & 0x1f) << 6; in utf8_to_utf16le() 42 uchar |= c; in utf8_to_utf16le() 49 uchar = (c & 0x0f) << 12; in utf8_to_utf16le() 55 uchar |= c << 6; in utf8_to_utf16le() 61 uchar |= c; in utf8_to_utf16le() 64 if (0xd800 <= uchar && uchar <= 0xdfff) in utf8_to_utf16le() 77 uchar = c; in utf8_to_utf16le() 78 put_unaligned_le16(uchar, cp++); in utf8_to_utf16le()
|
| /rk3399_rockchip-uboot/drivers/rtc/ |
| H A D | m48t35ax.c | 22 static uchar rtc_read (uchar reg); 23 static void rtc_write (uchar reg, uchar val); 29 uchar sec, min, hour, cent_day, date, month, year; in rtc_get() 30 uchar ccr; /* Clock control register */ in rtc_get() 74 uchar ccr; /* Clock control register */ in rtc_set() 75 uchar century; in rtc_set() 107 uchar val; in rtc_reset() 128 static uchar rtc_read (uchar reg) in rtc_read() 134 static void rtc_write (uchar reg, uchar val) in rtc_write()
|
| H A D | pcf8563.c | 21 static uchar rtc_read (uchar reg); 22 static void rtc_write (uchar reg, uchar val); 29 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() 73 uchar century; in rtc_set() 112 static uchar rtc_read (uchar reg) in rtc_read() 117 static void rtc_write (uchar reg, uchar val) in rtc_write()
|
| H A D | mk48t59.c | 22 static uchar rtc_read (short reg) in rtc_read() 29 static void rtc_write (short reg, uchar val) in rtc_write() 38 static uchar rtc_read (short reg) in rtc_read() 43 static void rtc_write (short reg, uchar val) in rtc_write() 56 uchar *d = (uchar *) dest; in nvram_read() 68 uchar *s = (uchar *) src; in nvram_write() 80 uchar save_ctrl_a; in rtc_get() 81 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() 132 uchar save_ctrl_a; in rtc_set() 161 uchar control_b; in rtc_reset() [all …]
|
| H A D | ds1374.c | 78 static uchar rtc_read (uchar reg); 79 static void rtc_write(uchar reg, uchar val, bool set); 80 static void rtc_write_raw (uchar reg, uchar val); 213 static uchar rtc_read (uchar reg) in rtc_read() 218 static void rtc_write(uchar reg, uchar val, bool set) in rtc_write() 229 static void rtc_write_raw (uchar reg, uchar val) in rtc_write_raw()
|
| H A D | ds3231.c | 56 static uchar rtc_read (uchar reg); 57 static void rtc_write (uchar reg, uchar val); 66 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() 113 uchar century; in rtc_set() 160 uchar rtc_read (uchar reg) in rtc_read() 166 static void rtc_write (uchar reg, uchar val) in rtc_write()
|
| H A D | ds1337.c | 66 static uchar rtc_read (uchar reg); 67 static void rtc_write (uchar reg, uchar val); 75 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() 127 uchar century; in rtc_set() 184 uchar rtc_read (uchar reg) in rtc_read() 190 static void rtc_write (uchar reg, uchar val) in rtc_write()
|
| H A D | ds164x.c | 26 static uchar rtc_read(unsigned int addr ); 27 static void rtc_write(unsigned int addr, uchar val); 57 uchar sec, min, hour; in rtc_get() 58 uchar mday, wday, mon, year; in rtc_get() 60 uchar reg_a; in rtc_get() 106 uchar reg_a; in rtc_set() 136 uchar reg_a, reg_b; in rtc_reset() 158 static uchar rtc_read( unsigned int addr ) in rtc_read() 160 uchar val = *(volatile unsigned char*)(addr); in rtc_read() 168 static void rtc_write( unsigned int addr, uchar val ) in rtc_write()
|
| H A D | isl1208.c | 54 static uchar rtc_read (uchar reg); 55 static void rtc_write (uchar reg, uchar val); 64 uchar sec, min, hour, mday, wday, mon, year, status; in rtc_get() 139 static uchar rtc_read (uchar reg) in rtc_read() 144 static void rtc_write (uchar reg, uchar val) in rtc_write()
|
| H A D | ds1556.c | 25 static uchar rtc_read( unsigned int addr ); 26 static void rtc_write( unsigned int addr, uchar val); 55 uchar sec, min, hour; in rtc_get() 56 uchar mday, wday, mon, year; in rtc_get() 60 uchar reg_a; in rtc_get() 107 uchar reg_a; in rtc_set() 137 uchar reg_a, reg_b, reg_c; in rtc_reset() 163 static uchar rtc_read( unsigned int addr ) in rtc_read() 165 uchar val = *(volatile unsigned char*)(addr); in rtc_read() 172 static void rtc_write( unsigned int addr, uchar val ) in rtc_write()
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | tps65217.h | 84 int tps65217_reg_read(uchar src_reg, uchar *src_val); 85 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, 86 uchar mask); 87 int tps65217_voltage_update(uchar dc_cntrl_reg, uchar volt_sel);
|
| H A D | tps65218.h | 75 int tps65218_reg_read(uchar dest_reg, uchar *dest_val); 76 int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, 77 uchar mask); 78 int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel);
|
| /rk3399_rockchip-uboot/include/ |
| H A D | input.h | 34 const uchar *xlate; /* keycode to ASCII table */ 40 uchar fifo[INPUT_BUFFER_LEN]; 44 uchar modifiers; 45 uchar flags; /* active state keys (FLAGS_...) */ 46 uchar leds; /* active LEDs (INPUT_LED_...) */ 47 uchar leds_changed; /* LEDs that just changed */ 48 uchar num_tables; /* number of modifier tables */ 110 int right_keycode, const uchar *xlate, int num_entries);
|
| H A D | net.h | 58 typedef void rxhand_f(uchar *pkt, unsigned dport, 73 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len); 139 int (*recv)(struct udevice *dev, int flags, uchar **packetp); 140 int (*free_pkt)(struct udevice *dev, uchar *packet, int length); 241 void eth_parse_enetaddr(const char *addr, uchar *enetaddr); 242 int eth_env_get_enetaddr(const char *name, uchar *enetaddr); 243 int eth_env_set_enetaddr(const char *name, const uchar *enetaddr); 259 uchar *enetaddr); 279 uchar *enetaddr); 525 extern uchar *net_tx_packet; /* THE transmit packet */ [all …]
|
| H A D | tca642x.h | 60 int tca642x_set_val(uchar chip, uint8_t gpio_bank, 62 int tca642x_set_pol(uchar chip, uint8_t gpio_bank, 64 int tca642x_set_dir(uchar chip, uint8_t gpio_bank, 66 int tca642x_get_val(uchar chip, uint8_t gpio_bank); 67 int tca642x_set_inital_state(uchar chip, struct tca642x_bank_info init_data[]);
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | tsi108_i2c.c | 41 uchar chip_addr,/* I2C device address on the bus */ in i2c_read_byte() 43 uchar * buffer /* pointer to data buffer */ in i2c_read_byte() 130 int i2c_read (uchar chip_addr, uint byte_addr, int alen, in i2c_read() 131 uchar * buffer, int len) in i2c_read() 160 static int i2c_write_byte (uchar chip_addr,/* I2C device address on the bus */ in i2c_write_byte() 162 uchar * buffer /* pointer to data buffer */ in i2c_write_byte() 236 int i2c_write (uchar chip_addr, uint byte_addr, int alen, uchar * buffer, in i2c_write() 264 int i2c_probe (uchar chip) in i2c_probe() 273 return i2c_read (chip, 0, 1, (uchar *)&tmp, 1); in i2c_probe()
|
| H A D | ihs_i2c.c | 74 static int ihs_i2c_transfer(uchar chip, uchar *buffer, int len, bool read, in ihs_i2c_transfer() 111 static int ihs_i2c_address(uchar chip, uint addr, int alen, bool hold_bus) in ihs_i2c_address() 117 uchar buf[2]; in ihs_i2c_address() 135 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_access() 136 int alen, uchar *buffer, int len, bool read) in ihs_i2c_access() 172 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe() 174 uchar buffer[2]; in ihs_i2c_probe() 182 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read() 183 int alen, uchar *buffer, int len) in ihs_i2c_read() 188 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write() [all …]
|
| /rk3399_rockchip-uboot/env/ |
| H A D | eeprom.c | 25 uchar *buffer, unsigned cnt) in eeprom_bus_read() 45 uchar *buffer, unsigned cnt) in eeprom_bus_write() 66 uchar c; in env_eeprom_get_char() 87 uchar rdbuf[64], flags[2]; in env_eeprom_load() 99 (uchar *)&crc[i], sizeof(ulong)); in env_eeprom_load() 103 (uchar *)&flags[i], sizeof(uchar)); in env_eeprom_load() 146 uchar rdbuf[64]; in env_eeprom_load() 153 (uchar *)&crc, sizeof(ulong)); in env_eeprom_load() 182 off, (uchar *)buf_env, CONFIG_ENV_SIZE); in env_eeprom_load() 213 off, (uchar *)&env_new, CONFIG_ENV_SIZE); in env_eeprom_save() [all …]
|