Lines Matching defs:tmp
457 u32 tmp;
459 tmp = readw(SSP_CSR(pl022->virtbase));
461 tmp &= ~BIT(pl022->cur_cs);
463 tmp |= BIT(pl022->cur_cs);
464 writew(tmp, SSP_CSR(pl022->virtbase));
1749 best_scr = 0, tmp, found = 0;
1775 tmp = spi_rate(rate, cpsdvsr, scr);
1777 if (tmp > freq) {
1787 if (tmp > best_freq) {
1788 best_freq = tmp;
1792 if (tmp == freq)
1857 u32 tmp;
2023 tmp = SSP_RX_LSB;
2026 tmp = SSP_RX_MSB;
2029 SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_RENDN_ST, 4);
2044 tmp = SSP_CLK_POL_IDLE_HIGH;
2046 tmp = SSP_CLK_POL_IDLE_LOW;
2047 SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPO, 6);
2050 tmp = SSP_CLK_SECOND_EDGE;
2052 tmp = SSP_CLK_FIRST_EDGE;
2053 SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPH, 7);
2059 tmp = LOOPBACK_ENABLED;
2061 tmp = LOOPBACK_DISABLED;
2062 SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_LBM, 0);
2098 u32 tmp = 0;
2111 of_property_read_u32(np, "num-cs", &tmp);
2112 pd->num_chipselect = tmp;