Lines Matching refs:master_or_slave
286 enum i2c_mode master_or_slave; member
344 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_init_params()
704 if (bus->master_or_slave == I2C_MASTER) in npcm_i2c_callback()
711 if (bus->master_or_slave == I2C_MASTER) in npcm_i2c_callback()
725 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_callback()
1133 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_int_slave_handler()
1150 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_int_slave_handler()
1954 bus->master_or_slave = I2C_SLAVE; in __npcm_i2c_init()
1981 bus->master_or_slave = I2C_MASTER; in npcm_i2c_bus_irq()
1983 if (bus->master_or_slave == I2C_MASTER) { in npcm_i2c_bus_irq()
1990 bus->master_or_slave = I2C_SLAVE; in npcm_i2c_bus_irq()
2153 if (bus->master_or_slave == I2C_MASTER) { in npcm_i2c_master_xfer()