Home
last modified time | relevance | path

Searched refs:vdpa_dev (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/vdpa/ifcvf/
H A Difcvf_main.c158 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() argument
160 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter()
163 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() argument
165 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in vdpa_to_vf()
170 static u64 ifcvf_vdpa_get_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_features() argument
172 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_features()
180 static int ifcvf_vdpa_set_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_features() argument
182 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_features()
189 static u8 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_status() argument
191 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_status()
196 ifcvf_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) ifcvf_vdpa_set_status() argument
240 ifcvf_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vq_num_max() argument
245 ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_vq_state *state) ifcvf_vdpa_get_vq_state() argument
254 ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, const struct vdpa_vq_state *state) ifcvf_vdpa_set_vq_state() argument
262 ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb) ifcvf_vdpa_set_vq_cb() argument
270 ifcvf_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready) ifcvf_vdpa_set_vq_ready() argument
278 ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_get_vq_ready() argument
285 ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num) ifcvf_vdpa_set_vq_num() argument
293 ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, u64 desc_area, u64 driver_area, u64 device_area) ifcvf_vdpa_set_vq_address() argument
306 ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_kick_vq() argument
313 ifcvf_vdpa_get_generation(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_generation() argument
320 ifcvf_vdpa_get_device_id(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_device_id() argument
325 ifcvf_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vendor_id() argument
330 ifcvf_vdpa_get_vq_align(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vq_align() argument
335 ifcvf_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf, unsigned int len) ifcvf_vdpa_get_config() argument
345 ifcvf_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset, const void *buf, unsigned int len) ifcvf_vdpa_set_config() argument
355 ifcvf_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb) ifcvf_vdpa_set_config_cb() argument
364 ifcvf_vdpa_get_vq_irq(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_get_vq_irq() argument
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/pds/
H A Dvdpa_dev.c14 #include "vdpa_dev.h"
19 static u64 pds_vdpa_get_driver_features(struct vdpa_device *vdpa_dev);
21 static struct pds_vdpa_device *vdpa_to_pdsv(struct vdpa_device *vdpa_dev) in vdpa_to_pdsv() argument
23 return container_of(vdpa_dev, struct pds_vdpa_device, vdpa_dev); in vdpa_to_pdsv()
72 static int pds_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, in pds_vdpa_set_vq_address() argument
75 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_address()
84 static void pds_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num) in pds_vdpa_set_vq_num() argument
86 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_num()
91 static void pds_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u1 argument
98 pds_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb) pds_vdpa_set_vq_cb() argument
126 pds_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready) pds_vdpa_set_vq_ready() argument
164 pds_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) pds_vdpa_get_vq_ready() argument
171 pds_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, const struct vdpa_vq_state *state) pds_vdpa_set_vq_state() argument
221 pds_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_vq_state *state) pds_vdpa_get_vq_state() argument
257 pds_vdpa_get_vq_notification(struct vdpa_device *vdpa_dev, u16 qid) pds_vdpa_get_vq_notification() argument
274 pds_vdpa_get_vq_irq(struct vdpa_device *vdpa_dev, u16 qid) pds_vdpa_get_vq_irq() argument
281 pds_vdpa_get_vq_align(struct vdpa_device *vdpa_dev) pds_vdpa_get_vq_align() argument
286 pds_vdpa_get_vq_group(struct vdpa_device *vdpa_dev, u16 idx) pds_vdpa_get_vq_group() argument
291 pds_vdpa_get_device_features(struct vdpa_device *vdpa_dev) pds_vdpa_get_device_features() argument
298 pds_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) pds_vdpa_set_driver_features() argument
339 pds_vdpa_get_driver_features(struct vdpa_device *vdpa_dev) pds_vdpa_get_driver_features() argument
346 pds_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb) pds_vdpa_set_config_cb() argument
355 pds_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) pds_vdpa_get_vq_num_max() argument
363 pds_vdpa_get_device_id(struct vdpa_device *vdpa_dev) pds_vdpa_get_device_id() argument
368 pds_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev) pds_vdpa_get_vendor_id() argument
373 pds_vdpa_get_status(struct vdpa_device *vdpa_dev) pds_vdpa_get_status() argument
446 pds_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) pds_vdpa_set_status() argument
500 pds_vdpa_reset(struct vdpa_device *vdpa_dev) pds_vdpa_reset() argument
535 pds_vdpa_get_config_size(struct vdpa_device *vdpa_dev) pds_vdpa_get_config_size() argument
540 pds_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf, unsigned int len) pds_vdpa_get_config() argument
556 pds_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset, const void *buf, unsigned int len) pds_vdpa_set_config() argument
753 pds_vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *vdpa_dev) pds_vdpa_dev_del() argument
[all...]
H A DMakefile9 vdpa_dev.o
H A Dvdpa_dev.h34 struct vdpa_device vdpa_dev; member
/kernel/linux/linux-6.6/drivers/vdpa/ifcvf/
H A Difcvf_main.c352 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() argument
354 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter()
357 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() argument
359 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in vdpa_to_vf()
364 static u64 ifcvf_vdpa_get_device_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_device_features() argument
366 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in ifcvf_vdpa_get_device_features()
367 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_device_features()
382 static int ifcvf_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_driver_features() argument
384 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_driver_features()
396 static u64 ifcvf_vdpa_get_driver_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_driver_features() argument
406 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_status() argument
413 ifcvf_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) ifcvf_vdpa_set_status() argument
437 ifcvf_vdpa_reset(struct vdpa_device *vdpa_dev) ifcvf_vdpa_reset() argument
452 ifcvf_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vq_num_max() argument
459 ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_vq_state *state) ifcvf_vdpa_get_vq_state() argument
468 ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, const struct vdpa_vq_state *state) ifcvf_vdpa_set_vq_state() argument
476 ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb) ifcvf_vdpa_set_vq_cb() argument
484 ifcvf_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready) ifcvf_vdpa_set_vq_ready() argument
492 ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_get_vq_ready() argument
499 ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num) ifcvf_vdpa_set_vq_num() argument
507 ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, u64 desc_area, u64 driver_area, u64 device_area) ifcvf_vdpa_set_vq_address() argument
516 ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_kick_vq() argument
523 ifcvf_vdpa_get_generation(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_generation() argument
530 ifcvf_vdpa_get_device_id(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_device_id() argument
537 ifcvf_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vendor_id() argument
545 ifcvf_vdpa_get_vq_align(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_vq_align() argument
550 ifcvf_vdpa_get_config_size(struct vdpa_device *vdpa_dev) ifcvf_vdpa_get_config_size() argument
562 ifcvf_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf, unsigned int len) ifcvf_vdpa_get_config() argument
571 ifcvf_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset, const void *buf, unsigned int len) ifcvf_vdpa_set_config() argument
580 ifcvf_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb) ifcvf_vdpa_set_config_cb() argument
589 ifcvf_vdpa_get_vq_irq(struct vdpa_device *vdpa_dev, u16 qid) ifcvf_vdpa_get_vq_irq() argument
600 ifcvf_get_vq_notification(struct vdpa_device *vdpa_dev, u16 idx) ifcvf_get_vq_notification() argument
683 struct vdpa_device *vdpa_dev; ifcvf_vdpa_dev_add() local
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/
H A Dvdpa.c116 __ATTRIBUTE_GROUPS(vdpa_dev); variable

Completed in 6 milliseconds