• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/

Lines Matching defs:rj54n1

149 struct rj54n1 {
419 static struct rj54n1 *to_rj54n1(const struct i2c_client *client)
421 return container_of(i2c_get_clientdata(client), struct rj54n1, subdev);
426 struct rj54n1 *rj54n1 = to_rj54n1(client);
430 if (rj54n1->bank != reg >> 8) {
435 rj54n1->bank = reg >> 8;
443 struct rj54n1 *rj54n1 = to_rj54n1(client);
447 if (rj54n1->bank != reg >> 8) {
452 rj54n1->bank = reg >> 8;
564 struct rj54n1 *rj54n1 = to_rj54n1(client);
577 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize;
578 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize;
581 input_w, input_h, rj54n1->resize, output_w, output_h);
587 rj54n1->width = output_w;
588 rj54n1->height = output_h;
589 rj54n1->resize = ret;
590 rj54n1->rect.width = input_w;
591 rj54n1->rect.height = input_h;
599 struct rj54n1 *rj54n1 = to_rj54n1(client);
601 a->c = rj54n1->rect;
625 struct rj54n1 *rj54n1 = to_rj54n1(client);
627 mf->code = rj54n1->fmt->code;
628 mf->colorspace = rj54n1->fmt->colorspace;
630 mf->width = rj54n1->width;
631 mf->height = rj54n1->height;
645 struct rj54n1 *rj54n1 = to_rj54n1(client);
765 if (!rj54n1->auto_wb) {
787 peak = 12 * RJ54N1_MAX_WIDTH * (1 << 14) * resize / rj54n1->tgclk_mhz /
830 struct rj54n1 *rj54n1 = to_rj54n1(client);
847 rj54n1->clk_div.ratio_tg);
850 rj54n1->clk_div.ratio_t);
853 rj54n1->clk_div.ratio_r);
866 rj54n1->clk_div.ratio_op);
869 rj54n1->clk_div.ratio_o);
914 struct rj54n1 *rj54n1 = to_rj54n1(client);
954 rj54n1->auto_wb = ret & 0x80;
987 struct rj54n1 *rj54n1 = to_rj54n1(client);
1001 fmt = rj54n1->fmt;
1018 struct rj54n1 *rj54n1 = to_rj54n1(client);
1021 input_w = rj54n1->rect.width, input_h = rj54n1->rect.height;
1130 rj54n1->fmt = fmt;
1131 rj54n1->resize = ret;
1132 rj54n1->rect.width = input_w;
1133 rj54n1->rect.height = input_h;
1134 rj54n1->width = output_w;
1135 rj54n1->height = output_h;
1252 struct rj54n1 *rj54n1 = to_rj54n1(client);
1276 ctrl->value = rj54n1->auto_wb;
1287 struct rj54n1 *rj54n1 = to_rj54n1(client);
1323 rj54n1->auto_wb = ctrl->value;
1398 struct rj54n1 *rj54n1;
1424 rj54n1 = kzalloc(sizeof(struct rj54n1), GFP_KERNEL);
1425 if (!rj54n1)
1428 v4l2_i2c_subdev_init(&rj54n1->subdev, client, &rj54n1_subdev_ops);
1432 rj54n1->clk_div = clk_div;
1433 rj54n1->rect.left = RJ54N1_COLUMN_SKIP;
1434 rj54n1->rect.top = RJ54N1_ROW_SKIP;
1435 rj54n1->rect.width = RJ54N1_MAX_WIDTH;
1436 rj54n1->rect.height = RJ54N1_MAX_HEIGHT;
1437 rj54n1->width = RJ54N1_MAX_WIDTH;
1438 rj54n1->height = RJ54N1_MAX_HEIGHT;
1439 rj54n1->fmt = &rj54n1_colour_fmts[0];
1440 rj54n1->resize = 1024;
1441 rj54n1->tgclk_mhz = (rj54n1_priv->mclk_freq / PLL_L * PLL_N) /
1447 kfree(rj54n1);
1456 struct rj54n1 *rj54n1 = to_rj54n1(client);
1464 kfree(rj54n1);