Home
last modified time | relevance | path

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

/linux-6.1.9/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.c187 u32 ctrl_offset; member
452 data[id].ctrl_offset = K3_VTM_TMPSENS0_CTRL_OFFSET + id * 0x20; in k3_j72xx_bandgap_probe()
453 data[id].stat_offset = data[id].ctrl_offset + in k3_j72xx_bandgap_probe()
470 val = readl(data[id].bgp->cfg2_base + data[id].ctrl_offset); in k3_j72xx_bandgap_probe()
474 writel(val, data[id].bgp->cfg2_base + data[id].ctrl_offset); in k3_j72xx_bandgap_probe()
/linux-6.1.9/drivers/reset/
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()
Dreset-npcm.c117 unsigned int ctrl_offset = id >> 8; in npcm_rc_setclear_reset() local
122 stat = readl(rc->base + ctrl_offset); in npcm_rc_setclear_reset()
124 writel(stat | rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
126 writel(stat & ~rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
148 unsigned int ctrl_offset = id >> 8; in npcm_rc_status() local
150 return (readl(rc->base + ctrl_offset) & rst_bit); in npcm_rc_status()
/linux-6.1.9/drivers/pinctrl/mediatek/
Dmtk-eint.c323 unsigned int rst, ctrl_offset; in mtk_eint_debounce_process() local
326 ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_ctrl; in mtk_eint_debounce_process()
327 dbnc = readl(eint->base + ctrl_offset); in mtk_eint_debounce_process()
330 ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_set; in mtk_eint_debounce_process()
332 writel(rst, eint->base + ctrl_offset); in mtk_eint_debounce_process()
/linux-6.1.9/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()
2820 chan->ctrl_offset = XILINX_DMA_MM2S_CTRL_OFFSET; in xilinx_dma_chan_probe()
2845 chan->ctrl_offset = XILINX_MCDMA_S2MM_CTRL_OFFSET; in xilinx_dma_chan_probe()
2847 chan->ctrl_offset = XILINX_DMA_S2MM_CTRL_OFFSET; in xilinx_dma_chan_probe()
/linux-6.1.9/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-6.1.9/sound/soc/codecs/
Dnau8825.c1444 unsigned int ctrl_val = 0, ctrl_offset = 0, value = 0, dac_s, adc_s; in nau8825_set_tdm_slot() local
1474 ctrl_offset = 4 * slot_width; in nau8825_set_tdm_slot()
1476 ctrl_offset += 1; in nau8825_set_tdm_slot()
1519 NAU8825_TSLOT_L0_MASK, ctrl_offset); in nau8825_set_tdm_slot()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c553 nfp_net_aux_irq_request(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_request() argument
569 nn_writeb(nn, ctrl_offset, entry->entry); in nfp_net_aux_irq_request()
581 static void nfp_net_aux_irq_free(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_free() argument
584 nn_writeb(nn, ctrl_offset, 0xff); in nfp_net_aux_irq_free()