Home
last modified time | relevance | path

Searched refs:config_cb (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/vdpa/alibaba/
Deni_vdpa.c42 struct vdpa_callback config_cb; member
153 if (eni_vdpa->config_cb.callback) in eni_vdpa_config_handler()
154 return eni_vdpa->config_cb.callback(eni_vdpa->config_cb.private); in eni_vdpa_config_handler()
407 eni_vdpa->config_cb = *cb; in eni_vdpa_set_config_cb()
/linux-5.19.10/drivers/vdpa/virtio_pci/
Dvp_vdpa.c37 struct vdpa_callback config_cb; member
149 if (vp_vdpa->config_cb.callback) in vp_vdpa_config_handler()
150 return vp_vdpa->config_cb.callback(vp_vdpa->config_cb.private); in vp_vdpa_config_handler()
419 vp_vdpa->config_cb = *cb; in vp_vdpa_set_config_cb()
/linux-5.19.10/drivers/vdpa/ifcvf/
Difcvf_main.c24 if (vf->config_cb.callback) in ifcvf_config_changed()
25 return vf->config_cb.callback(vf->config_cb.private); in ifcvf_config_changed()
657 vf->config_cb.callback = cb->callback; in ifcvf_vdpa_set_config_cb()
658 vf->config_cb.private = cb->private; in ifcvf_vdpa_set_config_cb()
Difcvf_base.h86 struct vdpa_callback config_cb; member
Difcvf_base.c182 hw->config_cb.callback = NULL; in ifcvf_reset()
183 hw->config_cb.private = NULL; in ifcvf_reset()
/linux-5.19.10/drivers/vdpa/vdpa_user/
Dvduse_dev.c80 struct vdpa_callback config_cb; member
420 dev->config_cb.callback = NULL; in vduse_dev_reset()
421 dev->config_cb.private = NULL; in vduse_dev_reset()
604 dev->config_cb.callback = cb->callback; in vduse_vdpa_set_config_cb()
605 dev->config_cb.private = cb->private; in vduse_vdpa_set_config_cb()
887 if (dev->config_cb.callback) in vduse_dev_irq_inject()
888 dev->config_cb.callback(dev->config_cb.private); in vduse_dev_irq_inject()
/linux-5.19.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c168 struct vdpa_callback config_cb; member
2258 ndev->config_cb = *cb; in mlx5_vdpa_set_config_cb()
2888 if (ndev->config_cb.callback) in update_carrier()
2889 ndev->config_cb.callback(ndev->config_cb.private); in update_carrier()