Lines Matching defs:scc
154 tc5165buf_ifsetup(struct tc5165buf_chip *scc)
157 scc->scc_if.hii_ctx = scc;
158 scc->scc_if.hii_establish = tc5165buf_input_establish;
159 scc->scc_if.hii_poll = tc5165buf_poll;
165 struct tc5165buf_chip *scc = &tc5165buf_chip;
167 scc->scc_csh = MIPS_PHYS_TO_KSEG1(addr);
169 tc5165buf_ifsetup(scc);
171 hpckbd_cnattach(&scc->scc_if);
179 struct tc5165buf_chip *scc = ic;
182 scc->scc_hpckbd = kbdif;
184 scc->scc_enabled = 1;
193 struct tc5165buf_chip *scc = sc->sc_chip;
195 if (!scc->scc_enabled || scc->scc_queued)
198 scc->scc_queued = 1;
199 callout_reset(&scc->scc_soft_ch, 1, tc5165buf_soft, scc);
207 struct tc5165buf_chip *scc = arg;
209 if (!scc->scc_enabled)
220 struct tc5165buf_chip *scc = arg;
221 bus_space_tag_t t = scc->scc_cst;
222 bus_space_handle_t h = scc->scc_csh;
227 hpckbd_input_hook(scc->scc_hpckbd);
238 if ((edge = (rpat ^ scc->scc_buf[i]))) {
239 scc->scc_buf[i] = rpat;
246 hpckbd_input(scc->scc_hpckbd,
254 scc->scc_queued = 0;