Searched refs:SSCR0_SCR (Results 1 – 1 of 1) sorted by relevance
88 #define SSCR0_SCR(n) ((((n) - 1) & 0xfff) << 8) macro316 reg = SSCR0_SCR(CLOCK_DIV_10MHZ); in intelspi_init()397 sscr0 &= ~SSCR0_SCR(0xfff); in intelspi_transfer()399 sscr0 |= SSCR0_SCR(CLOCK_DIV_10MHZ); in intelspi_transfer()401 sscr0 |= SSCR0_SCR(howmany(MAX_CLOCK_RATE, min(MAX_CLOCK_RATE, clock))); in intelspi_transfer()