Searched refs:rdl (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/host/ |
D | ehci-orion.c | 25 #define rdl(off) readl_relaxed(hcd->regs + (off)) macro 87 wrl(USB_CMD, rdl(USB_CMD) | USB_CMD_RESET); in orion_usb_phy_v1_setup() 88 while (rdl(USB_CMD) & USB_CMD_RESET); in orion_usb_phy_v1_setup() 94 wrl(USB_IPG, (rdl(USB_IPG) & ~0x7f00) | 0xc00); in orion_usb_phy_v1_setup() 100 wrl(USB_PHY_PWR_CTRL, (rdl(USB_PHY_PWR_CTRL) & ~0xc0)| 0x40); in orion_usb_phy_v1_setup() 106 wrl(USB_PHY_TX_CTRL, (rdl(USB_PHY_TX_CTRL) & ~0x78) | 0x202040); in orion_usb_phy_v1_setup() 113 wrl(USB_PHY_RX_CTRL, (rdl(USB_PHY_RX_CTRL) & ~0xc2003f0) | 0xc0000010); in orion_usb_phy_v1_setup() 119 wrl(USB_PHY_IVREF_CTRL, (rdl(USB_PHY_IVREF_CTRL) & ~0x80003 ) | 0x32); in orion_usb_phy_v1_setup() 125 wrl(USB_PHY_TST_GRP_CTRL, rdl(USB_PHY_TST_GRP_CTRL) & ~0x8000); in orion_usb_phy_v1_setup() 130 wrl(USB_CMD, rdl(USB_CMD) & ~USB_CMD_RUN); in orion_usb_phy_v1_setup() [all …]
|
/drivers/net/ethernet/marvell/ |
D | pxa168_eth.c | 273 static inline u32 rdl(struct pxa168_eth_private *pep, int offset) in rdl() function 293 while ((rdl(pep, SDMA_CMD) & (SDMA_CMD_AR | SDMA_CMD_AT)) in abort_dma() 567 val = rdl(pep, PORT_CONFIG); in pxa168_eth_set_rx_mode() 589 unsigned int mac_h = rdl(pep, MAC_ADDR_HIGH); in pxa168_eth_get_mac_address() 590 unsigned int mac_l = rdl(pep, MAC_ADDR_LOW); in pxa168_eth_get_mac_address() 654 val = rdl(pep, PORT_CONFIG); in eth_port_start() 659 val = rdl(pep, SDMA_CMD); in eth_port_start() 676 val = rdl(pep, SDMA_CMD); in eth_port_reset() 685 val = rdl(pep, PORT_CONFIG); in eth_port_reset() 846 icr = rdl(pep, INT_CAUSE); in pxa168_eth_collect_events() [all …]
|
D | mv643xx_eth.c | 418 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl() function 1277 return rdl(mp, MIB_COUNTERS(mp->port_num) + offset); in mib_read() 2912 data = rdl(mp, PHY_ADDR); in phy_addr_set() 2922 data = rdl(mp, PHY_ADDR); in phy_addr_get()
|
/drivers/net/ethernet/cirrus/ |
D | ep93xx_eth.c | 179 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) macro 193 if ((rdl(ep, REG_MIISTS) & REG_MIISTS_BUSY) == 0) in ep93xx_mdio_read() 202 data = rdl(ep, REG_MIIDATA); in ep93xx_mdio_read() 217 if ((rdl(ep, REG_MIISTS) & REG_MIISTS_BUSY) == 0) in ep93xx_mdio_write() 425 status = rdl(ep, REG_INTSTSC); in ep93xx_irq() 539 if ((rdl(ep, REG_SELFCTL) & REG_SELFCTL_RESET) == 0) in ep93xx_start_hw() 584 if ((rdl(ep, REG_BMSTS) & REG_BMSTS_RX_ACTIVE) != 0) in ep93xx_start_hw() 620 if ((rdl(ep, REG_SELFCTL) & REG_SELFCTL_RESET) == 0) in ep93xx_stop_hw()
|