Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/u-boot/arch/m68k/include/asm/
H 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 …]
/openbmc/u-boot/drivers/power/pmic/
H 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 …]
H 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()
/openbmc/u-boot/cmd/
H A Dpcmcia.c92 static uchar *known_cards[] = {
93 (uchar *)"ARGOSY PnPIDE D5",
152 { uchar iface = *(p+2); in print_fixed()
160 { uchar f1 = *(p+2); in print_fixed()
161 uchar f2 = *(p+4); in print_fixed()
200 uchar data; in identify()
201 uchar *t; in identify()
202 uchar **card; in identify()
254 uchar func_id = ~0; in check_ide_device()
255 uchar code, len; in check_ide_device()
[all …]
/openbmc/linux/drivers/scsi/
H A Dwd33c93.h32 #define uchar unsigned char macro
203 uchar reg_value;
215 uchar clock_freq;
216 uchar chip; /* what kind of wd33c93? */
217 uchar microcode; /* microcode rev */
218 uchar dma_buffer_pool; /* FEF: buffer from chip_ram? */
223 uchar *dma_bounce_buffer;
225 volatile uchar busy[8]; /* index = target, bit = lun */
230 uchar state; /* what we are currently doing */
233 uchar disconnect; /* disconnect/reselect policy */
[all …]
H A Dadvansys.c248 uchar q_no;
249 uchar cntl;
263 uchar flag;
296 uchar res;
334 uchar fwd;
335 uchar bwd;
352 uchar fwd;
353 uchar bwd;
441 uchar res;
6482 (uchar)(sdtr_data & (uchar) in AscIsrChipHalted()
[all …]
/openbmc/u-boot/board/siemens/common/
H A Dfactoryset.c47 uchar *buf, int len) in get_factory_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()
208 (uchar *)"vid", buf, in factoryset_read_eeprom()
215 (uchar *)"pid", buf, in factoryset_read_eeprom()
225 (uchar *)"name", factory_dat.disp_name, in factoryset_read_eeprom()
231 (uchar *)"num", factory_dat.serial, in factoryset_read_eeprom()
236 (uchar *)"ver", buf, in factoryset_read_eeprom()
244 (uchar *)"id", factory_dat.asn, in factoryset_read_eeprom()
[all …]
/openbmc/u-boot/net/
H 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;
H 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 …]
/openbmc/u-boot/drivers/rtc/
H 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()
H 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()
H A Dpcf8563.c18 static uchar rtc_read (uchar reg);
19 static void rtc_write (uchar reg, uchar val);
26 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get()
70 uchar century; in rtc_set()
109 static uchar rtc_read (uchar reg) in rtc_read()
114 static void rtc_write (uchar reg, uchar val) in rtc_write()
H 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 …]
H A Dds3231.c53 static uchar rtc_read (uchar reg);
54 static void rtc_write (uchar reg, uchar val);
63 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get()
110 uchar century; in rtc_set()
157 uchar rtc_read (uchar reg) in rtc_read()
163 static void rtc_write (uchar reg, uchar val) in rtc_write()
H A Dds1337.c63 static uchar rtc_read (uchar reg);
64 static void rtc_write (uchar reg, uchar val);
72 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get()
124 uchar century; in rtc_set()
181 uchar rtc_read (uchar reg) in rtc_read()
187 static void rtc_write (uchar reg, uchar val) in rtc_write()
H 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()
/openbmc/u-boot/drivers/usb/gadget/
H A Dusbstring.c21 u16 uchar; in utf8_to_utf16le() local
35 uchar = (c & 0x1f) << 6; in utf8_to_utf16le()
41 uchar |= c; in utf8_to_utf16le()
48 uchar = (c & 0x0f) << 12; in utf8_to_utf16le()
54 uchar |= c << 6; in utf8_to_utf16le()
60 uchar |= c; in utf8_to_utf16le()
63 if (0xd800 <= uchar && uchar <= 0xdfff) in utf8_to_utf16le()
76 uchar = c; in utf8_to_utf16le()
77 put_unaligned_le16(uchar, cp++); in utf8_to_utf16le()
/openbmc/u-boot/include/
H A Dhw_sha.h21 void hw_sha512(const uchar *in_addr, uint buflen, uchar *out_addr,
34 void hw_sha384(const uchar *in_addr, uint buflen, uchar *out_addr,
47 void hw_sha256(const uchar *in_addr, uint buflen, uchar *out_addr,
60 void hw_sha1(const uchar *in_addr, uint buflen, uchar *out_addr,
H 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);
H A Dnet.h59 typedef void rxhand_f(uchar *pkt, unsigned dport,
74 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len);
253 uchar *enetaddr);
273 uchar *enetaddr);
516 extern uchar *net_tx_packet; /* THE transmit packet */
518 extern uchar *net_rx_packet; /* Current receive packet */
560 static inline int is_cdp_packet(const uchar *ethaddr) in is_cdp_packet()
584 int net_set_ether(uchar *xet, const uchar *dest_ethaddr, uint prot);
653 uchar * net_get_async_tx_pkt_buf(void);
656 static inline void net_send_packet(uchar *pkt, int len) in net_send_packet()
[all …]
/openbmc/u-boot/include/power/
H 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);
H 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);
/openbmc/u-boot/cmd/aspeed/
H A Ddptest.c68 uchar EDID[256];
73 uchar RD_VAL;
76 uchar bEn_Frame;
78 uchar CR_EQ_Keep;
80 uchar Auto_Link_Rate;
389 uchar i, j; in Read_EDID_128()
458 uchar Adjust_CR_EQ_Train(int TrainPat, uchar ADJStatus) in Adjust_CR_EQ_Train()
461 uchar Ret = 0; in Adjust_CR_EQ_Train()
603 uchar Ret = 0; in Link_Train_Flow()
1573 uchar AUX_R(int aux_cmd, int aux_addr, int *aux_r_data, uchar *length, uchar *status) in AUX_R()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dihs_i2c.c124 static int ihs_i2c_transfer(struct udevice *dev, uchar chip, in ihs_i2c_transfer()
125 uchar *buffer, int len, int read, bool is_last) in ihs_i2c_transfer()
127 static int ihs_i2c_transfer(uchar chip, uchar *buffer, int len, bool read, in ihs_i2c_transfer()
245 static int ihs_i2c_access(struct udevice *dev, uchar chip, u8 *addr, in ihs_i2c_access()
246 int alen, uchar *buffer, int len, int read) in ihs_i2c_access()
249 int alen, uchar *buffer, int len, int read) in ihs_i2c_access()
324 uchar buffer[2]; in ihs_i2c_probe_chip()
366 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe()
368 uchar buffer[2]; in ihs_i2c_probe()
377 int alen, uchar *buffer, int len) in ihs_i2c_read()
[all …]
/openbmc/u-boot/env/
H A Deeprom.c24 uchar *buffer, unsigned cnt) in eeprom_bus_read()
44 uchar *buffer, unsigned cnt) in eeprom_bus_write()
68 uchar c; in env_eeprom_get_char()
89 uchar rdbuf[64], flags[2]; in env_eeprom_load()
101 (uchar *)&crc[i], sizeof(ulong)); in env_eeprom_load()
105 (uchar *)&flags[i], sizeof(uchar)); in env_eeprom_load()
148 uchar rdbuf[64]; in env_eeprom_load()
155 (uchar *)&crc, sizeof(ulong)); in env_eeprom_load()
184 off, (uchar *)buf_env, CONFIG_ENV_SIZE); in env_eeprom_load()
213 off, (uchar *)&env_new, CONFIG_ENV_SIZE); in env_eeprom_save()
[all …]

12345678910>>...13