Lines Matching refs:rc_map_table
153 static struct rc_map_table empty[] = {
186 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
187 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
232 struct rc_map_table *oldscan = rc_map->scan; in ir_resize_table()
233 struct rc_map_table *newscan; in ir_resize_table()
257 memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); in ir_resize_table()
260 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()
292 (rc_map->len - index) * sizeof(struct rc_map_table)); in ir_update_mapping()
372 (rc_map->len - i) * sizeof(struct rc_map_table)); in ir_establish_scancode()
470 const struct rc_map_table *e = elt; in rc_map_cmp()
492 struct rc_map_table *res; in ir_lookup_by_scancode()
495 sizeof(struct rc_map_table), rc_map_cmp); in ir_lookup_by_scancode()
516 struct rc_map_table *entry; in ir_getkeycode()