Commit d7c15001 authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab

V4L/DVB (9001): S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX

Signed-off-by: default avatarSteven Toth <stoth@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d5748f10
......@@ -829,9 +829,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_SET_DELIVERY_SYSTEM,
.set = 1,
},
[DTV_SET_ISDB_SEGMENT_NUM] = {
.name = "DTV_SET_ISDB_SEGMENT_NUM",
.cmd = DTV_SET_ISDB_SEGMENT_NUM,
[DTV_SET_ISDB_SEGMENT_IDX] = {
.name = "DTV_SET_ISDB_SEGMENT_IDX",
.cmd = DTV_SET_ISDB_SEGMENT_IDX,
.set = 1,
},
[DTV_SET_ISDB_SEGMENT_WIDTH] = {
......@@ -902,9 +902,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_GET_DELIVERY_SYSTEM,
.set = 0,
},
[DTV_GET_ISDB_SEGMENT_NUM] = {
.name = "DTV_GET_ISDB_SEGMENT_NUM",
.cmd = DTV_GET_ISDB_SEGMENT_NUM,
[DTV_GET_ISDB_SEGMENT_IDX] = {
.name = "DTV_GET_ISDB_SEGMENT_IDX",
.cmd = DTV_GET_ISDB_SEGMENT_IDX,
.set = 0,
},
[DTV_GET_ISDB_SEGMENT_WIDTH] = {
......@@ -1232,11 +1232,11 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
break;
/* ISDB-T Support here */
case DTV_SET_ISDB_SEGMENT_NUM:
fe->dtv_property_cache.isdb_segment_num = tvp->u.data;
case DTV_SET_ISDB_SEGMENT_IDX:
fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
break;
case DTV_GET_ISDB_SEGMENT_NUM:
tvp->u.data = fe->dtv_property_cache.isdb_segment_num;
case DTV_GET_ISDB_SEGMENT_IDX:
tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
break;
case DTV_SET_ISDB_SEGMENT_WIDTH:
fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
......
......@@ -212,7 +212,7 @@ struct dtv_frontend_properties {
fe_delivery_system_t delivery_system;
/* ISDB-T specifics */
u32 isdb_segment_num;
u32 isdb_segment_idx;
u32 isdb_segment_width;
fe_code_rate_t isdb_layera_fec;
fe_modulation_t isdb_layera_modulation;
......
......@@ -288,8 +288,8 @@ typedef enum dtv_cmd_types {
DTV_GET_DELIVERY_SYSTEM,
/* ISDB-T */
DTV_SET_ISDB_SEGMENT_NUM,
DTV_GET_ISDB_SEGMENT_NUM,
DTV_SET_ISDB_SEGMENT_IDX,
DTV_GET_ISDB_SEGMENT_IDX,
DTV_SET_ISDB_SEGMENT_WIDTH,
DTV_GET_ISDB_SEGMENT_WIDTH,
DTV_GET_ISDB_LAYERA_FEC,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment