Home
last modified time | relevance | path

Searched refs:ir_state (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/
Dcx25840-ir.c117 return state ? state->ir_state : NULL; in to_ir_state()
511 struct cx25840_ir_state *ir_state = to_ir_state(sd); in cx25840_ir_irq_handler() local
522 if (ir_state == NULL) in cx25840_ir_irq_handler()
525 c = ir_state->c; in cx25840_ir_irq_handler()
599 k = kfifo_in_locked(&ir_state->rx_kfifo, in cx25840_ir_irq_handler()
601 &ir_state->rx_kfifo_lock); in cx25840_ir_irq_handler()
637 spin_lock_irqsave(&ir_state->rx_kfifo_lock, flags); in cx25840_ir_irq_handler()
638 if (kfifo_len(&ir_state->rx_kfifo) >= CX25840_IR_RX_KFIFO_SIZE / 2) in cx25840_ir_irq_handler()
640 spin_unlock_irqrestore(&ir_state->rx_kfifo_lock, flags); in cx25840_ir_irq_handler()
651 struct cx25840_ir_state *ir_state = to_ir_state(sd); in cx25840_ir_rx_read() local
[all …]
Dcx25840-core.h96 struct cx25840_ir_state *ir_state; member