Lines Matching refs:p
34 __le16 *p, *buf_end; in change_volume() local
36 p = (__le16 *)urb_out->transfer_buffer; in change_volume()
37 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); in change_volume()
39 for (; p < buf_end; ++p) { in change_volume()
40 short pv = le16_to_cpu(*p); in change_volume()
43 *p = cpu_to_le16(pv); in change_volume()
47 unsigned char *p, *buf_end; in change_volume() local
49 p = (unsigned char *)urb_out->transfer_buffer; in change_volume()
50 buf_end = p + urb_out->transfer_buffer_length; in change_volume()
52 for (; p < buf_end; p += 3) { in change_volume()
55 val = p[0] + (p[1] << 8) + ((signed char)p[2] << 16); in change_volume()
58 p[0] = val; in change_volume()
59 p[1] = val >> 8; in change_volume()
60 p[2] = val >> 16; in change_volume()