• Home
  • Raw
  • Download

Lines Matching refs:map

122 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \  argument
126 sleep_us, timeout_us, false, (map), (addr), &(val)); \
152 #define regmap_read_poll_timeout_atomic(map, addr, val, cond, delay_us, timeout_us) \ argument
159 __ret = regmap_read((map), (addr), &(val)); \
166 __ret = regmap_read((map), (addr), &(val)); \
772 int regmap_attach_dev(struct device *dev, struct regmap *map,
1217 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1218 void regmap_mmio_detach_clk(struct regmap *map);
1219 void regmap_exit(struct regmap *map);
1220 int regmap_reinit_cache(struct regmap *map,
1223 struct device *regmap_get_device(struct regmap *map);
1224 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1225 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1226 int regmap_raw_write(struct regmap *map, unsigned int reg,
1228 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1230 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1232 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1234 int regmap_multi_reg_write_bypassed(struct regmap *map,
1237 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1239 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1240 int regmap_read_bypassed(struct regmap *map, unsigned int reg, unsigned int *val);
1241 int regmap_raw_read(struct regmap *map, unsigned int reg,
1243 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1245 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1247 int regmap_multi_reg_read(struct regmap *map, unsigned int *reg, void *val,
1249 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1253 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1256 return regmap_update_bits_base(map, reg, mask, val, NULL, false, false); in regmap_update_bits()
1259 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1262 return regmap_update_bits_base(map, reg, mask, val, NULL, true, false); in regmap_update_bits_async()
1265 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1269 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check()
1274 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1278 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check_async()
1282 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1285 return regmap_update_bits_base(map, reg, mask, val, NULL, false, true); in regmap_write_bits()
1288 int regmap_get_val_bytes(struct regmap *map);
1289 int regmap_get_max_register(struct regmap *map);
1290 int regmap_get_reg_stride(struct regmap *map);
1291 bool regmap_might_sleep(struct regmap *map);
1292 int regmap_async_complete(struct regmap *map);
1293 bool regmap_can_raw_write(struct regmap *map);
1294 size_t regmap_get_raw_read_max(struct regmap *map);
1295 size_t regmap_get_raw_write_max(struct regmap *map);
1297 int regcache_sync(struct regmap *map);
1298 int regcache_sync_region(struct regmap *map, unsigned int min,
1300 int regcache_drop_region(struct regmap *map, unsigned int min,
1302 void regcache_cache_only(struct regmap *map, bool enable);
1303 void regcache_cache_bypass(struct regmap *map, bool enable);
1304 void regcache_mark_dirty(struct regmap *map);
1305 bool regcache_reg_cached(struct regmap *map, unsigned int reg);
1307 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1310 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1312 int regmap_parse_val(struct regmap *map, const void *buf,
1325 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1328 return regmap_update_bits_base(map, reg, bits, bits, in regmap_set_bits()
1332 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1335 return regmap_update_bits_base(map, reg, bits, 0, NULL, false, false); in regmap_clear_bits()
1338 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1671 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1675 struct regmap *map, int irq,
1681 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1687 struct regmap *map, int irq,
1707 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write() argument
1714 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async() argument
1721 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write() argument
1728 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async() argument
1735 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write() argument
1742 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write() argument
1749 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read() argument
1756 static inline int regmap_read_bypassed(struct regmap *map, unsigned int reg, in regmap_read_bypassed() argument
1763 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read() argument
1770 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read() argument
1777 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read() argument
1784 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base() argument
1792 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1799 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1806 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() argument
1830 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1837 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1844 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1853 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1861 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1948 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes() argument
1954 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register() argument
1960 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride() argument
1966 static inline bool regmap_might_sleep(struct regmap *map) in regmap_might_sleep() argument
1972 static inline int regcache_sync(struct regmap *map) in regcache_sync() argument
1978 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() argument
1985 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() argument
1992 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only() argument
1997 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass() argument
2002 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty() argument
2007 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete() argument
2012 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch() argument
2020 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val() argument
2033 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device() argument