Home
last modified time | relevance | path

Searched refs:ctrl_offset (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/thermal/
Dk3_bandgap.c89 u32 ctrl_offset; member
204 data[id].ctrl_offset = K3_VTM_TMPSENS0_CTRL_OFFSET + in k3_bandgap_probe()
206 data[id].stat_offset = data[id].ctrl_offset + 0x8; in k3_bandgap_probe()
208 val = readl(data[id].bgp->base + data[id].ctrl_offset); in k3_bandgap_probe()
213 writel(val, data[id].bgp->base + data[id].ctrl_offset); in k3_bandgap_probe()
Dk3_j72xx_bandgap.c189 u32 ctrl_offset; member
454 data[id].ctrl_offset = K3_VTM_TMPSENS0_CTRL_OFFSET + id * 0x20; in k3_j72xx_bandgap_probe()
455 data[id].stat_offset = data[id].ctrl_offset + in k3_j72xx_bandgap_probe()
472 val = readl(data[id].bgp->cfg2_base + data[id].ctrl_offset); in k3_j72xx_bandgap_probe()
476 writel(val, data[id].bgp->cfg2_base + data[id].ctrl_offset); in k3_j72xx_bandgap_probe()
/linux-5.19.10/drivers/reset/
Dreset-npcm.c84 unsigned int ctrl_offset = id >> 8; in npcm_rc_setclear_reset() local
89 stat = readl(rc->base + ctrl_offset); in npcm_rc_setclear_reset()
91 writel(stat | rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
93 writel(stat & ~rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
115 unsigned int ctrl_offset = id >> 8; in npcm_rc_status() local
117 return (readl(rc->base + ctrl_offset) & rst_bit); in npcm_rc_status()
Dreset-lpc18xx.c71 u32 ctrl_offset = LPC18XX_RGU_CTRL0; in lpc18xx_rgu_setclear_reset() local
76 ctrl_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset()
82 writel(stat | rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset()
84 writel(stat & ~rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset()
/linux-5.19.10/drivers/pinctrl/mediatek/
Dmtk-eint.c304 unsigned int rst, ctrl_offset; in mtk_eint_debounce_process() local
307 ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_ctrl; in mtk_eint_debounce_process()
308 dbnc = readl(eint->base + ctrl_offset); in mtk_eint_debounce_process()
311 ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_set; in mtk_eint_debounce_process()
313 writel(rst, eint->base + ctrl_offset); in mtk_eint_debounce_process()
/linux-5.19.10/drivers/dma/xilinx/
Dxilinx_dma.c416 u32 ctrl_offset; member
522 readl_poll_timeout_atomic(chan->xdev->regs + chan->ctrl_offset + reg, \
544 return dma_read(chan, chan->ctrl_offset + reg); in dma_ctrl_read()
550 dma_write(chan, chan->ctrl_offset + reg, value); in dma_ctrl_write()
588 lo_hi_writeq(value, chan->xdev->regs + chan->ctrl_offset + reg); in dma_writeq()
2940 chan->ctrl_offset = XILINX_DMA_MM2S_CTRL_OFFSET; in xilinx_dma_chan_probe()
2965 chan->ctrl_offset = XILINX_MCDMA_S2MM_CTRL_OFFSET; in xilinx_dma_chan_probe()
2967 chan->ctrl_offset = XILINX_DMA_S2MM_CTRL_OFFSET; in xilinx_dma_chan_probe()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c383 static bool _dma64_addrext(struct dma_info *di, uint ctrl_offset) in _dma64_addrext() argument
386 bcma_set32(di->core, ctrl_offset, D64_XC_AE); in _dma64_addrext()
387 w = bcma_read32(di->core, ctrl_offset); in _dma64_addrext()
388 bcma_mask32(di->core, ctrl_offset, ~D64_XC_AE); in _dma64_addrext()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c549 nfp_net_aux_irq_request(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_request() argument
565 nn_writeb(nn, ctrl_offset, entry->entry); in nfp_net_aux_irq_request()
577 static void nfp_net_aux_irq_free(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_free() argument
580 nn_writeb(nn, ctrl_offset, 0xff); in nfp_net_aux_irq_free()