Searched refs:PORT_SHIFT (Results 1 – 2 of 2) sorted by relevance
46 #define PORT_SHIFT 8 macro79 which = TOUCHPAD_PORT << PORT_SHIFT; in olpc_apsp_write()81 which = KEYBOARD_PORT << PORT_SHIFT; in olpc_apsp_write()120 if (w >> PORT_SHIFT == KEYBOARD_PORT) in olpc_apsp_rx()
17 #define PORT_SHIFT 5 macro66 command = SMI_HDR | SMIRD_OP | ((port&SMI_MASK) << PORT_SHIFT) | in sw_reg_read()97 value = SMI_HDR | SMIWR_OP | ((port & SMI_MASK) << PORT_SHIFT) | in sw_reg_write()