Home
last modified time | relevance | path

Searched refs:wrl (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/usb/host/
Dehci-orion.c26 #define wrl(off, val) writel_relaxed((val), hcd->regs + (off)) macro
79 wrl(USB_CAUSE, 0); in orion_usb_phy_v1_setup()
80 wrl(USB_MASK, 0); in orion_usb_phy_v1_setup()
85 wrl(USB_CMD, rdl(USB_CMD) | USB_CMD_RESET); in orion_usb_phy_v1_setup()
92 wrl(USB_IPG, (rdl(USB_IPG) & ~0x7f00) | 0xc00); in orion_usb_phy_v1_setup()
98 wrl(USB_PHY_PWR_CTRL, (rdl(USB_PHY_PWR_CTRL) & ~0xc0)| 0x40); in orion_usb_phy_v1_setup()
104 wrl(USB_PHY_TX_CTRL, (rdl(USB_PHY_TX_CTRL) & ~0x78) | 0x202040); in orion_usb_phy_v1_setup()
111 wrl(USB_PHY_RX_CTRL, (rdl(USB_PHY_RX_CTRL) & ~0xc2003f0) | 0xc0000010); in orion_usb_phy_v1_setup()
117 wrl(USB_PHY_IVREF_CTRL, (rdl(USB_PHY_IVREF_CTRL) & ~0x80003 ) | 0x32); in orion_usb_phy_v1_setup()
123 wrl(USB_PHY_TST_GRP_CTRL, rdl(USB_PHY_TST_GRP_CTRL) & ~0x8000); in orion_usb_phy_v1_setup()
[all …]
/linux-6.1.9/drivers/net/ethernet/cirrus/
Dep93xx_eth.c182 #define wrl(ep, off, val) __raw_writel((val), (ep)->base_addr + (off)) macro
190 wrl(ep, REG_MIICMD, REG_MIICMD_READ | (phy_id << 5) | reg); in ep93xx_mdio_read()
213 wrl(ep, REG_MIIDATA, data); in ep93xx_mdio_write()
214 wrl(ep, REG_MIICMD, REG_MIICMD_WRITE | (phy_id << 5) | reg); in ep93xx_mdio_write()
318 wrl(ep, REG_INTEN, REG_INTEN_TX | REG_INTEN_RX); in ep93xx_poll()
361 wrl(ep, REG_TXDENQ, 1); in ep93xx_xmit()
432 wrl(ep, REG_INTEN, REG_INTEN_TX); in ep93xx_irq()
537 wrl(ep, REG_SELFCTL, REG_SELFCTL_RESET); in ep93xx_start_hw()
549 wrl(ep, REG_SELFCTL, ((ep->mdc_divisor - 1) << 9)); in ep93xx_start_hw()
553 wrl(ep, REG_SELFCTL, ((ep->mdc_divisor - 1) << 9) | (1 << 8)); in ep93xx_start_hw()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/
Dpxa168_eth.c278 static inline void wrl(struct pxa168_eth_private *pep, int offset, u32 data) in wrl() function
289 wrl(pep, SDMA_CMD, SDMA_CMD_AR | SDMA_CMD_AT); in abort_dma()
557 wrl(pep, HTPR, pep->htpr_dma); in init_hash_table()
572 wrl(pep, PORT_CONFIG, val); in pxa168_eth_set_rx_mode()
618 wrl(pep, MAC_ADDR_HIGH, mac_h); in pxa168_eth_set_mac_address()
619 wrl(pep, MAC_ADDR_LOW, mac_l); in pxa168_eth_set_mac_address()
637 wrl(pep, ETH_C_TX_DESC_1, in eth_port_start()
642 wrl(pep, ETH_C_RX_DESC_0, in eth_port_start()
645 wrl(pep, ETH_F_RX_DESC_0, in eth_port_start()
649 wrl(pep, INT_CAUSE, 0); in eth_port_start()
[all …]
Dmv643xx_eth.c428 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl() function
1837 wrl(mp, off, v); in mv643xx_eth_program_unicast_filter()
1895 wrl(mp, SPECIAL_MCAST_TABLE(mp->port_num) + i * sizeof(u32), in mv643xx_eth_program_multicast_filter()
1897 wrl(mp, OTHER_MCAST_TABLE(mp->port_num) + i * sizeof(u32), in mv643xx_eth_program_multicast_filter()
1906 wrl(mp, SPECIAL_MCAST_TABLE(mp->port_num) + i * sizeof(u32), in mv643xx_eth_program_multicast_filter()
1908 wrl(mp, OTHER_MCAST_TABLE(mp->port_num) + i * sizeof(u32), in mv643xx_eth_program_multicast_filter()
2919 wrl(mp, PHY_ADDR, data); in phy_addr_set()
3218 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect); in mv643xx_eth_probe()