Home
last modified time | relevance | path

Searched refs:vnic_dev (Results 1 – 25 of 47) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
Dvnic_dev.h78 struct vnic_dev { struct
98 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
104 void *vnic_dev_priv(struct vnic_dev *vdev);
105 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
107 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
110 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
112 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
114 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
116 void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index);
117 void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c26 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
31 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
120 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
127 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
178 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
206 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
216 static int _vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd()
284 static int _vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd2()
360 static int vnic_dev_init_devcmd1(struct vnic_dev *vdev) in vnic_dev_init_devcmd1()
370 static int vnic_dev_init_devcmd2(struct vnic_dev *vdev) in vnic_dev_init_devcmd2()
[all …]
Dvnic_wq.c58 struct vnic_dev *vdev; in vnic_wq_free()
75 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
104 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc()
166 struct vnic_dev *vdev = wq->vdev; in vnic_wq_disable()
Dvnic_cq.h47 struct vnic_dev *vdev;
61 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service()
101 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index,
Dvnic_wq.h69 struct vnic_dev *vdev;
166 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
176 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h37 struct vnic_dev *vdev;
90 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
Dvnic_rq.c55 struct vnic_dev *vdev; in vnic_rq_free()
72 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc()
146 struct vnic_dev *vdev = rq->vdev; in vnic_rq_disable()
Dvnic_rq.h74 struct vnic_dev *vdev;
195 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
DMakefile5 enic_res.o enic_dev.o enic_pp.o vnic_dev.o vnic_rq.o vnic_vic.o \
/drivers/scsi/fnic/
Dvnic_dev.h97 struct vnic_dev;
100 void *vnic_dev_priv(struct vnic_dev *vdev);
101 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
103 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
109 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
111 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
113 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
115 int vnic_dev_fw_info(struct vnic_dev *vdev,
117 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
119 int vnic_dev_stats_clear(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c42 struct vnic_dev { struct
61 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
70 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
75 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
149 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
155 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
206 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
234 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
245 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1()
307 static int vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd2()
[all …]
Dvnic_wq.c16 static int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
28 static int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
74 struct vnic_dev *vdev; in vnic_wq_free()
90 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
120 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
Dvnic_cq.h51 struct vnic_dev *vdev;
60 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service()
100 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index,
Dvnic_wq.h77 struct vnic_dev *vdev;
154 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
156 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h52 struct vnic_dev *vdev;
100 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
Dvnic_wq_copy.c59 struct vnic_dev *vdev; in vnic_wq_copy_free()
66 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq, in vnic_wq_copy_alloc()
Dvnic_wq_copy.h17 struct vnic_dev *vdev;
107 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq,
Dvnic_rq.c55 struct vnic_dev *vdev; in vnic_rq_free()
70 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc()
Dvnic_rq.h82 struct vnic_dev *vdev;
212 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
/drivers/scsi/snic/
Dvnic_dev.h53 struct vnic_dev;
56 void *svnic_dev_priv(struct vnic_dev *vdev);
57 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev,
59 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
65 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
67 void svnic_dev_free_desc_ring(struct vnic_dev *vdev,
69 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
71 int svnic_dev_fw_info(struct vnic_dev *vdev,
73 int svnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
75 int svnic_dev_stats_clear(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c36 struct vnic_dev { struct
54 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
63 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv()
68 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
151 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count()
157 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res()
209 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in svnic_dev_alloc_desc_ring()
236 void svnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in svnic_dev_free_desc_ring()
247 static int _svnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _svnic_dev_cmd2()
341 static int svnic_dev_init_devcmd2(struct vnic_dev *vdev) in svnic_dev_init_devcmd2()
[all …]
Dvnic_wq.c12 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
22 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
69 struct vnic_dev *vdev; in svnic_wq_free()
85 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
109 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in svnic_wq_alloc()
Dvnic_cq.h39 struct vnic_dev *vdev;
48 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in svnic_cq_service()
88 int svnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq,
Dvnic_wq.h62 struct vnic_dev *vdev;
139 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
141 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h35 struct vnic_dev *vdev;
84 int svnic_intr_alloc(struct vnic_dev *, struct vnic_intr *, unsigned int);

12