Home | History | Annotate | Download | only in hdl_g

Lines Matching defs:oba

96 	struct obio_attach_args *oba = aux;
98 aprint_normal(" addr 0x%08lx", oba->oba_addr);
99 if (oba->oba_size != OBIOCF_SIZE_DEFAULT)
100 aprint_normal("-0x%08lx", oba->oba_addr + (oba->oba_size - 1));
101 if (oba->oba_width != OBIOCF_WIDTH_DEFAULT)
102 aprint_normal(" width %d", oba->oba_width);
103 if (oba->oba_irq != -1)
104 aprint_normal(" xint %d", oba->oba_irq - ICU_INT_XINT0);
112 struct obio_attach_args oba;
114 oba.oba_st = &obio_bs_tag;
116 oba.oba_addr = cf->cf_loc[OBIOCF_ADDR];
117 oba.oba_size = cf->cf_loc[OBIOCF_SIZE];
118 oba.oba_width = cf->cf_loc[OBIOCF_WIDTH];
121 oba.oba_irq = ICU_INT_XINT(cf->cf_loc[OBIOCF_XINT]);
123 oba.oba_irq = -1;
125 if (config_probe(parent, cf, &oba))
126 config_attach(parent, cf, &oba, obio_print, CFARGS_NONE);