Lines Matching defs:state
20 #define ADG792A_MUX(mux, state) (0xc0 | (((mux) + 1) << 2) | (state))
21 #define ADG792A_MUX_ALL(state) (0xc0 | (state))
34 static int adg792a_set(struct mux_control *mux, int state)
41 if (state == MUX_IDLE_DISCONNECT)
44 cmd = ADG792A_MUX_ALL(state);
48 if (state == MUX_IDLE_DISCONNECT)
51 cmd = ADG792A_MUX(controller, state);
89 ret = device_property_read_u32_array(dev, "idle-state",
110 dev_err(dev, "invalid idle-state %d\n", idle_state[i]);