Lines Matching refs:dm_writeb
317 #define dm_writeb(reg, value) outb((value), (dm_io_mem(reg)))
342 dm_writeb(DM1105_I2CCTR, 0x00);
347 dm_writeb(DM1105_I2CDAT, addr);
349 dm_writeb(DM1105_I2CDAT + byte + 1, 0);
351 dm_writeb(DM1105_I2CCTR, 0x81 + msgs[i].len);
373 dm_writeb(DM1105_I2CDAT, msgs[i].addr << 1);
374 dm_writeb(DM1105_I2CDAT + 1, 0xf7);
377 dm_writeb(DM1105_I2CDAT + byte + 2, data);
379 dm_writeb(DM1105_I2CCTR, 0x82 + (len > 48 ? 48 : len));
395 dm_writeb(DM1105_I2CDAT, msgs[i].addr << 1);
398 dm_writeb(DM1105_I2CDAT + byte + 1, data);
400 dm_writeb(DM1105_I2CCTR, 0x81 + msgs[i].len);
493 dm_writeb(DM1105_INTMAK, INTMAK_ALLMASK);
494 dm_writeb(DM1105_CR, 1);
499 dm_writeb(DM1105_INTMAK, INTMAK_IRM);
500 dm_writeb(DM1105_CR, 0);
553 dm_writeb(DM1105_RST, 1);
577 dm_writeb(DM1105_INTSTS, intsts);
642 dm_writeb(DM1105_HOST_CTR, 0);
645 dm_writeb(DM1105_DTALENTH, 188);
654 dm_writeb(DM1105_INTCNT, 47);
657 dm_writeb(DM1105_IRCTR, (DM1105_IR_EN | DM1105_SYS_CHK));
658 dm_writeb(DM1105_IRMODE, 0);
669 dm_writeb(DM1105_IRCTR, 0);
670 dm_writeb(DM1105_INTMAK, INTMAK_NONEMASK);