Home
last modified time | relevance | path

Searched refs:sw_get_bits (Results 1 – 1 of 1) sorted by relevance

/drivers/input/joystick/
Dsidewinder.c216 #define GB(pos,num) sw_get_bits(buf, pos, num, sw->bits)
218 static __u64 sw_get_bits(unsigned char *buf, int pos, int num, char bits) in sw_get_bits() function
435 if (i == 64 && !sw_check(sw_get_bits(buf,0,64,1))) { /* Last init failed, 1 bit mode */ in sw_read()
535 printk("%x", (int)sw_get_bits(buf, i << 2, 4, bits)); in sw_print_packet()
550 pnp[i] = sw_get_bits(buf, 24+8*i, 8, 1); in sw_3dp_id()
553 rev[i] = sw_get_bits(buf, 88+8*i, 8, 1); in sw_3dp_id()
558 (int) ((sw_get_bits(buf, 8, 6, 1) << 6) | /* Two 6-bit values */ in sw_3dp_id()
559 sw_get_bits(buf, 16, 6, 1)) / 100, in sw_3dp_id()
560 (int) ((sw_get_bits(buf, 8, 6, 1) << 6) | in sw_3dp_id()
561 sw_get_bits(buf, 16, 6, 1)) % 100, in sw_3dp_id()
[all …]