Lines Matching refs:buf_in
71 unsigned char *buf_in;
175 dev_dbg(sz->dev, "sz->buf_in[%d]: %x\n",
176 i, (unsigned char)sz->buf_in[i]);
179 if ((sz->buf_in[i] & SZ_PULSE_MASK) ==
183 } else if ((sz->buf_in[i] & SZ_SPACE_MASK)
185 sz_push_half_pulse(sz, sz->buf_in[i]);
189 sz_push_half_pulse(sz, sz->buf_in[i]);
190 sz_push_half_space(sz, sz->buf_in[i]);
194 sz_push_full_pulse(sz, sz->buf_in[i]);
198 if (sz->buf_in[i] == SZ_TIMEOUT) {
205 sz_push_full_space(sz, sz->buf_in[i]);
210 if ((sz->buf_in[i] & SZ_SPACE_MASK) ==
215 sz_push_half_space(sz, sz->buf_in[i]);
320 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in);
321 if (!sz->buf_in)
346 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in,
361 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in);
391 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in);