Home
last modified time | relevance | path

Searched refs:base (Results 6626 - 6650 of 18775) sorted by relevance

1...<<261262263264265266267268269270>>...751

/kernel/linux/linux-5.10/drivers/mfd/
H A Dssbi.c68 void __iomem *base; member
77 return readl(ssbi->base + reg); in ssbi_readl()
82 writel(val, ssbi->base + reg); in ssbi_writel()
274 ssbi->base = devm_ioremap_resource(&pdev->dev, mem_res); in ssbi_probe()
275 if (IS_ERR(ssbi->base)) in ssbi_probe()
276 return PTR_ERR(ssbi->base); in ssbi_probe()
/kernel/linux/linux-5.10/drivers/phy/cadence/
H A Dphy-cadence-salvo.c107 void __iomem *base; member
114 return (u16)readl(salvo_phy->base + in cdns_salvo_read()
121 writel(val, salvo_phy->base + in cdns_salvo_write()
285 salvo_phy->base = devm_ioremap_resource(dev, res); in cdns_salvo_phy_probe()
286 if (IS_ERR(salvo_phy->base)) in cdns_salvo_phy_probe()
287 return PTR_ERR(salvo_phy->base); in cdns_salvo_phy_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
H A Dpinctrl-ns.c25 void __iomem *base; member
232 tmp = readl(ns_pinctrl->base); in ns_pinctrl_set_mux()
234 writel(tmp, ns_pinctrl->base); in ns_pinctrl_set_mux()
292 ns_pinctrl->base = devm_ioremap_resource(dev, res); in ns_pinctrl_probe()
293 if (IS_ERR(ns_pinctrl->base)) { in ns_pinctrl_probe()
295 return PTR_ERR(ns_pinctrl->base); in ns_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dearlycon.c41 void __iomem *base; in earlycon_map() local
44 base = (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in earlycon_map()
45 base += paddr & ~PAGE_MASK; in earlycon_map()
47 base = ioremap(paddr, size); in earlycon_map()
49 if (!base) in earlycon_map()
52 return base; in earlycon_map()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dsyscopyarea.c320 unsigned long *base = NULL; in sys_copyarea() local
335 /* split the base of the framebuffer into a long-aligned address and in sys_copyarea()
337 base = (unsigned long *)((unsigned long)p->screen_base & ~(bytes-1)); in sys_copyarea()
350 bitcpy_rev(p, base + (dst_idx / bits), dst_idx % bits, in sys_copyarea()
351 base + (src_idx / bits), src_idx % bits, bits, in sys_copyarea()
356 bitcpy(p, base + (dst_idx / bits), dst_idx % bits, in sys_copyarea()
357 base + (src_idx / bits), src_idx % bits, bits, in sys_copyarea()
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dspinand.h365 * @base: NAND device instance
390 struct nand_device base; member
426 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
437 return nanddev_to_mtd(&spinand->base); in spinand_to_mtd()
448 return container_of(nand, struct spinand_device, base); in nand_to_spinand()
460 return &spinand->base; in spinand_to_nand()
473 nanddev_set_of_node(&spinand->base, np); in spinand_set_of_node()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnamespace.c34 * @base - used to return pointer to the end of devname part of path
58 const char *base; in nfs_path() local
99 base = dentry->d_fsdata; in nfs_path()
100 if (!base) { in nfs_path()
106 namelen = strlen(base); in nfs_path()
108 /* Strip off excess slashes in base string */ in nfs_path()
109 while (namelen > 0 && base[namelen - 1] == '/') in nfs_path()
119 memcpy(end, base, namelen); in nfs_path()
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dat91sam9_wdt.c41 readl_relaxed((wdt)->base + (field))
43 writel_relaxed((val), (wdt)->base + (field))
83 void __iomem *base; member
347 wdt->base = devm_platform_ioremap_resource(pdev, 0); in at91wdt_probe()
348 if (IS_ERR(wdt->base)) in at91wdt_probe()
349 return PTR_ERR(wdt->base); in at91wdt_probe()
H A Dbcm_kona_wdt.c38 void __iomem *base; member
71 val = readl_relaxed(wdt->base + offset); in secure_register_read()
182 writel_relaxed(val, wdt->base + SECWDOG_CTRL_REG); in bcm_kona_wdt_ctrl_reg_modify()
280 wdt->base = devm_platform_ioremap_resource(pdev, 0); in bcm_kona_wdt_probe()
281 if (IS_ERR(wdt->base)) in bcm_kona_wdt_probe()
282 return PTR_ERR(wdt->base); in bcm_kona_wdt_probe()
/kernel/linux/linux-5.10/fs/crypto/
H A Dinline_crypt.c24 struct blk_crypto_key base; member
146 err = blk_crypto_init_key(&blk_key->base, raw_key, crypto_mode, in fscrypt_prepare_inline_crypt_key()
168 err = blk_crypto_start_using_key(&blk_key->base, in fscrypt_prepare_inline_crypt_key()
199 blk_crypto_evict_key(blk_key->devs[i], &blk_key->base); in fscrypt_destroy_inline_crypt_key()
253 bio_crypt_set_ctx(bio, &ci->ci_enc_key.blk_key->base, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx()
336 if (bc->bc_key != &inode->i_crypt_info->ci_enc_key.blk_key->base) in fscrypt_mergeable_bio()
/kernel/linux/linux-5.10/lib/mpi/
H A Dmpi-pow.c24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() argument
79 bsize = base->nlimbs; in mpi_powm()
80 bsign = base->sign; in mpi_powm()
81 if (bsize > msize) { /* The base is larger than the module. Reduce it. */ in mpi_powm()
87 MPN_COPY(bp, base->d, bsize); in mpi_powm()
92 /* Canonicalize the base, since we are going to multiply with it in mpi_powm()
96 bp = base->d; in mpi_powm()
159 negative_result = (ep[0] & 1) && base->sign; in mpi_powm()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dpsb_device.c192 list_for_each_entry(connector, &dev->mode_config.connector_list, base.head) in psb_save_display_registers()
194 connector->save(&connector->base); in psb_save_display_registers()
231 list_for_each_entry(connector, &dev->mode_config.connector_list, base.head) in psb_restore_display_registers()
233 connector->restore(&connector->base); in psb_restore_display_registers()
267 .base = DSPABASE,
291 .base = DSPBBASE,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv30.c22 nv30_gr_chan_new(struct nvkm_gr *base, struct nvkm_fifo_chan *fifoch, in nv30_gr_chan_new() argument
25 struct nv20_gr *gr = nv20_gr(base); in nv30_gr_chan_new()
36 ret = nvkm_memory_new(gr->base.engine.subdev.device, in nv30_gr_chan_new()
104 nv30_gr_init(struct nvkm_gr *base) in nv30_gr_init() argument
106 struct nv20_gr *gr = nv20_gr(base); in nv30_gr_init()
107 struct nvkm_device *device = gr->base.engine.subdev.device; in nv30_gr_init()
/kernel/linux/linux-5.10/drivers/memory/
H A Dpl172.c51 void __iomem *base; member
73 writel(cycles, pl172->base + reg_offset); in pl172_timing_prop()
77 readl(pl172->base + reg_offset)); in pl172_timing_prop()
125 writel(cfg, pl172->base + MPMC_STATIC_CFG(cs)); in pl172_setup_static()
244 pl172->base = devm_ioremap(dev, adev->res.start, in pl172_probe()
246 if (!pl172->base) { in pl172_probe()
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-mtk-disp.c49 void __iomem *base; member
60 void __iomem *address = mdp->base + offset; in mtk_disp_pwm_update_bits()
207 mdp->base = devm_ioremap_resource(&pdev->dev, r); in mtk_disp_pwm_probe()
208 if (IS_ERR(mdp->base)) in mtk_disp_pwm_probe()
209 return PTR_ERR(mdp->base); in mtk_disp_pwm_probe()
221 mdp->chip.base = -1; in mtk_disp_pwm_probe()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dqcom-spmi-pmic.c73 * only the base PMIC device will contain a reference to
77 * returns a pointer to the base PMIC device.
89 * Quick return if the function device is already in the base in qcom_pmic_get_base_usid()
120 * If the base USID for this PMIC hasn't been in qcom_pmic_get_base_usid()
138 struct spmi_device *base; in pmic_spmi_get_base_revid() local
141 base = qcom_pmic_get_base_usid(sdev, ctx); in pmic_spmi_get_base_revid()
142 if (IS_ERR(base)) in pmic_spmi_get_base_revid()
143 return PTR_ERR(base); in pmic_spmi_get_base_revid()
146 * Copy revid info from base device if it has probed and is still in pmic_spmi_get_base_revid()
150 base_ctx = spmi_device_get_drvdata(base); in pmic_spmi_get_base_revid()
[all...]
H A Dssbi.c68 void __iomem *base; member
77 return readl(ssbi->base + reg); in ssbi_readl()
82 writel(val, ssbi->base + reg); in ssbi_writel()
272 ssbi->base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in ssbi_probe()
273 if (IS_ERR(ssbi->base)) in ssbi_probe()
274 return PTR_ERR(ssbi->base); in ssbi_probe()
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro.h58 * @enc_offset: Offset from VPU base to encoder registers.
59 * @dec_offset: Offset from VPU base to decoder registers.
305 u32 base; member
336 struct v4l2_m2m_buffer base; member
434 v = vdpu_read(vpu, reg->base); in vdpu_read_mask()
444 vdpu_write(vpu, vdpu_read_mask(vpu, reg, val), reg->base); in hantro_reg_write()
451 vdpu_write_relaxed(vpu, vdpu_read_mask(vpu, reg, val), reg->base); in hantro_reg_write_relaxed()
483 return container_of(buf, struct hantro_decoded_buffer, base.vb.vb2_buf); in vb2_to_hantro_decoded_buf()
/kernel/linux/linux-6.6/drivers/memory/
H A Dpl172.c51 void __iomem *base; member
73 writel(cycles, pl172->base + reg_offset); in pl172_timing_prop()
77 readl(pl172->base + reg_offset)); in pl172_timing_prop()
125 writel(cfg, pl172->base + MPMC_STATIC_CFG(cs)); in pl172_setup_static()
244 pl172->base = devm_ioremap(dev, adev->res.start, in pl172_probe()
246 if (!pl172->base) { in pl172_probe()
/kernel/linux/linux-6.6/drivers/auxdisplay/
H A Dhd44780.c203 unsigned int i, base; in hd44780_probe() local
216 base = PIN_DATA4; in hd44780_probe()
219 base = PIN_DATA0; in hd44780_probe()
240 hd->pins[base + i] = devm_gpiod_get_index(dev, "data", i, in hd44780_probe()
242 if (IS_ERR(hd->pins[base + i])) { in hd44780_probe()
243 ret = PTR_ERR(hd->pins[base + i]); in hd44780_probe()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnamespace.c34 * @base - used to return pointer to the end of devname part of path
58 const char *base; in nfs_path() local
99 base = dentry->d_fsdata; in nfs_path()
100 if (!base) { in nfs_path()
106 namelen = strlen(base); in nfs_path()
108 /* Strip off excess slashes in base string */ in nfs_path()
109 while (namelen > 0 && base[namelen - 1] == '/') in nfs_path()
119 memcpy(end, base, namelen); in nfs_path()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dat91sam9_wdt.c41 readl_relaxed((wdt)->base + (field))
43 writel_relaxed((val), (wdt)->base + (field))
83 void __iomem *base; member
347 wdt->base = devm_platform_ioremap_resource(pdev, 0); in at91wdt_probe()
348 if (IS_ERR(wdt->base)) in at91wdt_probe()
349 return PTR_ERR(wdt->base); in at91wdt_probe()
H A Dbcm_kona_wdt.c38 void __iomem *base; member
71 val = readl_relaxed(wdt->base + offset); in secure_register_read()
182 writel_relaxed(val, wdt->base + SECWDOG_CTRL_REG); in bcm_kona_wdt_ctrl_reg_modify()
280 wdt->base = devm_platform_ioremap_resource(pdev, 0); in bcm_kona_wdt_probe()
281 if (IS_ERR(wdt->base)) in bcm_kona_wdt_probe()
282 return PTR_ERR(wdt->base); in bcm_kona_wdt_probe()
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dspinand.h402 * @base: NAND device instance
427 struct nand_device base; member
463 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
474 return nanddev_to_mtd(&spinand->base); in spinand_to_mtd()
485 return container_of(nand, struct spinand_device, base); in nand_to_spinand()
497 return &spinand->base; in spinand_to_nand()
510 nanddev_set_of_node(&spinand->base, np); in spinand_set_of_node()
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dearlycon.c41 void __iomem *base; in earlycon_map() local
44 base = (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in earlycon_map()
45 base += paddr & ~PAGE_MASK; in earlycon_map()
47 base = ioremap(paddr, size); in earlycon_map()
49 if (!base) in earlycon_map()
52 return base; in earlycon_map()

Completed in 20 milliseconds

1...<<261262263264265266267268269270>>...751