Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/rc/img-ir/
H A Dimg-ir-raw.c23 u32 ir_status; in img_ir_refresh_raw() local
32 ir_status = img_ir_read(priv, IMG_IR_STATUS) & IMG_IR_IRRXD; in img_ir_refresh_raw()
33 if (multiple && ir_status == raw->last_status) in img_ir_refresh_raw()
35 raw->last_status = ir_status; in img_ir_refresh_raw()
38 if (ir_status) /* low */ in img_ir_refresh_raw()
H A Dimg-ir-hw.c545 u32 ir_status, irq_en; in img_ir_set_decoder() local
572 ir_status = img_ir_read(priv, IMG_IR_STATUS); in img_ir_set_decoder()
573 if (ir_status & (IMG_IR_RXDVAL | IMG_IR_RXDVALD2)) { in img_ir_set_decoder()
574 ir_status &= ~(IMG_IR_RXDVAL | IMG_IR_RXDVALD2); in img_ir_set_decoder()
575 img_ir_write(priv, IMG_IR_STATUS, ir_status); in img_ir_set_decoder()
956 u32 ir_status, len, lw, up; in img_ir_isr_hw() local
965 ir_status = img_ir_read(priv, IMG_IR_STATUS); in img_ir_isr_hw()
966 if (!(ir_status & (IMG_IR_RXDVAL | IMG_IR_RXDVALD2))) { in img_ir_isr_hw()
990 ir_status &= ~(IMG_IR_RXDVAL | IMG_IR_RXDVALD2); in img_ir_isr_hw()
991 img_ir_write(priv, IMG_IR_STATUS, ir_status); in img_ir_isr_hw()
[all …]