Home
last modified time | relevance | path

Searched refs:twl_priv (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/mfd/
Dtwl-core.c158 static struct twl_private *twl_priv; variable
401 return twl_priv ? twl_priv->twl_id : 0; in twl_rev()
416 if (unlikely(!twl_priv || !twl_priv->ready)) { in twl_get_regmap()
425 sid = twl_priv->twl_map[mod_no].sid; in twl_get_regmap()
426 twl = &twl_priv->twl_modules[sid]; in twl_get_regmap()
448 ret = regmap_bulk_write(regmap, twl_priv->twl_map[mod_no].base + reg, in twl_i2c_write()
476 ret = regmap_bulk_read(regmap, twl_priv->twl_map[mod_no].base + reg, in twl_i2c_read()
526 err = twl_i2c_read(TWL4030_MODULE_INTBR, (u8 *)(&twl_priv->twl_idcode), in twl_read_idcode_register()
547 return TWL_SIL_TYPE(twl_priv->twl_idcode); in twl_get_type()
558 return TWL_SIL_REV(twl_priv->twl_idcode); in twl_get_version()
[all …]