Home | History | Annotate | Download | only in gemini

Lines Matching defs:lpc

42 CFATTACH_DECL_NEW(lpc, sizeof(struct gemini_lpc_softc),
58 struct gemini_lpc_attach_args *lpc = aux;
60 if (lpc->lpc_addr == LPCCF_ADDR_DEFAULT)
61 panic("lpc must have addr specified in config.");
123 gemini_lpc_attach_args_t lpc;
125 lpc.lpc_ldn = cf->cf_loc[LPCCF_LDN];
126 lpc.lpc_addr = cf->cf_loc[LPCCF_ADDR];
127 lpc.lpc_size = cf->cf_loc[LPCCF_SIZE];
128 lpc.lpc_intr = cf->cf_loc[LPCCF_INTR];
129 lpc.lpc_iot = sc->sc_iot;
130 lpc.lpc_tag = sc;
131 lpc.lpc_base = sc->sc_addr;
133 if (config_probe(parent, cf, &lpc)) {
134 config_attach(parent, cf, &lpc, gemini_lpc_busprint, CFARGS_NONE);
144 struct gemini_lpc_attach_args *lpc = aux;
146 if (lpc->lpc_ldn != LPCCF_LDN_DEFAULT)
147 aprint_normal(" ldn %d", lpc->lpc_ldn);
148 if (lpc->lpc_addr != LPCCF_ADDR_DEFAULT)
149 aprint_normal(" addr %#lx", lpc->lpc_addr);
150 if (lpc->lpc_size != LPCCF_SIZE_DEFAULT)
151 aprint_normal(" size %#lx", lpc->lpc_size);
152 if (lpc->lpc_intr != LPCCF_INTR_DEFAULT)
153 aprint_normal(" intr %d", lpc->lpc_intr);
159 * LPC bus ops