Lines Matching refs:scc
135 struct j720kbd_chip *scc = &j720kbd_chip; in j720kbd_cnattach() local
138 j720kbd_ifsetup(scc); in j720kbd_cnattach()
141 hpckbd_cnattach(&scc->scc_if); in j720kbd_cnattach()
145 j720kbd_ifsetup(struct j720kbd_chip *scc) in j720kbd_ifsetup() argument
148 scc->scc_if.hii_ctx = scc; in j720kbd_ifsetup()
149 scc->scc_if.hii_establish = j720kbd_input_establish; in j720kbd_ifsetup()
150 scc->scc_if.hii_poll = j720kbd_poll; in j720kbd_ifsetup()
156 struct j720kbd_chip *scc = ic; in j720kbd_input_establish() local
159 scc->scc_hpckbd = kbdif; in j720kbd_input_establish()
161 scc->scc_enabled = 1; in j720kbd_input_establish()
180 struct j720kbd_chip *scc = arg; in j720kbd_poll() local
184 if (!scc->scc_enabled) { in j720kbd_poll()
189 j720kbd_read(scc, buf); in j720kbd_poll()
195 hpckbd_input(scc->scc_hpckbd, type, key); in j720kbd_poll()
202 j720kbd_read(struct j720kbd_chip *scc, char *buf) in j720kbd_read() argument
204 struct j720ssp_softc *ssp = scc->scc_ssp; in j720kbd_read()