Home
last modified time | relevance | path

Searched refs:hwidx (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/clocksource/
Dsh_cmt.c96 unsigned int hwidx; /* Real hardware index */ member
849 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
860 ch->hwidx = hwidx; in sh_cmt_setup_channel()
869 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
873 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
883 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
896 ch->timer_bit = cmt->info->model == SH_CMT_48BIT_GEN2 ? 0 : ch->hwidx; in sh_cmt_setup_channel()
1016 unsigned int hwidx = ffs(mask) - 1; in sh_cmt_setup() local
1020 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup()
1025 mask &= ~(1 << hwidx); in sh_cmt_setup()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1071 int hwidx; in sbdma_rx_process() local
1104 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_rx_process()
1114 if (curidx == hwidx) in sbdma_rx_process()
1236 int hwidx; in sbdma_tx_process() local
1247 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_tx_process()
1270 if (curidx == hwidx) in sbdma_tx_process()