Searched refs:hwidx (Results 1 – 4 of 4) sorted by relevance
99 unsigned int hwidx; /* Real hardware index */ member856 unsigned int hwidx, bool clockevent, in sh_cmt_setup_channel() argument867 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() local1019 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup()1024 mask &= ~(1 << hwidx); in sh_cmt_setup()
249 unsigned int hwidx; in cxgbi_ppm_ppods_reserve() local271 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()
1070 int hwidx; in sbdma_rx_process() local1103 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() local1246 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_tx_process()1269 if (curidx == hwidx) in sbdma_tx_process()
1153 u32 idx, hwidx; in mtk_pdma_tx_poll() local1158 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()