Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clocksource/
Dsh_cmt.c99 unsigned int hwidx; /* Real hardware index */ member
856 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument
867 ch->hwidx = hwidx; in sh_cmt_setup_channel()
868 ch->timer_bit = hwidx; in sh_cmt_setup_channel()
877 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
881 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
885 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
1015 unsigned int hwidx = ffs(mask) - 1; in sh_cmt_setup() local
1019 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup()
1024 mask &= ~(1 << hwidx); in sh_cmt_setup()
/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c249 unsigned int hwidx; in cxgbi_ppm_ppods_reserve() local
271 hwidx = ppm->base_idx + idx; in cxgbi_ppm_ppods_reserve()
273 tag = cxgbi_ppm_make_ddp_tag(hwidx, pdata->color); in cxgbi_ppm_ppods_reserve()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1070 int hwidx; in sbdma_rx_process() local
1103 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_rx_process()
1113 if (curidx == hwidx) in sbdma_rx_process()
1235 int hwidx; in sbdma_tx_process() local
1246 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_tx_process()
1269 if (curidx == hwidx) in sbdma_tx_process()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dmtk_eth_soc.c1153 u32 idx, hwidx; in mtk_pdma_tx_poll() local
1158 hwidx = mtk_reg_r32(eth, MTK_REG_TX_DTX_IDX0); in mtk_pdma_tx_poll()
1160 while ((idx != hwidx) && budget) { in mtk_pdma_tx_poll()
1179 if (idx != hwidx || idx != mtk_reg_r32(eth, MTK_REG_TX_DTX_IDX0)) in mtk_pdma_tx_poll()