Searched defs:mod_no (Results 1 - 2 of 2) sorted by relevance
/drivers/mfd/ |
H A D | twl-core.c | 421 * @mod_no: module number 425 static struct regmap *twl_get_regmap(u8 mod_no) argument 434 if (unlikely(mod_no >= twl_get_last_module())) { 435 pr_err("%s: invalid module number %d\n", DRIVER_NAME, mod_no); 439 sid = twl_priv->twl_map[mod_no].sid; 447 * @mod_no: module number 454 int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) argument 456 struct regmap *regmap = twl_get_regmap(mod_no); 462 ret = regmap_bulk_write(regmap, twl_priv->twl_map[mod_no].base + reg, 467 DRIVER_NAME, mod_no, re 482 twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) argument 509 twl_set_regcache_bypass(u8 mod_no, bool enable) argument 609 add_numbered_child(unsigned mod_no, const char *name, int num, void *pdata, unsigned pdata_len, bool can_wakeup, int irq0, int irq1) argument 667 add_child(unsigned mod_no, const char *name, void *pdata, unsigned pdata_len, bool can_wakeup, int irq0, int irq1) argument [all...] |
/drivers/power/ |
H A D | twl4030_charger.c | 106 static int twl4030_clear_set(u8 mod_no, u8 clear, u8 set, u8 reg) argument 111 ret = twl_i2c_read_u8(mod_no, &val, reg); 118 return twl_i2c_write_u8(mod_no, val, reg);
|
Completed in 313 milliseconds