Lines Matching refs:force_bit
256 if (bus->force_bit) in gmbus_xfer()
258 bus->force_bit, msgs, num); in gmbus_xfer()
354 bus->force_bit = intel_gpio_create(dev_priv, bus->reg0 & 0xff); in gmbus_xfer()
355 if (!bus->force_bit) in gmbus_xfer()
358 return intel_i2c_quirk_xfer(dev_priv, bus->force_bit, msgs, num); in gmbus_xfer()
367 if (bus->force_bit) in gmbus_func()
368 bus->force_bit->algo->functionality(bus->force_bit); in gmbus_func()
432 bus->force_bit = intel_gpio_create(dev_priv, i); in gma_intel_setup_gmbus()
462 void gma_intel_gmbus_force_bit(struct i2c_adapter *adapter, bool force_bit) in gma_intel_gmbus_force_bit() argument
466 if (force_bit) { in gma_intel_gmbus_force_bit()
467 if (bus->force_bit == NULL) { in gma_intel_gmbus_force_bit()
469 bus->force_bit = intel_gpio_create(dev_priv, in gma_intel_gmbus_force_bit()
473 if (bus->force_bit) { in gma_intel_gmbus_force_bit()
474 i2c_del_adapter(bus->force_bit); in gma_intel_gmbus_force_bit()
475 kfree(bus->force_bit); in gma_intel_gmbus_force_bit()
476 bus->force_bit = NULL; in gma_intel_gmbus_force_bit()
491 if (bus->force_bit) { in gma_intel_teardown_gmbus()
492 i2c_del_adapter(bus->force_bit); in gma_intel_teardown_gmbus()
493 kfree(bus->force_bit); in gma_intel_teardown_gmbus()