Home
last modified time | relevance | path

Searched refs:hw_code (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/board/dhelectronics/dh_imx6/
H A Ddh_imx6.c381 int hw_code; in board_get_hwcode() local
388 hw_code = ((gpio_get_value(HW_CODE_BIT_2) << 2) | in board_get_hwcode()
392 return hw_code; in board_get_hwcode()
397 u32 hw_code; in board_late_init() local
400 hw_code = board_get_hwcode(); in board_late_init()
404 snprintf(buf, sizeof(buf), "imx6s-dhcom%1d", hw_code); in board_late_init()
407 snprintf(buf, sizeof(buf), "imx6dl-dhcom%1d", hw_code); in board_late_init()
410 snprintf(buf, sizeof(buf), "imx6d-dhcom%1d", hw_code); in board_late_init()
413 snprintf(buf, sizeof(buf), "imx6q-dhcom%1d", hw_code); in board_late_init()
416 snprintf(buf, sizeof(buf), "UNKNOWN%1d", hw_code); in board_late_init()
/openbmc/linux/drivers/input/misc/
H A Dati_remote2.c131 u8 hw_code; member
336 static int ati_remote2_lookup(unsigned int hw_code) in ati_remote2_lookup() argument
341 if (ati_remote2_key_table[i].hw_code == hw_code) in ati_remote2_lookup()
351 int channel, mode, hw_code, index; in ati_remote2_input_key() local
367 hw_code = data[2]; in ati_remote2_input_key()
368 if (hw_code == 0x3f) { in ati_remote2_input_key()
386 index = ati_remote2_lookup(hw_code); in ati_remote2_input_key()
498 scancode = (mode << 8) + ati_remote2_key_table[offset].hw_code; in ati_remote2_getkeycode()
/openbmc/linux/drivers/media/rc/
H A Dimon.c78 u64 hw_code; member
1301 for (i = 0; key_table[i].hw_code != 0; i++) { in imon_panel_key_lookup()
1302 if (key_table[i].hw_code == (code | 0xffee)) { in imon_panel_key_lookup()
2048 for (i = 0; key_table[i].hw_code != 0; i++) { in imon_init_idev()