Lines Matching refs:hwidx
94 unsigned int hwidx; /* Real hardware index */ member
888 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
900 ch->hwidx = hwidx; in sh_cmt_setup_channel()
901 ch->timer_bit = hwidx; in sh_cmt_setup_channel()
910 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
914 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
918 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
924 value |= BIT(hwidx); in sh_cmt_setup_channel()
1091 unsigned int hwidx = ffs(mask) - 1; in sh_cmt_setup() local
1095 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup()
1100 mask &= ~(1 << hwidx); in sh_cmt_setup()