Home
last modified time | relevance | path

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

/drivers/target/
Dtarget_core_pscsi.c52 struct pscsi_hba_virt *phv; in pscsi_attach_hba() local
54 phv = kzalloc(sizeof(struct pscsi_hba_virt), GFP_KERNEL); in pscsi_attach_hba()
55 if (!phv) { in pscsi_attach_hba()
59 phv->phv_host_id = host_id; in pscsi_attach_hba()
60 phv->phv_mode = PHV_VIRTUAL_HOST_ID; in pscsi_attach_hba()
62 hba->hba_ptr = phv; in pscsi_attach_hba()
75 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_detach_hba() local
76 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba()
89 kfree(phv); in pscsi_detach_hba()
95 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_pmode_enable_hba() local
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3368 int phv; in mlx4_en_init_netdev() local
3370 err = get_phv_bit(mdev->dev, port, &phv); in mlx4_en_init_netdev()
3371 if (!err && phv) { in mlx4_en_init_netdev()
Dfw.c3049 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv) in get_phv_bit() argument
3057 *phv = func_cap.flags0 & QUERY_FUNC_CAP_PHV_BIT; in get_phv_bit()