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

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Steven Toth 2008-09-12 00:33:04 -03:00 committed by Mauro Carvalho Chehab
parent d5748f1079
commit d7c1500183
3 changed files with 13 additions and 13 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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,