History

[media] lirc_dev: remove sampling kthread

There are no drivers which use this functionality.

David Härdeman committed 9 years ago

Commit c3104e11 parent 2c5a1f43 files · +2 −109Browse files

Showing the changes to include/media/lirc_dev.h (1 of 3 files). Show all

Unified · Split

include/media/lirc_dev.h+0−16
@@ -133,12 +133,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, · 132 unmodified lines
133 * @buffer_size: Number of FIFO buffers with @chunk_size size. If zero,133 * @buffer_size: Number of FIFO buffers with @chunk_size size. If zero,
134 * creates a buffer with BUFLEN size (16 bytes).134 * creates a buffer with BUFLEN size (16 bytes).
135 *135 *
136 * @sample_rate: if zero, the device will wait for an event with a new
137 * code to be parsed. Otherwise, specifies the sample
138 * rate for polling. Value should be between 0
139 * and HZ. If equal to HZ, it would mean one polling per
140 * second.
141 *
142 * @features: lirc compatible hardware features, like LIRC_MODE_RAW,136 * @features: lirc compatible hardware features, like LIRC_MODE_RAW,
143 * LIRC_CAN\_\*, as defined at include/media/lirc.h.137 * LIRC_CAN\_\*, as defined at include/media/lirc.h.
144 *138 *
@@ -153,14 +147,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, · 8 unmodified lines
153 * @max_timeout: Maximum timeout for record. Valid only if147 * @max_timeout: Maximum timeout for record. Valid only if
154 * LIRC_CAN_SET_REC_TIMEOUT is defined.148 * LIRC_CAN_SET_REC_TIMEOUT is defined.
155 *149 *
156 * @add_to_buf: add_to_buf will be called after specified period of the
157 * time or triggered by the external event, this behavior
158 * depends on value of the sample_rate this function will
159 * be called in user context. This routine should return
160 * 0 if data was added to the buffer and -ENODATA if none
161 * was available. This should add some number of bits
162 * evenly divisible by code_length to the buffer.
163 *
164 * @rbuf: if not NULL, it will be used as a read buffer, you will150 * @rbuf: if not NULL, it will be used as a read buffer, you will
165 * have to write to the buffer by other means, like irq's151 * have to write to the buffer by other means, like irq's
166 * (see also lirc_serial.c).152 * (see also lirc_serial.c).
@@ -184,7 +170,6 @@ struct lirc_driver { · 17 unmodified lines
184 int minor;170 int minor;
185 __u32 code_length;171 __u32 code_length;
186 unsigned int buffer_size; /* in chunks holding one code each */172 unsigned int buffer_size; /* in chunks holding one code each */
187 int sample_rate;
188 __u32 features;173 __u32 features;
189 174
190 unsigned int chunk_size;175 unsigned int chunk_size;
@@ -192,7 +177,6 @@ struct lirc_driver { · 1 unmodified line
192 void *data;177 void *data;
193 int min_timeout;178 int min_timeout;
194 int max_timeout;179 int max_timeout;
195 int (*add_to_buf)(void *data, struct lirc_buffer *buf);
196 struct lirc_buffer *rbuf;180 struct lirc_buffer *rbuf;
197 struct rc_dev *rdev;181 struct rc_dev *rdev;
198 const struct file_operations *fops;182 const struct file_operations *fops;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t