Home
last modified time | relevance | path

Searched refs:rc_map (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/input/
H A Drockchip_ir.c26 static struct rc_map *rc_map; variable
49 if (rc_map[i].usercode == usercode) in ir_lookup_by_scancode()
52 for (j = 0; i < priv->num && j < rc_map[i].nbuttons; j++) { in ir_lookup_by_scancode()
53 if (rc_map[i].scan[j].scancode == scancode) { in ir_lookup_by_scancode()
54 if (priv->keycode == rc_map[i].scan[j].keycode) in ir_lookup_by_scancode()
58 priv->keycode = rc_map[i].scan[j].keycode; in ir_lookup_by_scancode()
84 rc_map[i].usercode = val; in ir_parse_keys()
85 if (rc_map[i].usercode == 0) { in ir_parse_keys()
89 debug("add new usercode:0x%x\n", rc_map[i].usercode); in ir_parse_keys()
93 rc_map[i].nbuttons = len / 2; in ir_parse_keys()
[all …]
/rk3399_rockchip-uboot/include/
H A Drockchip_ir.h80 struct rc_map { struct