Searched refs:mc146818_softc (Results 1 - 22 of 22) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/alpha/alpha/
H A Dmcclockvar.h30 void mcclock_attach(struct mc146818_softc *);
H A Dmcclock.c66 static void mcclock_set_pcc_freq(struct mc146818_softc *);
70 mcclock_attach(struct mc146818_softc *sc)
91 mcclock_set_pcc_freq(struct mc146818_softc *sc)
137 struct mc146818_softc *sc = dev;
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dmc146818var.h27 struct mc146818_softc { struct
41 u_int (*sc_mcread)(struct mc146818_softc *, u_int);
42 void (*sc_mcwrite)(struct mc146818_softc *, u_int, u_int);
44 u_int (*sc_getcent)(struct mc146818_softc *);
45 void (*sc_setcent)(struct mc146818_softc *, u_int);
48 void mc146818_attach(struct mc146818_softc *);
H A Dmc146818.c50 mc146818_attach(struct mc146818_softc *sc)
81 struct mc146818_softc *sc;
137 struct mc146818_softc *sc;
/netbsd-6-1-5-RELEASE/sys/arch/arc/jazz/
H A Dmcclock_jazziovar.h35 u_int (*mjc_mc_read)(struct mc146818_softc *, u_int);
36 void (*mjc_mc_write)(struct mc146818_softc *, u_int, u_int);
H A Dmcclock_jazzio.c64 CFATTACH_DECL_NEW(mcclock_jazzio, sizeof(struct mc146818_softc),
88 struct mc146818_softc *sc = device_private(self);
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/
H A Drtc.c83 CFATTACH_DECL_NEW(rtc_ebus, sizeof(struct mc146818_softc),
86 u_int rtc_read_reg(struct mc146818_softc *, u_int);
87 void rtc_write_reg(struct mc146818_softc *, u_int, u_int);
88 u_int rtc_getcent(struct mc146818_softc *);
89 void rtc_setcent(struct mc146818_softc *, u_int);
116 rtc_read_reg(struct mc146818_softc *sc, u_int reg)
123 rtc_write_reg(struct mc146818_softc *sc, u_int reg, u_int val)
134 struct mc146818_softc *sc = device_private(self);
192 rtc_getcent(struct mc146818_softc *sc)
198 rtc_setcent(struct mc146818_softc *s
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/dev/
H A Dmcclock.c52 CFATTACH_DECL_NEW(mcclock, sizeof (struct mc146818_softc),
55 static void mcclock_write(struct mc146818_softc *, u_int, u_int);
56 static u_int mcclock_read(struct mc146818_softc *, u_int);
75 struct mc146818_softc *sc = device_private(self);
98 mcclock_write(struct mc146818_softc *sc, u_int reg, u_int datum)
111 mcclock_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/evbppc/pmppc/dev/
H A Dds17485.c174 static u_int rtc_read(struct mc146818_softc *, u_int);
175 static void rtc_write(struct mc146818_softc *, u_int, u_int);
177 CFATTACH_DECL_NEW(rtc, sizeof(struct mc146818_softc),
192 struct mc146818_softc *sc = device_private(self);
218 rtc_read(struct mc146818_softc *sc, u_int reg)
225 rtc_write(struct mc146818_softc *sc, u_int reg, u_int datum)
/netbsd-6-1-5-RELEASE/sys/arch/algor/dev/
H A Dmcclock_mainbus.c50 CFATTACH_DECL_NEW(mcclock_mainbus, sizeof(struct mc146818_softc),
53 void mcclock_mainbus_write(struct mc146818_softc *, u_int, u_int);
54 u_int mcclock_mainbus_read(struct mc146818_softc *, u_int);
70 struct mc146818_softc *sc = device_private(self);
100 mcclock_mainbus_write(struct mc146818_softc *sc, u_int reg, u_int datum)
110 mcclock_mainbus_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/tc/
H A Dmcclock_ioasic.c56 struct mc146818_softc sc_mc146818;
67 void mcclock_ioasic_write(struct mc146818_softc *, u_int, u_int);
68 u_int mcclock_ioasic_read(struct mc146818_softc *, u_int);
86 struct mc146818_softc *sc = &isc->sc_mc146818;
100 mcclock_ioasic_write(struct mc146818_softc *sc, u_int reg, u_int datum)
108 mcclock_ioasic_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/tlsb/
H A Dmcclock_tlsb.c64 struct mc146818_softc sc_mc146818;
74 static void mcclock_tlsb_write(struct mc146818_softc *, u_int, u_int);
75 static u_int mcclock_tlsb_read(struct mc146818_softc *, u_int);
93 struct mc146818_softc *sc = &tsc->sc_mc146818;
106 mcclock_tlsb_write(struct mc146818_softc *sc, u_int reg, u_int val)
116 mcclock_tlsb_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/arc/isa/
H A Dmcclock_isa.c65 CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
69 static u_int mc_isa_read(struct mc146818_softc *, u_int);
70 static void mc_isa_write(struct mc146818_softc *, u_int, u_int);
119 struct mc146818_softc *sc = device_private(self);
141 mc_isa_read(struct mc146818_softc *sc, u_int reg)
149 mc_isa_write(struct mc146818_softc *sc, u_int reg, u_int datum)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/isa/
H A Dmcclock_isa.c52 CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
55 void mcclock_isa_write(struct mc146818_softc *, u_int, u_int);
56 u_int mcclock_isa_read(struct mc146818_softc *, u_int);
100 struct mc146818_softc *sc = device_private(self);
116 mcclock_isa_write(struct mc146818_softc *sc, u_int reg, u_int datum)
126 mcclock_isa_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/jensenio/
H A Dmcclock_jensenio.c80 struct mc146818_softc sc_mc146818;
91 void mcclock_jensenio_write(struct mc146818_softc *, u_int, u_int);
92 u_int mcclock_jensenio_read(struct mc146818_softc *, u_int);
112 struct mc146818_softc *sc = &jsc->sc_mc146818;
134 mcclock_jensenio_write(struct mc146818_softc *sc, u_int reg, u_int datum)
144 mcclock_jensenio_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/tsarm/
H A Dtsrtc.c53 struct mc146818_softc sc_mc;
62 void tsrtc_write(struct mc146818_softc *, u_int, u_int);
63 u_int tsrtc_read(struct mc146818_softc *, u_int);
71 struct mc146818_softc *sc;
114 struct mc146818_softc *sc = &tsc->sc_mc;
138 tsrtc_write(struct mc146818_softc *mc_sc, u_int reg, u_int datum)
147 tsrtc_read(struct mc146818_softc *mc_sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/isa/
H A Dmcclock_isa.c56 CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
59 static void mcclock_isa_write(struct mc146818_softc *, u_int, u_int);
60 static u_int mcclock_isa_read(struct mc146818_softc *, u_int);
104 struct mc146818_softc *sc = device_private(self);
133 mcclock_isa_write(struct mc146818_softc *sc, u_int reg, u_int datum)
143 mcclock_isa_read(struct mc146818_softc *sc, u_int reg)
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/isa/
H A Dmcclock_isa.c145 CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
149 mcclock_isa_read(struct mc146818_softc *sc, unsigned reg)
157 mcclock_isa_write(struct mc146818_softc *sc, unsigned reg, unsigned datum)
210 struct mc146818_softc *sc = device_private(self);
/netbsd-6-1-5-RELEASE/sys/arch/bebox/isa/
H A Dmcclock_isa.c145 CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
149 mcclock_isa_read(struct mc146818_softc *sc, unsigned reg)
157 mcclock_isa_write(struct mc146818_softc *sc, unsigned reg, unsigned datum)
210 struct mc146818_softc *sc = device_private(self);
/netbsd-6-1-5-RELEASE/sys/arch/arc/arc/
H A Dc_jazz_eisa.c97 static u_int mc_jazz_eisa_read(struct mc146818_softc *, u_int);
98 static void mc_jazz_eisa_write(struct mc146818_softc *, u_int, u_int);
108 mc_jazz_eisa_read(struct mc146818_softc *sc, u_int reg)
119 mc_jazz_eisa_write(struct mc146818_softc *sc, u_int reg, u_int datum)
H A Dc_nec_pci.c102 static u_int mc_nec_pci_read(struct mc146818_softc *, u_int);
103 static void mc_nec_pci_write(struct mc146818_softc *, u_int, u_int);
132 mc_nec_pci_read(struct mc146818_softc *sc, u_int reg)
143 mc_nec_pci_write(struct mc146818_softc *sc, u_int reg, u_int datum)
/netbsd-6-1-5-RELEASE/sys/arch/prep/pnpbus/
H A Dmcclock_pnpbus.c72 CFATTACH_DECL_NEW(mcclock_pnpbus, sizeof(struct mc146818_softc),
75 void mcclock_pnpbus_write(struct mc146818_softc *, u_int, u_int);
76 u_int mcclock_pnpbus_read(struct mc146818_softc *, u_int);
103 struct mc146818_softc *sc = device_private(self);
130 struct mc146818_softc *sc;
179 mcclock_pnpbus_write(struct mc146818_softc *sc, u_int reg, u_int datum)
192 mcclock_pnpbus_read(struct mc146818_softc *sc, u_int reg)

Completed in 234 milliseconds