Searched refs:ioc_base (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-ath79.c38 u32 ioc_base; member in struct:ath79_spi
74 sp->ioc_base |= AR71XX_SPI_IOC_CLK; ath79_spi_chipselect()
76 sp->ioc_base &= ~AR71XX_SPI_IOC_CLK; ath79_spi_chipselect()
78 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_chipselect()
86 sp->ioc_base |= AR71XX_SPI_IOC_CS0; ath79_spi_chipselect()
88 sp->ioc_base &= ~AR71XX_SPI_IOC_CS0; ath79_spi_chipselect()
90 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_chipselect()
102 sp->ioc_base = ath79_spi_rr(sp, AR71XX_SPI_REG_IOC); ath79_spi_enable()
138 sp->ioc_base &= ~AR71XX_SPI_IOC_CS0; ath79_spi_setup_cs()
140 sp->ioc_base |= AR71XX_SPI_IOC_CS0; ath79_spi_setup_cs()
142 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_setup_cs()
182 u32 ioc = sp->ioc_base; ath79_spi_txrx_mode0()
/linux-4.4.14/drivers/ide/
H A Dicside.c71 void __iomem *ioc_base; member in struct:icside_state
333 writeb(state->sel | hwif->channel, state->ioc_base); icside_dma_setup()
466 void __iomem *ioc_base, *easi_base; icside_register_v6() local
473 ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); icside_register_v6()
474 if (!ioc_base) { icside_register_v6()
479 easi_base = ioc_base; icside_register_v6()
494 writeb(sel, ioc_base); icside_register_v6()
499 state->ioc_base = ioc_base; icside_register_v6()
627 writeb(0, state->ioc_base); icside_remove()
656 if (state->ioc_base) icside_shutdown()
657 writeb(0, state->ioc_base); icside_shutdown()
/linux-4.4.14/drivers/ata/
H A Dpata_icside.c51 void __iomem *ioc_base; member in struct:pata_icside_state
234 writeb(state->port[ap->port_no].port_sel, state->ioc_base); pata_icside_bmdma_setup()
397 void __iomem *ioc_base, *easi_base; pata_icside_register_v6() local
400 ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); pata_icside_register_v6()
401 if (!ioc_base) pata_icside_register_v6()
404 easi_base = ioc_base; pata_icside_register_v6()
417 writeb(sel, ioc_base); pata_icside_register_v6()
420 state->ioc_base = ioc_base; pata_icside_register_v6()
572 if (state->ioc_base) pata_icside_shutdown()
573 writeb(0, state->ioc_base); pata_icside_shutdown()

Completed in 84 milliseconds