Home
last modified time | relevance | path

Searched full:base1 (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/mfd/
H A Dmcp-sa11x0.c29 void __iomem *base1; member
40 #define MCCR1(m) ((m)->base1 + 0x00)
196 m->base1 = ioremap(mem1->start, resource_size(mem1)); in mcp_sa11x0_probe()
197 if (!m->base0 || !m->base1) { in mcp_sa11x0_probe()
224 iounmap(m->base1); in mcp_sa11x0_probe()
249 iounmap(m->base1); in mcp_sa11x0_remove()
/linux/drivers/gpio/
H A Dgpio-em.c25 void __iomem *base1; member
63 return ioread32(p->base1 + (offs - GIO_IDT0)); in em_gio_read()
72 iowrite32(value, p->base1 + (offs - GIO_IDT0)); in em_gio_write()
296 p->base1 = devm_platform_ioremap_resource(pdev, 1); in em_gio_probe()
297 if (IS_ERR(p->base1)) in em_gio_probe()
298 return PTR_ERR(p->base1); in em_gio_probe()
/linux/arch/x86/include/asm/
H A Ddesc_defs.h69 u16 base1: 8, type: 4, s: 1, dpl: 2, p: 1; member
78 .base1 = ((base) >> 16) & 0x00FF, \
108 u16 base1 : 8, type : 5, dpl : 2, p : 1; member
H A Ddesc.h21 desc->base1 = (info->base_addr & 0x00ff0000) >> 16; in fill_ldt()
170 desc->base1 = (addr >> 16) & 0xFF; in set_tssldt_descriptor()
384 return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc_base()
390 desc->base1 = (base >> 16) & 0xff; in set_desc_base()
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c761 writeq(val, cspmu->base1 + offset); in arm_cspmu_write_counter()
763 lo_hi_writeq(val, cspmu->base1 + offset); in arm_cspmu_write_counter()
767 writel(lower_32_bits(val), cspmu->base1 + offset); in arm_cspmu_write_counter()
779 counter_addr = cspmu->base1 + offset; in arm_cspmu_read_counter()
787 return readl(cspmu->base1 + offset); in arm_cspmu_read_counter()
1021 cspmu->base1 = cspmu->base0; in arm_cspmu_init_mmio()
1023 cspmu->base1 = devm_platform_ioremap_resource(pdev, 1); in arm_cspmu_init_mmio()
1024 if (IS_ERR(cspmu->base1)) { in arm_cspmu_init_mmio()
1026 return PTR_ERR(cspmu->base1); in arm_cspmu_init_mmio()
1094 pmovs[i] = readl(cspmu->base1 + pmovclr_offset); in arm_cspmu_get_reset_overflow()
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dqcom-tsens.yaml148 - const: base1
185 - const: base1
239 - const: base1
368 "base1", "base2",
/linux/drivers/media/dvb-frontends/
H A Dzl10039.c45 BASE1, enumerator
214 ret = zl10039_writereg(state, BASE1, 0x0A); in zl10039_set_params()
222 ret = zl10039_writereg(state, BASE1, 0x6A); in zl10039_set_params()
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-mux.c99 * @base1: second mux register
112 void __iomem *base1; member
429 base_address = pinctrl->base1; in nsp_pinmux_set()
575 pinctrl->base1 = devm_ioremap(&pdev->dev, res->start, in nsp_pinmux_probe()
577 if (!pinctrl->base1) { in nsp_pinmux_probe()
H A Dpinctrl-cygnus-mux.c92 * @base1: second I/O register base
104 void __iomem *base1; member
855 val = readl(pinctrl->base1 + mux->offset); in cygnus_gpio_request_enable()
857 writel(val, pinctrl->base1 + mux->offset); in cygnus_gpio_request_enable()
882 val = readl(pinctrl->base1 + mux->offset); in cygnus_gpio_disable_free()
884 writel(val, pinctrl->base1 + mux->offset); in cygnus_gpio_disable_free()
954 pinctrl->base1 = devm_platform_ioremap_resource(pdev, 1); in cygnus_pinmux_probe()
955 if (IS_ERR(pinctrl->base1)) { in cygnus_pinmux_probe()
957 return PTR_ERR(pinctrl->base1); in cygnus_pinmux_probe()
H A Dpinctrl-ns2-mux.c105 * @base1: second IOMUX register base
118 void __iomem *base1; member
613 base_address = pinctrl->base1; in ns2_pinmux_set()
1046 pinctrl->base1 = devm_ioremap(&pdev->dev, res->start, in ns2_pinmux_probe()
1048 if (!pinctrl->base1) { in ns2_pinmux_probe()
/linux/drivers/thermal/qcom/
H A Dtsens.c77 u32 base1, base2; in tsens_read_calibration() local
96 ret = snprintf(name, sizeof(name), "base1%s", backup ? "_backup" : ""); in tsens_read_calibration()
100 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &base1); in tsens_read_calibration()
135 p1[i] = p1[i] + (base1 << shift); in tsens_read_calibration()
145 p1[i] = (p1[i] + base1) << shift; in tsens_read_calibration()
212 u32 base1, base2; in tsens_read_calibration_legacy() local
221 base1 = tsens_read_cell(&format->base[0], format->base_len, cdata0, cdata1); in tsens_read_calibration_legacy()
232 p1[i] = p1[i] + (base1 << format->base_shift); in tsens_read_calibration_legacy()
240 p1[i] = (p1[i] + base1) << format->base_shift; in tsens_read_calibration_legacy()
/linux/drivers/bluetooth/
H A Dbtmrvl_sdio.c565 u8 base0, base1; in btmrvl_sdio_download_fw_w_helper() local
623 base1 = sdio_readb(card->func, in btmrvl_sdio_download_fw_w_helper()
626 BT_ERR("BASE1 register read failed:" in btmrvl_sdio_download_fw_w_helper()
627 " base1 = 0x%04X(%d)." in btmrvl_sdio_download_fw_w_helper()
629 base1, base1); in btmrvl_sdio_download_fw_w_helper()
634 len = (((u16) base1) << 8) | base0; in btmrvl_sdio_download_fw_w_helper()
/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()
1294 priv->pub.base1 = of_iomap(np, 1); in cpg_mssr_common_init()
1295 if (!priv->pub.base1) { in cpg_mssr_common_init()
1346 if (priv->pub.base1) in cpg_mssr_common_init()
1347 iounmap(priv->pub.base1); in cpg_mssr_common_init()
H A Dr9a09g077-cpg.c858 void __iomem *base = RZT2H_REG_BLOCK(offset) ? pub->base1 : pub->base0; in r9a09g077_cpg_clk_register()
869 return r9a09g077_cpg_pll3_clk_register(dev, core, pub->base1 + offset, in r9a09g077_cpg_clk_register()
/linux/drivers/video/
H A Daperture.c144 static bool overlap(resource_size_t base1, resource_size_t end1, in overlap() argument
147 return (base1 < end2) && (end1 > base2); in overlap()
/linux/drivers/pci/controller/
H A Dpci-v3-semi.c264 * Base0 and Base1 can be used for any type of PCI memory access. Base2
362 * prefetchable), this frees up base1 for re-use by in v3_map_bus()
370 * Set up base1/map1 to point into configuration space. in v3_map_bus()
384 * Reassign base1 for use by prefetchable PCI memory in v3_unmap_bus()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.c801 u8 base0, base1; in nxpwifi_prog_fw_w_helper() local
850 &base1); in nxpwifi_prog_fw_w_helper()
853 "dev BASE1 register read failed:\t" in nxpwifi_prog_fw_w_helper()
854 "base1=%#04X(%d). Terminating dnld\n", in nxpwifi_prog_fw_w_helper()
855 base1, base1); 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
1501 &base1); in mwifiex_prog_fw_w_helper()
1504 "dev BASE1 register read failed:\t" in mwifiex_prog_fw_w_helper()
1505 "base1=%#04X(%d). Terminating dnld\n", in mwifiex_prog_fw_w_helper()
1506 base1, base1); in mwifiex_prog_fw_w_helper()
1509 len = (u16) (((base1 & 0xff) << 8) | (base0 & 0xff)); in mwifiex_prog_fw_w_helper()
/linux/drivers/char/tpm/
H A Dtpm_nsc.c366 dev_dbg(&pdev->dev, "NSC IO Base1 0x%x\n", in init_nsc()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h454 unsigned base1:8, type:4, s:1, dpl:2, p:1; in rdtscp()
484 (u64)desc->base1 << 16 | in inw()
404 unsigned base1:8, type:4, s:1, dpl:2, p:1; global() member
/linux/lib/zstd/compress/
H A Dzstd_opt.c106 ZSTD_downscaleStats(unsigned* table, U32 lastEltIndex, U32 shift, base_directive_e base1) in ZSTD_downscaleStats() argument
113 unsigned const base = base1 ? 1 : (table[s]>0); in ZSTD_downscaleStats()
/linux/drivers/edac/
H A Damd64_edac.c1518 u32 *base1 = &pvt->csels[1].csbases[cs]; in dct_read_base_mask() local
1527 if (!amd64_read_dct_pci_cfg(pvt, 1, reg0, base1)) in dct_read_base_mask()
1529 cs, *base1, (pvt->fam == 0x10) ? reg1 in dct_read_base_mask()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c577 desc->base1 = segp->base >> 16; in kvm_seg_fill_gdt_64bit()