Home
last modified time | relevance | path

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

/drivers/input/joystick/iforce/
Diforce-ff.c54 data[1] = HI(mod_chunk->start); in make_magnitude_modifier()
87 data[1] = HI(mod_chunk->start); in make_period_modifier()
91 data[4] = HI(phase); in make_period_modifier()
94 data[6] = HI(period); in make_period_modifier()
127 data[1] = HI(mod_chunk->start); in make_envelope_modifier()
130 data[3] = HI(attack_duration); in make_envelope_modifier()
131 data[4] = HI(initial_level); in make_envelope_modifier()
134 data[6] = HI(fade_duration); in make_envelope_modifier()
135 data[7] = HI(final_level); in make_envelope_modifier()
164 data[1] = HI(mod_chunk->start); in make_condition_modifier()
[all …]
Diforce-packets.c80 iforce->xmit.buf[head] = HI(cmd); in iforce_send_packet()
168 if (HI(iforce->expect_packet) == HI(cmd)) { in iforce_process_packet()
181 switch (HI(cmd)) { in iforce_process_packet()
185 if (HI(cmd) == 1) { in iforce_process_packet()
Diforce.h135 #define HI(a) ((unsigned char)((a) >> 8)) macro
/drivers/input/misc/
Dati_remote.c154 #define HI(a) ((unsigned char)((a) >> 8)) macro
379 ((char *) ati_remote->out_urb->transfer_buffer)[0] = HI(cmd); in ati_remote_sendpacket()