Home
last modified time | relevance | path

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

/drivers/input/joystick/iforce/
Diforce-ff.c53 data[0] = LO(mod_chunk->start); in make_magnitude_modifier()
86 data[0] = LO(mod_chunk->start); in make_period_modifier()
93 data[5] = LO(period); in make_period_modifier()
126 data[0] = LO(mod_chunk->start); in make_envelope_modifier()
129 data[2] = LO(attack_duration); in make_envelope_modifier()
133 data[5] = LO(fade_duration); in make_envelope_modifier()
163 data[0] = LO(mod_chunk->start); in make_condition_modifier()
170 data[4] = LO(center); in make_condition_modifier()
174 data[6] = LO(db); in make_condition_modifier()
319 data[0] = LO(id); in make_core()
[all …]
Diforce-packets.c41 for (i = 0; i < LO(cmd); i++) in iforce_dump_packet()
52 int n = LO(cmd); in iforce_send_packet()
82 iforce->xmit.buf[head] = LO(cmd); in iforce_send_packet()
129 data[0] = LO(id); in iforce_control_playback()
131 data[2] = LO(value); in iforce_control_playback()
189 if (LO(cmd) >= 8 && test_bit(ABS_RUDDER ,dev->absbit)) in iforce_process_packet()
237 if (LO(cmd) > 3) { in iforce_process_packet()
239 for (j = 3; j < LO(cmd); j += 2) in iforce_process_packet()
Diforce.h136 #define LO(a) ((unsigned char)((a) & 0xff)) macro
/drivers/media/rc/
Dati_remote.c168 #define LO(a) ((unsigned char)((a) & 0xff)) macro
376 memcpy(ati_remote->out_urb->transfer_buffer + 1, data, LO(cmd)); in ati_remote_sendpacket()
379 ati_remote->out_urb->transfer_buffer_length = LO(cmd) + 1; in ati_remote_sendpacket()