Lines Matching defs:state
86 struct ths7303_state *state = to_state(sd);
87 const struct ths7303_platform_data *pdata = state->pdata;
141 struct ths7303_state *state = to_state(sd);
144 state->std_id = 1;
145 state->bt.pixelclock = 0;
154 struct ths7303_state *state = to_state(sd);
157 if (!state->stream_on) {
170 if (state->bt.pixelclock > 120000000)
172 else if (state->bt.pixelclock > 70000000)
174 else if (state->bt.pixelclock > 20000000)
176 else if (state->std_id)
188 struct ths7303_state *state = to_state(sd);
190 state->stream_on = enable;
199 struct ths7303_state *state = to_state(sd);
204 state->bt = dv_timings->bt;
205 state->std_id = 0;
283 struct ths7303_state *state = to_state(sd);
285 v4l2_info(sd, "stream %s\n", state->stream_on ? "On" : "Off");
287 if (state->bt.pixelclock) {
288 struct v4l2_bt_timings *bt = &state->bt;
329 struct ths7303_state *state;
343 state = devm_kzalloc(&client->dev, sizeof(struct ths7303_state),
345 if (!state)
348 state->pdata = pdata;
349 sd = &state->sd;