Searched refs:mlxsw_pci (Results 1 – 3 of 3) sorted by relevance
25 #define mlxsw_pci_write32(mlxsw_pci, reg, val) \ argument26 iowrite32be(val, (mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))27 #define mlxsw_pci_read32(mlxsw_pci, reg) \ argument28 ioread32be((mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))82 struct mlxsw_pci *pci;104 struct mlxsw_pci { struct141 static int mlxsw_pci_napi_devs_init(struct mlxsw_pci *mlxsw_pci) in mlxsw_pci_napi_devs_init() argument145 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 …]
8 obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o9 mlxsw_pci-objs := pci.o
42 module will be called mlxsw_pci.