Lines Matching refs:edge
78 ktime_t edge; in gpio_ir_tx_unmodulated() local
83 edge = ktime_get(); in gpio_ir_tx_unmodulated()
88 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_unmodulated()
89 delay_until(edge); in gpio_ir_tx_unmodulated()
98 ktime_t edge; in gpio_ir_tx_modulated() local
115 edge = ktime_get(); in gpio_ir_tx_modulated()
120 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
121 delay_until(edge); in gpio_ir_tx_modulated()
124 ktime_t last = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
128 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated()
129 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
134 edge = ktime_add_ns(edge, space); in gpio_ir_tx_modulated()
135 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
141 edge = last; in gpio_ir_tx_modulated()