Lines Matching full:delta
55 s32 delta; in gpio_ir_tx_unmodulated() local
66 delta = ktime_us_delta(edge, ktime_get()); in gpio_ir_tx_unmodulated()
67 if (delta > 0) in gpio_ir_tx_unmodulated()
68 udelay(delta); in gpio_ir_tx_unmodulated()
79 * delta should never exceed 0.5 seconds (IR_MAX_DURATION) and on in gpio_ir_tx_modulated()
82 s32 delta; in gpio_ir_tx_modulated() local
100 delta = ktime_us_delta(edge, ktime_get()); in gpio_ir_tx_modulated()
101 if (delta > 0) in gpio_ir_tx_modulated()
102 udelay(delta); in gpio_ir_tx_modulated()
110 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
112 if (delta > 0) in gpio_ir_tx_modulated()
113 ndelay(delta); in gpio_ir_tx_modulated()
116 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx_modulated()
118 if (delta > 0) in gpio_ir_tx_modulated()
119 ndelay(delta); in gpio_ir_tx_modulated()