Searched refs:hwidx (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | sh_cmt.c | 94 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() 861 ch->timer_bit = hwidx; in sh_cmt_setup_channel() 870 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel() 874 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel() 878 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel() 1034 unsigned int hwidx = ffs(mask) - 1; in sh_cmt_setup() local 1038 ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, in sh_cmt_setup() 1043 mask &= ~(1 << hwidx); in sh_cmt_setup()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/libcxgb/ |
| H A D | libcxgb_ppm.c | 253 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | ssv_rc.h | 42 void ssv6xxx_rc_hw_reset(struct ssv_softc *sc, int rc_idx, int hwidx);
|
| H A D | ssv_rc.c | 1655 void ssv6xxx_rc_hw_reset(struct ssv_softc *sc, int rc_idx, int hwidx) in ssv6xxx_rc_hw_reset() argument 1662 if (hwidx >=0 && hwidx<SSV_NUM_HW_STA) { in ssv6xxx_rc_hw_reset() 1663 rc_sta->rc_wsid = hwidx; in ssv6xxx_rc_hw_reset() 1665 SMAC_REG_WRITE(sc->sh, rc_hw_reg[hwidx], 0x40000000); in ssv6xxx_rc_hw_reset()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/ |
| H A D | sb1250-mac.c | 1057 int hwidx; in sbdma_rx_process() local 1090 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_rx_process() 1100 if (curidx == hwidx) in sbdma_rx_process() 1222 int hwidx; in sbdma_tx_process() local 1233 hwidx = ((__raw_readq(d->sbdma_curdscr) & M_DMA_CURDSCR_ADDR) - in sbdma_tx_process() 1256 if (curidx == hwidx) in sbdma_tx_process()
|