Searched refs:dev0 (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag.c | 144 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_modify_lag() local 156 mlx5_core_info(dev0, "modify lag map port 1:%d port 2:%d", in mlx5_modify_lag() 160 err = mlx5_cmd_modify_lag(dev0, v2p_port1, v2p_port2); in mlx5_modify_lag() 162 mlx5_core_err(dev0, in mlx5_modify_lag() 171 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_create_lag() local 177 mlx5_core_info(dev0, "lag map port 1:%d port 2:%d", in mlx5_create_lag() 180 err = mlx5_cmd_create_lag(dev0, ldev->v2p_map[MLX5_LAG_P1], in mlx5_create_lag() 183 mlx5_core_err(dev0, in mlx5_create_lag() 194 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_activate_lag() local 200 mlx5_core_err(dev0, in mlx5_activate_lag() [all …]
|
D | eswitch.h | 465 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, 467 bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0, 676 static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { re… in mlx5_esw_lag_prereq() argument
|
D | eswitch.c | 2466 bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) in mlx5_esw_lag_prereq() argument 2468 if ((dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_esw_lag_prereq() 2470 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq() 2477 bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0, in mlx5_esw_multipath_prereq() argument 2480 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
|
/drivers/nfc/ |
D | nfcsim.c | 433 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/ |
D | config.c | 219 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/ide/ |
D | ide-probe.c | 653 ide_drive_t *dev0 = dev1->hwif->devices[0]; in ide_undecoded_slave() local 655 if ((dev1->dn & 1) == 0 || (dev0->dev_flags & IDE_DFLAG_PRESENT) == 0) in ide_undecoded_slave() 659 if (strcmp((char *)&dev0->id[ATA_ID_PROD], in ide_undecoded_slave() 664 if (strncmp((char *)&dev0->id[ATA_ID_SERNO], in ide_undecoded_slave() 669 if (*(char *)&dev0->id[ATA_ID_SERNO] == 0) in ide_undecoded_slave()
|
/drivers/ata/ |
D | pata_ep93xx.c | 553 unsigned int dev0 = devmask & (1 << 0); in ep93xx_pata_wait_after_reset() local 605 if (dev0) in ep93xx_pata_wait_after_reset()
|
D | libata-sff.c | 1899 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/ |
D | overview.txt | 151 vbus2:dev0 -> ../../../devices/visorbus2/vbus2:dev0
|
/drivers/net/ethernet/marvell/ |
D | skge.c | 4017 struct net_device *dev0, *dev1; in skge_remove() local 4025 dev0 = hw->dev[0]; in skge_remove() 4026 unregister_netdev(dev0); in skge_remove() 4048 free_netdev(dev0); in skge_remove()
|