Home
last modified time | relevance | path

Searched refs:base1 (Results 1 – 19 of 19) 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/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c104 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-nsp-mux.c112 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-ns2-mux.c118 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/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/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/thermal/qcom/
H A Dtsens.c77 u32 base1, base2; in tsens_read_calibration() local
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/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/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()
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/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()
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()
1506 base1, base1); 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.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/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c577 desc->base1 = segp->base >> 16; in kvm_seg_fill_gdt_64bit()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt6612 Format: <base1>,<size1>[,<base2>,<size2>,...]