Lines Matching refs:signal
32 unsigned int signal = cd->min_signal, val; in pl080_get_signal() local
38 if (signals[signal].busy && in pl080_get_signal()
39 (signals[signal].val != cd->muxval)) { in pl080_get_signal()
45 if (!signals[signal].busy) { in pl080_get_signal()
53 val &= ~(0x3 << (signal * 2)); in pl080_get_signal()
54 val |= cd->muxval << (signal * 2); in pl080_get_signal()
58 signals[signal].busy++; in pl080_get_signal()
59 signals[signal].val = cd->muxval; in pl080_get_signal()
62 return signal; in pl080_get_signal()
65 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) in pl080_put_signal() argument
72 if (!signals[signal].busy) in pl080_put_signal()
75 signals[signal].busy--; in pl080_put_signal()