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)); \
704 int regmap_attach_dev(struct device *dev, struct regmap *map,
1122 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1123 void regmap_mmio_detach_clk(struct regmap *map);
1124 void regmap_exit(struct regmap *map);
1125 int regmap_reinit_cache(struct regmap *map,
1128 struct device *regmap_get_device(struct regmap *map);
1129 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1130 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1131 int regmap_raw_write(struct regmap *map, unsigned int reg,
1133 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1135 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1137 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1139 int regmap_multi_reg_write_bypassed(struct regmap *map,
1142 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1144 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1145 int regmap_raw_read(struct regmap *map, unsigned int reg,
1147 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1149 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1151 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1155 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1158 return regmap_update_bits_base(map, reg, mask, val, NULL, false, false); in regmap_update_bits()
1161 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1164 return regmap_update_bits_base(map, reg, mask, val, NULL, true, false); in regmap_update_bits_async()
1167 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1171 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check()
1176 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1180 return regmap_update_bits_base(map, reg, mask, val, in regmap_update_bits_check_async()
1184 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1187 return regmap_update_bits_base(map, reg, mask, val, NULL, false, true); in regmap_write_bits()
1190 int regmap_get_val_bytes(struct regmap *map);
1191 int regmap_get_max_register(struct regmap *map);
1192 int regmap_get_reg_stride(struct regmap *map);
1193 int regmap_async_complete(struct regmap *map);
1194 bool regmap_can_raw_write(struct regmap *map);
1195 size_t regmap_get_raw_read_max(struct regmap *map);
1196 size_t regmap_get_raw_write_max(struct regmap *map);
1198 int regcache_sync(struct regmap *map);
1199 int regcache_sync_region(struct regmap *map, unsigned int min,
1201 int regcache_drop_region(struct regmap *map, unsigned int min,
1203 void regcache_cache_only(struct regmap *map, bool enable);
1204 void regcache_cache_bypass(struct regmap *map, bool enable);
1205 void regcache_mark_dirty(struct regmap *map);
1207 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1210 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1212 int regmap_parse_val(struct regmap *map, const void *buf,
1225 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1228 return regmap_update_bits_base(map, reg, bits, bits, in regmap_set_bits()
1232 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1235 return regmap_update_bits_base(map, reg, bits, 0, NULL, false, false); in regmap_clear_bits()
1238 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1535 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1539 struct regmap *map, int irq,
1545 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1551 struct regmap *map, int irq,
1571 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write() argument
1578 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async() argument
1585 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write() argument
1592 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async() argument
1599 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write() argument
1606 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write() argument
1613 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read() argument
1620 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read() argument
1627 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read() argument
1634 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read() argument
1641 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base() argument
1649 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits() argument
1656 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits() argument
1663 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() argument
1687 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() argument
1694 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async() argument
1701 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check() argument
1710 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async() argument
1718 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits() argument
1784 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes() argument
1790 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register() argument
1796 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride() argument
1802 static inline int regcache_sync(struct regmap *map) in regcache_sync() argument
1808 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() argument
1815 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() argument
1822 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only() argument
1827 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass() argument
1832 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty() argument
1837 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete() argument
1842 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch() argument
1850 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val() argument
1863 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device() argument