Lines Matching +full:0 +full:x030

12  * This device sits on a bus named EXI (which is similar to SPI), channel 0,
40 #define EXICSR 0
45 #define EXICSR_DEV 0x380
46 #define EXICSR_DEV1 0x100
47 #define EXICSR_CLK 0x070
48 #define EXICSR_CLK_1MHZ 0x000
49 #define EXICSR_CLK_2MHZ 0x010
50 #define EXICSR_CLK_4MHZ 0x020
51 #define EXICSR_CLK_8MHZ 0x030
52 #define EXICSR_CLK_16MHZ 0x040
53 #define EXICSR_CLK_32MHZ 0x050
54 #define EXICSR_INT 0x008
55 #define EXICSR_INTSET 0x008
57 #define EXICR_TSTART 0x001
58 #define EXICR_TRSMODE 0x002
59 #define EXICR_TRSMODE_IMM 0x000
60 #define EXICR_TRSTYPE 0x00C
61 #define EXICR_TRSTYPE_R 0x000
62 #define EXICR_TRSTYPE_W 0x004
63 #define EXICR_TLEN 0x030
64 #define EXICR_TLEN32 0x030
70 #define RTC_EXIDATA_W 0x80000000
73 #define RTC_COUNTER 0x200000
74 #define RTC_SRAM 0x200001
75 #define RTC_SRAM_BIAS 0x200004
76 #define RTC_SNAPSHOT 0x204000
77 #define RTC_ONTMR 0x210000
78 #define RTC_OFFTMR 0x210001
79 #define RTC_TEST0 0x210004
80 #define RTC_TEST1 0x210005
81 #define RTC_TEST2 0x210006
82 #define RTC_TEST3 0x210007
83 #define RTC_CONTROL0 0x21000c
84 #define RTC_CONTROL1 0x21000d
87 #define RTC_CONTROL0_UNSTABLE_POWER 0x00000800
88 #define RTC_CONTROL0_LOW_BATTERY 0x00000200
120 iowrite32be(0, iob + EXICSR); in exi_read()
122 return 0; in exi_read()
149 iowrite32be(0, iob + EXICSR); in exi_write()
151 return 0; in exi_write()
176 return 0; in gamecube_rtc_read_time()
202 value = 0; in gamecube_rtc_ioctl()
237 ret = of_address_to_resource(np, 0, &res); in gamecube_rtc_read_offset_from_sram()
255 if (old != 0x7bf) in gamecube_rtc_read_offset_from_sram()
256 iowrite32be(0x7bf, hw_srnprot); in gamecube_rtc_read_offset_from_sram()
270 if (old != 0x7bf) in gamecube_rtc_read_offset_from_sram()
282 regmap_reg_range(0x200000, 0x200010),
283 regmap_reg_range(0x204000, 0x204000),
284 regmap_reg_range(0x210000, 0x210001),
285 regmap_reg_range(0x210004, 0x210007),
286 regmap_reg_range(0x21000c, 0x21000d),
295 regmap_reg_range(0x200000, 0x200010),
296 regmap_reg_range(0x204000, 0x204000),
297 regmap_reg_range(0x210000, 0x210001),
298 regmap_reg_range(0x21000d, 0x21000d),
311 .max_register = 0x21000d,
326 d->iob = devm_platform_ioremap_resource(pdev, 0); in gamecube_rtc_probe()
338 dev_dbg(dev, "SRAM bias: 0x%x", d->rtc_bias); in gamecube_rtc_probe()
350 rtc->range_min = 0; in gamecube_rtc_probe()
356 return 0; in gamecube_rtc_probe()