Lines Matching refs:tvp

1336 				    struct dtv_property *tvp,  in dtv_property_process_get()  argument
1342 switch (tvp->cmd) { in dtv_property_process_get()
1346 tvp->u.buffer.data[ncaps] = fe->ops.delsys[ncaps]; in dtv_property_process_get()
1349 tvp->u.buffer.len = ncaps; in dtv_property_process_get()
1353 tvp->u.data = c->frequency; in dtv_property_process_get()
1356 tvp->u.data = c->modulation; in dtv_property_process_get()
1359 tvp->u.data = c->bandwidth_hz; in dtv_property_process_get()
1362 tvp->u.data = c->inversion; in dtv_property_process_get()
1365 tvp->u.data = c->symbol_rate; in dtv_property_process_get()
1368 tvp->u.data = c->fec_inner; in dtv_property_process_get()
1371 tvp->u.data = c->pilot; in dtv_property_process_get()
1374 tvp->u.data = c->rolloff; in dtv_property_process_get()
1377 tvp->u.data = c->delivery_system; in dtv_property_process_get()
1380 tvp->u.data = c->voltage; in dtv_property_process_get()
1383 tvp->u.data = c->sectone; in dtv_property_process_get()
1386 tvp->u.data = (DVB_API_VERSION << 8) | DVB_API_VERSION_MINOR; in dtv_property_process_get()
1389 tvp->u.data = c->code_rate_HP; in dtv_property_process_get()
1392 tvp->u.data = c->code_rate_LP; in dtv_property_process_get()
1395 tvp->u.data = c->guard_interval; in dtv_property_process_get()
1398 tvp->u.data = c->transmission_mode; in dtv_property_process_get()
1401 tvp->u.data = c->hierarchy; in dtv_property_process_get()
1404 tvp->u.data = c->interleaving; in dtv_property_process_get()
1409 tvp->u.data = c->isdbt_partial_reception; in dtv_property_process_get()
1412 tvp->u.data = c->isdbt_sb_mode; in dtv_property_process_get()
1415 tvp->u.data = c->isdbt_sb_subchannel; in dtv_property_process_get()
1418 tvp->u.data = c->isdbt_sb_segment_idx; in dtv_property_process_get()
1421 tvp->u.data = c->isdbt_sb_segment_count; in dtv_property_process_get()
1424 tvp->u.data = c->isdbt_layer_enabled; in dtv_property_process_get()
1427 tvp->u.data = c->layer[0].fec; in dtv_property_process_get()
1430 tvp->u.data = c->layer[0].modulation; in dtv_property_process_get()
1433 tvp->u.data = c->layer[0].segment_count; in dtv_property_process_get()
1436 tvp->u.data = c->layer[0].interleaving; in dtv_property_process_get()
1439 tvp->u.data = c->layer[1].fec; in dtv_property_process_get()
1442 tvp->u.data = c->layer[1].modulation; in dtv_property_process_get()
1445 tvp->u.data = c->layer[1].segment_count; in dtv_property_process_get()
1448 tvp->u.data = c->layer[1].interleaving; in dtv_property_process_get()
1451 tvp->u.data = c->layer[2].fec; in dtv_property_process_get()
1454 tvp->u.data = c->layer[2].modulation; in dtv_property_process_get()
1457 tvp->u.data = c->layer[2].segment_count; in dtv_property_process_get()
1460 tvp->u.data = c->layer[2].interleaving; in dtv_property_process_get()
1466 tvp->u.data = c->stream_id; in dtv_property_process_get()
1471 tvp->u.data = c->scrambling_sequence_index; in dtv_property_process_get()
1476 tvp->u.data = fe->dtv_property_cache.atscmh_fic_ver; in dtv_property_process_get()
1479 tvp->u.data = fe->dtv_property_cache.atscmh_parade_id; in dtv_property_process_get()
1482 tvp->u.data = fe->dtv_property_cache.atscmh_nog; in dtv_property_process_get()
1485 tvp->u.data = fe->dtv_property_cache.atscmh_tnog; in dtv_property_process_get()
1488 tvp->u.data = fe->dtv_property_cache.atscmh_sgn; in dtv_property_process_get()
1491 tvp->u.data = fe->dtv_property_cache.atscmh_prc; in dtv_property_process_get()
1494 tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_mode; in dtv_property_process_get()
1497 tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_ensemble; in dtv_property_process_get()
1500 tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_pri; in dtv_property_process_get()
1503 tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_sec; in dtv_property_process_get()
1506 tvp->u.data = fe->dtv_property_cache.atscmh_sccc_block_mode; in dtv_property_process_get()
1509 tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_a; in dtv_property_process_get()
1512 tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_b; in dtv_property_process_get()
1515 tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_c; in dtv_property_process_get()
1518 tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_d; in dtv_property_process_get()
1522 tvp->u.data = c->lna; in dtv_property_process_get()
1527 tvp->u.st = c->strength; in dtv_property_process_get()
1528 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1529 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1530 len = tvp->u.buffer.len; in dtv_property_process_get()
1533 tvp->u.st = c->cnr; in dtv_property_process_get()
1534 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1535 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1536 len = tvp->u.buffer.len; in dtv_property_process_get()
1539 tvp->u.st = c->pre_bit_error; in dtv_property_process_get()
1540 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1541 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1542 len = tvp->u.buffer.len; in dtv_property_process_get()
1545 tvp->u.st = c->pre_bit_count; in dtv_property_process_get()
1546 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1547 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1548 len = tvp->u.buffer.len; in dtv_property_process_get()
1551 tvp->u.st = c->post_bit_error; in dtv_property_process_get()
1552 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1553 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1554 len = tvp->u.buffer.len; in dtv_property_process_get()
1557 tvp->u.st = c->post_bit_count; in dtv_property_process_get()
1558 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1559 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1560 len = tvp->u.buffer.len; in dtv_property_process_get()
1563 tvp->u.st = c->block_error; in dtv_property_process_get()
1564 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1565 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1566 len = tvp->u.buffer.len; in dtv_property_process_get()
1569 tvp->u.st = c->block_count; in dtv_property_process_get()
1570 if (tvp->u.buffer.len > MAX_DTV_STATS * sizeof(u32)) in dtv_property_process_get()
1571 tvp->u.buffer.len = MAX_DTV_STATS * sizeof(u32); in dtv_property_process_get()
1572 len = tvp->u.buffer.len; in dtv_property_process_get()
1577 __func__, tvp->cmd); in dtv_property_process_get()
1586 __func__, tvp->cmd, dtv_cmd_name(tvp->cmd), in dtv_property_process_get()
1587 tvp->u.buffer.len, tvp->u.buffer.len, tvp->u.buffer.data); in dtv_property_process_get()
2141 struct compat_dtv_property *tvp = NULL; in dvb_frontend_handle_compat_ioctl() local
2155 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2156 if (IS_ERR(tvp)) in dvb_frontend_handle_compat_ioctl()
2157 return PTR_ERR(tvp); in dvb_frontend_handle_compat_ioctl()
2161 (tvp + i)->cmd, in dvb_frontend_handle_compat_ioctl()
2162 (tvp + i)->u.data); in dvb_frontend_handle_compat_ioctl()
2164 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2168 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2171 struct compat_dtv_property *tvp = NULL; in dvb_frontend_handle_compat_ioctl() local
2186 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2187 if (IS_ERR(tvp)) in dvb_frontend_handle_compat_ioctl()
2188 return PTR_ERR(tvp); in dvb_frontend_handle_compat_ioctl()
2199 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2205 fe, &getp, (struct dtv_property *)(tvp + i), file); in dvb_frontend_handle_compat_ioctl()
2207 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2212 if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp, in dvb_frontend_handle_compat_ioctl()
2214 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2217 kfree(tvp); in dvb_frontend_handle_compat_ioctl()
2345 struct dtv_property *tvp = NULL; in dvb_get_property() local
2363 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_get_property()
2364 if (IS_ERR(tvp)) in dvb_get_property()
2365 return PTR_ERR(tvp); in dvb_get_property()
2380 tvp + i, file); in dvb_get_property()
2385 if (copy_to_user((void __user *)tvps->props, tvp, in dvb_get_property()
2393 kfree(tvp); in dvb_get_property()
2427 struct dtv_property *tvp = NULL; in dvb_frontend_handle_ioctl() local
2441 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_frontend_handle_ioctl()
2442 if (IS_ERR(tvp)) in dvb_frontend_handle_ioctl()
2443 return PTR_ERR(tvp); in dvb_frontend_handle_ioctl()
2447 (tvp + i)->cmd, in dvb_frontend_handle_ioctl()
2448 (tvp + i)->u.data); in dvb_frontend_handle_ioctl()
2450 kfree(tvp); in dvb_frontend_handle_ioctl()
2454 kfree(tvp); in dvb_frontend_handle_ioctl()