Searched refs:irtoy (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | ir_toy.c | 11 * https://sourceforge.net/p/lirc/git/ci/master/tree/plugins/irtoy.c 56 struct irtoy { struct 81 static void irtoy_response(struct irtoy *irtoy, u32 len) in irtoy_response() argument 83 switch (irtoy->state) { in irtoy_response() 85 if (len == LEN_VERSION && irtoy->in[0] == REPLY_VERSION) { in irtoy_response() 88 irtoy->in[LEN_VERSION] = 0; in irtoy_response() 90 if (kstrtouint(irtoy->in + 1, 10, &version)) { in irtoy_response() 91 dev_err(irtoy->dev, "invalid version %*phN. Please make sure you are using firmware v20 or higher", in irtoy_response() 92 LEN_VERSION, irtoy in irtoy_response() 202 struct irtoy *irtoy = urb->context; irtoy_out_callback() local 214 struct irtoy *irtoy = urb->context; irtoy_in_callback() local 237 irtoy_command(struct irtoy *irtoy, const u8 *cmd, int cmd_len, enum state state) irtoy_command() argument 262 irtoy_setup(struct irtoy *irtoy) irtoy_setup() argument 303 struct irtoy *irtoy = rc->priv; irtoy_tx() local 372 struct irtoy *irtoy = rc->priv; irtoy_tx_carrier() local 399 struct irtoy *irtoy; irtoy_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | ir_toy.c | 9 * https://sourceforge.net/p/lirc/git/ci/master/tree/plugins/irtoy.c 54 struct irtoy { struct 79 static void irtoy_response(struct irtoy *irtoy, u32 len) in irtoy_response() argument 81 switch (irtoy->state) { in irtoy_response() 83 if (len == LEN_VERSION && irtoy->in[0] == REPLY_VERSION) { in irtoy_response() 86 irtoy->in[LEN_VERSION] = 0; in irtoy_response() 88 if (kstrtouint(irtoy->in + 1, 10, &version)) { in irtoy_response() 89 dev_err(irtoy->dev, "invalid version %*phN. Please make sure you are using firmware v20 or higher", in irtoy_response() 90 LEN_VERSION, irtoy in irtoy_response() 204 struct irtoy *irtoy = urb->context; irtoy_out_callback() local 216 struct irtoy *irtoy = urb->context; irtoy_in_callback() local 229 irtoy_command(struct irtoy *irtoy, const u8 *cmd, int cmd_len, enum state state) irtoy_command() argument 254 irtoy_setup(struct irtoy *irtoy) irtoy_setup() argument 295 struct irtoy *irtoy = rc->priv; irtoy_tx() local 370 struct irtoy *irtoy; irtoy_probe() local [all...] |
Completed in 1 milliseconds