Searched refs:MAKE_PS2_CMD (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/input/mouse/ |
H A D | trackpoint.c | 38 err = ps2_command(ps2dev, param, MAKE_PS2_CMD(1, 2, TP_COMMAND)); in trackpoint_power_on_reset() 56 return ps2_command(ps2dev, results, MAKE_PS2_CMD(1, 1, TP_COMMAND)); in trackpoint_read() 63 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_write() 74 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_toggle_bit() 276 param, MAKE_PS2_CMD(0, 2, TP_READ_ID)); in trackpoint_start_protocol()
|
H A D | trackpoint.h | 142 #define MAKE_PS2_CMD(params, results, cmd) ((params<<12) | (results<<8) | (cmd)) macro
|
H A D | alps.c | 2870 param, MAKE_PS2_CMD(0, 2, TP_READ_ID))) in alps_is_cs19_trackpoint()
|