• Home
  • Raw
  • Download

Lines Matching refs:BAR0

107 		lola_writew(chip, BAR0, CORBWP, wp);  in corb_send_verb()
128 wp = lola_readw(chip, BAR0, RIRBWP); in lola_update_rirb()
278 rbsts = lola_readb(chip, BAR0, RIRBSTS); in lola_interrupt()
281 lola_writeb(chip, BAR0, RIRBSTS, rbsts); in lola_interrupt()
282 rbsts = lola_readb(chip, BAR0, CORBSTS); in lola_interrupt()
285 lola_writeb(chip, BAR0, CORBSTS, rbsts); in lola_interrupt()
311 unsigned int gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
321 lola_writel(chip, BAR0, GCTL, LOLA_GCTL_RESET); in reset_controller()
325 gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
377 lola_writeb(chip, BAR0, RIRBCTL, 0); in setup_corb_rirb()
378 lola_writeb(chip, BAR0, CORBCTL, 0); in setup_corb_rirb()
382 if (!lola_readb(chip, BAR0, RIRBCTL) && in setup_corb_rirb()
383 !lola_readb(chip, BAR0, CORBCTL)) in setup_corb_rirb()
389 lola_writel(chip, BAR0, CORBLBASE, (u32)chip->corb.addr); in setup_corb_rirb()
390 lola_writel(chip, BAR0, CORBUBASE, upper_32_bits(chip->corb.addr)); in setup_corb_rirb()
392 lola_writeb(chip, BAR0, CORBSIZE, 0x02); in setup_corb_rirb()
394 lola_writew(chip, BAR0, CORBWP, 0); in setup_corb_rirb()
396 lola_writew(chip, BAR0, CORBRP, LOLA_RBRWP_CLR); in setup_corb_rirb()
398 lola_writeb(chip, BAR0, CORBCTL, LOLA_RBCTL_DMA_EN); in setup_corb_rirb()
400 tmp = lola_readb(chip, BAR0, CORBSTS) & LOLA_CORB_INT_MASK; in setup_corb_rirb()
402 lola_writeb(chip, BAR0, CORBSTS, tmp); in setup_corb_rirb()
406 lola_writel(chip, BAR0, RIRBLBASE, (u32)chip->rirb.addr); in setup_corb_rirb()
407 lola_writel(chip, BAR0, RIRBUBASE, upper_32_bits(chip->rirb.addr)); in setup_corb_rirb()
409 lola_writeb(chip, BAR0, RIRBSIZE, 0x02); in setup_corb_rirb()
411 lola_writew(chip, BAR0, RIRBWP, LOLA_RBRWP_CLR); in setup_corb_rirb()
413 lola_writew(chip, BAR0, RINTCNT, 1); in setup_corb_rirb()
415 lola_writeb(chip, BAR0, RIRBCTL, LOLA_RBCTL_DMA_EN | LOLA_RBCTL_IRQ_EN); in setup_corb_rirb()
417 tmp = lola_readb(chip, BAR0, RIRBSTS) & LOLA_RIRB_INT_MASK; in setup_corb_rirb()
419 lola_writeb(chip, BAR0, RIRBSTS, tmp); in setup_corb_rirb()
428 lola_writeb(chip, BAR0, RIRBCTL, 0); in stop_corb_rirb()
429 lola_writeb(chip, BAR0, CORBCTL, 0); in stop_corb_rirb()