Searched refs:base0 (Results 1 – 11 of 11) sorted by relevance
/drivers/mfd/ |
D | mcp-sa11x0.c | 31 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/ |
D | pinctrl-nsp-mux.c | 117 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()
|
D | pinctrl-cygnus-mux.c | 106 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()
|
D | pinctrl-ns2-mux.c | 123 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/ |
D | tsens-8916.c | 53 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/ |
D | gpio-em.c | 36 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/ |
D | segments.c | 122 gdt[GDT_ENTRY_TSS].base0 = tss & 0xFFFF; in setup_default_gdt_entries()
|
/drivers/bluetooth/ |
D | btmrvl_sdio.c | 546 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/ |
D | sdio.c | 1005 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/ |
D | amd64_edac.c | 799 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/ |
D | gdth.c | 608 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()
|