/* Write to a SSD2828 hardware register (regnum >= 0xB0)  */
static void write_hw_register(const struct ssd2828_config *cfg, u8 regnum, u16 val)
/* Write to a SSD2828 hardware register (regnum >= 0xB0)  */
static void write_hw_register(const struct ssd2828_config *cfg, u8 regnum, u16 val)
{
	soft_spi_xfer_24bit_3wire(cfg, 0x700000 | regnum);
	soft_spi_xfer_24bit_3wire(cfg, 0x720000 | val);
}