Lines Matching refs:soft_spi_send
49 static void soft_spi_send (unsigned char n);
77 soft_spi_send (0); in rtc_get()
133 soft_spi_send (0x8F); /* send address of the control register */ in rtc_set()
134 soft_spi_send (0x00); /* send control register contents */ in rtc_set()
145 soft_spi_send (0x80); /* send address of the first time register */ in rtc_set()
149 soft_spi_send (bin2bcd (tmp->tm_sec)); /* Send Seconds */ in rtc_set()
150 soft_spi_send (bin2bcd (tmp->tm_min)); /* Send Minutes */ in rtc_set()
151 soft_spi_send (bin2bcd (tmp->tm_hour)); /* Send Hour */ in rtc_set()
152 soft_spi_send (bin2bcd (tmp->tm_wday)); /* Send Day of the Week */ in rtc_set()
153 soft_spi_send (bin2bcd (tmp->tm_mday)); /* Send Day of Month */ in rtc_set()
154 soft_spi_send (bin2bcd (tmp->tm_mon)); /* Send Month */ in rtc_set()
155 soft_spi_send (bin2bcd (tmp->tm_year - 2000)); /* Send Year */ in rtc_set()
166 soft_spi_send (0x8F); /* send address of the control register */ in rtc_set()
167 soft_spi_send (0x40); /* send out Control Register contents */ in rtc_set()
213 static void soft_spi_send (unsigned char n) in soft_spi_send() function