Lines Matching refs:rc_map_table
146 static struct rc_map_table empty[] = {
179 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
180 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
225 struct rc_map_table *oldscan = rc_map->scan; in ir_resize_table()
226 struct rc_map_table *newscan; in ir_resize_table()
250 memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); in ir_resize_table()
253 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()
285 (rc_map->len - index) * sizeof(struct rc_map_table)); in ir_update_mapping()
365 (rc_map->len - i) * sizeof(struct rc_map_table)); in ir_establish_scancode()
463 const struct rc_map_table *e = elt; in rc_map_cmp()
485 struct rc_map_table *res; in ir_lookup_by_scancode()
488 sizeof(struct rc_map_table), rc_map_cmp); in ir_lookup_by_scancode()
509 struct rc_map_table *entry; in ir_getkeycode()