Lines Matching refs:map
105 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument
109 sleep_us, timeout_us, false, (map), (addr), &(val)); \
135 #define regmap_read_poll_timeout_atomic(map, addr, val, cond, delay_us, timeout_us) \ argument
142 __ret = regmap_read((map), (addr), &(val)); \
149 __ret = regmap_read((map), (addr), &(val)); \
740 int regmap_attach_dev(struct device *dev, struct regmap *map,
1158 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1159 void regmap_mmio_detach_clk(struct regmap *map);
1160 void regmap_exit(struct regmap *map);
1161 int regmap_reinit_cache(struct regmap *map,
1164 struct device *regmap_get_device(struct regmap *map);
1165 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1166 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1167 int regmap_raw_write(struct regmap *map, unsigned int reg,
1169 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1171 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1173 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1175 int regmap_multi_reg_write_bypassed(struct regmap *map,
1178 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1180 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1181 int regmap_raw_read(struct regmap *map, unsigned int reg,
1183 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1185 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1187 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1191 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1194 return regmap_update_bits_base(map, reg, mask, val, NULL, false, false); in regmap_update_bits()
1197 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1200 return regmap_update_bits_base(map, reg, mask, val, NULL, true, false); in regmap_update_bits_async()
1203 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1207 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check()
1212 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1216 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check_async()
1220 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1223 return regmap_update_bits_base(map, reg, mask, val, NULL, false, true); in regmap_write_bits()
1226 int regmap_get_val_bytes(struct regmap *map);
1227 int regmap_get_max_register(struct regmap *map);
1228 int regmap_get_reg_stride(struct regmap *map);
1229 int regmap_async_complete(struct regmap *map);
1230 bool regmap_can_raw_write(struct regmap *map);
1231 size_t regmap_get_raw_read_max(struct regmap *map);
1232 size_t regmap_get_raw_write_max(struct regmap *map);
1234 int regcache_sync(struct regmap *map);
1235 int regcache_sync_region(struct regmap *map, unsigned int min,
1237 int regcache_drop_region(struct regmap *map, unsigned int min,
1239 void regcache_cache_only(struct regmap *map, bool enable);
1240 void regcache_cache_bypass(struct regmap *map, bool enable);
1241 void regcache_mark_dirty(struct regmap *map);
1243 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1246 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1248 int regmap_parse_val(struct regmap *map, const void *buf,
1261 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1264 return regmap_update_bits_base(map, reg, bits, bits, in regmap_set_bits()
1268 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1271 return regmap_update_bits_base(map, reg, bits, 0, NULL, false, false); in regmap_clear_bits()
1274 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1627 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1631 struct regmap *map, int irq,
1637 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1643 struct regmap *map, int irq,
1663 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write() argument
1670 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async() argument
1677 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write() argument
1684 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async() argument
1691 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write() argument
1698 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write() argument
1705 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read() argument
1712 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read() argument
1719 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read() argument
1726 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read() argument
1733 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base() argument
1741 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1748 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1755 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() argument
1779 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1786 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1793 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1802 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1810 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1897 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes() argument
1903 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register() argument
1909 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride() argument
1915 static inline int regcache_sync(struct regmap *map) in regcache_sync() argument
1921 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() argument
1928 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() argument
1935 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only() argument
1940 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass() argument
1945 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty() argument
1950 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete() argument
1955 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch() argument
1963 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val() argument
1976 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device() argument