Lines Matching refs:tmr_num
66 int tmr_num; /* Hardware unit number. */ member
251 int tmr_num; in am335x_dmtimer_probe() local
268 tmr_num = 2; in am335x_dmtimer_probe()
271 tmr_num = 3; in am335x_dmtimer_probe()
278 device_set_descf(dev, "AM335x DMTimer%d", tmr_num); in am335x_dmtimer_probe()
338 sc->tmr_num = 2; in am335x_dmtimer_attach()
341 sc->tmr_num = 3; in am335x_dmtimer_attach()
349 snprintf(sc->tmr_name, sizeof(sc->tmr_name), "DMTimer%d", sc->tmr_num); in am335x_dmtimer_attach()
355 if (sc->tmr_num == ET_TMR_NUM) in am335x_dmtimer_attach()
357 else if (sc->tmr_num == TC_TMR_NUM) in am335x_dmtimer_attach()
360 panic("am335x_dmtimer: bad timer number %d", sc->tmr_num); in am335x_dmtimer_attach()