mod_no 411 drivers/mfd/twl-core.c static struct regmap *twl_get_regmap(u8 mod_no) mod_no 420 drivers/mfd/twl-core.c if (unlikely(mod_no >= twl_get_last_module())) { mod_no 421 drivers/mfd/twl-core.c pr_err("%s: invalid module number %d\n", DRIVER_NAME, mod_no); mod_no 425 drivers/mfd/twl-core.c sid = twl_priv->twl_map[mod_no].sid; mod_no 440 drivers/mfd/twl-core.c int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) mod_no 442 drivers/mfd/twl-core.c struct regmap *regmap = twl_get_regmap(mod_no); mod_no 448 drivers/mfd/twl-core.c ret = regmap_bulk_write(regmap, twl_priv->twl_map[mod_no].base + reg, mod_no 453 drivers/mfd/twl-core.c DRIVER_NAME, mod_no, reg, num_bytes); mod_no 468 drivers/mfd/twl-core.c int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) mod_no 470 drivers/mfd/twl-core.c struct regmap *regmap = twl_get_regmap(mod_no); mod_no 476 drivers/mfd/twl-core.c ret = regmap_bulk_read(regmap, twl_priv->twl_map[mod_no].base + reg, mod_no 481 drivers/mfd/twl-core.c DRIVER_NAME, mod_no, reg, num_bytes); mod_no 495 drivers/mfd/twl-core.c int twl_set_regcache_bypass(u8 mod_no, bool enable) mod_no 497 drivers/mfd/twl-core.c struct regmap *regmap = twl_get_regmap(mod_no); mod_no 595 drivers/mfd/twl-core.c add_numbered_child(unsigned mod_no, const char *name, int num, mod_no 603 drivers/mfd/twl-core.c if (unlikely(mod_no >= twl_get_last_module())) { mod_no 604 drivers/mfd/twl-core.c pr_err("%s: invalid module number %d\n", DRIVER_NAME, mod_no); mod_no 607 drivers/mfd/twl-core.c sid = twl_priv->twl_map[mod_no].sid; mod_no 651 drivers/mfd/twl-core.c static inline struct device *add_child(unsigned mod_no, const char *name, mod_no 655 drivers/mfd/twl-core.c return add_numbered_child(mod_no, name, -1, pdata, pdata_len, mod_no 157 drivers/power/supply/twl4030_charger.c static int twl4030_clear_set(u8 mod_no, u8 clear, u8 set, u8 reg) mod_no 162 drivers/power/supply/twl4030_charger.c ret = twl_i2c_read_u8(mod_no, &val, reg); mod_no 169 drivers/power/supply/twl4030_charger.c return twl_i2c_write_u8(mod_no, val, reg); mod_no 164 include/linux/mfd/twl.h int twl_set_regcache_bypass(u8 mod_no, bool enable); mod_no 169 include/linux/mfd/twl.h int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); mod_no 170 include/linux/mfd/twl.h int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); mod_no 175 include/linux/mfd/twl.h static inline int twl_i2c_write_u8(u8 mod_no, u8 val, u8 reg) { mod_no 176 include/linux/mfd/twl.h return twl_i2c_write(mod_no, &val, reg, 1); mod_no 179 include/linux/mfd/twl.h static inline int twl_i2c_read_u8(u8 mod_no, u8 *val, u8 reg) { mod_no 180 include/linux/mfd/twl.h return twl_i2c_read(mod_no, val, reg, 1); mod_no 183 include/linux/mfd/twl.h static inline int twl_i2c_write_u16(u8 mod_no, u16 val, u8 reg) { mod_no 185 include/linux/mfd/twl.h return twl_i2c_write(mod_no, (u8*) &val, reg, 2); mod_no 188 include/linux/mfd/twl.h static inline int twl_i2c_read_u16(u8 mod_no, u16 *val, u8 reg) { mod_no 190 include/linux/mfd/twl.h ret = twl_i2c_read(mod_no, (u8*) val, reg, 2);