Lines Matching +full:idle +full:- +full:mode +full:- +full:mask
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab
16 #include <media/rc-map.h>
19 * enum rc_driver_type - type of the RC driver.
23 * It needs a Infra-Red pulse/space decoder
34 * struct rc_scancode_filter - Filter scan codes.
36 * @mask: Mask of bits of scancode to compare.
40 u32 mask; member
44 * enum rc_filter_type - Filter type constants.
57 * struct lirc_fh - represents an open lirc file
66 * @send_mode: lirc mode for sending, either LIRC_MODE_SCANCODE or
68 * @rec_mode: lirc mode for receiving, either LIRC_MODE_SCANCODE or
84 * struct rc_dev - represents a remote control device
100 * @idle: used to keep track of RX state
114 * devices, a mask is provided to allow its usage. Drivers should generally
117 * @priv: driver-specific data
123 * has non-standard repeats.
147 * @s_tx_mask: set transmitter mask (for devices with multiple tx outputs)
149 * @s_tx_duty_cycle: set transmit duty cycle (0% - 100%)
152 * @s_idle: enable/disable hardware idle mode, upon which,
157 * @s_wakeup_filter: set the wakeup scancode filter. If the mask is zero
159 * a valid protocol if mask is nonzero.
177 bool idle; member
215 int (*s_tx_mask)(struct rc_dev *dev, u32 mask);
234 * From rc-main.c
241 * rc_allocate_device - Allocates a RC device
249 * devm_rc_allocate_device - Managed RC device allocation
258 * rc_free_device - Frees a RC device
265 * rc_register_device - Registers a RC device
272 * devm_rc_register_device - Manageded registering of a RC device
280 * rc_unregister_device - Unregisters a RC device
295 * From rc-raw.c
324 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle);
332 dev->idle = true; in ir_raw_event_reset()
336 /* extract mask bits out of data and pack them into the result */
337 static inline u32 ir_extract_bits(u32 data, u32 mask) in ir_extract_bits() argument
342 if (mask & 1) { in ir_extract_bits()
348 } while (mask >>= 1); in ir_extract_bits()