Home
last modified time | relevance | path

Searched refs:uchar (Results 1 – 25 of 312) 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];
100 uchar res2[12];
105 uchar res1[2];
107 uchar res2[2];
109 uchar res3[120];
121 uchar res4[114];
[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()
44 uchar mask) 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()
109 uchar mask) 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/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 */
231 uchar dma; /* current state of DMA (on/off) */
[all …]
H A Dadvansys.c63 typedef unsigned char uchar; typedef
114 #define ASC_SCSI_TIX_TYPE uchar
116 #define ASC_SCSI_BIT_ID_TYPE uchar
247 uchar status;
248 uchar q_no;
249 uchar cntl;
250 uchar sg_queue_cnt;
251 uchar target_id;
252 uchar target_lun;
256 uchar sense_len;
[all …]
/openbmc/u-boot/cmd/
H A Dpcmcia.c92 static uchar *known_cards[] = {
93 (uchar *)"ARGOSY PnPIDE D5",
143 static void print_fixed (volatile uchar *p) in print_fixed()
152 { uchar iface = *(p+2); in print_fixed()
160 { uchar f1 = *(p+2); in print_fixed()
161 uchar f2 = *(p+4); in print_fixed()
197 static int identify (volatile uchar *p) in identify()
199 uchar id_str[MAX_IDENT_CHARS]; in identify()
200 uchar data; in identify()
201 uchar *t; in identify()
[all …]
/openbmc/u-boot/board/siemens/common/
H A Dfactoryset.c31 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 …]
/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] = {
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 …]
/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 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 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 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);
140 int (*recv)(struct udevice *dev, int flags, uchar **packetp);
141 int (*free_pkt)(struct udevice *dev, uchar *packet, int length);
253 uchar *enetaddr);
273 uchar *enetaddr);
516 extern uchar *net_tx_packet; /* THE transmit packet */
517 extern uchar *net_rx_packets[PKTBUFSRX]; /* Receive packets */
518 extern uchar *net_rx_packet; /* Current receive packet */
560 static inline int is_cdp_packet(const uchar *ethaddr) in is_cdp_packet()
[all …]
/openbmc/u-boot/include/power/
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);
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);
/openbmc/u-boot/cmd/aspeed/
H A Ddptest.c68 uchar EDID[256];
73 uchar RD_VAL;
76 uchar bEn_Frame;
77 uchar Link_Aux_RD_Val;
78 uchar CR_EQ_Keep;
80 uchar Auto_Link_Rate;
81 uchar Auto_Lane_Count;
387 uchar Length = 1; in Read_EDID_128()
388 uchar Status = 0; in Read_EDID_128()
389 uchar i, j; in Read_EDID_128()
[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()
203 static int ihs_i2c_send_buffer(struct udevice *dev, uchar chip, u8 *data, int len, bool hold_bus, i… in ihs_i2c_send_buffer()
205 static int ihs_i2c_send_buffer(uchar chip, u8 *data, int len, bool hold_bus, in ihs_i2c_send_buffer()
231 static int ihs_i2c_address(struct udevice *dev, uchar chip, u8 *addr, int alen, in ihs_i2c_address()
234 static int ihs_i2c_address(uchar chip, u8 *addr, int alen, bool hold_bus) in ihs_i2c_address()
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()
248 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, u8 *addr, in ihs_i2c_access()
[all …]
/openbmc/u-boot/env/
H A Deeprom.c25 uchar *buffer, unsigned cnt) in eeprom_bus_read()
45 uchar *buffer, unsigned cnt) in eeprom_bus_write()
69 uchar c; in env_eeprom_get_char()
90 uchar rdbuf[64], flags[2]; in env_eeprom_load()
102 (uchar *)&crc[i], sizeof(ulong)); in env_eeprom_load()
106 (uchar *)&flags[i], sizeof(uchar)); in env_eeprom_load()
149 uchar rdbuf[64]; in env_eeprom_load()
156 (uchar *)&crc, sizeof(ulong)); in env_eeprom_load()
185 off, (uchar *)buf_env, CONFIG_ENV_SIZE); in env_eeprom_load()
214 off, (uchar *)&env_new, CONFIG_ENV_SIZE); in env_eeprom_save()
[all …]

12345678910>>...13