/netbsd-src/sys/dev/ic/ |
H A D | cs89x0var.h | 70 struct cs_softc { struct 112 int (*sc_enable)(struct cs_softc *); argument 113 void (*sc_disable)(struct cs_softc *); argument 116 void (*sc_dma_process_rx)(struct cs_softc *); argument 117 void (*sc_dma_chipinit)(struct cs_softc *); argument 118 void (*sc_dma_attach)(struct cs_softc *); argument 121 u_int8_t (*sc_io_read_1)(struct cs_softc *, bus_size_t); argument 122 u_int16_t (*sc_io_read_2)(struct cs_softc *, bus_size_t); argument 123 void (*sc_io_read_multi_2)(struct cs_softc *, bus_size_t, u_int16_t *, argument 125 void (*sc_io_write_2)(struct cs_softc *, bus_size_t, u_int16_t); argument [all …]
|
H A D | cs89x0.c | 257 static void cs_get_default_media(struct cs_softc *); 258 static int cs_get_params(struct cs_softc *); 259 static int cs_get_enaddr(struct cs_softc *); 260 static int cs_reset_chip(struct cs_softc *); 261 static void cs_reset(struct cs_softc *); 263 static void cs_initChip(struct cs_softc *); 264 static void cs_buffer_event(struct cs_softc *, uint16_t); 265 static void cs_transmit_event(struct cs_softc *, uint16_t); 266 static void cs_receive_event(struct cs_softc *, uint16_t); 267 static void cs_process_receive(struct cs_softc *); [all...] |
/netbsd-src/sys/arch/evbppc/pmppc/dev/ |
H A D | if_cs_mainbus.c | 63 static void cs_check_eeprom(struct cs_softc *sc); 68 CFATTACH_DECL_NEW(cs_mainbus, sizeof(struct cs_softc), 139 cs_io_read_1(struct cs_softc *sc, bus_size_t offs) in cs_io_read_1() 149 cs_io_read_2(struct cs_softc *sc, bus_size_t offs) in cs_io_read_2() 159 cs_io_read_multi_2(struct cs_softc *sc, bus_size_t offs, u_int16_t *buf, in cs_io_read_multi_2() 172 cs_io_write_2(struct cs_softc *sc, bus_size_t offs, u_int16_t data) in cs_io_write_2() 185 cs_io_write_multi_2(struct cs_softc *sc, bus_size_t offs, in cs_io_write_multi_2() 219 cs_mem_read_2(struct cs_softc *sc, bus_size_t offs) in cs_mem_read_2() 225 cs_mem_write_2(struct cs_softc *sc, bus_size_t offs, u_int16_t data) in cs_mem_write_2() 231 cs_mem_write_region_2(struct cs_softc *sc, bus_size_t offs, in cs_mem_write_region_2() [all …]
|
/netbsd-src/sys/dev/pcmcia/ |
H A D | if_cs_pcmcia.c | 58 static int cs_pcmcia_enable(struct cs_softc *); 59 static void cs_pcmcia_disable(struct cs_softc *); 62 struct cs_softc sc_cs; /* real "cs" softc */ 100 struct cs_softc *sc = &psc->sc_cs; in cs_pcmcia_attach() 153 struct cs_softc *sc = &psc->sc_cs; in cs_pcmcia_detach() 169 cs_pcmcia_enable(struct cs_softc *sc) in cs_pcmcia_enable() 188 cs_pcmcia_disable(struct cs_softc *sc) in cs_pcmcia_disable()
|
/netbsd-src/sys/dev/isa/ |
H A D | cs89x0isavar.h | 29 void cs_process_rx_dma(struct cs_softc *); 30 void cs_isa_dma_chipinit(struct cs_softc *); 31 void cs_isa_dma_attach(struct cs_softc *); 34 struct cs_softc sc_cs;
|
H A D | cs89x0isa.c | 65 cs_isa_dma_attach(struct cs_softc *sc) in cs_isa_dma_attach() 125 void cs_isa_dma_chipinit(struct cs_softc *sc) in cs_isa_dma_chipinit() 166 void cs_process_rx_dma(struct cs_softc *sc) in cs_process_rx_dma()
|
H A D | if_tscs_isa.c | 67 struct cs_softc sc; in tscs_isa_probe() 169 struct cs_softc *sc = &isc->sc_cs; in tscs_isa_attach()
|
H A D | if_cs_isa.c | 72 struct cs_softc sc; in cs_isa_probe() 214 struct cs_softc *sc = &isc->sc_cs; in cs_isa_attach()
|
/netbsd-src/sys/arch/acorn32/eb7500atx/ |
H A D | if_cs.c | 117 static uint8_t cs_rbus_read_1(struct cs_softc *, bus_size_t); 119 CFATTACH_DECL_NEW(cs_rsbus, sizeof(struct cs_softc), 138 struct cs_softc *sc = device_private(self); in cs_rsbus_attach() 210 cs_rbus_read_1(struct cs_softc *sc, bus_size_t a) in cs_rbus_read_1()
|
/netbsd-src/sys/arch/evbarm/smdk2xx0/ |
H A D | if_cs_smdk24x0.c | 107 CFATTACH_DECL_NEW(cs_ssextio, sizeof(struct cs_softc), 116 struct cs_softc sc; in cs_ssextio_probe() 178 struct cs_softc *sc = device_private(self); in cs_ssextio_attach()
|
/netbsd-src/sys/dev/isapnp/ |
H A D | if_cs_isapnp.c | 62 CFATTACH_DECL_NEW(cs_isapnp, sizeof(struct cs_softc), 82 struct cs_softc *sc = &sc->sc_cs; in cs_isapnp_attach() 84 struct cs_softc *sc = device_private(self); in cs_isapnp_attach()
|
/netbsd-src/sys/dev/ofisa/ |
H A D | if_cs_ofisa.c | 94 struct cs_softc *sc = &isc->sc_cs; in cs_ofisa_attach()
|