Home
last modified time | relevance | path

Searched refs:CSR0 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/amd/
Dsun3lance.c204 #define CSR0 0 /* mode/status */ macro
328 ioaddr_probe[1] = CSR0; in lance_probe()
356 REGA(CSR0) = CSR0_STOP; in lance_probe()
420 REGA(CSR0) = CSR0_STOP; in lance_open()
425 REGA(CSR0) = CSR0_INIT; in lance_open()
556 REGA( CSR0 ) = CSR0_INEA | CSR0_INIT | CSR0_STRT; in lance_start_xmit()
578 AREG = CSR0; in lance_start_xmit()
586 REGA( CSR0 ) = CSR0_STOP; in lance_start_xmit()
588 REGA( CSR0 ) = CSR0_INIT | CSR0_STRT; in lance_start_xmit()
632 REGA(CSR0) = CSR0_INEA | CSR0_TDMD | CSR0_STRT; in lance_start_xmit()
[all …]
Dariadne.c247 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_interrupt()
382 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_interrupt()
403 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_open()
491 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_open()
505 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_close()
526 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_reset()
554 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_start_xmit()
609 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in ariadne_start_xmit()
653 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in set_multicast_list()
678 lance->RAP = CSR0; /* PCnet-ISA Controller Status */ in set_multicast_list()
Dpcnet32.c192 #define CSR0 0 macro
763 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); in pcnet32_set_link_ksettings()
893 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_set_ringparam()
989 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_loopback_test()
1003 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ in pcnet32_loopback_test()
1057 lp->a->write_csr(ioaddr, CSR0, CSR0_START); /* Set STRT bit */ in pcnet32_loopback_test()
1076 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ in pcnet32_loopback_test()
1414 lp->a->write_csr(ioaddr, CSR0, CSR0_INTEN); in pcnet32_poll()
1443 csr0 = a->read_csr(ioaddr, CSR0); in pcnet32_get_regs()
1932 a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_INIT); in pcnet32_probe1()
[all …]
Datarilance.c304 #define CSR0 0 /* mode/status */ macro
507 ioaddr[1] = CSR0; in lance_probe1()
536 REGA( CSR0 ) = CSR0_STOP; in lance_probe1()
655 REGA( CSR0 ) = CSR0_INIT; in lance_open()
735 AREG = CSR0; in lance_tx_timeout()
766 REGA( CSR0 ) = CSR0_INEA | CSR0_INIT | CSR0_STRT; in lance_tx_timeout()
867 AREG = CSR0; in lance_interrupt()
1052 AREG = CSR0; in lance_close()
1108 REGA( CSR0 ) = CSR0_IDON | CSR0_INEA | CSR0_STRT; in set_multicast_list()
Dariadne.h62 #define CSR0 0x0000 /* - PCnet-ISA Controller Status */ macro
/linux-6.12.1/drivers/net/ethernet/dec/tulip/
Dxircom_cb.c48 #define CSR0 0x00 macro
506 val = xr32(CSR0); in initialize_card()
508 xw32(CSR0, val); in initialize_card()
512 val = xr32(CSR0); in initialize_card()
514 xw32(CSR0, val); in initialize_card()
519 xw32(CSR0, val); in initialize_card()
Dtulip.h106 CSR0 = 0, enumerator
Dtulip_core.c307 iowrite32(0x00000001, ioaddr + CSR0); in tulip_up()
314 iowrite32(tp->csr0, ioaddr + CSR0); in tulip_up()
487 ioread32(ioaddr + CSR0), in tulip_up()
/linux-6.12.1/drivers/spi/
Dspi-atmel.c338 csr = spi_readl(as, CSR0 + 4 * chip_select); in atmel_spi_send_dummy()
340 spi_writel(as, CSR0 + 4 * chip_select, csr); in atmel_spi_send_dummy()
395 spi_writel(as, CSR0 + 4 * chip_select, asd->csr); in cs_activate()
399 spi_writel(as, CSR0, asd->csr); in cs_activate()
440 csr = spi_readl(as, CSR0 + 4 * i); in cs_activate()
442 spi_writel(as, CSR0 + 4 * i, in cs_activate()
913 csr = spi_readl(as, CSR0 + 4 * chip_select); in atmel_spi_set_xfer_speed()
915 spi_writel(as, CSR0 + 4 * chip_select, csr); in atmel_spi_set_xfer_speed()
1326 spi_writel(as, CSR0 + 4 * chip_select, csr); in atmel_spi_setup()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2400pci.h54 #define CSR0 0x0000 macro
Drt2500pci.h65 #define CSR0 0x0000 macro
Drt2400pci.c1482 reg = rt2x00mmio_register_read(rt2x00dev, CSR0); in rt2400pci_init_eeprom()
Drt2500pci.c1636 reg = rt2x00mmio_register_read(rt2x00dev, CSR0); in rt2500pci_init_eeprom()
/linux-6.12.1/drivers/net/ethernet/renesas/
Dravb_main.c496 ravb_write(ndev, 0, CSR0); in ravb_csum_init_gbeth()
497 if (ravb_wait(ndev, CSR0, CSR0_TPE | CSR0_RPE, 0)) { in ravb_csum_init_gbeth()
515 ravb_write(ndev, CSR0_TPE | CSR0_RPE, CSR0); in ravb_csum_init_gbeth()
2511 ravb_write(ndev, csr0 & ~mask, CSR0); in ravb_endisable_csum_gbeth()
2512 ret = ravb_wait(ndev, CSR0, mask, 0); in ravb_endisable_csum_gbeth()
2516 ravb_write(ndev, csr0, CSR0); in ravb_endisable_csum_gbeth()
Dravb.h211 CSR0 = 0x0800, enumerator