Lines Matching refs:core
1088 .core = &tvp5150_core_ops,
1102 struct tvp5150 *core; in tvp5150_probe() local
1112 core = devm_kzalloc(&c->dev, sizeof(*core), GFP_KERNEL); in tvp5150_probe()
1113 if (!core) in tvp5150_probe()
1115 sd = &core->sd; in tvp5150_probe()
1151 core->norm = V4L2_STD_ALL; /* Default is autodetect */ in tvp5150_probe()
1152 core->input = TVP5150_COMPOSITE1; in tvp5150_probe()
1153 core->enable = 1; in tvp5150_probe()
1155 v4l2_ctrl_handler_init(&core->hdl, 4); in tvp5150_probe()
1156 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1158 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1160 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1162 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe()
1164 sd->ctrl_handler = &core->hdl; in tvp5150_probe()
1165 if (core->hdl.error) { in tvp5150_probe()
1166 res = core->hdl.error; in tvp5150_probe()
1167 v4l2_ctrl_handler_free(&core->hdl); in tvp5150_probe()
1170 v4l2_ctrl_handler_setup(&core->hdl); in tvp5150_probe()
1173 core->rect.top = 0; in tvp5150_probe()
1175 core->rect.height = TVP5150_V_MAX_525_60; in tvp5150_probe()
1177 core->rect.height = TVP5150_V_MAX_OTHERS; in tvp5150_probe()
1178 core->rect.left = 0; in tvp5150_probe()
1179 core->rect.width = TVP5150_H_MAX; in tvp5150_probe()