Lines Matching refs:lmc_softc_t
48 static void lmc_set_protocol (lmc_softc_t * const, lmc_ctl_t *);
54 static void lmc_ds3_init (lmc_softc_t * const);
55 static void lmc_ds3_default (lmc_softc_t * const);
56 static void lmc_ds3_set_status (lmc_softc_t * const, lmc_ctl_t *);
57 static void lmc_ds3_set_100ft (lmc_softc_t * const, int);
58 static int lmc_ds3_get_link_status (lmc_softc_t * const);
59 static void lmc_ds3_set_crc_length (lmc_softc_t * const, int);
60 static void lmc_ds3_set_scram (lmc_softc_t * const, int);
61 static void lmc_ds3_watchdog (lmc_softc_t * const);
63 static void lmc_hssi_init (lmc_softc_t * const);
64 static void lmc_hssi_default (lmc_softc_t * const);
65 static void lmc_hssi_set_status (lmc_softc_t * const, lmc_ctl_t *);
66 static void lmc_hssi_set_clock (lmc_softc_t * const, int);
67 static int lmc_hssi_get_link_status (lmc_softc_t * const);
68 static void lmc_hssi_set_link_status (lmc_softc_t * const, int);
69 static void lmc_hssi_set_crc_length (lmc_softc_t * const, int);
70 static void lmc_hssi_watchdog (lmc_softc_t * const);
72 static void lmc_ssi_init (lmc_softc_t * const);
73 static void lmc_ssi_default (lmc_softc_t * const);
74 static void lmc_ssi_set_status (lmc_softc_t * const, lmc_ctl_t *);
75 static void lmc_ssi_set_clock (lmc_softc_t * const, int);
76 static void lmc_ssi_set_speed (lmc_softc_t * const, lmc_ctl_t *);
77 static int lmc_ssi_get_link_status (lmc_softc_t * const);
78 static void lmc_ssi_set_link_status (lmc_softc_t * const, int);
79 static void lmc_ssi_set_crc_length (lmc_softc_t * const, int);
80 static void lmc_ssi_watchdog (lmc_softc_t * const);
82 static void lmc_t1_init (lmc_softc_t * const);
83 static void lmc_t1_default (lmc_softc_t * const);
84 static void lmc_t1_set_status (lmc_softc_t * const, lmc_ctl_t *);
85 static int lmc_t1_get_link_status (lmc_softc_t * const);
86 static void lmc_t1_set_circuit_type (lmc_softc_t * const, int);
87 static void lmc_t1_set_crc_length (lmc_softc_t * const, int);
88 static void lmc_t1_set_clock (lmc_softc_t * const, int);
89 static void lmc_t1_watchdog (lmc_softc_t * const);
91 static void lmc_dummy_set_1 (lmc_softc_t * const, int);
92 static void lmc_dummy_set2_1 (lmc_softc_t * const, lmc_ctl_t *);
94 static inline void write_av9110_bit (lmc_softc_t *, int);
95 static void write_av9110(lmc_softc_t *, u32, u32, u32, u32, u32);
157 lmc_dummy_set_1 (lmc_softc_t * const sc, int a) in lmc_dummy_set_1()
162 lmc_dummy_set2_1 (lmc_softc_t * const sc, lmc_ctl_t * a) in lmc_dummy_set2_1()
171 lmc_hssi_init (lmc_softc_t * const sc) in lmc_hssi_init()
179 lmc_hssi_default (lmc_softc_t * const sc) in lmc_hssi_default()
193 lmc_hssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_hssi_set_status()
224 lmc_hssi_set_clock (lmc_softc_t * const sc, int ie) in lmc_hssi_set_clock()
251 lmc_hssi_get_link_status (lmc_softc_t * const sc) in lmc_hssi_get_link_status()
261 lmc_hssi_set_link_status (lmc_softc_t * const sc, int state) in lmc_hssi_set_link_status()
275 lmc_hssi_set_crc_length (lmc_softc_t * const sc, int state) in lmc_hssi_set_crc_length()
294 lmc_hssi_watchdog (lmc_softc_t * const sc) in lmc_hssi_watchdog()
307 lmc_ds3_set_100ft (lmc_softc_t * const sc, int ie) in lmc_ds3_set_100ft()
323 lmc_ds3_default (lmc_softc_t * const sc) in lmc_ds3_default()
338 lmc_ds3_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_ds3_set_status()
369 lmc_ds3_init (lmc_softc_t * const sc) in lmc_ds3_init()
404 lmc_ds3_set_scram (lmc_softc_t * const sc, int ie) in lmc_ds3_set_scram()
424 lmc_ds3_get_link_status (lmc_softc_t * const sc) in lmc_ds3_get_link_status()
510 lmc_ds3_set_crc_length (lmc_softc_t * const sc, int state) in lmc_ds3_set_crc_length()
529 lmc_ds3_watchdog (lmc_softc_t * const sc) in lmc_ds3_watchdog()
539 static void lmc_ssi_init(lmc_softc_t * const sc) in lmc_ssi_init()
555 lmc_ssi_default (lmc_softc_t * const sc) in lmc_ssi_default()
575 lmc_ssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_ssi_set_status()
612 lmc_ssi_set_clock (lmc_softc_t * const sc, int ie) in lmc_ssi_set_clock()
635 lmc_ssi_set_speed (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_ssi_set_speed()
677 lmc_ssi_get_link_status (lmc_softc_t * const sc) in lmc_ssi_get_link_status()
765 lmc_ssi_set_link_status (lmc_softc_t * const sc, int state) in lmc_ssi_set_link_status()
786 lmc_ssi_set_crc_length (lmc_softc_t * const sc, int state) in lmc_ssi_set_crc_length()
811 write_av9110_bit (lmc_softc_t * sc, int c) in write_av9110_bit()
836 static void write_av9110(lmc_softc_t *sc, u32 n, u32 m, u32 v, u32 x, u32 r) in write_av9110()
883 static void lmc_ssi_watchdog(lmc_softc_t * const sc) in lmc_ssi_watchdog()
900 lmc_t1_write (lmc_softc_t * const sc, int a, int d) in lmc_t1_write()
917 lmc_t1_init (lmc_softc_t * const sc) in lmc_t1_init()
980 lmc_t1_default (lmc_softc_t * const sc) in lmc_t1_default()
992 lmc_t1_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_t1_set_status()
1016 lmc_t1_get_link_status (lmc_softc_t * const sc) in lmc_t1_get_link_status()
1134 lmc_t1_set_circuit_type (lmc_softc_t * const sc, int ie) in lmc_t1_set_circuit_type()
1154 lmc_t1_set_crc_length (lmc_softc_t * const sc, int state) in lmc_t1_set_crc_length()
1179 lmc_t1_set_clock (lmc_softc_t * const sc, int ie) in lmc_t1_set_clock()
1202 lmc_t1_watchdog (lmc_softc_t * const sc) in lmc_t1_watchdog()
1207 lmc_set_protocol (lmc_softc_t * const sc, lmc_ctl_t * ctl) in lmc_set_protocol()