Home
last modified time | relevance | path

Searched refs:softc_t (Results 1 – 2 of 2) sorted by relevance

/NextBSD/sys/dev/lmc/
HDif_lmc.h1032 typedef struct softc softc_t; typedef
1037 void (* config)(softc_t *);
1038 void (* ident)(softc_t *);
1039 int (* watchdog)(softc_t *); /* must not sleep */
1040 int (* ioctl)(softc_t *, struct ioctl *); /* can sleep */
1179 static void shift_srom_bits(softc_t *, u_int32_t, u_int32_t);
1180 static u_int16_t read_srom(softc_t *, u_int8_t);
1181 static void write_srom(softc_t *, u_int8_t, u_int16_t);
1183 static u_int8_t read_bios(softc_t *, u_int32_t);
1184 static void write_bios_phys(softc_t *, u_int32_t, u_int8_t);
[all …]
HDif_lmc.c144 shift_srom_bits(softc_t *sc, u_int32_t data, u_int32_t len) in shift_srom_bits()
163 read_srom(softc_t *sc, u_int8_t addr) in read_srom()
196 write_srom(softc_t *sc, u_int8_t addr, u_int16_t data) in write_srom()
249 read_bios(softc_t *sc, u_int32_t addr) in read_bios()
273 write_bios_phys(softc_t *sc, u_int32_t addr, u_int8_t data) in write_bios_phys()
296 write_bios(softc_t *sc, u_int32_t addr, u_int8_t data) in write_bios()
330 erase_bios(softc_t *sc) in erase_bios()
366 shift_mii_bits(softc_t *sc, u_int32_t data, u_int32_t len) in shift_mii_bits()
386 read_mii(softc_t *sc, u_int8_t regad) in read_mii()
417 write_mii(softc_t *sc, u_int8_t regad, u_int16_t data) in write_mii()
[all …]