Home
last modified time | relevance | path

Searched refs:mlxsw_pci (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c25 #define mlxsw_pci_write32(mlxsw_pci, reg, val) \ argument
26 iowrite32be(val, (mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))
27 #define mlxsw_pci_read32(mlxsw_pci, reg) \ argument
28 ioread32be((mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))
82 struct mlxsw_pci *pci;
104 struct mlxsw_pci { struct
141 static int mlxsw_pci_napi_devs_init(struct mlxsw_pci *mlxsw_pci) in mlxsw_pci_napi_devs_init() argument
145 mlxsw_pci->napi_dev_tx = alloc_netdev_dummy(0); in mlxsw_pci_napi_devs_init()
146 if (!mlxsw_pci->napi_dev_tx) in mlxsw_pci_napi_devs_init()
148 strscpy(mlxsw_pci->napi_dev_tx->name, "mlxsw_tx", in mlxsw_pci_napi_devs_init()
[all …]
DMakefile8 obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o
9 mlxsw_pci-objs := pci.o
DKconfig42 module will be called mlxsw_pci.