Lines Matching refs:rc_map_table
153 static struct rc_map_table empty[] = {
221 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
222 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
267 struct rc_map_table *oldscan = rc_map->scan; in ir_resize_table()
268 struct rc_map_table *newscan; in ir_resize_table()
292 memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); in ir_resize_table()
295 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()
327 (rc_map->len - index) * sizeof(struct rc_map_table)); in ir_update_mapping()
406 (rc_map->len - i) * sizeof(struct rc_map_table)); in ir_establish_scancode()
503 const struct rc_map_table *e = elt; in rc_map_cmp()
525 struct rc_map_table *res; in ir_lookup_by_scancode()
528 sizeof(struct rc_map_table), rc_map_cmp); in ir_lookup_by_scancode()
549 struct rc_map_table *entry; in ir_getkeycode()