Searched refs:SCSPTR1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-rs5c313.c64 #define SCSPTR1 0xFFE0001C macro
82 /* SCSPTR1 data */
91 /* Set SCK as I/O port and Initialize SCSPTR1 data & I/O port. */ rs5c313_init_port()
96 scsptr1_data = __raw_readb(SCSPTR1) | SCL; /* SCL:H */ rs5c313_init_port()
97 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_init_port()
98 scsptr1_data = __raw_readb(SCSPTR1) | SCL_OEN; /* SCL output enable */ rs5c313_init_port()
99 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_init_port()
111 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_write_data()
114 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_write_data()
118 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_write_data()
121 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_write_data()
125 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_write_data()
136 data |= ((__raw_readb(SCSPTR1) & SDA) >> 2) << (7 - i); rs5c313_read_data()
138 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_read_data()
141 __raw_writeb(scsptr1_data, SCSPTR1); rs5c313_read_data()

Completed in 55 milliseconds