Searched refs:csr1 (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
D | mtu3_core.c | 371 u32 csr0, csr1, csr2; in mtu3_config_ep() local 389 csr1 = TX_SS_BURST(burst) | TX_SLOT(mep->slot); in mtu3_config_ep() 390 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep() 397 csr1 |= TX_TYPE(TYPE_BULK); in mtu3_config_ep() 400 csr1 |= TX_TYPE(TYPE_ISO); in mtu3_config_ep() 404 csr1 |= TX_TYPE(TYPE_INT); in mtu3_config_ep() 413 mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), csr1); in mtu3_config_ep() 425 csr1 = RX_SS_BURST(burst) | RX_SLOT(mep->slot); in mtu3_config_ep() 426 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep() 433 csr1 |= RX_TYPE(TYPE_BULK); in mtu3_config_ep() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | sbni.c | 103 struct sbni_csr1 csr1; /* current value of CSR1 */ member 401 nl->csr1.rate = baud[ num ]; in sbni_probe1() 410 nl->csr1.rxl = rxl_tab[ nl->cur_rxl_index ]; in sbni_probe1() 423 / (1 << nl->csr1.rate)); in sbni_probe1() 1065 outb( *(u_char *)&nl->csr1 | PR_RES, in sbni_watchdog() 1106 outb( *(u_char *)&nl->csr1 | PR_RES, dev->base_addr + CSR1 ); in card_start() 1129 nl->csr1.rxl = rxl_tab[ nl->cur_rxl_index += nl->delta_rxl ]; in change_level() 1131 outb( *(u8 *)&nl->csr1, dev->base_addr + CSR1 ); in change_level() 1147 nl->csr1.rxl = rxl_tab[ nl->cur_rxl_index ]; in timeout_change_level() 1149 outb( *(unsigned char *)&nl->csr1, dev->base_addr + CSR1 ); in timeout_change_level() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
D | s3c2410_udc.c | 1009 u32 csr1, csr2; in s3c2410_udc_ep_enable() local 1037 csr1 = S3C2410_UDC_ICSR1_FFLUSH|S3C2410_UDC_ICSR1_CLRDT; in s3c2410_udc_ep_enable() 1041 udc_write(csr1, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_ep_enable() 1046 csr1 = S3C2410_UDC_ICSR1_CLRDT; in s3c2410_udc_ep_enable() 1050 udc_write(csr1, S3C2410_UDC_IN_CSR1_REG); in s3c2410_udc_ep_enable() 1054 csr1 = S3C2410_UDC_OCSR1_FFLUSH | S3C2410_UDC_OCSR1_CLRDT; in s3c2410_udc_ep_enable() 1058 udc_write(csr1, S3C2410_UDC_OUT_CSR1_REG); in s3c2410_udc_ep_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 484 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()
|