Searched refs:pf_dev (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 371 struct net_device *pf_dev = bp->dev; in bnxt_vf_rep_netdev_init() local 379 dev->hw_features = pf_dev->hw_features; in bnxt_vf_rep_netdev_init() 380 dev->gso_partial_features = pf_dev->gso_partial_features; in bnxt_vf_rep_netdev_init() 381 dev->vlan_features = pf_dev->vlan_features; in bnxt_vf_rep_netdev_init() 382 dev->hw_enc_features = pf_dev->hw_enc_features; in bnxt_vf_rep_netdev_init() 383 dev->features |= pf_dev->features; in bnxt_vf_rep_netdev_init()
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_virtchnl.c | 346 ret_code = i40iw_pf_init_vfhmc(vf_dev->pf_dev, (u8)vf_dev->pmf_index, NULL); in pf_add_hmc_obj_callback() 361 i40iw_debug(vf_dev->pf_dev, I40IW_DEBUG_VIRT, in pf_add_hmc_obj_callback() 364 ret_code = i40iw_sc_create_hmc_obj(vf_dev->pf_dev, &info); in pf_add_hmc_obj_callback() 369 vchnl_pf_send_error_resp(vf_dev->pf_dev, vf_dev->vf_id, vchnl_msg, (u16)ret_code); in pf_add_hmc_obj_callback() 396 i40iw_debug(vf_dev->pf_dev, I40IW_DEBUG_VIRT, in pf_del_hmc_obj_callback() 399 ret_code = i40iw_sc_del_hmc_obj(vf_dev->pf_dev, &info, false); in pf_del_hmc_obj_callback() 402 vchnl_pf_send_error_resp(vf_dev->pf_dev, vf_dev->vf_id, vchnl_msg, (u16)ret_code); in pf_del_hmc_obj_callback() 479 vf_dev->pf_dev = dev; in i40iw_vchnl_recv_pf()
|
D | i40iw_utils.c | 1471 struct i40iw_sc_dev *pf_dev = sc_vsi->dev; in i40iw_hw_stats_timeout() local 1481 if (pf_dev->vf_dev[iw_vf_idx]) { in i40iw_hw_stats_timeout() 1482 if (pf_dev->vf_dev[iw_vf_idx]->stats_initialized) { in i40iw_hw_stats_timeout() 1483 vf_devstat = &pf_dev->vf_dev[iw_vf_idx]->pestat; in i40iw_hw_stats_timeout()
|
D | i40iw_type.h | 442 struct i40iw_sc_dev *pf_dev; member
|
/drivers/vfio/pci/ |
D | vfio_pci.c | 521 struct vfio_device **pf_dev) in get_pf_vdev() argument 528 *pf_dev = vfio_device_get_from_dev(&physfn->dev); in get_pf_vdev() 529 if (!*pf_dev) in get_pf_vdev() 533 vfio_device_put(*pf_dev); in get_pf_vdev() 537 return vfio_device_data(*pf_dev); in get_pf_vdev() 542 struct vfio_device *pf_dev; in vfio_pci_vf_token_user_add() local 543 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_vf_token_user_add() 553 vfio_device_put(pf_dev); in vfio_pci_vf_token_user_add() 1787 struct vfio_device *pf_dev; in vfio_pci_validate_vf_token() local 1788 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_validate_vf_token() [all …]
|