Searched refs:mlxsw_pci (Results 1 – 3 of 3) sorted by relevance
26 #define mlxsw_pci_write32(mlxsw_pci, reg, val) \ argument27 iowrite32be(val, (mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))28 #define mlxsw_pci_read32(mlxsw_pci, reg) \ argument29 ioread32be((mlxsw_pci)->hw_addr + (MLXSW_PCI_ ## reg))83 struct mlxsw_pci *pci;105 struct mlxsw_pci { struct142 static int mlxsw_pci_napi_devs_init(struct mlxsw_pci *mlxsw_pci) in mlxsw_pci_napi_devs_init() argument146 mlxsw_pci->napi_dev_tx = alloc_netdev_dummy(0); in mlxsw_pci_napi_devs_init()147 if (!mlxsw_pci->napi_dev_tx) in mlxsw_pci_napi_devs_init()149 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.