Searched refs:phv (Results 1 – 4 of 4) sorted by relevance
54 struct pscsi_hba_virt *phv; in pscsi_attach_hba() local56 phv = kzalloc(sizeof(struct pscsi_hba_virt), GFP_KERNEL); in pscsi_attach_hba()57 if (!phv) { in pscsi_attach_hba()61 phv->phv_host_id = host_id; in pscsi_attach_hba()62 phv->phv_mode = PHV_VIRTUAL_HOST_ID; in pscsi_attach_hba()64 hba->hba_ptr = phv; in pscsi_attach_hba()77 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_detach_hba() local78 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba()91 kfree(phv); in pscsi_detach_hba()97 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_pmode_enable_hba() local[all …]
3362 int phv; in mlx4_en_init_netdev() local3364 err = get_phv_bit(mdev->dev, port, &phv); in mlx4_en_init_netdev()3365 if (!err && phv) { in mlx4_en_init_netdev()
3049 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv) in get_phv_bit() argument3057 *phv = func_cap.flags0 & QUERY_FUNC_CAP_PHV_BIT; in get_phv_bit()
1394 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv);