Lines Matching refs:vfd

1426 	struct video_device *vfd;  in vivid_create_devnodes()  local
1430 vfd = &dev->vid_cap_dev; in vivid_create_devnodes()
1431 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1433 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1434 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1435 vfd->device_caps = dev->vid_cap_caps; in vivid_create_devnodes()
1436 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1437 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1438 vfd->queue = &dev->vb_vid_cap_q; in vivid_create_devnodes()
1439 vfd->tvnorms = tvnorms_cap; in vivid_create_devnodes()
1445 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1446 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1450 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_cap_pad); in vivid_create_devnodes()
1469 ret = video_register_device(vfd, VFL_TYPE_VIDEO, vid_cap_nr[inst]); in vivid_create_devnodes()
1473 video_device_node_name(vfd)); in vivid_create_devnodes()
1480 vfd = &dev->vid_out_dev; in vivid_create_devnodes()
1481 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1483 vfd->vfl_dir = VFL_DIR_TX; in vivid_create_devnodes()
1484 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1485 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1486 vfd->device_caps = dev->vid_out_caps; in vivid_create_devnodes()
1487 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1488 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1489 vfd->queue = &dev->vb_vid_out_q; in vivid_create_devnodes()
1490 vfd->tvnorms = tvnorms_out; in vivid_create_devnodes()
1496 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1497 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1501 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_out_pad); in vivid_create_devnodes()
1521 ret = video_register_device(vfd, VFL_TYPE_VIDEO, vid_out_nr[inst]); in vivid_create_devnodes()
1525 video_device_node_name(vfd)); in vivid_create_devnodes()
1529 vfd = &dev->vbi_cap_dev; in vivid_create_devnodes()
1530 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1532 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1533 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1534 vfd->device_caps = dev->vbi_cap_caps; in vivid_create_devnodes()
1535 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1536 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1537 vfd->queue = &dev->vb_vbi_cap_q; in vivid_create_devnodes()
1538 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1539 vfd->tvnorms = tvnorms_cap; in vivid_create_devnodes()
1540 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1544 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_cap_pad); in vivid_create_devnodes()
1549 ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_cap_nr[inst]); in vivid_create_devnodes()
1553 video_device_node_name(vfd), in vivid_create_devnodes()
1560 vfd = &dev->vbi_out_dev; in vivid_create_devnodes()
1561 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1563 vfd->vfl_dir = VFL_DIR_TX; in vivid_create_devnodes()
1564 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1565 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1566 vfd->device_caps = dev->vbi_out_caps; in vivid_create_devnodes()
1567 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1568 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1569 vfd->queue = &dev->vb_vbi_out_q; in vivid_create_devnodes()
1570 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1571 vfd->tvnorms = tvnorms_out; in vivid_create_devnodes()
1572 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1576 ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_out_pad); in vivid_create_devnodes()
1581 ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_out_nr[inst]); in vivid_create_devnodes()
1585 video_device_node_name(vfd), in vivid_create_devnodes()
1592 vfd = &dev->sdr_cap_dev; in vivid_create_devnodes()
1593 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1595 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1596 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1597 vfd->device_caps = dev->sdr_cap_caps; in vivid_create_devnodes()
1598 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1599 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1600 vfd->queue = &dev->vb_sdr_cap_q; in vivid_create_devnodes()
1601 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1602 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1606 ret = media_entity_pads_init(&vfd->entity, 1, &dev->sdr_cap_pad); in vivid_create_devnodes()
1611 ret = video_register_device(vfd, VFL_TYPE_SDR, sdr_cap_nr[inst]); in vivid_create_devnodes()
1615 video_device_node_name(vfd)); in vivid_create_devnodes()
1619 vfd = &dev->radio_rx_dev; in vivid_create_devnodes()
1620 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1622 vfd->fops = &vivid_radio_fops; in vivid_create_devnodes()
1623 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1624 vfd->device_caps = dev->radio_rx_caps; in vivid_create_devnodes()
1625 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1626 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1627 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1628 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1630 ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_rx_nr[inst]); in vivid_create_devnodes()
1634 video_device_node_name(vfd)); in vivid_create_devnodes()
1638 vfd = &dev->radio_tx_dev; in vivid_create_devnodes()
1639 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1641 vfd->vfl_dir = VFL_DIR_TX; in vivid_create_devnodes()
1642 vfd->fops = &vivid_radio_fops; in vivid_create_devnodes()
1643 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1644 vfd->device_caps = dev->radio_tx_caps; in vivid_create_devnodes()
1645 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1646 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1647 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1648 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1650 ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_tx_nr[inst]); in vivid_create_devnodes()
1654 video_device_node_name(vfd)); in vivid_create_devnodes()
1658 vfd = &dev->meta_cap_dev; in vivid_create_devnodes()
1659 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1661 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1662 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1663 vfd->device_caps = dev->meta_cap_caps; in vivid_create_devnodes()
1664 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1665 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1666 vfd->queue = &dev->vb_meta_cap_q; in vivid_create_devnodes()
1667 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1668 vfd->tvnorms = tvnorms_cap; in vivid_create_devnodes()
1669 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1672 ret = media_entity_pads_init(&vfd->entity, 1, in vivid_create_devnodes()
1677 ret = video_register_device(vfd, VFL_TYPE_VIDEO, in vivid_create_devnodes()
1683 video_device_node_name(vfd)); in vivid_create_devnodes()
1687 vfd = &dev->meta_out_dev; in vivid_create_devnodes()
1688 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1690 vfd->vfl_dir = VFL_DIR_TX; in vivid_create_devnodes()
1691 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1692 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1693 vfd->device_caps = dev->meta_out_caps; in vivid_create_devnodes()
1694 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1695 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1696 vfd->queue = &dev->vb_meta_out_q; in vivid_create_devnodes()
1697 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1698 vfd->tvnorms = tvnorms_out; in vivid_create_devnodes()
1699 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1702 ret = media_entity_pads_init(&vfd->entity, 1, in vivid_create_devnodes()
1707 ret = video_register_device(vfd, VFL_TYPE_VIDEO, in vivid_create_devnodes()
1713 video_device_node_name(vfd)); in vivid_create_devnodes()
1717 vfd = &dev->touch_cap_dev; in vivid_create_devnodes()
1718 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1720 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1721 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1722 vfd->device_caps = dev->touch_cap_caps; in vivid_create_devnodes()
1723 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1724 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1725 vfd->queue = &dev->vb_touch_cap_q; in vivid_create_devnodes()
1726 vfd->tvnorms = tvnorms_cap; in vivid_create_devnodes()
1727 vfd->lock = &dev->mutex; in vivid_create_devnodes()
1728 video_set_drvdata(vfd, dev); in vivid_create_devnodes()
1731 ret = media_entity_pads_init(&vfd->entity, 1, in vivid_create_devnodes()
1736 ret = video_register_device(vfd, VFL_TYPE_TOUCH, in vivid_create_devnodes()
1742 video_device_node_name(vfd)); in vivid_create_devnodes()