Searched refs:phv (Results 1 – 4 of 4) sorted by relevance
51 struct pscsi_hba_virt *phv; in pscsi_attach_hba() local53 phv = kzalloc(sizeof(struct pscsi_hba_virt), GFP_KERNEL); in pscsi_attach_hba()54 if (!phv) { in pscsi_attach_hba()58 phv->phv_host_id = host_id; in pscsi_attach_hba()59 phv->phv_mode = PHV_VIRTUAL_HOST_ID; in pscsi_attach_hba()61 hba->hba_ptr = phv; in pscsi_attach_hba()74 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_detach_hba() local75 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba()88 kfree(phv); in pscsi_detach_hba()94 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_pmode_enable_hba() local[all …]
3308 int phv; in mlx4_en_init_netdev() local3310 err = get_phv_bit(mdev->dev, port, &phv); in mlx4_en_init_netdev()3311 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()
1413 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv);