Lines Matching refs:regmap

35 static int _regmap_update_bits(struct regmap *map, unsigned int reg,
64 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table()
80 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
94 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
111 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
128 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
142 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range()
154 static void regmap_format_2_6_write(struct regmap *map, in regmap_format_2_6_write()
162 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write()
169 static void regmap_format_7_9_write(struct regmap *map, in regmap_format_7_9_write()
176 static void regmap_format_10_14_write(struct regmap *map, in regmap_format_10_14_write()
333 struct regmap *map = __map; in regmap_lock_mutex()
339 struct regmap *map = __map; in regmap_unlock_mutex()
346 struct regmap *map = __map; in regmap_lock_spinlock()
356 struct regmap *map = __map; in regmap_unlock_spinlock()
369 static bool _regmap_range_add(struct regmap *map, in _regmap_range_add()
394 static struct regmap_range_node *_regmap_range_lookup(struct regmap *map, in _regmap_range_lookup()
414 static void regmap_range_exit(struct regmap *map) in regmap_range_exit()
430 int regmap_attach_dev(struct device *dev, struct regmap *map, in regmap_attach_dev()
433 struct regmap **m; in regmap_attach_dev()
530 struct regmap *regmap_init(struct device *dev, in regmap_init()
535 struct regmap *map; in regmap_init()
906 regmap_exit(*(struct regmap **)res); in devm_regmap_release()
922 struct regmap *devm_regmap_init(struct device *dev, in devm_regmap_init()
927 struct regmap **ptr, *regmap; in devm_regmap_init() local
933 regmap = regmap_init(dev, bus, bus_context, config); in devm_regmap_init()
934 if (!IS_ERR(regmap)) { in devm_regmap_init()
935 *ptr = regmap; in devm_regmap_init()
941 return regmap; in devm_regmap_init()
946 struct regmap *regmap, struct reg_field reg_field) in regmap_field_init() argument
948 rm_field->regmap = regmap; in regmap_field_init()
969 struct regmap *regmap, struct reg_field reg_field) in devm_regmap_field_alloc() argument
976 regmap_field_init(rm_field, regmap, reg_field); in devm_regmap_field_alloc()
1010 struct regmap_field *regmap_field_alloc(struct regmap *regmap, in regmap_field_alloc() argument
1018 regmap_field_init(rm_field, regmap, reg_field); in regmap_field_alloc()
1049 int regmap_reinit_cache(struct regmap *map, const struct regmap_config *config) in regmap_reinit_cache()
1073 void regmap_exit(struct regmap *map) in regmap_exit()
1097 struct regmap **r = res; in dev_get_regmap_match()
1122 struct regmap *dev_get_regmap(struct device *dev, const char *name) in dev_get_regmap()
1124 struct regmap **r = devres_find(dev, dev_get_regmap_release, in dev_get_regmap()
1140 struct device *regmap_get_device(struct regmap *map) in regmap_get_device()
1146 static int _regmap_select_page(struct regmap *map, unsigned int *reg, in _regmap_select_page()
1194 int _regmap_raw_write(struct regmap *map, unsigned int reg, in _regmap_raw_write()
1383 bool regmap_can_raw_write(struct regmap *map) in regmap_can_raw_write()
1394 struct regmap *map = context; in _regmap_bus_formatted_write()
1420 struct regmap *map = context; in _regmap_bus_reg_write()
1428 struct regmap *map = context; in _regmap_bus_raw_write()
1441 static inline void *_regmap_map_get_context(struct regmap *map) in _regmap_map_get_context()
1446 int _regmap_write(struct regmap *map, unsigned int reg, in _regmap_write()
1485 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val) in regmap_write()
1512 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val) in regmap_write_async()
1549 int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
1580 return regmap_update_bits(field->regmap, field->reg, in regmap_field_write()
1600 return regmap_update_bits(field->regmap, field->reg, in regmap_field_update_bits()
1621 return regmap_update_bits(field->regmap, in regmap_fields_write()
1647 return regmap_update_bits(field->regmap, in regmap_fields_update_bits()
1667 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val, in regmap_bulk_write()
1745 static int _regmap_raw_multi_reg_write(struct regmap *map, in _regmap_raw_multi_reg_write()
1793 static unsigned int _regmap_register_page(struct regmap *map, in _regmap_register_page()
1802 static int _regmap_range_multi_paged_reg_write(struct regmap *map, in _regmap_range_multi_paged_reg_write()
1845 static int _regmap_multi_reg_write(struct regmap *map, in _regmap_multi_reg_write()
1932 int regmap_multi_reg_write(struct regmap *map, const struct reg_default *regs, in regmap_multi_reg_write()
1964 int regmap_multi_reg_write_bypassed(struct regmap *map, in regmap_multi_reg_write_bypassed()
2008 int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
2032 static int _regmap_raw_read(struct regmap *map, unsigned int reg, void *val, in _regmap_raw_read()
2073 struct regmap *map = context; in _regmap_bus_reg_read()
2082 struct regmap *map = context; in _regmap_bus_read()
2094 static int _regmap_read(struct regmap *map, unsigned int reg, in _regmap_read()
2140 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val) in regmap_read()
2168 int regmap_raw_read(struct regmap *map, unsigned int reg, void *val, in regmap_raw_read()
2224 ret = regmap_read(field->regmap, field->reg, &reg_val); in regmap_field_read()
2255 ret = regmap_read(field->regmap, in regmap_fields_read()
2280 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, in regmap_bulk_read()
2328 static int _regmap_update_bits(struct regmap *map, unsigned int reg, in _regmap_update_bits()
2364 int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
2392 int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
2423 int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
2453 int regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
2475 struct regmap *map = async->map; in regmap_async_complete_cb()
2494 static int regmap_async_is_done(struct regmap *map) in regmap_async_is_done()
2514 int regmap_async_complete(struct regmap *map) in regmap_async_complete()
2555 int regmap_register_patch(struct regmap *map, const struct reg_default *regs, in regmap_register_patch()
2606 int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
2615 int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()