Lines Matching defs:bus
864 * Description: Translate the kernels notion of an i2c address and bus into
867 int saa7164_i2caddr_to_unitid(struct saa7164_i2c *bus, int addr)
869 /* For a given bus and i2c device address, return the saa7164 unique
872 struct saa7164_dev *dev = bus->dev;
881 if ((bus->nr == unit->i2c_bus_nr) &&
890 * this is a helper function. Based on a specific chip addr and bus return the
893 int saa7164_i2caddr_to_reglen(struct saa7164_i2c *bus, int addr)
895 /* For a given bus and i2c device address, return the
899 struct saa7164_dev *dev = bus->dev;
909 if ((bus->nr == unit->i2c_bus_nr) &&