Home
last modified time | relevance | path

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

/linux/drivers/clocksource/
H A Dsh_cmt.c94 unsigned int hwidx; /* Real hardware index */ member
896 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
908 ch->hwidx = hwidx; in sh_cmt_setup_channel()
909 ch->timer_bit = hwidx; in sh_cmt_setup_channel()
918 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
922 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
926 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
932 value |= BIT(hwidx); in sh_cmt_setup_channel()
1098 unsigned int hwidx = ffs(mask) - 1; in sh_cmt_setup() local
1102 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup()
[all …]
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c253 unsigned int hwidx; in cxgbi_ppm_ppods_reserve() local
275 hwidx = ppm->base_idx + idx; in cxgbi_ppm_ppods_reserve()
277 tag = cxgbi_ppm_make_ddp_tag(hwidx, pdata->color); in cxgbi_ppm_ppods_reserve()
/linux/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c1055 int hwidx; in sbdma_rx_process() local
1088 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_rx_process()
1098 if (curidx == hwidx) in sbdma_rx_process()
1220 int hwidx; in sbdma_tx_process() local
1231 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_tx_process()
1254 if (curidx == hwidx) in sbdma_tx_process()