/drivers/scsi/fnic/ |
H A D | vnic_wq_copy.c | 71 struct vnic_dev *vdev; local 73 vdev = wq->vdev; 74 vnic_dev_free_desc_ring(vdev, &wq->ring); 78 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq, argument 85 wq->vdev = vdev; 87 wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index); 95 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size);
|
H A D | vnic_wq.c | 30 struct vnic_dev *vdev; local 34 vdev = wq->vdev; 69 struct vnic_dev *vdev; local 72 vdev = wq->vdev; 74 vnic_dev_free_desc_ring(vdev, &wq->ring); 85 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, argument 91 wq->vdev = vdev; [all...] |
H A D | vnic_cq.c | 26 vnic_dev_free_desc_ring(cq->vdev, &cq->ring); 31 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, argument 37 cq->vdev = vdev; 39 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); 45 err = vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size);
|
H A D | vnic_cq_copy.h | 25 int (*q_service)(struct vnic_dev *vdev, 41 if ((*q_service)(cq->vdev, cq->index, desc)) 23 vnic_cq_copy_service( struct vnic_cq *cq, int (*q_service)(struct vnic_dev *vdev, unsigned int index, struct fcpio_fw_req *desc), unsigned int work_to_do) argument
|
/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_intr.c | 34 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, argument 38 intr->vdev = vdev; 40 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); 61 iowrite32(vnic_dev_intr_coal_timer_usec_to_hw(intr->vdev,
|
H A D | vnic_cq.c | 30 vnic_dev_free_desc_ring(cq->vdev, &cq->ring); 35 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, argument 41 cq->vdev = vdev; 43 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); 49 err = vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size);
|
H A D | enic_dev.c | 33 err = vnic_dev_fw_info(enic->vdev, fw_info); 44 err = vnic_dev_stats_dump(enic->vdev, vstats); 58 err = vnic_dev_add_addr(enic->vdev, enic->netdev->dev_addr); 72 err = vnic_dev_del_addr(enic->vdev, enic->netdev->dev_addr); 84 err = vnic_dev_packet_filter(enic->vdev, directed, 96 err = vnic_dev_add_addr(enic->vdev, addr); 107 err = vnic_dev_del_addr(enic->vdev, addr); 118 err = vnic_dev_notify_unset(enic->vdev); 129 err = vnic_dev_hang_notify(enic->vdev); 140 err = vnic_dev_set_ig_vlan_rewrite_mode(enic->vdev, [all...] |
H A D | enic_dev.h | 33 vnic_dev_cmd_proxy_by_index_start(enic->vdev, vf); \ 34 err = vnicdevcmdfn(enic->vdev, ##__VA_ARGS__); \ 35 vnic_dev_cmd_proxy_end(enic->vdev); \ 37 err = vnicdevcmdfn(enic->vdev, ##__VA_ARGS__); \
|
H A D | enic_res.c | 47 err = vnic_dev_get_mac_addr(enic->vdev, enic->mac_addr); 56 err = vnic_dev_spec(enic->vdev, \ 95 vnic_dev_get_intr_coal_timer_max(enic->vdev)); 128 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_ADD, &a0, &a1, wait); 141 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_DEL, &a0, &a1, wait); 163 return vnic_dev_cmd(enic->vdev, CMD_NIC_CFG, &a0, &a1, wait); 171 return vnic_dev_cmd(enic->vdev, CMD_RSS_KEY, &a0, &a1, wait); 179 return vnic_dev_cmd(enic->vdev, CMD_RSS_CPU, &a0, &a1, wait); 198 enic->wq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ); 199 enic->rq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_R [all...] |
/drivers/misc/mic/card/ |
H A D | mic_virtio.c | 50 struct virtio_device vdev; member in struct:mic_vdev 62 #define to_micvdev(vd) container_of(vd, struct mic_vdev, vdev) 67 return mvdev->vdev.dev.parent; 71 static u32 mic_get_features(struct virtio_device *vdev) argument 75 struct mic_device_desc __iomem *desc = to_micvdev(vdev)->desc; 80 sizeof(vdev->features)) * 8; 88 static void mic_finalize_features(struct virtio_device *vdev) argument 91 struct mic_device_desc __iomem *desc = to_micvdev(vdev)->desc; 98 vring_transport_features(vdev); 102 sizeof(vdev 113 mic_get(struct virtio_device *vdev, unsigned int offset, void *buf, unsigned len) argument 123 mic_set(struct virtio_device *vdev, unsigned int offset, const void *buf, unsigned len) argument 138 mic_get_status(struct virtio_device *vdev) argument 143 mic_set_status(struct virtio_device *vdev, u8 status) argument 153 mic_reset_inform_host(struct virtio_device *vdev) argument 176 mic_reset(struct virtio_device *vdev) argument 209 mic_del_vqs(struct virtio_device *vdev) argument 226 mic_find_vq(struct virtio_device *vdev, unsigned index, void (*callback)(struct virtqueue *vq), const char *name) argument 307 mic_find_vqs(struct virtio_device *vdev, unsigned nvqs, struct virtqueue *vqs[], vq_callback_t *callbacks[], const char *names[]) argument 453 struct virtio_device *vdev = dev_to_virtio(dev); local [all...] |
/drivers/media/v4l2-core/ |
H A D | v4l2-device.c | 212 static void v4l2_device_release_subdev_node(struct video_device *vdev) argument 214 struct v4l2_subdev *sd = video_get_drvdata(vdev); 216 kfree(vdev); 221 struct video_device *vdev; local 232 vdev = kzalloc(sizeof(*vdev), GFP_KERNEL); 233 if (!vdev) { 238 video_set_drvdata(vdev, sd); 239 strlcpy(vdev->name, sd->name, sizeof(vdev [all...] |
H A D | v4l2-event.c | 44 spin_lock_irqsave(&fh->vdev->fh_lock, flags); 47 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); 62 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); 75 /* Release the vdev lock while waiting */ 76 if (fh->vdev->lock) 77 mutex_unlock(fh->vdev->lock); 88 if (fh->vdev->lock) 89 mutex_lock(fh->vdev->lock); 95 /* Caller must hold fh->vdev->fh_lock! */ 101 assert_spin_locked(&fh->vdev 169 v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev) argument [all...] |
/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 70 struct video_device *vdev = video_devdata(file); local 71 struct uvc_device *uvc = video_get_drvdata(vdev); 87 struct video_device *vdev = video_devdata(file); local 88 struct uvc_device *uvc = video_get_drvdata(vdev); 106 struct video_device *vdev = video_devdata(file); local 107 struct uvc_device *uvc = video_get_drvdata(vdev); 147 struct video_device *vdev = video_devdata(file); local 148 struct uvc_device *uvc = video_get_drvdata(vdev); 160 struct video_device *vdev = video_devdata(file); local 161 struct uvc_device *uvc = video_get_drvdata(vdev); 170 struct video_device *vdev = video_devdata(file); local 185 struct video_device *vdev = video_devdata(file); local 195 struct video_device *vdev = video_devdata(file); local 221 struct video_device *vdev = video_devdata(file); local 252 struct video_device *vdev = video_devdata(file); local 286 struct video_device *vdev = video_devdata(file); local 307 struct video_device *vdev = video_devdata(file); local 328 struct video_device *vdev = video_devdata(file); local 337 struct video_device *vdev = video_devdata(file); local 348 struct video_device *vdev = video_devdata(file); local [all...] |
/drivers/block/ |
H A D | virtio_blk.c | 33 struct virtio_device *vdev; member in struct:virtio_blk 137 struct virtio_blk *vblk = vq->vdev->priv; 270 if (!virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_SCSI)) 283 if (virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_GEOMETRY)) { 284 virtio_cread(vblk->vdev, struct virtio_blk_config, 286 virtio_cread(vblk->vdev, struct virtio_blk_config, 288 virtio_cread(vblk->vdev, struct virtio_blk_config, 340 struct virtio_device *vdev = vblk->vdev; local 347 virtio_cread(vdev, struc 371 virtblk_config_changed(struct virtio_device *vdev) argument 386 struct virtio_device *vdev = vblk->vdev; local 470 virtblk_get_cache_mode(struct virtio_device *vdev) argument 484 virtblk_update_cache_mode(struct virtio_device *vdev) argument 507 struct virtio_device *vdev = vblk->vdev; local 563 virtblk_probe(struct virtio_device *vdev) argument 758 virtblk_remove(struct virtio_device *vdev) argument 787 virtblk_freeze(struct virtio_device *vdev) argument 803 virtblk_restore(struct virtio_device *vdev) argument [all...] |
/drivers/virtio/ |
H A D | virtio_balloon.c | 42 struct virtio_device *vdev; member in struct:virtio_balloon 98 struct virtio_balloon *vb = vq->vdev->priv; 141 dev_info_ratelimited(&vb->vdev->dev, 191 * virtio_has_feature(vdev, VIRTIO_BALLOON_F_MUST_TELL_HOST); 241 struct virtio_balloon *vb = vq->vdev->priv; 264 static void virtballoon_changed(struct virtio_device *vdev) argument 266 struct virtio_balloon *vb = vdev->priv; 276 virtio_cread(vb->vdev, struct virtio_balloon_config, num_pages, &v); 286 virtio_cwrite(vb->vdev, struct virtio_balloon_config, actual, 332 nvqs = virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_V 419 virtballoon_probe(struct virtio_device *vdev) argument 475 virtballoon_remove(struct virtio_device *vdev) argument 485 virtballoon_freeze(struct virtio_device *vdev) argument 498 virtballoon_restore(struct virtio_device *vdev) argument [all...] |
/drivers/usb/usbip/ |
H A D | vhci.h | 60 struct vhci_device *vdev; member in struct:vhci_priv 93 struct vhci_device vdev[VHCI_NPORTS]; member in struct:vhci_hcd 103 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum); 111 return &the_controller->vdev[port];
|
/drivers/video/fbdev/via/ |
H A D | via-gpio.c | 75 struct viafb_dev *vdev; member in struct:viafb_gpio_cfg 93 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); 102 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); 124 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); 128 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); 141 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); 144 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); 217 struct viafb_dev *vdev = platdev->dev.platform_data; local 218 struct via_port_cfg *port_cfg = vdev->port_cfg; 241 viafb_gpio_config.vdev [all...] |
H A D | via-core.c | 478 static int via_pci_setup_mmio(struct viafb_dev *vdev) argument 486 vdev->engine_start = pci_resource_start(vdev->pdev, 1); 487 vdev->engine_len = pci_resource_len(vdev->pdev, 1); 488 vdev->engine_mmio = ioremap_nocache(vdev->engine_start, 489 vdev->engine_len); 490 if (vdev->engine_mmio == NULL) 491 dev_err(&vdev 526 via_pci_teardown_mmio(struct viafb_dev *vdev) argument 553 via_create_subdev(struct viafb_dev *vdev, struct viafb_subdev_info *info) argument 576 via_setup_subdevs(struct viafb_dev *vdev) argument [all...] |
/drivers/net/caif/ |
H A D | caif_virtio.c | 76 * @vdev: Associated virtio device 103 struct virtio_device *vdev; member in struct:cfv_info 142 struct cfv_info *cfv = vq_tx->vdev->priv; 162 struct cfv_info *cfv = vq_tx->vdev->priv; 352 static void cfv_recv(struct virtio_device *vdev, struct vringh *vr_rx) argument 354 struct cfv_info *cfv = vdev->priv; 364 dma_free_coherent(cfv->vdev->dev.parent->parent, 398 cfv->vdev->dev.parent->parent, 653 static int cfv_probe(struct virtio_device *vdev) argument 669 cfv->vdev 753 cfv_remove(struct virtio_device *vdev) argument [all...] |
/drivers/ide/ |
H A D | via82cxxx.c | 129 struct via82cxxx_dev *vdev = host->host_priv; local 132 if (~vdev->via_config->flags & VIA_BAD_AST) { 144 switch (vdev->via_config->udma_mask) { 152 if (vdev->via_config->udma_mask) { 184 struct via82cxxx_dev *vdev = host->host_priv; local 191 switch (vdev->via_config->udma_mask) { 245 static void via_cable_detect(struct via82cxxx_dev *vdev, u32 u) argument 249 switch (vdev->via_config->udma_mask) { 259 vdev->via_80w |= (1 << (1 - (i >> 4))); 271 vdev 300 struct via82cxxx_dev *vdev = host->host_priv; local 386 struct via82cxxx_dev *vdev = host->host_priv; local 423 struct via82cxxx_dev *vdev; local 495 struct via82cxxx_dev *vdev = host->host_priv; local [all...] |
/drivers/scsi/ |
H A D | virtio_scsi.c | 100 struct virtio_device *vdev; member in struct:virtio_scsi 124 static inline struct Scsi_Host *virtio_scsi_host(struct virtio_device *vdev) argument 126 return vdev->priv; 235 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); 263 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); 322 struct Scsi_Host *shost = virtio_scsi_host(vscsi->vdev); 349 struct Scsi_Host *shost = virtio_scsi_host(vscsi->vdev); 379 scsi_scan_host(virtio_scsi_host(vscsi->vdev)); 407 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); 521 struct Scsi_Host *shost = virtio_scsi_host(vscsi->vdev); 863 virtscsi_remove_vqs(struct virtio_device *vdev) argument 876 virtscsi_init(struct virtio_device *vdev, struct virtio_scsi *vscsi) argument 932 virtscsi_probe(struct virtio_device *vdev) argument 1015 virtscsi_remove(struct virtio_device *vdev) argument 1032 virtscsi_freeze(struct virtio_device *vdev) argument 1042 virtscsi_restore(struct virtio_device *vdev) argument [all...] |
/drivers/media/platform/ |
H A D | timblogiw.c | 159 struct video_device *vdev = video_devdata(file); local 160 struct timblogiw *lw = video_get_drvdata(vdev); 163 dev_dbg(&vdev->dev, "%s entry\n", __func__); 185 struct video_device *vdev = video_devdata(file); local 188 dev_dbg(&vdev->dev, 210 struct video_device *vdev = video_devdata(file); local 211 struct timblogiw *lw = video_get_drvdata(vdev); 223 dev_err(&vdev->dev, "%s queue busy\n", __func__); 239 struct video_device *vdev = video_devdata(file); local 241 dev_dbg(&vdev 255 struct video_device *vdev = video_devdata(file); local 287 struct video_device *vdev = video_devdata(file); local 298 struct video_device *vdev = video_devdata(file); local 308 struct video_device *vdev = video_devdata(file); local 319 struct video_device *vdev = video_devdata(file); local 329 struct video_device *vdev = video_devdata(file); local 340 struct video_device *vdev = video_devdata(file); local 363 struct video_device *vdev = video_devdata(file); local 386 struct video_device *vdev = video_devdata(file); local 397 struct video_device *vdev = video_devdata(file); local 408 struct video_device *vdev = video_devdata(file); local 425 struct video_device *vdev = video_devdata(file); local 438 struct video_device *vdev = video_devdata(file); local 455 struct video_device *vdev = video_devdata(file); local 610 struct video_device *vdev = video_devdata(file); local 693 struct video_device *vdev = video_devdata(file); local 715 struct video_device *vdev = video_devdata(file); local 727 struct video_device *vdev = video_devdata(file); local 737 struct video_device *vdev = video_devdata(file); local [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 162 struct video_device *vdev = s->vdev; local 164 /* we need to keep vdev, so restore it afterwards */ 166 s->vdev = vdev; 197 /* These four fields are always initialized. If vdev == NULL, then 200 s->vdev = NULL; 222 s->vdev = video_device_alloc(); 223 if (s->vdev == NULL) { 228 snprintf(s->vdev 360 struct video_device *vdev = itv->streams[type].vdev; local [all...] |
/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 116 ssize_t vfio_pci_bar_rw(struct vfio_pci_device *vdev, char __user *buf, argument 119 struct pci_dev *pdev = vdev->pdev; 147 } else if (!vdev->barmap[bar]) { 160 vdev->barmap[bar] = io; 162 io = vdev->barmap[bar]; 164 if (bar == vdev->msix_bar) { 165 x_start = vdev->msix_offset; 166 x_end = vdev->msix_offset + vdev->msix_size; 180 ssize_t vfio_pci_vga_rw(struct vfio_pci_device *vdev, cha argument [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.h | 28 void cx18_set_funcs(struct video_device *vdev);
|