Lines Matching defs:in
63 u8 *in;
85 if (len == LEN_VERSION && irtoy->in[0] == REPLY_VERSION) {
88 irtoy->in[LEN_VERSION] = 0;
90 if (kstrtouint(irtoy->in + 1, 10, &version)) {
92 LEN_VERSION, irtoy->in);
96 dev_dbg(irtoy->dev, "version %s\n", irtoy->in);
104 irtoy->in[0] == REPLY_SAMPLEMODEPROTO) {
107 irtoy->in[LEN_SAMPLEMODEPROTO] = 0;
109 if (kstrtouint(irtoy->in + 1, 10, &version)) {
111 LEN_SAMPLEMODEPROTO, irtoy->in);
115 dev_dbg(irtoy->dev, "protocol %s\n", irtoy->in);
123 len, irtoy->in);
129 __be16 *in = (__be16 *)irtoy->in;
133 u16 v = be16_to_cpu(in[i]);
154 irtoy->in[0] == REPLY_XMITCOUNT) {
155 u16 emitted = get_unaligned_be16(irtoy->in + 1);
161 irtoy->in[0] == REPLY_XMITSUCCESS) {
167 uint space = irtoy->in[0];
173 len, irtoy->in);
229 dev_dbg(irtoy->dev, "in urb status: %d\n", urb->status);
354 // not sure what state the device is in, reset it
362 // not sure what state the device is in, reset it
425 irtoy->in = kmalloc(MAX_PACKET, GFP_KERNEL);
426 if (!irtoy->in)
442 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->in, MAX_PACKET,
462 dev_err(irtoy->dev, "fail to submit in urb: %d\n", err);
523 kfree(irtoy->in);
539 kfree(ir->in);