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.h91 struct vnic_dev { struct
111 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
117 void *vnic_dev_priv(struct vnic_dev *vdev);
118 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
120 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
123 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
125 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
127 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
129 void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index);
130 void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c39 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
44 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
133 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
140 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
191 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
219 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
229 static int _vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd()
297 static int _vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd2()
373 static int vnic_dev_init_devcmd1(struct vnic_dev *vdev) in vnic_dev_init_devcmd1()
383 static int vnic_dev_init_devcmd2(struct vnic_dev *vdev) in vnic_dev_init_devcmd2()
[all …]
Dvnic_cq.h60 struct vnic_dev *vdev;
74 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service()
114 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index,
Dvnic_wq.c71 struct vnic_dev *vdev; in vnic_wq_free()
88 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
117 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc()
179 struct vnic_dev *vdev = wq->vdev; in vnic_wq_disable()
Dvnic_wq.h82 struct vnic_dev *vdev;
179 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
189 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h50 struct vnic_dev *vdev;
103 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
Dvnic_rq.c68 struct vnic_dev *vdev; in vnic_rq_free()
85 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc()
159 struct vnic_dev *vdev = rq->vdev; in vnic_rq_disable()
Dvnic_rq.h87 struct vnic_dev *vdev;
208 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.h109 struct vnic_dev;
112 void *vnic_dev_priv(struct vnic_dev *vdev);
113 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
115 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
121 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
123 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
125 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
127 int vnic_dev_fw_info(struct vnic_dev *vdev,
129 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
131 int vnic_dev_stats_clear(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c54 struct vnic_dev { struct
73 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
82 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
87 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
161 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
167 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
218 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
246 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
257 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1()
319 static int vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd2()
[all …]
Dvnic_wq.c28 static int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
40 static int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
86 struct vnic_dev *vdev; in vnic_wq_free()
102 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
132 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
Dvnic_cq.h63 struct vnic_dev *vdev;
72 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service()
112 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index,
Dvnic_wq.h89 struct vnic_dev *vdev;
166 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
168 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h64 struct vnic_dev *vdev;
112 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
Dvnic_wq_copy.h29 struct vnic_dev *vdev;
119 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq,
Dvnic_wq_copy.c71 struct vnic_dev *vdev; in vnic_wq_copy_free()
78 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq, in vnic_wq_copy_alloc()
Dvnic_rq.c67 struct vnic_dev *vdev; in vnic_rq_free()
82 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc()
Dvnic_rq.h94 struct vnic_dev *vdev;
224 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
/drivers/scsi/snic/
Dvnic_dev.h67 struct vnic_dev;
70 void *svnic_dev_priv(struct vnic_dev *vdev);
71 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev,
73 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
79 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
81 void svnic_dev_free_desc_ring(struct vnic_dev *vdev,
83 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
85 int svnic_dev_fw_info(struct vnic_dev *vdev,
87 int svnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
89 int svnic_dev_stats_clear(struct vnic_dev *vdev);
[all …]
Dvnic_dev.c50 struct vnic_dev { struct
68 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
77 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv()
82 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
165 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count()
171 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res()
223 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in svnic_dev_alloc_desc_ring()
250 void svnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in svnic_dev_free_desc_ring()
261 static int _svnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _svnic_dev_cmd2()
355 static int svnic_dev_init_devcmd2(struct vnic_dev *vdev) in svnic_dev_init_devcmd2()
[all …]
Dvnic_wq.c26 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
36 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
83 struct vnic_dev *vdev; in svnic_wq_free()
99 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
123 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in svnic_wq_alloc()
Dvnic_cq.h53 struct vnic_dev *vdev;
62 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in svnic_cq_service()
102 int svnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq,
Dvnic_wq.h76 struct vnic_dev *vdev;
153 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
155 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
Dvnic_intr.h49 struct vnic_dev *vdev;
98 int svnic_intr_alloc(struct vnic_dev *, struct vnic_intr *, unsigned int);

12