Home
last modified time | relevance | path

Searched refs:SWRST (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/apple/
H A Dmace.h114 #define SWRST 0x01 /* software reset */ macro
H A Dmacmace.c272 mb->biucc = SWRST; in mace_reset()
273 if (mb->biucc & SWRST) { in mace_reset()
H A Dmace.c327 out_8(&mb->biucc, SWRST); in mace_reset()
328 if (in_8(&mb->biucc) & SWRST) { in mace_reset()
/openbmc/linux/drivers/spi/
H A Dspi-atmel.c1500 spi_writel(as, CR, SPI_BIT(SWRST)); in atmel_spi_init()
1501 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ in atmel_spi_init()
1668 spi_writel(as, CR, SPI_BIT(SWRST)); in atmel_spi_probe()
1669 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ in atmel_spi_probe()
1699 spi_writel(as, CR, SPI_BIT(SWRST)); in atmel_spi_remove()
1700 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ in atmel_spi_remove()
/openbmc/u-boot/drivers/mmc/
H A Dgen_atmel_mci.c436 writel(MMCI_BIT(SWRST), &mci->cr); /* soft reset */