Searched refs:master_or_slave (Results 1 – 2 of 2) sorted by relevance
286 enum i2c_mode master_or_slave; member344 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()[all …]
1236 enum master_or_slave { CHImaster, CHIslave }; enum1242 enum master_or_slave master_or_slave, in reset_chi() argument1264 if (master_or_slave == CHIslave) { in reset_chi()