Lines Matching full:vfd

1428 	struct video_device *vfd;
1432 vfd = &dev->vid_cap_dev;
1433 snprintf(vfd->name, sizeof(vfd->name),
1435 vfd->fops = &vivid_fops;
1436 vfd->ioctl_ops = &vivid_ioctl_ops;
1437 vfd->device_caps = dev->vid_cap_caps;
1438 vfd->release = video_device_release_empty;
1439 vfd->v4l2_dev = &dev->v4l2_dev;
1440 vfd->queue = &dev->vb_vid_cap_q;
1441 vfd->tvnorms = tvnorms_cap;
1447 vfd->lock = &dev->mutex;
1448 video_set_drvdata(vfd, dev);
1452 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_cap_pad);
1471 ret = video_register_device(vfd, VFL_TYPE_VIDEO, vid_cap_nr[inst]);
1475 video_device_node_name(vfd));
1482 vfd = &dev->vid_out_dev;
1483 snprintf(vfd->name, sizeof(vfd->name),
1485 vfd->vfl_dir = VFL_DIR_TX;
1486 vfd->fops = &vivid_fops;
1487 vfd->ioctl_ops = &vivid_ioctl_ops;
1488 vfd->device_caps = dev->vid_out_caps;
1489 vfd->release = video_device_release_empty;
1490 vfd->v4l2_dev = &dev->v4l2_dev;
1491 vfd->queue = &dev->vb_vid_out_q;
1492 vfd->tvnorms = tvnorms_out;
1498 vfd->lock = &dev->mutex;
1499 video_set_drvdata(vfd, dev);
1503 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_out_pad);
1523 ret = video_register_device(vfd, VFL_TYPE_VIDEO, vid_out_nr[inst]);
1527 video_device_node_name(vfd));
1531 vfd = &dev->vbi_cap_dev;
1532 snprintf(vfd->name, sizeof(vfd->name),
1534 vfd->fops = &vivid_fops;
1535 vfd->ioctl_ops = &vivid_ioctl_ops;
1536 vfd->device_caps = dev->vbi_cap_caps;
1537 vfd->release = video_device_release_empty;
1538 vfd->v4l2_dev = &dev->v4l2_dev;
1539 vfd->queue = &dev->vb_vbi_cap_q;
1540 vfd->lock = &dev->mutex;
1541 vfd->tvnorms = tvnorms_cap;
1542 video_set_drvdata(vfd, dev);
1546 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_cap_pad);
1551 ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_cap_nr[inst]);
1555 video_device_node_name(vfd),
1562 vfd = &dev->vbi_out_dev;
1563 snprintf(vfd->name, sizeof(vfd->name),
1565 vfd->vfl_dir = VFL_DIR_TX;
1566 vfd->fops = &vivid_fops;
1567 vfd->ioctl_ops = &vivid_ioctl_ops;
1568 vfd->device_caps = dev->vbi_out_caps;
1569 vfd->release = video_device_release_empty;
1570 vfd->v4l2_dev = &dev->v4l2_dev;
1571 vfd->queue = &dev->vb_vbi_out_q;
1572 vfd->lock = &dev->mutex;
1573 vfd->tvnorms = tvnorms_out;
1574 video_set_drvdata(vfd, dev);
1578 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_out_pad);
1583 ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_out_nr[inst]);
1587 video_device_node_name(vfd),
1594 vfd = &dev->sdr_cap_dev;
1595 snprintf(vfd->name, sizeof(vfd->name),
1597 vfd->fops = &vivid_fops;
1598 vfd->ioctl_ops = &vivid_ioctl_ops;
1599 vfd->device_caps = dev->sdr_cap_caps;
1600 vfd->release = video_device_release_empty;
1601 vfd->v4l2_dev = &dev->v4l2_dev;
1602 vfd->queue = &dev->vb_sdr_cap_q;
1603 vfd->lock = &dev->mutex;
1604 video_set_drvdata(vfd, dev);
1608 ret = media_entity_pads_init(&vfd->entity, 1, &dev->sdr_cap_pad);
1613 ret = video_register_device(vfd, VFL_TYPE_SDR, sdr_cap_nr[inst]);
1617 video_device_node_name(vfd));
1621 vfd = &dev->radio_rx_dev;
1622 snprintf(vfd->name, sizeof(vfd->name),
1624 vfd->fops = &vivid_radio_fops;
1625 vfd->ioctl_ops = &vivid_ioctl_ops;
1626 vfd->device_caps = dev->radio_rx_caps;
1627 vfd->release = video_device_release_empty;
1628 vfd->v4l2_dev = &dev->v4l2_dev;
1629 vfd->lock = &dev->mutex;
1630 video_set_drvdata(vfd, dev);
1632 ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_rx_nr[inst]);
1636 video_device_node_name(vfd));
1640 vfd = &dev->radio_tx_dev;
1641 snprintf(vfd->name, sizeof(vfd->name),
1643 vfd->vfl_dir = VFL_DIR_TX;
1644 vfd->fops = &vivid_radio_fops;
1645 vfd->ioctl_ops = &vivid_ioctl_ops;
1646 vfd->device_caps = dev->radio_tx_caps;
1647 vfd->release = video_device_release_empty;
1648 vfd->v4l2_dev = &dev->v4l2_dev;
1649 vfd->lock = &dev->mutex;
1650 video_set_drvdata(vfd, dev);
1652 ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_tx_nr[inst]);
1656 video_device_node_name(vfd));
1660 vfd = &dev->meta_cap_dev;
1661 snprintf(vfd->name, sizeof(vfd->name),
1663 vfd->fops = &vivid_fops;
1664 vfd->ioctl_ops = &vivid_ioctl_ops;
1665 vfd->device_caps = dev->meta_cap_caps;
1666 vfd->release = video_device_release_empty;
1667 vfd->v4l2_dev = &dev->v4l2_dev;
1668 vfd->queue = &dev->vb_meta_cap_q;
1669 vfd->lock = &dev->mutex;
1670 vfd->tvnorms = tvnorms_cap;
1671 video_set_drvdata(vfd, dev);
1674 ret = media_entity_pads_init(&vfd->entity, 1,
1679 ret = video_register_device(vfd, VFL_TYPE_VIDEO,
1685 video_device_node_name(vfd));
1689 vfd = &dev->meta_out_dev;
1690 snprintf(vfd->name, sizeof(vfd->name),
1692 vfd->vfl_dir = VFL_DIR_TX;
1693 vfd->fops = &vivid_fops;
1694 vfd->ioctl_ops = &vivid_ioctl_ops;
1695 vfd->device_caps = dev->meta_out_caps;
1696 vfd->release = video_device_release_empty;
1697 vfd->v4l2_dev = &dev->v4l2_dev;
1698 vfd->queue = &dev->vb_meta_out_q;
1699 vfd->lock = &dev->mutex;
1700 vfd->tvnorms = tvnorms_out;
1701 video_set_drvdata(vfd, dev);
1704 ret = media_entity_pads_init(&vfd->entity, 1,
1709 ret = video_register_device(vfd, VFL_TYPE_VIDEO,
1715 video_device_node_name(vfd));
1719 vfd = &dev->touch_cap_dev;
1720 snprintf(vfd->name, sizeof(vfd->name),
1722 vfd->fops = &vivid_fops;
1723 vfd->ioctl_ops = &vivid_ioctl_ops;
1724 vfd->device_caps = dev->touch_cap_caps;
1725 vfd->release = video_device_release_empty;
1726 vfd->v4l2_dev = &dev->v4l2_dev;
1727 vfd->queue = &dev->vb_touch_cap_q;
1728 vfd->tvnorms = tvnorms_cap;
1729 vfd->lock = &dev->mutex;
1730 video_set_drvdata(vfd, dev);
1733 ret = media_entity_pads_init(&vfd->entity, 1,
1738 ret = video_register_device(vfd, VFL_TYPE_TOUCH,
1744 video_device_node_name(vfd));