Home
last modified time | relevance | path

Searched refs:uchar (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/u-boot/arch/m68k/include/asm/
A Dimmap_5272.h53 uchar res1[3];
54 uchar int_pivr;
85 uchar res1[4];
89 uchar res2[4];
95 uchar res1[2];
105 uchar res1[2];
107 uchar res2[2];
138 uchar res1[4];
168 uchar res3;
171 uchar res4;
[all …]
/u-boot/include/linux/
A Dutf.h10 u16 uchar; in utf8_to_utf16le() local
24 uchar = (c & 0x1f) << 6; in utf8_to_utf16le()
30 uchar |= c; in utf8_to_utf16le()
37 uchar = (c & 0x0f) << 12; in utf8_to_utf16le()
43 uchar |= c << 6; in utf8_to_utf16le()
49 uchar |= c; in utf8_to_utf16le()
52 if (0xd800 <= uchar && uchar <= 0xdfff) in utf8_to_utf16le()
65 uchar = c; in utf8_to_utf16le()
66 put_unaligned_le16(uchar, cp++); in utf8_to_utf16le()
/u-boot/include/net/
A Dsntp.h35 uchar mode:3;
36 uchar vn:3;
37 uchar li:2;
39 uchar li:2;
40 uchar vn:3;
41 uchar mode:3;
43 uchar stratum;
44 uchar poll;
45 uchar precision;
/u-boot/drivers/power/pmic/
A Dpmic_tps65218.c14 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()
46 uchar read_val; in tps65218_reg_write()
47 uchar xor_reg; in tps65218_reg_write()
91 int tps65218_reg_read(uchar dest_reg, uchar *dest_val) in tps65218_reg_read()
93 uchar read_val; in tps65218_reg_read()
108 int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65218_reg_write()
111 uchar read_val; in tps65218_reg_write()
112 uchar xor_reg; in tps65218_reg_write()
[all …]
A Dpmic_tps65217.c19 int tps65217_reg_read(uchar src_reg, uchar *src_val) in tps65217_reg_read()
43 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, in tps65217_reg_write()
44 uchar mask) in tps65217_reg_write()
46 uchar read_val; in tps65217_reg_write()
47 uchar xor_reg; in tps65217_reg_write()
118 int tps65217_voltage_update(uchar dc_cntrl_reg, uchar volt_sel) in tps65217_voltage_update()
/u-boot/include/power/
A Dtps65217.h85 int tps65217_reg_read(uchar src_reg, uchar *src_val);
86 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
87 uchar mask);
88 int tps65217_voltage_update(uchar dc_cntrl_reg, uchar volt_sel);
A Dtps65218.h75 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);
/u-boot/drivers/rtc/
A Dm48t35ax.c19 static uchar rtc_read (uchar reg);
20 static void rtc_write (uchar reg, uchar val);
26 uchar sec, min, hour, cent_day, date, month, year; in rtc_get()
27 uchar ccr; /* Clock control register */ in rtc_get()
71 uchar ccr; /* Clock control register */ in rtc_set()
72 uchar century; in rtc_set()
104 uchar val; in rtc_reset()
125 static uchar rtc_read (uchar reg) in rtc_read()
131 static void rtc_write (uchar reg, uchar val) in rtc_write()
A Dds1374.c75 static uchar rtc_read (uchar reg);
76 static void rtc_write(uchar reg, uchar val, bool set);
77 static void rtc_write_raw (uchar reg, uchar val);
195 static uchar rtc_read (uchar reg) in rtc_read()
200 static void rtc_write(uchar reg, uchar val, bool set) in rtc_write()
211 static void rtc_write_raw (uchar reg, uchar val) in rtc_write_raw()
A Dmk48t59.c21 static uchar rtc_read (short reg) in rtc_read()
28 static void rtc_write (short reg, uchar val) in rtc_write()
37 static uchar rtc_read (short reg) in rtc_read()
42 static void rtc_write (short reg, uchar val) in rtc_write()
55 uchar *d = (uchar *) dest; in nvram_read()
67 uchar *s = (uchar *) src; in nvram_write()
77 uchar save_ctrl_a; in rtc_get()
78 uchar sec, min, hour, mday, wday, mon, year; in rtc_get()
129 uchar save_ctrl_a; in rtc_set()
158 uchar control_b; in rtc_reset()
[all …]
A Dds164x.c23 static uchar rtc_read(unsigned int addr );
24 static void rtc_write(unsigned int addr, uchar val);
54 uchar sec, min, hour; in rtc_get()
55 uchar mday, wday, mon, year; in rtc_get()
57 uchar reg_a; in rtc_get()
103 uchar reg_a; in rtc_set()
133 uchar reg_a, reg_b; in rtc_reset()
155 static uchar rtc_read( unsigned int addr ) in rtc_read()
157 uchar val = *(volatile unsigned char*)(addr); in rtc_read()
165 static void rtc_write( unsigned int addr, uchar val ) in rtc_write()
A Dds1556.c24 static uchar rtc_read( unsigned int addr );
25 static void rtc_write( unsigned int addr, uchar val);
54 uchar sec, min, hour; in rtc_get()
55 uchar mday, wday, mon, year; in rtc_get()
59 uchar reg_a; in rtc_get()
106 uchar reg_a; in rtc_set()
136 uchar reg_a, reg_b, reg_c; in rtc_reset()
162 static uchar rtc_read( unsigned int addr ) in rtc_read()
164 uchar val = *(volatile unsigned char*)(addr); in rtc_read()
171 static void rtc_write( unsigned int addr, uchar val ) in rtc_write()
A Dds174x.c19 static uchar rtc_read( unsigned int addr );
20 static void rtc_write( unsigned int addr, uchar val);
49 uchar sec, min, hour; in rtc_get()
50 uchar mday, wday, mon, year; in rtc_get()
54 uchar reg_a; in rtc_get()
101 uchar reg_a; in rtc_set()
131 uchar reg_a, reg_b, reg_c; in rtc_reset()
157 static uchar rtc_read( unsigned int addr ) in rtc_read()
159 uchar val = in8( addr ); in rtc_read()
166 static void rtc_write( unsigned int addr, uchar val ) in rtc_write()
A Dds1337.c67 static uchar rtc_read (uchar reg);
68 static void rtc_write (uchar reg, uchar val);
76 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get()
128 uchar century; in rtc_set()
185 uchar rtc_read (uchar reg) in rtc_read()
191 static void rtc_write (uchar reg, uchar val) in rtc_write()
196 static uchar rtc_read(struct udevice *dev, uchar reg) in rtc_read()
201 static void rtc_write(struct udevice *dev, uchar reg, uchar val) in rtc_write()
209 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in ds1337_rtc_get()
258 uchar century; in ds1337_rtc_set()
A Dpcf8563.c21 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()
125 uchar sec, min, hour, mday, wday, mon_cent, year; in pcf8563_rtc_get()
169 uchar century; in pcf8563_rtc_set()
/u-boot/board/siemens/common/
A Dfactoryset.c52 uchar *buf, int len) in get_factory_val()
88 uchar *name, uchar *buf, int len) in get_factory_record_val()
239 cp = (uchar *)eeprom_buf + sizeof(hdr); in factoryset_read_eeprom()
242 get_factory_record_val(cp, size, (uchar *)"ETH1", (uchar *)"mac", in factoryset_read_eeprom()
252 ret = get_factory_record_val(cp, size, (uchar *)"WLAN1", (uchar *)"mac", in factoryset_read_eeprom()
267 (uchar *)"vid", buf, in factoryset_read_eeprom()
274 (uchar *)"pid", buf, in factoryset_read_eeprom()
290 (uchar *)"num", factory_dat.serial, in factoryset_read_eeprom()
295 (uchar *)"ver", buf, in factoryset_read_eeprom()
303 (uchar *)"id", factory_dat.asn, in factoryset_read_eeprom()
[all …]
A Dfactoryset.h13 uchar mac[6];
15 uchar mac_wlan[6];
25 uchar asn[MAX_STRING_LENGTH];
26 uchar comp_version[MAX_STRING_LENGTH];
/u-boot/include/
A Dinput.h33 const uchar *xlate; /* keycode to ASCII table */
39 uchar fifo[INPUT_BUFFER_LEN];
43 uchar modifiers;
44 uchar flags; /* active state keys (FLAGS_...) */
45 uchar leds; /* active LEDs (INPUT_LED_...) */
46 uchar leds_changed; /* LEDs that just changed */
47 uchar num_tables; /* number of modifier tables */
109 int right_keycode, const uchar *xlate, int num_entries);
A Dtca642x.h60 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[]);
A Dhw_sha.h21 void hw_sha256(const uchar * in_addr, uint buflen,
22 uchar * out_addr, uint chunk_size);
34 void hw_sha1(const uchar * in_addr, uint buflen,
35 uchar * out_addr, uint chunk_size);
/u-boot/net/
A Dcdp.c45 static const uchar cdp_snap_hdr[8] = {
66 buff = (uchar *)p; in cdp_compute_csum()
108 uchar *pkt; 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()
213 (uchar *)s - (net_tx_packet + len)); in cdp_send_trigger()
241 const uchar *t; in cdp_receive()
[all …]
/u-boot/board/compulab/common/
A Deeprom.h14 int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus);
16 int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus);
18 static inline int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus) in cl_eeprom_read_mac_addr()
26 static inline int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name()
/u-boot/env/
A Deeprom.c28 uchar *buffer, unsigned cnt) in eeprom_bus_read()
48 uchar *buffer, unsigned cnt) in eeprom_bus_write()
72 uchar c; in env_eeprom_get_char()
93 uchar rdbuf[64], flags[2]; in env_eeprom_load()
105 (uchar *)&crc[i], sizeof(ulong)); in env_eeprom_load()
109 (uchar *)&flags[i], sizeof(uchar)); in env_eeprom_load()
154 uchar rdbuf[64]; in env_eeprom_load()
161 (uchar *)&crc, sizeof(ulong)); in env_eeprom_load()
190 off, (uchar *)buf_env, CONFIG_ENV_SIZE); in env_eeprom_load()
219 off, (uchar *)&env_new, CONFIG_ENV_SIZE); in env_eeprom_save()
[all …]
/u-boot/board/gateworks/gw_ventana/
A Dgsc.h66 int gsc_i2c_read(uchar chip, uint addr, int alen, uchar *buf, int len);
67 int gsc_i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len);
/u-boot/drivers/i2c/
A Dihs_i2c.c130 static int ihs_i2c_transfer(struct udevice *dev, uchar chip, in ihs_i2c_transfer()
131 uchar *buffer, int len, int read, bool is_last) in ihs_i2c_transfer()
133 static int ihs_i2c_transfer(uchar chip, uchar *buffer, int len, bool read, in ihs_i2c_transfer()
251 static int ihs_i2c_access(struct udevice *dev, uchar chip, u8 *addr, in ihs_i2c_access()
252 int alen, uchar *buffer, int len, int read) in ihs_i2c_access()
255 int alen, uchar *buffer, int len, int read) in ihs_i2c_access()
332 uchar buffer[2]; in ihs_i2c_probe_chip()
376 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe()
378 uchar buffer[2]; in ihs_i2c_probe()
389 int alen, uchar *buffer, int len) in ihs_i2c_read()
[all …]

Completed in 38 milliseconds

12345678910>>...13