int_map
unsigned int int_map = 0x00;
int_map |= adxl345_tap_int_reg[type];
adxl345_tap_int_reg[type], int_map);
st->int_map[0],
st->int_map[0],
st->int_map[0] = ADXL380_INT0_MAP0_REG;
st->int_map[1] = ADXL380_INT0_MAP1_REG;
st->int_map[0] = ADXL380_INT1_MAP0_REG;
st->int_map[1] = ADXL380_INT1_MAP1_REG;
int int_map[2];
ret = regmap_read(st->regmap, st->int_map[0], ®_val);
return regmap_update_bits(st->regmap, st->int_map[0],
return regmap_update_bits(st->regmap, st->int_map[0],
ret = regmap_read(st->regmap, st->int_map[1], ®_val);
return regmap_update_bits(st->regmap, st->int_map[1],
return regmap_update_bits(st->regmap, st->int_map[1],
struct int_map *loading_pages;
struct int_map *page_map;
struct int_map *lock_map = lock->zone->lbn_operations;
struct int_map *hash_lock_map;
static int allocate_buckets(struct int_map *map, size_t capacity)
int vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr)
struct int_map *map;
result = vdo_allocate(1, struct int_map, "struct int_map", &map);
void vdo_int_map_free(struct int_map *map)
size_t vdo_int_map_size(const struct int_map *map)
static struct bucket *select_bucket(const struct int_map *map, u64 key)
void *vdo_int_map_get(struct int_map *map, u64 key)
static int resize_buckets(struct int_map *map)
struct int_map old_map = *map;
find_empty_bucket(struct int_map *map, struct bucket *bucket, unsigned int max_probes)
static struct bucket *find_or_make_vacancy(struct int_map *map,
int vdo_int_map_put(struct int_map *map, u64 key, void *new_value, bool update,
void *vdo_int_map_remove(struct int_map *map, u64 key)
struct int_map;
int __must_check vdo_int_map_create(size_t initial_capacity, struct int_map **map_ptr);
void vdo_int_map_free(struct int_map *map);
size_t vdo_int_map_size(const struct int_map *map);
void *vdo_int_map_get(struct int_map *map, u64 key);
int __must_check vdo_int_map_put(struct int_map *map, u64 key, void *new_value,
void *vdo_int_map_remove(struct int_map *map, u64 key);
static struct vio *get_mergeable_locked(struct int_map *map, struct vio *vio,
static int map_merged_vio(struct int_map *bio_map, struct vio *vio)
static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio,
static int merge_to_next_head(struct int_map *bio_map, struct vio *vio,
struct int_map *map;
struct int_map *lbn_operations;
struct int_map *pbn_operations;
u32 *int_map, *mapp;
int_map = kcalloc(map_sz, sizeof(u32), GFP_KERNEL);
if (!int_map)
mapp = int_map;
ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map,
kfree(int_map);
kfree(int_map);