Lines Matching defs:device
58 static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address)
72 bcma_pcie_mdio_set_phy(pc, device);
77 v = (device << BCMA_CORE_PCI_MDIODATA_DEVADDR_SHF_OLD);
86 /* Wait for the device to complete the transaction */
101 static void bcma_pcie_mdio_write(struct bcma_drv_pci *pc, u16 device,
115 bcma_pcie_mdio_set_phy(pc, device);
120 v = (device << BCMA_CORE_PCI_MDIODATA_DEVADDR_SHF_OLD);
129 /* Wait for the device to complete the transaction */
140 static u16 bcma_pcie_mdio_writeread(struct bcma_drv_pci *pc, u16 device,
143 bcma_pcie_mdio_write(pc, device, address, data);
144 return bcma_pcie_mdio_read(pc, device, address);