Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mfd/
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-6.12.1/drivers/pinctrl/bcm/
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()
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()
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-6.12.1/drivers/gpio/
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()
290 p->base0 = devm_platform_ioremap_resource(pdev, 0); in em_gio_probe()
291 if (IS_ERR(p->base0)) in em_gio_probe()
292 return PTR_ERR(p->base0); in em_gio_probe()
/linux-6.12.1/drivers/perf/arm_cspmu/
Darm_cspmu.c411 cspmu->impl.pmiidr = readl(cspmu->base0 + PMIIDR); in arm_cspmu_init_impl_ops()
525 writel(PMCR_C | PMCR_P, cspmu->base0 + PMCR); in arm_cspmu_reset_counters()
530 writel(PMCR_E, cspmu->base0 + PMCR); in arm_cspmu_start_counters()
535 writel(0, cspmu->base0 + PMCR); in arm_cspmu_stop_counters()
773 writel(BIT(reg_bit), cspmu->base0 + inten_off); in arm_cspmu_enable_counter()
774 writel(BIT(reg_bit), cspmu->base0 + cnten_off); in arm_cspmu_enable_counter()
787 writel(BIT(reg_bit), cspmu->base0 + cnten_off); in arm_cspmu_disable_counter()
788 writel(BIT(reg_bit), cspmu->base0 + inten_off); in arm_cspmu_disable_counter()
811 writel(hwc->config, cspmu->base0 + offset); in arm_cspmu_set_event()
820 writel(filter, cspmu->base0 + offset); in arm_cspmu_set_ev_filter()
[all …]
Dampere_cspmu.c165 writel(threshold, cspmu->base0 + PMAUXR0); in ampere_cspmu_set_ev_filter()
166 writel(rank, cspmu->base0 + PMAUXR1); in ampere_cspmu_set_ev_filter()
167 writel(bank, cspmu->base0 + PMAUXR2); in ampere_cspmu_set_ev_filter()
Darm_cspmu.h146 void __iomem *base0; member
/linux-6.12.1/arch/x86/include/asm/
Ddesc_defs.h68 u16 base0; member
77 .base0 = ((base) >> 0) & 0xFFFF, \
106 u16 base0; member
Ddesc.h20 desc->base0 = (info->base_addr & 0x0000ffff); in fill_ldt()
170 desc->base0 = (u16) addr; in set_tssldt_descriptor()
385 return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc_base()
390 desc->base0 = base & 0xffff; in set_desc_base()
/linux-6.12.1/arch/arm/kernel/
Dbios32.c206 u32 base0, base1; in pci_fixup_cy82c693() local
209 base0 = 0x1f0; in pci_fixup_cy82c693()
212 base0 = 0x170; in pci_fixup_cy82c693()
217 base0 | PCI_BASE_ADDRESS_SPACE_IO); in pci_fixup_cy82c693()
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-keembay.c116 void __iomem *base0; member
1188 return keembay_read_pin(kpc->base0 + offset, pin); in keembay_gpio_get()
1196 reg_val = keembay_read_gpio_reg(kpc->base0 + KEEMBAY_GPIO_DATA_OUT, pin); in keembay_gpio_set()
1199 kpc->base0 + KEEMBAY_GPIO_DATA_HIGH, pin); in keembay_gpio_set()
1202 kpc->base0 + KEEMBAY_GPIO_DATA_LOW, pin); in keembay_gpio_set()
1270 val = keembay_read_pin(kpc->base0 + KEEMBAY_GPIO_DATA_IN, pin); in keembay_gpio_irq_handler()
1672 kpc->base0 = devm_platform_ioremap_resource(pdev, 0); in keembay_pinctrl_probe()
1673 if (IS_ERR(kpc->base0)) in keembay_pinctrl_probe()
1674 return PTR_ERR(kpc->base0); in keembay_pinctrl_probe()
/linux-6.12.1/arch/x86/math-emu/
Dfpu_system.h48 return base | ((unsigned long)d->base1 << 16) | d->base0; in seg_get_base()
/linux-6.12.1/drivers/bluetooth/
Dbtmrvl_sdio.c563 u8 base0, base1; in btmrvl_sdio_download_fw_w_helper() local
611 base0 = sdio_readb(card->func, in btmrvl_sdio_download_fw_w_helper()
617 base0, base0); in btmrvl_sdio_download_fw_w_helper()
632 len = (((u16) base1) << 8) | base0; in btmrvl_sdio_download_fw_w_helper()
/linux-6.12.1/arch/x86/hyperv/
Dhv_vtl.c54 (desc->base1 << 16) | desc->base0; in hv_vtl_system_desc_base()
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
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-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h394 uint16_t base0; member
424 (desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc64_base()
/linux-6.12.1/arch/x86/mm/
Dfault.c502 addr = desc.base0 | (desc.base1 << 16) | ((unsigned long)desc.base2 << 24); in show_ldttss()
/linux-6.12.1/drivers/edac/
Damd64_edac.c1502 u32 *base0 = &pvt->csels[0].csbases[cs]; in dct_read_base_mask() local
1505 if (!amd64_read_dct_pci_cfg(pvt, 0, reg0, base0)) in dct_read_base_mask()
1507 cs, *base0, reg0); in dct_read_base_mask()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c425 desc->base0 = segp->base & 0xFFFF; in kvm_seg_fill_gdt_64bit()