Lines Matching refs:internal
29 struct stv0900_internal *internal; member
47 ((temp_chip->internal->i2c_adap != i2c_adap) || in find_inode()
48 (temp_chip->internal->i2c_addr != i2c_addr))) in find_inode()
58 static void remove_inode(struct stv0900_internal *internal) in remove_inode() argument
61 struct stv0900_inode *del_node = find_inode(internal->i2c_adap, in remove_inode()
62 internal->i2c_addr); in remove_inode()
83 static struct stv0900_inode *append_internal(struct stv0900_internal *internal) in append_internal() argument
103 new_node->internal = internal; in append_internal()
350 struct stv0900_internal *intp = state->internal; in stv0900_i2c_gate_ctrl()
642 struct stv0900_internal *internal = state->internal; in stv0900_read_signal_strength() local
643 s32 rflevel = stv0900_get_rf_level(internal, &stv0900_rf, in stv0900_read_signal_strength()
662 struct stv0900_internal *intp = state->internal; in stv0900_carr_get_quality()
728 struct stv0900_internal *intp = state->internal; in stv0900_read_ucblocks()
818 struct stv0900_internal *internal = state->internal; in stv0900_read_ber() local
820 *ber = stv0900_get_ber(internal, state->demod); in stv0900_read_ber()
1346 state->internal = temp_int->internal; in stv0900_init_internal()
1347 (state->internal->dmds_used)++; in stv0900_init_internal()
1351 state->internal = kmalloc(sizeof(struct stv0900_internal), in stv0900_init_internal()
1353 if (state->internal == NULL) in stv0900_init_internal()
1355 temp_int = append_internal(state->internal); in stv0900_init_internal()
1357 kfree(state->internal); in stv0900_init_internal()
1358 state->internal = NULL; in stv0900_init_internal()
1361 state->internal->dmds_used = 1; in stv0900_init_internal()
1362 state->internal->i2c_adap = state->i2c_adap; in stv0900_init_internal()
1363 state->internal->i2c_addr = state->config->demod_address; in stv0900_init_internal()
1364 state->internal->clkmode = state->config->clkmode; in stv0900_init_internal()
1365 state->internal->errs = STV0900_NO_ERROR; in stv0900_init_internal()
1369 if (state->internal == NULL) { in stv0900_init_internal()
1374 demodError = stv0900_initialize(state->internal); in stv0900_init_internal()
1386 intp = state->internal; in stv0900_init_internal()
1565 struct stv0900_internal *intp = state->internal; in stv0900_search()
1646 if ((stv0900_status(state->internal, state->demod)) == TRUE) { in stv0900_read_status()
1668 struct stv0900_internal *intp = state->internal; in stv0900_stop_ts()
1682 struct stv0900_internal *intp = state->internal; in stv0900_diseqc_init()
1730 return stv0900_diseqc_send(state->internal, in stv0900_send_master_cmd()
1740 struct stv0900_internal *intp = state->internal; in stv0900_send_burst()
1765 struct stv0900_internal *intp = state->internal; in stv0900_recv_slave_reply()
1790 struct stv0900_internal *intp = state->internal; in stv0900_set_tone()
1828 if ((--(state->internal->dmds_used)) <= 0) { in stv0900_release()
1832 remove_inode(state->internal); in stv0900_release()
1833 kfree(state->internal); in stv0900_release()
1855 struct stv0900_internal *intp = state->internal; in stv0900_get_frontend()
1942 if (state->internal->chip_id >= 0x30) in stv0900_attach()