/drivers/media/radio/ |
H A D | radio-keene.c | 63 struct video_device vdev; member in struct:keene_device 107 dev_warn(&radio->vdev.dev, "%s failed (%d)\n", __func__, ret); 136 dev_warn(&radio->vdev.dev, "%s failed (%d)\n", __func__, ret); 153 video_unregister_device(&radio->vdev); 369 strlcpy(radio->vdev.name, radio->v4l2_dev.name, 370 sizeof(radio->vdev.name)); 371 radio->vdev.v4l2_dev = &radio->v4l2_dev; 372 radio->vdev.fops = &usb_keene_fops; 373 radio->vdev.ioctl_ops = &usb_keene_ioctl_ops; 374 radio->vdev [all...] |
H A D | radio-sf16fmi.c | 50 struct video_device vdev; member in struct:fmi 342 strlcpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); 343 fmi->vdev.v4l2_dev = v4l2_dev; 344 fmi->vdev.fops = &fmi_fops; 345 fmi->vdev.ioctl_ops = &fmi_ioctl_ops; 346 fmi->vdev.release = video_device_release_empty; 347 video_set_drvdata(&fmi->vdev, fmi); 356 if (video_register_device(&fmi->vdev, VFL_TYPE_RADIO, radio_nr) < 0) { 374 video_unregister_device(&fmi->vdev); [all...] |
H A D | radio-mr800.c | 132 struct video_device vdev; member in struct:amradio_device 167 if (video_is_registered(&radio->vdev)) 168 amradio_dev_warn(&radio->vdev.dev, 187 if (video_is_registered(&radio->vdev) && cmd != AMRADIO_GET_READY_FLAG) 188 amradio_dev_warn(&radio->vdev.dev, "follow-up to cmd %02x failed\n", cmd); 259 video_unregister_device(&radio->vdev); 439 amradio_dev_err(&radio->vdev.dev, "initialization failed\n"); 554 strlcpy(radio->vdev.name, radio->v4l2_dev.name, 555 sizeof(radio->vdev.name)); 556 radio->vdev [all...] |
H A D | radio-ma901.c | 88 struct video_device vdev; member in struct:ma901radio_device 191 video_unregister_device(&radio->vdev); 407 strlcpy(radio->vdev.name, radio->v4l2_dev.name, 408 sizeof(radio->vdev.name)); 409 radio->vdev.v4l2_dev = &radio->v4l2_dev; 410 radio->vdev.fops = &usb_ma901radio_fops; 411 radio->vdev.ioctl_ops = &usb_ma901radio_ioctl_ops; 412 radio->vdev.release = video_device_release_empty; 413 radio->vdev.lock = &radio->lock; 420 video_set_drvdata(&radio->vdev, radi [all...] |
H A D | radio-miropcm20.c | 63 struct video_device vdev; member in struct:pcm20 477 strlcpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); 478 dev->vdev.v4l2_dev = v4l2_dev; 479 dev->vdev.fops = &pcm20_fops; 480 dev->vdev.ioctl_ops = &pcm20_ioctl_ops; 481 dev->vdev.release = video_device_release_empty; 482 dev->vdev.lock = &dev->lock; 483 video_set_drvdata(&dev->vdev, dev); 488 if (video_register_device(&dev->vdev, VFL_TYPE_RADI [all...] |
H A D | radio-isa.c | 250 isa->vdev.lock = &isa->lock; 251 strlcpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); 252 isa->vdev.v4l2_dev = v4l2_dev; 253 isa->vdev.fops = &radio_isa_fops; 254 isa->vdev.ioctl_ops = &radio_isa_ioctl_ops; 255 isa->vdev.release = video_device_release_empty; 256 video_set_drvdata(&isa->vdev, isa); 272 res = video_register_device(&isa->vdev, VFL_TYPE_RADIO, radio_nr); 297 video_unregister_device(&isa->vdev); [all...] |
/drivers/staging/vme/devices/ |
H A D | vme_pio2_gpio.c | 43 dev_err(&card->vdev->dev, "Channel not available as input\n"); 50 dev_err(&card->vdev->dev, "Unable to read from GPIO\n"); 81 dev_err(&card->vdev->dev, "Channel not available as output\n"); 95 dev_err(&card->vdev->dev, "Unable to write to GPIO\n"); 110 dev_err(&card->vdev->dev, 129 dev_err(&card->vdev->dev, 198 sprintf(label, "%s@%s", driver_name, dev_name(&card->vdev->dev)); 213 dev_err(&card->vdev->dev, "Unable to register GPIO\n");
|
H A D | vme_user.c | 638 static int vme_user_match(struct vme_dev *vdev) argument 642 int cur_bus = vme_bus_num(vdev); 643 int cur_slot = vme_slot_num(vdev); 646 if ((cur_bus == bus[i]) && (cur_slot == vdev->num)) 657 static int vme_user_probe(struct vme_dev *vdev) argument 664 dev_err(&vdev->dev, "Driver can only be loaded for 1 device\n"); 668 vme_user_bridge = vdev; 687 dev_warn(&vdev->dev, "Error getting Major Number %d for driver.\n", 702 dev_warn(&vdev->dev, "cdev_all failed\n"); 716 dev_warn(&vdev [all...] |
/drivers/media/radio/si4713/ |
H A D | radio-usb-si4713.c | 63 struct video_device vdev; member in struct:si4713_usb_device 483 radio->vdev.ctrl_handler = sd->ctrl_handler; 485 strlcpy(radio->vdev.name, radio->v4l2_dev.name, 486 sizeof(radio->vdev.name)); 487 radio->vdev.v4l2_dev = &radio->v4l2_dev; 488 radio->vdev.fops = &usb_si4713_fops; 489 radio->vdev.ioctl_ops = &usb_si4713_ioctl_ops; 490 radio->vdev.lock = &radio->lock; 491 radio->vdev.release = video_device_release_empty; 492 radio->vdev [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_main.c | 176 u32 port_speed = vnic_dev_port_speed(fnic->vdev); 203 ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats); 315 ret = vnic_dev_stats_clear(fnic->vdev); 379 switch (vnic_dev_get_intr_mode(fnic->vdev)) { 381 err = vnic_dev_notify_set(fnic->vdev, FNIC_INTX_NOTIFY); 384 err = vnic_dev_notify_set(fnic->vdev, -1); 387 err = vnic_dev_notify_set(fnic->vdev, FNIC_MSIX_ERR_NOTIFY); 393 vnic_dev_get_intr_mode(fnic->vdev)); 419 switch (vnic_dev_get_intr_mode(fnic->vdev)) { 433 static int fnic_dev_wait(struct vnic_dev *vdev, argument [all...] |
H A D | fnic_isr.c | 154 switch (vnic_dev_get_intr_mode(fnic->vdev)) { 177 switch (vnic_dev_get_intr_mode(fnic->vdev)) { 272 vnic_dev_set_intr_mode(fnic->vdev, 299 vnic_dev_set_intr_mode(fnic->vdev, VNIC_DEV_INTR_MODE_MSI); 325 vnic_dev_set_intr_mode(fnic->vdev, VNIC_DEV_INTR_MODE_INTX); 330 vnic_dev_set_intr_mode(fnic->vdev, VNIC_DEV_INTR_MODE_UNKNOWN); 337 switch (vnic_dev_get_intr_mode(fnic->vdev)) { 348 vnic_dev_set_intr_mode(fnic->vdev, VNIC_DEV_INTR_MODE_INTX);
|
H A D | vnic_intr.h | 64 struct vnic_dev *vdev; member in struct:vnic_intr 112 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
/drivers/media/platform/omap3isp/ |
H A D | ispvideo.h | 184 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video) 201 struct v4l2_device *vdev);
|
/drivers/staging/media/omap4iss/ |
H A D | iss_video.h | 178 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video) 195 struct v4l2_device *vdev);
|
H A D | iss_ipipeif.h | 83 struct v4l2_device *vdev);
|
H A D | iss_resizer.h | 66 struct v4l2_device *vdev);
|
/drivers/media/platform/davinci/ |
H A D | vpif_display.c | 607 struct video_device *vdev = video_devdata(file); local 608 struct channel_obj *ch = video_get_drvdata(vdev); 624 struct video_device *vdev = video_devdata(file); local 625 struct channel_obj *ch = video_get_drvdata(vdev); 652 struct video_device *vdev = video_devdata(file); local 653 struct channel_obj *ch = video_get_drvdata(vdev); 676 struct video_device *vdev = video_devdata(file); local 677 struct channel_obj *ch = video_get_drvdata(vdev); 724 struct video_device *vdev = video_devdata(file); local 725 struct channel_obj *ch = video_get_drvdata(vdev); 746 struct video_device *vdev = video_devdata(file); local 839 struct video_device *vdev = video_devdata(file); local 857 struct video_device *vdev = video_devdata(file); local 876 struct video_device *vdev = video_devdata(file); local 908 struct video_device *vdev = video_devdata(file); local 1012 struct video_device *vdev = video_devdata(file); local 1135 struct video_device *vdev; local [all...] |
H A D | vpif_capture.c | 727 struct video_device *vdev = video_devdata(file); local 728 struct channel_obj *ch = video_get_drvdata(vdev); 755 struct video_device *vdev = video_devdata(file); local 756 struct channel_obj *ch = video_get_drvdata(vdev); 783 struct video_device *vdev = video_devdata(file); local 784 struct channel_obj *ch = video_get_drvdata(vdev); 833 struct video_device *vdev = video_devdata(file); local 834 struct channel_obj *ch = video_get_drvdata(vdev); 855 struct video_device *vdev = video_devdata(file); local 856 struct channel_obj *ch = video_get_drvdata(vdev); 871 struct video_device *vdev = video_devdata(file); local 896 struct video_device *vdev = video_devdata(file); local 926 struct video_device *vdev = video_devdata(file); local 969 struct video_device *vdev = video_devdata(file); local 991 struct video_device *vdev = video_devdata(file); local 1042 struct video_device *vdev = video_devdata(file); local 1076 struct video_device *vdev = video_devdata(file); local 1107 struct video_device *vdev = video_devdata(file); local 1210 struct video_device *vdev = video_devdata(file); local 1335 struct video_device *vdev; local [all...] |
/drivers/media/v4l2-core/ |
H A D | videobuf2-core.c | 3256 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) argument 3258 return vdev->queue->owner && vdev->queue->owner != file->private_data; 3266 struct video_device *vdev = video_devdata(file); local 3267 int res = __verify_memory_type(vdev->queue, p->memory, p->type); 3271 if (vb2_queue_is_busy(vdev, file)) 3273 res = __reqbufs(vdev->queue, p); 3277 vdev->queue->owner = p->count ? file->private_data : NULL; 3285 struct video_device *vdev = video_devdata(file); local 3286 int res = __verify_memory_type(vdev 3307 struct video_device *vdev = video_devdata(file); local 3317 struct video_device *vdev = video_devdata(file); local 3326 struct video_device *vdev = video_devdata(file); local 3336 struct video_device *vdev = video_devdata(file); local 3346 struct video_device *vdev = video_devdata(file); local 3356 struct video_device *vdev = video_devdata(file); local 3366 struct video_device *vdev = video_devdata(file); local 3378 struct video_device *vdev = video_devdata(file); local 3386 struct video_device *vdev = video_devdata(file); local 3402 struct video_device *vdev = video_devdata(file); local 3412 struct video_device *vdev = video_devdata(file); local 3434 struct video_device *vdev = video_devdata(file); local 3455 struct video_device *vdev = video_devdata(file); local 3498 struct video_device *vdev = video_devdata(file); local [all...] |
/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 54 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev); 240 dma_addr = dma_map_single(&adapter->vdev->dev, skb->data, 243 if (dma_mapping_error(&adapter->vdev->dev, dma_addr)) 262 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, 284 if (!dma_mapping_error(&adapter->vdev->dev, dma_addr)) 285 dma_unmap_single(&adapter->vdev->dev, 338 dma_unmap_single(&adapter->vdev->dev, 377 dma_unmap_single(&adapter->vdev->dev, 431 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); 462 struct device *dev = &adapter->vdev 1294 ibmveth_get_desired_dma(struct vio_dev *vdev) argument [all...] |
/drivers/media/platform/vsp1/ |
H A D | vsp1_video.h | 138 static inline struct vsp1_video *to_vsp1_video(struct video_device *vdev) argument 140 return container_of(vdev, struct vsp1_video, video);
|
/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_intr.h | 50 struct vnic_dev *vdev; member in struct:vnic_intr 103 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
H A D | enic_main.c | 140 struct enic *enic = vnic_dev_priv(wq->vdev); 159 static int enic_wq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, argument 162 struct enic *enic = vnic_dev_priv(vdev); 202 u32 msg_enable = vnic_dev_msg_lvl(enic->vdev); 213 u32 mtu = vnic_dev_mtu(enic->vdev); 235 int link_status = vnic_dev_link_status(enic->vdev); 921 struct enic *enic = vnic_dev_priv(rq->vdev); 934 struct enic *enic = vnic_dev_priv(rq->vdev); 993 struct enic *enic = vnic_dev_priv(rq->vdev); 1091 static int enic_rq_service(struct vnic_dev *vdev, struc argument 1798 struct vnic_dev *vdev = enic->vdev; local 1828 enic_dev_wait(struct vnic_dev *vdev, int (*start)(struct vnic_dev *, int), int (*finished)(struct vnic_dev *, int *), int arg) argument [all...] |
/drivers/video/fbdev/via/ |
H A D | viafbdev.h | 50 struct viafb_dev *vdev; /* Global dev info */ member in struct:viafb_shared 105 int via_fb_pci_probe(struct viafb_dev *vdev);
|
/drivers/media/platform/ |
H A D | sh_vou.c | 65 struct video_device *vdev; member in struct:sh_vou_device 244 struct video_device *vdev = vq->priv_data; local 245 struct sh_vou_device *vou_dev = video_get_drvdata(vdev); 268 struct video_device *vdev = vq->priv_data; local 269 struct sh_vou_device *vou_dev = video_get_drvdata(vdev); 317 struct video_device *vdev = vq->priv_data; local 318 struct sh_vou_device *vou_dev = video_get_drvdata(vdev); 357 struct video_device *vdev = vq->priv_data; local 358 struct sh_vou_device *vou_dev = video_get_drvdata(vdev); 892 if (std_id & ~vou_dev->vdev 1294 struct video_device *vdev; local [all...] |