Home
last modified time | relevance | path

Searched refs:csr1 (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/usb/mtu3/
Dmtu3_core.c410 u32 csr0, csr1, csr2; in mtu3_config_ep() local
428 csr1 = TX_SS_BURST(burst) | TX_SLOT(mep->slot); in mtu3_config_ep()
429 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep()
436 csr1 |= TX_TYPE(TYPE_BULK); in mtu3_config_ep()
439 csr1 |= TX_TYPE(TYPE_ISO); in mtu3_config_ep()
443 csr1 |= TX_TYPE(TYPE_INT); in mtu3_config_ep()
452 mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), csr1); in mtu3_config_ep()
464 csr1 = RX_SS_BURST(burst) | RX_SLOT(mep->slot); in mtu3_config_ep()
465 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep()
472 csr1 |= RX_TYPE(TYPE_BULK); in mtu3_config_ep()
[all …]
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c484 u32 mac, csr1; in emac_mac_start() local
494 csr1 = readl(adpt->csr + EMAC_EMAC_WRAPPER_CSR1); in emac_mac_start()
516 csr1 |= FREQ_MODE; in emac_mac_start()
519 csr1 &= ~FREQ_MODE; in emac_mac_start()
558 writel_relaxed(csr1, adpt->csr + EMAC_EMAC_WRAPPER_CSR1); in emac_mac_start()