Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/target/
Dtarget_core_pscsi.c51 struct pscsi_hba_virt *phv; in pscsi_attach_hba() local
53 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() local
75 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 …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3308 int phv; in mlx4_en_init_netdev() local
3310 err = get_phv_bit(mdev->dev, port, &phv); in mlx4_en_init_netdev()
3311 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()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h1413 int get_phv_bit(struct mlx4_dev *dev, u8 port, int *phv);