tw2804            130 drivers/media/i2c/tw2804.c static inline struct tw2804 *to_state(struct v4l2_subdev *sd)
tw2804            132 drivers/media/i2c/tw2804.c 	return container_of(sd, struct tw2804, sd);
tw2804            135 drivers/media/i2c/tw2804.c static inline struct tw2804 *to_state_from_ctrl(struct v4l2_ctrl *ctrl)
tw2804            137 drivers/media/i2c/tw2804.c 	return container_of(ctrl->handler, struct tw2804, hdl);
tw2804            142 drivers/media/i2c/tw2804.c 	struct tw2804 *state = to_state(sd);
tw2804            166 drivers/media/i2c/tw2804.c 	struct tw2804 *state = to_state_from_ctrl(ctrl);
tw2804            191 drivers/media/i2c/tw2804.c 	struct tw2804 *state = to_state_from_ctrl(ctrl);
tw2804            252 drivers/media/i2c/tw2804.c 	struct tw2804 *dec = to_state(sd);
tw2804            277 drivers/media/i2c/tw2804.c 	struct tw2804 *dec = to_state(sd);
tw2804            350 drivers/media/i2c/tw2804.c 	struct tw2804 *state;
tw2804            411 drivers/media/i2c/tw2804.c 	struct tw2804 *state = to_state(sd);