| 271 | } |
| 272 | |
| 273 | static inline void |
| 274 | WR2(struct bcm_sdhost_softc *sc, bus_size_t off, uint16_t val) |
| 275 | { |
| 276 | uint32_t val32; |
| 277 | |
| 278 | val32 = RD4(sc, off & ~3); |
| 279 | val32 &= ~(0xffff << (off & 3)*8); |
| 280 | val32 |= (val << (off & 3)*8); |
| 281 | WR4(sc, off & ~3, val32); |
| 282 | } |
| 283 | |
| 284 | static inline void |
| 285 | WR1(struct bcm_sdhost_softc *sc, bus_size_t off, uint8_t val) |
no test coverage detected