Searched refs:twe_softc (Results 1 – 3 of 3) sorted by relevance
| /NextBSD/sys/dev/twe/ |
| HD | twevar.h | 84 struct twe_softc *tr_sc; /* controller that owns us */ 113 struct twe_softc struct 148 extern int twe_setup(struct twe_softc *sc); /* do early driver/controller setup */ argument 149 extern void twe_init(struct twe_softc *sc); /* init controller */ 150 extern void twe_deinit(struct twe_softc *sc); /* stop controller */ 151 extern void twe_intr(struct twe_softc *sc); /* hardware interrupt signalled */ 152 extern void twe_startio(struct twe_softc *sc); 154 extern int twe_dump_blocks(struct twe_softc *sc, int unit, /* crashdump block write */ 156 extern int twe_ioctl(struct twe_softc *sc, u_long cmd, 158 extern void twe_describe_controller(struct twe_softc *sc); /* print controller info */ [all …]
|
| HD | twe.c | 46 static int twe_get_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t *result); 47 static int twe_get_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t *result); 48 static int twe_get_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t *result); 49 static void *twe_get_param(struct twe_softc *sc, int table_id, int parameter_id, size_t size, 52 static int twe_set_param_1(struct twe_softc *sc, int table_id, int param_id, u_int8_t value); 55 static int twe_set_param_2(struct twe_softc *sc, int table_id, int param_id, u_int16_t value); 56 static int twe_set_param_4(struct twe_softc *sc, int table_id, int param_id, u_int32_t value); 58 static int twe_set_param(struct twe_softc *sc, int table_id, int param_id, int param_size, 60 static int twe_init_connection(struct twe_softc *sc, int mode); 64 static void twe_reset(struct twe_softc *sc); [all …]
|
| HD | twe_freebsd.c | 84 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; in twe_open() 102 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; in twe_close() 116 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; in twe_ioctl_wrapper() 129 static void twe_free(struct twe_softc *sc); 152 sizeof(struct twe_softc) 181 struct twe_softc *sc; in twe_attach() 386 twe_free(struct twe_softc *sc) in twe_free() 442 struct twe_softc *sc = device_get_softc(dev); in twe_detach() 478 struct twe_softc *sc = device_get_softc(dev); in twe_shutdown() 513 struct twe_softc *sc = device_get_softc(dev); in twe_suspend() [all …]
|