Lines Matching refs:core
1096 .core = &tvp5150_core_ops,
1111 struct tvp5150 *core; in tvp5150_probe() local
1121 core = devm_kzalloc(&c->dev, sizeof(*core), GFP_KERNEL); in tvp5150_probe()
1122 if (!core) in tvp5150_probe()
1124 sd = &core->sd; in tvp5150_probe()
1160 core->norm = V4L2_STD_ALL; /* Default is autodetect */ in tvp5150_probe()
1161 core->input = TVP5150_COMPOSITE1; in tvp5150_probe()
1162 core->enable = 1; in tvp5150_probe()
1164 v4l2_ctrl_handler_init(&core->hdl, 4); in tvp5150_probe()
1165 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1167 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1169 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1171 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1173 sd->ctrl_handler = &core->hdl; in tvp5150_probe()
1174 if (core->hdl.error) { in tvp5150_probe()
1175 res = core->hdl.error; in tvp5150_probe()
1178 v4l2_ctrl_handler_setup(&core->hdl); in tvp5150_probe()
1181 core->rect.top = 0; in tvp5150_probe()
1183 core->rect.height = TVP5150_V_MAX_525_60; in tvp5150_probe()
1185 core->rect.height = TVP5150_V_MAX_OTHERS; in tvp5150_probe()
1186 core->rect.left = 0; in tvp5150_probe()
1187 core->rect.width = TVP5150_H_MAX; in tvp5150_probe()
1198 v4l2_ctrl_handler_free(&core->hdl); in tvp5150_probe()