Lines Matching +full:valid +full:- +full:wakeup +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
82 * struct rc_dev - represents a remote control device
99 * @encode_wakeup: wakeup filtering uses IR encode API, therefore the allowed
100 * wakeup protocols is the set of all raw encoders
103 * @allowed_wakeup_protocols: bitmask with the supported RC_PROTO_BIT_* wakeup
105 * @wakeup_protocol: the enabled RC_PROTO_* wakeup protocol or
108 * @scancode_wakeup_filter: scancode wakeup filters
112 * devices, a mask is provided to allow its usage. Drivers should generally
115 * @priv: driver-specific data
121 * has non-standard repeats.
132 * @gap_start: start time for gap after timeout if non-zero
142 * @s_tx_mask: set transmitter mask (for devices with multiple tx outputs)
144 * @s_tx_duty_cycle: set transmit duty cycle (0% - 100%)
152 * @s_wakeup_filter: set the wakeup scancode filter. If the mask is zero
153 * then wakeup should be disabled. wakeup_protocol will be set to
154 * a valid protocol if mask is nonzero.
207 int (*s_tx_mask)(struct rc_dev *dev, u32 mask);
226 * From rc-main.c
233 * rc_allocate_device - Allocates a RC device
241 * devm_rc_allocate_device - Managed RC device allocation
250 * rc_free_device - Frees a RC device
257 * rc_register_device - Registers a RC device
264 * devm_rc_register_device - Manageded registering of a RC device
272 * rc_unregister_device - Unregisters a RC device
287 * From rc-raw.c
325 dev->idle = true; in ir_raw_event_overflow()
329 /* extract mask bits out of data and pack them into the result */
330 static inline u32 ir_extract_bits(u32 data, u32 mask) in ir_extract_bits() argument
335 if (mask & 1) { in ir_extract_bits()
341 } while (mask >>= 1); in ir_extract_bits()