Lines Matching defs:cs_softc
70 struct cs_softc {
112 int (*sc_enable)(struct cs_softc *);
113 void (*sc_disable)(struct cs_softc *);
116 void (*sc_dma_process_rx)(struct cs_softc *);
117 void (*sc_dma_chipinit)(struct cs_softc *);
118 void (*sc_dma_attach)(struct cs_softc *);
121 u_int8_t (*sc_io_read_1)(struct cs_softc *, bus_size_t);
122 u_int16_t (*sc_io_read_2)(struct cs_softc *, bus_size_t);
123 void (*sc_io_read_multi_2)(struct cs_softc *, bus_size_t, u_int16_t *,
125 void (*sc_io_write_2)(struct cs_softc *, bus_size_t, u_int16_t);
126 void (*sc_io_write_multi_2)(struct cs_softc *, bus_size_t,
128 u_int16_t (*sc_mem_read_2)(struct cs_softc *, bus_size_t);
129 void (*sc_mem_write_2)(struct cs_softc *, bus_size_t, u_int16_t);
130 void (*sc_mem_write_region_2)(struct cs_softc *, bus_size_t,
168 /* Config Flags in cs_softc */
186 static __inline u_int16_t _cs_read_port(struct cs_softc *, int);
189 _cs_read_port(struct cs_softc *sc, int off)
210 static __inline u_int16_t _CS_READ_PACKET_PAGE_IO(struct cs_softc *, int);
213 _CS_READ_PACKET_PAGE_IO(struct cs_softc *sc, int offset)
220 static __inline u_int16_t CS_READ_PACKET_PAGE_IO(struct cs_softc *, int);
223 CS_READ_PACKET_PAGE_IO(struct cs_softc *sc, int offset)
266 /* Media Type in cs_softc */
277 int cs_attach(struct cs_softc *, u_int8_t *, int *, int, int);
278 int cs_detach(struct cs_softc *);
279 int cs_verify_eeprom(struct cs_softc *);
280 int cs_read_eeprom(struct cs_softc *, int, u_int16_t *);
283 void cs_ether_input(struct cs_softc *, struct mbuf *);
284 void cs_print_rx_errors(struct cs_softc *, u_int16_t);