Lines Matching refs:command
114 u8 xdata, command, system; in ir_rc5_decode() local
120 command = (data->bits & 0x00FC0) >> 6; in ir_rc5_decode()
123 command += (data->bits & 0x40000) ? 0 : 0x40; in ir_rc5_decode()
124 scancode = system << 16 | command << 8 | xdata; in ir_rc5_decode()
129 u8 command, system; in ir_rc5_decode() local
134 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
137 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode()
138 scancode = system << 8 | command; in ir_rc5_decode()
143 u8 command, system; in ir_rc5_decode() local
148 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
151 scancode = system << 6 | command; in ir_rc5_decode()
214 unsigned int data, xdata, command, commandx, system, pre_space_data; in ir_rc5_encode() local
219 command = (scancode & 0x003f) >> 0; in ir_rc5_encode()
223 data = !commandx << 12 | system << 6 | command; in ir_rc5_encode()
233 command = (scancode & 0x003f00) >> 8; in ir_rc5_encode()
238 data = commandx << 18 | system << 12 | command << 6 | xdata; in ir_rc5_encode()