Home
last modified time | relevance | path

Searched refs:base0 (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/mfd/
H A Dmcp-sa11x0.c28 void __iomem *base0; member
35 #define MCCR0(m) ((m)->base0 + 0x00)
36 #define MCDR0(m) ((m)->base0 + 0x08)
37 #define MCDR1(m) ((m)->base0 + 0x0c)
38 #define MCDR2(m) ((m)->base0 + 0x10)
39 #define MCSR(m) ((m)->base0 + 0x18)
195 m->base0 = ioremap(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
197 if (!m->base0 || !m->base1) { in mcp_sa11x0_probe()
225 iounmap(m->base0); in mcp_sa11x0_probe()
250 iounmap(m->base0); in mcp_sa11x0_remove()
/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c242 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_read()
250 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_write()
288 value = readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
293 writeb(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
296 readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
297 barrier_data(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
309 value = readl(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
314 writel(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
334 error = readl_poll_timeout_atomic(priv->pub.base0 + priv->status_regs[reg], in cpg_mstp_clock_endisable()
338 priv->pub.base0 + priv->control_regs[reg], bit); in cpg_mstp_clock_endisable()
[all …]
H A Drcar-gen2-cpg.c280 void __iomem *base = pub->base0; in rcar_gen2_cpg_clk_register()
H A Drcar-gen3-cpg.c346 void __iomem *base = pub->base0; in rcar_gen3_cpg_clk_register()
H A Drcar-gen4-cpg.c426 void __iomem *base = pub->base0; in rcar_gen4_cpg_clk_register()
H A Dr9a09g077-cpg.c858 void __iomem *base = RZT2H_REG_BLOCK(offset) ? pub->base1 : pub->base0; in r9a09g077_cpg_clk_register()
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c390 pmiidr = readl(cspmu->base0 + PMIIDR); in arm_cspmu_get_pmiidr()
397 pmpidr = readl(cspmu->base0 + PMPIDR0); in arm_cspmu_get_pmiidr()
401 pmpidr = readl(cspmu->base0 + PMPIDR1); in arm_cspmu_get_pmiidr()
407 pmpidr = readl(cspmu->base0 + PMPIDR2); in arm_cspmu_get_pmiidr()
413 pmpidr = readl(cspmu->base0 + PMPIDR3); in arm_cspmu_get_pmiidr()
417 pmpidr = readl(cspmu->base0 + PMPIDR4); in arm_cspmu_get_pmiidr()
566 writel(PMCR_C | PMCR_P, cspmu->base0 + arm_cspmu_pmcr(cspmu)); in arm_cspmu_reset_counters()
571 writel(PMCR_E, cspmu->base0 + arm_cspmu_pmcr(cspmu)); in arm_cspmu_start_counters()
576 writel(0, cspmu->base0 + arm_cspmu_pmcr(cspmu)); in arm_cspmu_stop_counters()
815 writel(BIT(reg_bit), cspmu->base0 + inten_off); in arm_cspmu_enable_counter()
[all …]
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-mux.c111 void __iomem *base0; member
425 base_address = pinctrl->base0; in nsp_pinmux_set()
484 val = readl(pinctrl->base0); in nsp_gpio_request_enable()
488 writel(val, pinctrl->base0); in nsp_gpio_request_enable()
505 val = readl(pinctrl->base0); in nsp_gpio_disable_free()
510 writel(val, pinctrl->base0); in nsp_gpio_disable_free()
568 pinctrl->base0 = devm_platform_ioremap_resource(pdev, 0); in nsp_pinmux_probe()
569 if (IS_ERR(pinctrl->base0)) in nsp_pinmux_probe()
570 return PTR_ERR(pinctrl->base0); in nsp_pinmux_probe()
H A Dpinctrl-cygnus-mux.c103 void __iomem *base0; member
813 val = readl(pinctrl->base0 + grp->mux.offset); in cygnus_pinmux_set()
816 writel(val, pinctrl->base0 + grp->mux.offset); in cygnus_pinmux_set()
948 pinctrl->base0 = devm_platform_ioremap_resource(pdev, 0); in cygnus_pinmux_probe()
949 if (IS_ERR(pinctrl->base0)) { in cygnus_pinmux_probe()
951 return PTR_ERR(pinctrl->base0); in cygnus_pinmux_probe()
H A Dpinctrl-ns2-mux.c117 void __iomem *base0; member
609 base_address = pinctrl->base0; in ns2_pinmux_set()
1039 pinctrl->base0 = devm_platform_ioremap_resource(pdev, 0); in ns2_pinmux_probe()
1040 if (IS_ERR(pinctrl->base0)) in ns2_pinmux_probe()
1041 return PTR_ERR(pinctrl->base0); in ns2_pinmux_probe()
/linux/drivers/gpio/
H A Dgpio-em.c24 void __iomem *base0; member
61 return ioread32(p->base0 + offs); in em_gio_read()
70 iowrite32(value, p->base0 + offs); in em_gio_write()
292 p->base0 = devm_platform_ioremap_resource(pdev, 0); in em_gio_probe()
293 if (IS_ERR(p->base0)) in em_gio_probe()
294 return PTR_ERR(p->base0); in em_gio_probe()
/linux/arch/x86/include/asm/
H A Ddesc_defs.h68 u16 base0; member
77 .base0 = ((base) >> 0) & 0xFFFF, \
106 u16 base0; member
H A Ddesc.h20 desc->base0 = (info->base_addr & 0x0000ffff); in fill_ldt()
169 desc->base0 = (u16) addr; in set_tssldt_descriptor()
384 return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc_base()
389 desc->base0 = base & 0xffff; in set_desc_base()
/linux/drivers/bluetooth/
H A Dbtmrvl_sdio.c565 u8 base0, base1; in btmrvl_sdio_download_fw_w_helper() local
613 base0 = sdio_readb(card->func, in btmrvl_sdio_download_fw_w_helper()
619 base0, base0); in btmrvl_sdio_download_fw_w_helper()
634 len = (((u16) base1) << 8) | base0; in btmrvl_sdio_download_fw_w_helper()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.c801 u8 base0, base1; in nxpwifi_prog_fw_w_helper() local
841 &base0); in nxpwifi_prog_fw_w_helper()
846 base0, base0); in nxpwifi_prog_fw_w_helper()
858 len = (u16)(((base1 & 0xff) << 8) | (base0 & 0xff)); in nxpwifi_prog_fw_w_helper()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c1450 u8 base0, base1; in mwifiex_prog_fw_w_helper() local
1492 &base0); in mwifiex_prog_fw_w_helper()
1497 base0, base0); in mwifiex_prog_fw_w_helper()
1509 len = (u16) (((base1 & 0xff) << 8) | (base0 & 0xff)); in mwifiex_prog_fw_w_helper()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h453 u16 base0; in rdtscp()
485 (u64)desc->base0; in inw()
403 u16 base0; global() member
/linux/drivers/edac/
H A Damd64_edac.c1517 u32 *base0 = &pvt->csels[0].csbases[cs]; in dct_read_base_mask() local
1520 if (!amd64_read_dct_pci_cfg(pvt, 0, reg0, base0)) in dct_read_base_mask()
1522 cs, *base0, reg0); in dct_read_base_mask()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c576 desc->base0 = segp->base & 0xFFFF; in kvm_seg_fill_gdt_64bit()