Home
last modified time | relevance | path

Searched refs:reg_a (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/rtc/
A Dds164x.c57 uchar reg_a; in rtc_get() local
59 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
61 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
103 uchar reg_a; in rtc_set() local
111 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
133 uchar reg_a, reg_b; in rtc_reset() local
135 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
141 reg_a |= RTC_CA_WRITE; in rtc_reset()
144 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
149 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
[all …]
A Dds1556.c59 uchar reg_a; in rtc_get() local
61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
63 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
106 uchar reg_a; in rtc_set() local
113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
136 uchar reg_a, reg_b, reg_c; in rtc_reset() local
138 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
144 reg_a |= RTC_CA_WRITE; in rtc_reset()
147 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
152 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
[all …]
A Dds174x.c54 uchar reg_a; in rtc_get() local
56 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
58 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
101 uchar reg_a; in rtc_set() local
108 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
131 uchar reg_a, reg_b, reg_c; in rtc_reset() local
133 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
139 reg_a |= RTC_CA_WRITE; in rtc_reset()
142 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
147 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
[all …]
/u-boot/drivers/clk/
A Dics8n3qv01.c35 u8 reg_a, reg_b, reg_c, reg_d, reg_f; in ics8n3qv01_get_fout_calc() local
54 reg_a = val[0]; /* Register 0 + index */ in ics8n3qv01_get_fout_calc()
60 mint = ((reg_a >> 1) & 0x1f) | /* MINTi[4-0]*/ in ics8n3qv01_get_fout_calc()
62 mfrac = ((reg_a & 0x01) << 17) | /* MFRACi[17] */ in ics8n3qv01_get_fout_calc()
/u-boot/board/gdsys/common/
A Dosd.c141 u8 reg_a, reg_b, reg_c, reg_d, reg_f; in ics8n3qv01_get_fout_calc() local
147 reg_a = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 0 + index); in ics8n3qv01_get_fout_calc()
153 mint = ((reg_a >> 1) & 0x1f) | (reg_f & 0x20); in ics8n3qv01_get_fout_calc()
154 mfrac = ((reg_a & 0x01) << 17) | (reg_b << 9) | (reg_c << 1) in ics8n3qv01_get_fout_calc()

Completed in 7 milliseconds