dev0 1884 drivers/ata/libata-sff.c unsigned int dev0 = devmask & (1 << 0); dev0 1932 drivers/ata/libata-sff.c if (dev0) dev0 553 drivers/ata/pata_ep93xx.c unsigned int dev0 = devmask & (1 << 0); dev0 605 drivers/ata/pata_ep93xx.c if (dev0) dev0 653 drivers/ide/ide-probe.c ide_drive_t *dev0 = dev1->hwif->devices[0]; dev0 655 drivers/ide/ide-probe.c if ((dev1->dn & 1) == 0 || (dev0->dev_flags & IDE_DFLAG_PRESENT) == 0) dev0 659 drivers/ide/ide-probe.c if (strcmp((char *)&dev0->id[ATA_ID_PROD], dev0 664 drivers/ide/ide-probe.c if (strncmp((char *)&dev0->id[ATA_ID_SERNO], dev0 669 drivers/ide/ide-probe.c if (*(char *)&dev0->id[ATA_ID_SERNO] == 0) dev0 4020 drivers/net/ethernet/marvell/skge.c struct net_device *dev0, *dev1; dev0 4028 drivers/net/ethernet/marvell/skge.c dev0 = hw->dev[0]; dev0 4029 drivers/net/ethernet/marvell/skge.c unregister_netdev(dev0); dev0 4051 drivers/net/ethernet/marvell/skge.c free_netdev(dev0); dev0 2590 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) dev0 2592 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if ((dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && dev0 2594 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && dev0 2601 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0, dev0 2604 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && dev0 437 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, dev0 439 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0, dev0 607 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h static inline bool mlx5_esw_lag_prereq(struct mlx5_core_dev *dev0, struct mlx5_core_dev *dev1) { return true; } dev0 162 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev0 = ldev->pf[0].dev; dev0 174 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_info(dev0, "modify lag map port 1:%d port 2:%d", dev0 177 drivers/net/ethernet/mellanox/mlx5/core/lag.c err = mlx5_cmd_modify_lag(dev0, v2p_port1, v2p_port2); dev0 179 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 188 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev0 = ldev->pf[0].dev; dev0 194 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_info(dev0, "lag map port 1:%d port 2:%d", dev0 197 drivers/net/ethernet/mellanox/mlx5/core/lag.c err = mlx5_cmd_create_lag(dev0, ldev->v2p_map[0], ldev->v2p_map[1]); dev0 199 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 210 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev0 = ldev->pf[0].dev; dev0 216 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 219 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 232 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev0 = ldev->pf[0].dev; dev0 238 drivers/net/ethernet/mellanox/mlx5/core/lag.c err = mlx5_cmd_destroy_lag(dev0); dev0 241 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 244 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_core_err(dev0, dev0 288 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct mlx5_core_dev *dev0 = ldev->pf[0].dev; dev0 294 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (!dev0 || !dev1) dev0 304 drivers/net/ethernet/mellanox/mlx5/core/lag.c roce_lag = !mlx5_sriov_is_enabled(dev0) && dev0 308 drivers/net/ethernet/mellanox/mlx5/core/lag.c roce_lag &= dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && dev0 326 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_add_dev_by_protocol(dev0, MLX5_INTERFACE_PROTOCOL_IB); dev0 335 drivers/net/ethernet/mellanox/mlx5/core/lag.c mlx5_remove_dev_by_protocol(dev0, MLX5_INTERFACE_PROTOCOL_IB); dev0 438 drivers/nfc/nfcsim.c static struct nfcsim *dev0; dev0 455 drivers/nfc/nfcsim.c dev0 = nfcsim_device_new(link0, link1); dev0 456 drivers/nfc/nfcsim.c if (IS_ERR(dev0)) { dev0 457 drivers/nfc/nfcsim.c rc = PTR_ERR(dev0); dev0 463 drivers/nfc/nfcsim.c nfcsim_device_free(dev0); dev0 488 drivers/nfc/nfcsim.c link0 = dev0->link_in; dev0 489 drivers/nfc/nfcsim.c link1 = dev0->link_out; dev0 491 drivers/nfc/nfcsim.c nfcsim_device_free(dev0);