Searched refs:vdev (Results 76 - 100 of 315) sorted by relevance

1234567891011>>

/drivers/media/radio/
H A Dradio-keene.c63 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 Dradio-sf16fmi.c50 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 Dradio-mr800.c132 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 Dradio-ma901.c88 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 Dradio-miropcm20.c63 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 Dradio-isa.c250 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 Dvme_pio2_gpio.c43 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 Dvme_user.c638 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 Dradio-usb-si4713.c63 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 Dfnic_main.c176 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 Dfnic_isr.c154 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 Dvnic_intr.h64 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 Dispvideo.h184 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video)
201 struct v4l2_device *vdev);
/drivers/staging/media/omap4iss/
H A Diss_video.h178 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video)
195 struct v4l2_device *vdev);
H A Diss_ipipeif.h83 struct v4l2_device *vdev);
H A Diss_resizer.h66 struct v4l2_device *vdev);
/drivers/media/platform/davinci/
H A Dvpif_display.c607 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 Dvpif_capture.c727 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 Dvideobuf2-core.c3256 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 Dibmveth.c54 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 Dvsp1_video.h138 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 Dvnic_intr.h50 struct vnic_dev *vdev; member in struct:vnic_intr
103 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
H A Denic_main.c140 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 Dviafbdev.h50 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 Dsh_vou.c65 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...]

Completed in 332 milliseconds

1234567891011>>