Lines Matching defs:enable
92 /* init register and default value required to enable module */
416 /* enable\disable end of busy (EOB) interrupts */
417 static inline void npcm_i2c_eob_int(struct npcm_i2c *bus, bool enable)
428 if (enable)
488 static void npcm_i2c_int_enable(struct npcm_i2c *bus, bool enable)
494 if (enable)
572 static void npcm_i2c_slave_int_enable(struct npcm_i2c *bus, bool enable)
576 /* enable interrupt on slave match: */
579 if (enable)
587 u8 addr, bool enable)
593 sa_reg = (addr & 0x7F) | FIELD_PREP(NPCM_I2CADDR_SAEN, enable);
596 if (enable)
604 if (enable)
612 dev_err(bus->dev, "try to enable more than 2 SA not supported\n");
617 /* Set and enable the address */
619 npcm_i2c_slave_int_enable(bus, enable);
850 /* Set the enable bit */
1588 /* re-enable */