Home
last modified time | relevance | path

Searched refs:dev0 (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c205 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_modify_lag() local
217 mlx5_core_info(dev0, "modify lag map port 1:%d port 2:%d", in mlx5_modify_lag()
221 err = mlx5_cmd_modify_lag(dev0, v2p_port1, v2p_port2); in mlx5_modify_lag()
223 mlx5_core_err(dev0, in mlx5_modify_lag()
233 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_create_lag() local
241 mlx5_core_info(dev0, "lag map port 1:%d port 2:%d shared_fdb:%d", in mlx5_create_lag()
245 err = mlx5_cmd_create_lag(dev0, ldev->v2p_map[MLX5_LAG_P1], in mlx5_create_lag()
248 mlx5_core_err(dev0, in mlx5_create_lag()
255 err = mlx5_eswitch_offloads_config_single_fdb(dev0->priv.eswitch, in mlx5_create_lag()
258 mlx5_core_err(dev0, "Can't enable single FDB mode\n"); in mlx5_create_lag()
[all …]
Deswitch.h527 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0,
529 bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0,
733 static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { re… in mlx5_esw_lag_prereq() argument
Deswitch.c1982 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) in mlx5_esw_lag_prereq() argument
1984 if ((dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_esw_lag_prereq()
1986 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()
1993 bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0, in mlx5_esw_multipath_prereq() argument
1996 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
/drivers/nfc/
Dnfcsim.c433 static struct nfcsim *dev0; variable
450 dev0 = nfcsim_device_new(link0, link1); in nfcsim_init()
451 if (IS_ERR(dev0)) { in nfcsim_init()
452 rc = PTR_ERR(dev0); in nfcsim_init()
458 nfcsim_device_free(dev0); in nfcsim_init()
483 link0 = dev0->link_in; in nfcsim_exit()
484 link1 = dev0->link_out; in nfcsim_exit()
486 nfcsim_device_free(dev0); in nfcsim_exit()
/drivers/misc/ocxl/
Dconfig.c219 static int get_dvsec_vendor0(struct pci_dev *dev, struct pci_dev **dev0, in get_dvsec_vendor0() argument
236 *dev0 = dev; in get_dvsec_vendor0()
243 struct pci_dev *dev0; in ocxl_config_get_reset_reload() local
247 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_get_reset_reload()
250 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_get_reset_reload()
252 pci_dev_put(dev0); in ocxl_config_get_reset_reload()
259 struct pci_dev *dev0; in ocxl_config_set_reset_reload() local
263 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_set_reset_reload()
266 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
272 pci_write_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
[all …]
/drivers/ata/
Dpata_ep93xx.c553 unsigned int dev0 = devmask & (1 << 0); in ep93xx_pata_wait_after_reset() local
605 if (dev0) in ep93xx_pata_wait_after_reset()
Dlibata-sff.c1899 unsigned int dev0 = devmask & (1 << 0); in ata_sff_wait_after_reset() local
1947 if (dev0) in ata_sff_wait_after_reset()
/drivers/staging/unisys/Documentation/
Doverview.txt151 vbus2:dev0 -> ../../../devices/visorbus2/vbus2:dev0
/drivers/net/ethernet/marvell/
Dskge.c4021 struct net_device *dev0, *dev1; in skge_remove() local
4029 dev0 = hw->dev[0]; in skge_remove()
4030 unregister_netdev(dev0); in skge_remove()
4052 free_netdev(dev0); in skge_remove()