sppr              146 drivers/spi/spi-mpc52xx.c 	int spr, sppr;
sppr              175 drivers/spi/spi-mpc52xx.c 	sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1;
sppr              177 drivers/spi/spi-mpc52xx.c 	if (sppr < 1)
sppr              178 drivers/spi/spi-mpc52xx.c 		sppr = 1;
sppr              179 drivers/spi/spi-mpc52xx.c 	while (((sppr - 1) & ~0x7) != 0) {
sppr              180 drivers/spi/spi-mpc52xx.c 		sppr = (sppr + 1) >> 1; /* add '1' to force rounding up */
sppr              183 drivers/spi/spi-mpc52xx.c 	sppr--;		/* sppr quantity in register is offset by 1 */
sppr              187 drivers/spi/spi-mpc52xx.c 		sppr = 7;
sppr              189 drivers/spi/spi-mpc52xx.c 	out_8(ms->regs + SPI_BRR, sppr << 4 | spr); /* Set speed */
sppr              160 drivers/spi/spi-orion.c 		unsigned spr, sppr;
sppr              165 drivers/spi/spi-orion.c 			sppr = 0;
sppr              175 drivers/spi/spi-orion.c 			sppr = fls(divider) - 4;
sppr              181 drivers/spi/spi-orion.c 			two_pow_sppr = 1 << sppr;
sppr              191 drivers/spi/spi-orion.c 			sppr = fls(divider) - 4;
sppr              192 drivers/spi/spi-orion.c 			spr = divider >> sppr;
sppr              199 drivers/spi/spi-orion.c 			if (sppr > 7)
sppr              203 drivers/spi/spi-orion.c 		prescale = ((sppr & 0x6) << 5) | ((sppr & 0x1) << 4) | spr;