Home
last modified time | relevance | path

Searched refs:phv (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/target/
Dtarget_core_pscsi.c67 struct pscsi_hba_virt *phv; in pscsi_attach_hba() local
69 phv = kzalloc(sizeof(struct pscsi_hba_virt), GFP_KERNEL); in pscsi_attach_hba()
70 if (!phv) { in pscsi_attach_hba()
74 phv->phv_host_id = host_id; in pscsi_attach_hba()
75 phv->phv_mode = PHV_VIRTUAL_HOST_ID; in pscsi_attach_hba()
77 hba->hba_ptr = phv; in pscsi_attach_hba()
90 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_detach_hba() local
91 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba()
104 kfree(phv); in pscsi_detach_hba()
110 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_pmode_enable_hba() local
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2980 int phv; in mlx4_en_init_netdev() local
2982 err = get_phv_bit(mdev->dev, port, &phv); in mlx4_en_init_netdev()
2983 if (!err && phv) { in mlx4_en_init_netdev()
Dfw.c2818 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv) in get_phv_bit() argument
2826 *phv = func_cap.flags & QUERY_FUNC_CAP_PHV_BIT; in get_phv_bit()
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1354 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv);