Lines Matching refs:signal
30 unsigned int signal = cd->min_signal, val; in pl080_get_signal() local
36 if (signals[signal].busy && in pl080_get_signal()
37 (signals[signal].val != cd->muxval)) { in pl080_get_signal()
43 if (!signals[signal].busy) { in pl080_get_signal()
51 val &= ~(0x3 << (signal * 2)); in pl080_get_signal()
52 val |= cd->muxval << (signal * 2); in pl080_get_signal()
56 signals[signal].busy++; in pl080_get_signal()
57 signals[signal].val = cd->muxval; in pl080_get_signal()
60 return signal; in pl080_get_signal()
63 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) in pl080_put_signal() argument
70 if (!signals[signal].busy) in pl080_put_signal()
73 signals[signal].busy--; in pl080_put_signal()