Home
last modified time | relevance | path

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

/drivers/mfd/
Dmcp-sa11x0.c31 void __iomem *base0; member
38 #define MCCR0(m) ((m)->base0 + 0x00)
39 #define MCDR0(m) ((m)->base0 + 0x08)
40 #define MCDR1(m) ((m)->base0 + 0x0c)
41 #define MCDR2(m) ((m)->base0 + 0x10)
42 #define MCSR(m) ((m)->base0 + 0x18)
198 m->base0 = ioremap(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
200 if (!m->base0 || !m->base1) { in mcp_sa11x0_probe()
229 iounmap(m->base0); in mcp_sa11x0_probe()
254 iounmap(m->base0); in mcp_sa11x0_remove()
/drivers/pinctrl/bcm/
Dpinctrl-nsp-mux.c117 void __iomem *base0; member
431 base_address = pinctrl->base0; in nsp_pinmux_set()
490 val = readl(pinctrl->base0); in nsp_gpio_request_enable()
494 writel(val, pinctrl->base0); in nsp_gpio_request_enable()
511 val = readl(pinctrl->base0); in nsp_gpio_disable_free()
516 writel(val, pinctrl->base0); in nsp_gpio_disable_free()
575 pinctrl->base0 = devm_ioremap_resource(&pdev->dev, res); in nsp_pinmux_probe()
576 if (IS_ERR(pinctrl->base0)) in nsp_pinmux_probe()
577 return PTR_ERR(pinctrl->base0); in nsp_pinmux_probe()
Dpinctrl-cygnus-mux.c106 void __iomem *base0; member
816 val = readl(pinctrl->base0 + grp->mux.offset); in cygnus_pinmux_set()
819 writel(val, pinctrl->base0 + grp->mux.offset); in cygnus_pinmux_set()
954 pinctrl->base0 = devm_ioremap_resource(&pdev->dev, res); in cygnus_pinmux_probe()
955 if (IS_ERR(pinctrl->base0)) { in cygnus_pinmux_probe()
957 return PTR_ERR(pinctrl->base0); in cygnus_pinmux_probe()
Dpinctrl-ns2-mux.c123 void __iomem *base0; member
615 base_address = pinctrl->base0; in ns2_pinmux_set()
1046 pinctrl->base0 = devm_ioremap_resource(&pdev->dev, res); in ns2_pinmux_probe()
1047 if (IS_ERR(pinctrl->base0)) in ns2_pinmux_probe()
1048 return PTR_ERR(pinctrl->base0); in ns2_pinmux_probe()
/drivers/thermal/qcom/
Dtsens-8916.c53 int base0 = 0, base1 = 0, i; in calibrate_8916() local
81 base0 = (qfprom_cdata[0] & BASE0_MASK); in calibrate_8916()
88 p1[i] = (((base0) + p1[i]) << 3); in calibrate_8916()
/drivers/gpio/
Dgpio-em.c36 void __iomem *base0; member
73 return ioread32(p->base0 + offs); in em_gio_read()
82 iowrite32(value, p->base0 + offs); in em_gio_write()
303 p->base0 = devm_ioremap_nocache(&pdev->dev, io[0]->start, in em_gio_probe()
305 if (!p->base0) { in em_gio_probe()
/drivers/lguest/
Dsegments.c122 gdt[GDT_ENTRY_TSS].base0 = tss & 0xFFFF; in setup_default_gdt_entries()
/drivers/bluetooth/
Dbtmrvl_sdio.c546 u8 base0, base1; in btmrvl_sdio_download_fw_w_helper() local
594 base0 = sdio_readb(card->func, in btmrvl_sdio_download_fw_w_helper()
600 base0, base0); in btmrvl_sdio_download_fw_w_helper()
615 len = (((u16) base1) << 8) | base0; in btmrvl_sdio_download_fw_w_helper()
/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1005 u8 base0, base1; in mwifiex_prog_fw_w_helper() local
1047 &base0); in mwifiex_prog_fw_w_helper()
1052 base0, base0); in mwifiex_prog_fw_w_helper()
1064 len = (u16) (((base1 & 0xff) << 8) | (base0 & 0xff)); in mwifiex_prog_fw_w_helper()
/drivers/edac/
Damd64_edac.c799 u32 *base0 = &pvt->csels[0].csbases[cs]; in read_dct_base_mask() local
802 if (!amd64_read_dct_pci_cfg(pvt, 0, reg0, base0)) in read_dct_base_mask()
804 cs, *base0, reg0); in read_dct_base_mask()
/drivers/scsi/
Dgdth.c608 unsigned long base0, base1, base2; in gdth_pci_init_one() local
630 base0 = pci_resource_flags(pdev, 0); in gdth_pci_init_one()
635 if (!(base0 & IORESOURCE_MEM)) in gdth_pci_init_one()
639 if (!(base0 & IORESOURCE_MEM) || in gdth_pci_init_one()