Searched refs:irdata (Results 1 – 2 of 2) sorted by relevance
227 struct redrat3_irdata irdata; member292 static u32 redrat3_val_to_mod_freq(struct redrat3_irdata *irdata) in redrat3_val_to_mod_freq() argument295 u16 mod_freq_count = be16_to_cpu(irdata->mod_freq_count); in redrat3_val_to_mod_freq()298 mod_freq = (RR3_CLK * be16_to_cpu(irdata->num_periods)) / in redrat3_val_to_mod_freq()348 mod_freq = redrat3_val_to_mod_freq(&rr3->irdata); in redrat3_process_ir_data()360 sig_size = be16_to_cpu(rr3->irdata.sig_size); in redrat3_process_ir_data()362 offset = rr3->irdata.sigdata[i]; in redrat3_process_ir_data()363 val = get_unaligned_be16(&rr3->irdata.lens[offset]); in redrat3_process_ir_data()607 if (pktlen > sizeof(rr3->irdata)) { in redrat3_read_packet_start()622 memcpy(&rr3->irdata, rr3->bulk_in_buf, len); in redrat3_read_packet_start()[all …]
355 u8 irdata; in wbcir_irq_rx() local360 irdata = inb(data->sbase + WBCIR_REG_SP3_RXDATA); in wbcir_irq_rx()364 rawir.duration = ((irdata & 0x7F) + 1) * in wbcir_irq_rx()366 rawir.pulse = irdata & 0x80 ? false : true; in wbcir_irq_rx()