Lines Matching refs:pccbb_softc

86 delay_ms(int millis, struct pccbb_softc *sc)
100 static int pccbbintr_function(struct pccbb_softc *);
102 static int pccbb_detect_card(struct pccbb_softc *);
104 static void pccbb_pcmcia_write(struct pccbb_softc *, int, uint8_t);
105 static uint8_t pccbb_pcmcia_read(struct pccbb_softc *, int);
109 STATIC int cb_reset(struct pccbb_softc *);
110 STATIC int cb_detect_voltage(struct pccbb_softc *);
114 STATIC void pccbb_pcmcia_attach_setup(struct pccbb_softc *,
118 STATIC int pccbb_power(struct pccbb_softc *, int);
120 STATIC int pccbb_cardenable(struct pccbb_softc *, int);
121 static void *pccbb_intr_establish(struct pccbb_softc *,
123 static void pccbb_intr_disestablish(struct pccbb_softc *, void *);
132 static void pccbb_chipinit(struct pccbb_softc *);
133 static void pccbb_intrinit(struct pccbb_softc *);
157 static int pccbb_pcmcia_wait_ready(struct pccbb_softc *);
158 static void pccbb_pcmcia_delay(struct pccbb_softc *, int, const char *);
160 static void pccbb_pcmcia_do_io_map(struct pccbb_softc *, int);
161 static void pccbb_pcmcia_do_mem_map(struct pccbb_softc *, int);
173 static int pccbb_open_win(struct pccbb_softc *, bus_space_tag_t,
175 static int pccbb_close_win(struct pccbb_softc *, bus_space_tag_t,
181 static void pccbb_winset(bus_addr_t, struct pccbb_softc *, bus_space_tag_t);
196 CFATTACH_DECL3_NEW(cbb_pci, sizeof(struct pccbb_softc),
363 struct pccbb_softc *sc = device_private(self);
377 struct pccbb_softc *sc = device_private(self);
509 struct pccbb_softc *sc = device_private(self);
581 struct pccbb_softc *sc = device_private(self);
697 * static void pccbb_chipinit(struct pccbb_softc *sc)
709 pccbb_chipinit(struct pccbb_softc *sc)
904 pccbb_intrinit(struct pccbb_softc *sc)
951 * STATIC void pccbb_pcmcia_attach_setup(struct pccbb_softc *sc,
957 pccbb_pcmcia_attach_setup(struct pccbb_softc *sc,
995 struct pccbb_softc *sc = (struct pccbb_softc *)arg;
1091 * static int pccbbintr_function(struct pccbb_softc *sc)
1097 pccbbintr_function(struct pccbb_softc *sc)
1118 struct pccbb_softc *sc = arg;
1160 pccbb_pcmcia_read(struct pccbb_softc *sc, int reg)
1170 pccbb_pcmcia_write(struct pccbb_softc *sc, int reg, uint8_t val)
1185 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1226 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1237 pccbb_power(struct pccbb_softc *sc, int command)
1397 * static int pccbb_detect_card(struct pccbb_softc *sc)
1403 pccbb_detect_card(struct pccbb_softc *sc)
1429 * STATIC int cb_reset(struct pccbb_softc *sc)
1433 cb_reset(struct pccbb_softc *sc)
1465 * STATIC int cb_detect_voltage(struct pccbb_softc *sc)
1469 cb_detect_voltage(struct pccbb_softc *sc)
1500 * STATIC int pccbb_cardenable(struct pccbb_softc *sc, int function)
1504 pccbb_cardenable(struct pccbb_softc *sc, int function)
1542 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1570 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1592 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1614 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1650 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1665 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
1672 pccbb_intr_route(struct pccbb_softc *sc)
1694 * static void *pccbb_intr_establish(struct pccbb_softc *sc,
1706 pccbb_intr_establish(struct pccbb_softc *sc, int level,
1745 * static void *pccbb_intr_disestablish(struct pccbb_softc *sc,
1755 pccbb_intr_disestablish(struct pccbb_softc *sc, void *ih)
1856 struct pccbb_softc *sc = (struct pccbb_softc *)cc;
1870 struct pccbb_softc *sc = (struct pccbb_softc *)cc;
1897 struct pccbb_softc *sc = (struct pccbb_softc *)cc;
1924 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2019 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2055 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2113 pccbb_pcmcia_do_io_map(struct pccbb_softc *sc, int win)
2191 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2213 pccbb_pcmcia_wait_ready(struct pccbb_softc *sc)
2243 pccbb_pcmcia_delay(struct pccbb_softc *sc, int timo, const char *wmesg)
2264 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2369 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2397 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2424 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2450 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2526 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2541 pccbb_pcmcia_do_mem_map(struct pccbb_softc *sc, int win)
2653 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2726 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2753 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2777 struct pccbb_softc *sc = (struct pccbb_softc *)pch;
2799 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
2866 struct pccbb_softc *sc = (struct pccbb_softc *)ct;
2885 pccbb_open_win(struct pccbb_softc *sc, bus_space_tag_t bst, bus_addr_t addr,
2912 pccbb_close_win(struct pccbb_softc *sc, bus_space_tag_t bst,
2988 pccbb_winset(bus_addr_t align, struct pccbb_softc *sc, bus_space_tag_t bst)
3113 struct pccbb_softc *sc = device_private(dv);
3148 struct pccbb_softc *sc = device_private(dv);