Symbol: tvpll
sys/dev/i2c/tvpll.c
123
tvpll_tune_dtv(struct tvpll *tvpll,
sys/dev/i2c/tvpll.c
132
if((rv = tvpll_algo(tvpll, b, params, &fr)) != 0)
sys/dev/i2c/tvpll.c
135
iic_acquire_bus(tvpll->tag, 0);
sys/dev/i2c/tvpll.c
140
rv = iic_exec(tvpll->tag, I2C_OP_WRITE_WITH_STOP, tvpll->addr, ab, 2, NULL, 0, 0);
sys/dev/i2c/tvpll.c
142
rv = iic_exec(tvpll->tag, I2C_OP_WRITE_WITH_STOP, tvpll->addr, b, 4, NULL, 0, 0);
sys/dev/i2c/tvpll.c
143
iic_release_bus(tvpll->tag, 0);
sys/dev/i2c/tvpll.c
148
tvpll->frequency = fr;
sys/dev/i2c/tvpll.c
153
MODULE(MODULE_CLASS_DRIVER, tvpll, "i2cexec");
sys/dev/i2c/tvpll.c
51
static uint32_t tvpll_algo(struct tvpll *, uint8_t *,
sys/dev/i2c/tvpll.c
54
struct tvpll *
sys/dev/i2c/tvpll.c
57
struct tvpll *tvpll;
sys/dev/i2c/tvpll.c
59
tvpll = kmem_alloc(sizeof(struct tvpll), KM_SLEEP);
sys/dev/i2c/tvpll.c
60
tvpll->tag = t;
sys/dev/i2c/tvpll.c
61
tvpll->addr = a;
sys/dev/i2c/tvpll.c
63
tvpll->pll = p;
sys/dev/i2c/tvpll.c
65
if (tvpll->pll->initdata) {
sys/dev/i2c/tvpll.c
66
iic_acquire_bus(tvpll->tag, 0);
sys/dev/i2c/tvpll.c
67
(void)iic_exec(tvpll->tag, I2C_OP_WRITE_WITH_STOP, tvpll->addr,
sys/dev/i2c/tvpll.c
68
&tvpll->pll->initdata[1], tvpll->pll->initdata[0],
sys/dev/i2c/tvpll.c
70
iic_release_bus(tvpll->tag, 0);
sys/dev/i2c/tvpll.c
73
device_printf(parent, "tvpll: %s\n", tvpll->pll->name);
sys/dev/i2c/tvpll.c
75
return tvpll;
sys/dev/i2c/tvpll.c
79
tvpll_close(struct tvpll *tvpll)
sys/dev/i2c/tvpll.c
81
kmem_free(tvpll, sizeof(*tvpll));
sys/dev/i2c/tvpll.c
85
tvpll_algo(struct tvpll *tvpll, uint8_t *b,
sys/dev/i2c/tvpll.c
92
pll = tvpll->pll;
sys/dev/i2c/tvpllvar.h
56
struct tvpll * tvpll_open(device_t, i2c_tag_t, i2c_addr_t, struct tvpll_data *);
sys/dev/i2c/tvpllvar.h
57
void tvpll_close(struct tvpll *);
sys/dev/i2c/tvpllvar.h
58
int tvpll_tune_dtv(struct tvpll *, const struct dvb_frontend_parameters *);
sys/dev/i2c/tvpllvar.h
59
int tvpll_get_status(struct tvpll *);