| H A D | regmap.c | 3 // Register map access API 36 static inline bool regmap_should_log(struct regmap *map) in regmap_should_log() argument 38 return (map->dev && strcmp(dev_name(map->dev), LOG_DEVICE) == 0); in regmap_should_log() 41 static inline bool regmap_should_log(struct regmap *map) { return false; } in regmap_should_log() argument 45 static int _regmap_update_bits(struct regmap *map, unsigned int reg, 74 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table() argument 90 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable() argument 92 if (map->max_register_is_set && reg > map in regmap_writeable() 104 regmap_cached(struct regmap * map,unsigned int reg) regmap_cached() argument 127 regmap_readable(struct regmap * map,unsigned int reg) regmap_readable() argument 147 regmap_volatile(struct regmap * map,unsigned int reg) regmap_volatile() argument 164 regmap_precious(struct regmap * map,unsigned int reg) regmap_precious() argument 178 regmap_writeable_noinc(struct regmap * map,unsigned int reg) regmap_writeable_noinc() argument 189 regmap_readable_noinc(struct regmap * map,unsigned int reg) regmap_readable_noinc() argument 200 regmap_volatile_range(struct regmap * map,unsigned int reg,size_t num) regmap_volatile_range() argument 212 regmap_format_12_20_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_12_20_write() argument 224 regmap_format_2_6_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_2_6_write() argument 232 regmap_format_4_12_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_4_12_write() argument 239 regmap_format_7_9_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_7_9_write() argument 246 regmap_format_7_17_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_7_17_write() argument 256 regmap_format_10_14_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_format_10_14_write() argument 396 struct regmap *map = __map; regmap_lock_hwlock() local 403 struct regmap *map = __map; regmap_lock_hwlock_irq() local 410 struct regmap *map = __map; regmap_lock_hwlock_irqsave() local 420 struct regmap *map = __map; regmap_unlock_hwlock() local 427 struct regmap *map = __map; regmap_unlock_hwlock_irq() local 434 struct regmap *map = __map; regmap_unlock_hwlock_irqrestore() local 446 struct regmap *map = __map; regmap_lock_mutex() local 452 struct regmap *map = __map; regmap_unlock_mutex() local 459 struct regmap *map = __map; regmap_lock_spinlock() local 469 struct regmap *map = __map; regmap_unlock_spinlock() local 476 struct regmap *map = __map; regmap_lock_raw_spinlock() local 486 struct regmap *map = __map; regmap_unlock_raw_spinlock() local 499 _regmap_range_add(struct regmap * map,struct regmap_range_node * data) _regmap_range_add() argument 524 _regmap_range_lookup(struct regmap * map,unsigned int reg) _regmap_range_lookup() argument 544 regmap_range_exit(struct regmap * map) regmap_range_exit() argument 560 regmap_set_name(struct regmap * map,const struct regmap_config * config) regmap_set_name() argument 575 regmap_attach_dev(struct device * dev,struct regmap * map,const struct regmap_config * config) regmap_attach_dev() argument 605 regmap_detach_dev(struct device * dev,struct regmap * map) regmap_detach_dev() argument 684 struct regmap *map; __regmap_init() local 1424 regmap_reinit_cache(struct regmap * map,const struct regmap_config * config) regmap_reinit_cache() argument 1460 regmap_exit(struct regmap * map) regmap_exit() argument 1537 regmap_get_device(struct regmap * map) regmap_get_device() argument 1543 _regmap_select_page(struct regmap * map,unsigned int * reg,struct regmap_range_node * range,unsigned int val_num) _regmap_select_page() argument 1591 regmap_set_work_buf_flag_mask(struct regmap * map,int max_bytes,unsigned long mask) regmap_set_work_buf_flag_mask() argument 1606 regmap_reg_addr(struct regmap * map,unsigned int reg) regmap_reg_addr() argument 1618 _regmap_raw_write_impl(struct regmap * map,unsigned int reg,const void * val,size_t val_len,bool noinc) _regmap_raw_write_impl() argument 1823 regmap_can_raw_write(struct regmap * map) regmap_can_raw_write() argument 1834 regmap_get_raw_read_max(struct regmap * map) regmap_get_raw_read_max() argument 1845 regmap_get_raw_write_max(struct regmap * map) regmap_get_raw_write_max() argument 1856 struct regmap *map = context; _regmap_bus_formatted_write() local 1882 struct regmap *map = context; _regmap_bus_reg_write() local 1900 struct regmap *map = context; _regmap_bus_raw_write() local 1914 _regmap_map_get_context(struct regmap * map) _regmap_map_get_context() argument 1919 _regmap_write(struct regmap * map,unsigned int reg,unsigned int val) _regmap_write() argument 1959 regmap_write(struct regmap * map,unsigned int reg,unsigned int val) regmap_write() argument 1986 regmap_write_async(struct regmap * map,unsigned int reg,unsigned int val) regmap_write_async() argument 2007 _regmap_raw_write(struct regmap * map,unsigned int reg,const void * val,size_t val_len,bool noinc) _regmap_raw_write() argument 2061 regmap_raw_write(struct regmap * map,unsigned int reg,const void * val,size_t val_len) regmap_raw_write() argument 2081 regmap_noinc_readwrite(struct regmap * map,unsigned int reg,void * val,unsigned int val_len,bool write) regmap_noinc_readwrite() argument 2180 regmap_noinc_write(struct regmap * map,unsigned int reg,const void * val,size_t val_len) regmap_noinc_write() argument 2327 regmap_bulk_write(struct regmap * map,unsigned int reg,const void * val,size_t val_count) regmap_bulk_write() argument 2397 _regmap_raw_multi_reg_write(struct regmap * map,const struct reg_sequence * regs,size_t num_regs) _regmap_raw_multi_reg_write() argument 2446 _regmap_register_page(struct regmap * map,unsigned int reg,struct regmap_range_node * range) _regmap_register_page() argument 2455 _regmap_range_multi_paged_reg_write(struct regmap * map,struct reg_sequence * regs,size_t num_regs) _regmap_range_multi_paged_reg_write() argument 2536 _regmap_multi_reg_write(struct regmap * map,const struct reg_sequence * regs,size_t num_regs) _regmap_multi_reg_write() argument 2634 regmap_multi_reg_write(struct regmap * map,const struct reg_sequence * regs,int num_regs) regmap_multi_reg_write() argument 2667 regmap_multi_reg_write_bypassed(struct regmap * map,const struct reg_sequence * regs,int num_regs) regmap_multi_reg_write_bypassed() argument 2711 regmap_raw_write_async(struct regmap * map,unsigned int reg,const void * val,size_t val_len) regmap_raw_write_async() argument 2735 _regmap_raw_read(struct regmap * map,unsigned int reg,void * val,unsigned int val_len,bool noinc) _regmap_raw_read() argument 2770 struct regmap *map = context; _regmap_bus_reg_read() local 2789 struct regmap *map = context; _regmap_bus_read() local 2803 _regmap_read(struct regmap * map,unsigned int reg,unsigned int * val) _regmap_read() argument 2845 regmap_read(struct regmap * map,unsigned int reg,unsigned int * val) regmap_read() argument 2873 regmap_read_bypassed(struct regmap * map,unsigned int reg,unsigned int * val) regmap_read_bypassed() argument 2910 regmap_raw_read(struct regmap * map,unsigned int reg,void * val,size_t val_len) regmap_raw_read() argument 3009 regmap_noinc_read(struct regmap * map,unsigned int reg,void * val,size_t val_len) regmap_noinc_read() argument 3125 _regmap_bulk_read(struct regmap * map,unsigned int reg,const unsigned int * regs,void * val,size_t val_count) _regmap_bulk_read() argument 3181 regmap_bulk_read(struct regmap * map,unsigned int reg,void * val,size_t val_count) regmap_bulk_read() argument 3220 regmap_multi_reg_read(struct regmap * map,const unsigned int * regs,void * val,size_t val_count) regmap_multi_reg_read() argument 3230 _regmap_update_bits(struct regmap * map,unsigned int reg,unsigned int mask,unsigned int val,bool * change,bool force_write) _regmap_update_bits() argument 3285 regmap_update_bits_base(struct regmap * map,unsigned int reg,unsigned int mask,unsigned int val,bool * change,bool async,bool force) regmap_update_bits_base() argument 3316 regmap_test_bits(struct regmap * map,unsigned int reg,unsigned int bits) regmap_test_bits() argument 3331 struct regmap *map = async->map; regmap_async_complete_cb() local 3350 regmap_async_is_done(struct regmap * map) regmap_async_is_done() argument 3370 regmap_async_complete(struct regmap * map) regmap_async_complete() argument 3411 regmap_register_patch(struct regmap * map,const struct reg_sequence * regs,int num_regs) regmap_register_patch() argument 3461 regmap_get_val_bytes(struct regmap * map) regmap_get_val_bytes() argument 3478 regmap_get_max_register(struct regmap * map) regmap_get_max_register() argument 3492 regmap_get_reg_stride(struct regmap * map) regmap_get_reg_stride() argument 3505 regmap_might_sleep(struct regmap * map) regmap_might_sleep() argument 3511 regmap_parse_val(struct regmap * map,const void * buf,unsigned int * val) regmap_parse_val() argument [all...] |