Searched refs:adie (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | soc.c | 42 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read() argument 49 dev, MT_TOP_SPI_BUSY_CR(adie)); in mt76_wmac_spi_read() 53 mt76_wr(dev, MT_TOP_SPI_ADDR_CR(adie), in mt76_wmac_spi_read() 55 mt76_wr(dev, MT_TOP_SPI_WRITE_DATA_CR(adie), 0); in mt76_wmac_spi_read() 59 dev, MT_TOP_SPI_BUSY_CR(adie)); in mt76_wmac_spi_read() 63 *val = mt76_rr(dev, MT_TOP_SPI_READ_DATA_CR(adie)); in mt76_wmac_spi_read() 69 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write() argument 76 dev, MT_TOP_SPI_BUSY_CR(adie)); in mt76_wmac_spi_write() 80 mt76_wr(dev, MT_TOP_SPI_ADDR_CR(adie), in mt76_wmac_spi_write() 82 mt76_wr(dev, MT_TOP_SPI_WRITE_DATA_CR(adie), val); in mt76_wmac_spi_write() [all …]
|