Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/
Dcontrolfb.h35 struct preg { /* padded register */ struct
41 struct preg vcount; /* vertical counter */ argument
43 struct preg vswin; /* between vsblank and vssync */
44 struct preg vsblank; /* vert start blank */
45 struct preg veblank; /* vert end blank (display start) */
46 struct preg vewin; /* between vesync and veblank */
47 struct preg vesync; /* vert end sync */
48 struct preg vssync; /* vert start sync */
49 struct preg vperiod; /* vert period */
50 struct preg piped; /* pipe delay hardware cursor */
[all …]
Dplatinumfb.h39 struct preg { /* padded register */ struct
45 struct preg reg[128]; argument
Dcontrolfb.c233 volatile struct preg __iomem *rp; in control_set_hardware()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lm355x.c201 struct lm355x_reg_data *preg = chip->regs; in lm355x_control() local
203 ret = regmap_read(chip->regmap, preg[REG_FLAG].regno, &chip->last_flag); in lm355x_control()
206 if (chip->last_flag & preg[REG_FLAG].mask) in lm355x_control()
209 chip->last_flag & preg[REG_FLAG].mask); in lm355x_control()
217 regmap_update_bits(chip->regmap, preg[REG_TORCH_CTRL].regno, in lm355x_control()
218 preg[REG_TORCH_CTRL].mask, in lm355x_control()
220 << preg[REG_TORCH_CTRL].shift); in lm355x_control()
227 preg[REG_TORCH_CFG].regno, in lm355x_control()
228 preg[REG_TORCH_CFG].mask, in lm355x_control()
230 preg[REG_TORCH_CFG].shift); in lm355x_control()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dsound.c252 struct snd_minor *preg; in snd_register_device() local
257 preg = kmalloc(sizeof *preg, GFP_KERNEL); in snd_register_device()
258 if (preg == NULL) in snd_register_device()
260 preg->type = type; in snd_register_device()
261 preg->card = card ? card->number : -1; in snd_register_device()
262 preg->device = dev; in snd_register_device()
263 preg->f_ops = f_ops; in snd_register_device()
264 preg->private_data = private_data; in snd_register_device()
265 preg->card_ptr = card; in snd_register_device()
273 preg->dev = device; in snd_register_device()
[all …]
Dsound_oss.c90 struct snd_minor *preg; in snd_register_oss_device() local
100 preg = kmalloc(sizeof(struct snd_minor), GFP_KERNEL); in snd_register_oss_device()
101 if (preg == NULL) in snd_register_oss_device()
103 preg->type = type; in snd_register_oss_device()
104 preg->card = card ? card->number : -1; in snd_register_oss_device()
105 preg->device = dev; in snd_register_oss_device()
106 preg->f_ops = f_ops; in snd_register_oss_device()
107 preg->private_data = private_data; in snd_register_oss_device()
108 preg->card_ptr = card; in snd_register_oss_device()
110 snd_oss_minors[minor] = preg; in snd_register_oss_device()
[all …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dmacio-adb.c21 struct preg { struct
27 struct preg intr; argument
28 struct preg data[9];
29 struct preg intr_enb;
30 struct preg dcount;
31 struct preg error;
32 struct preg ctrl;
33 struct preg autopoll;
34 struct preg active_hi;
35 struct preg active_lo;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Ddebugfs.c38 u32 preg; member
63 u32 preg, vreg; in mmio_diff_handler() local
65 preg = intel_uncore_read_notrace(gvt->gt->uncore, _MMIO(offset)); in mmio_diff_handler()
68 if (preg != vreg) { in mmio_diff_handler()
74 node->preg = preg; in mmio_diff_handler()
113 u32 diff = node->preg ^ node->vreg; in vgpu_mmio_diff_show()
116 node->offset, node->preg, node->vreg, in vgpu_mmio_diff_show()
/kernel/liteos_m/testsuites/unittest/fuzz/src/regex/
Dit_test_regex_fuzz.c50 regex_t preg; in RegexFuzz() local
87 ret = regcomp(&preg, str1, num); in RegexFuzz()
89 regfree(&preg); in RegexFuzz()
92 regexec(&preg, str2, nmatch, pmatch, num1); in RegexFuzz()
93 regfree(&preg); in RegexFuzz()
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c375 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_dma_exit() local
380 data = _nbu2ss_readl(&preg->USBSSCONF); in _nbu2ss_ep_dma_exit()
391 _nbu2ss_writel(&preg->EP_DCR[num].EP_DCR2, 0); in _nbu2ss_ep_dma_exit()
392 _nbu2ss_bitclr(&preg->EP_DCR[num].EP_DCR1, DCR1_EPN_DIR0); in _nbu2ss_ep_dma_exit()
393 _nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0); in _nbu2ss_ep_dma_exit()
397 _nbu2ss_bitclr(&preg->EP_REGS[num].EP_CONTROL, EPN_AUTO); in _nbu2ss_ep_dma_exit()
398 _nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0); in _nbu2ss_ep_dma_exit()
406 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_dma_abort() local
408 _nbu2ss_bitclr(&preg->EP_DCR[ep->epnum - 1].EP_DCR1, DCR1_EPN_REQEN); in _nbu2ss_ep_dma_abort()
410 _nbu2ss_bitclr(&preg->EP_REGS[ep->epnum - 1].EP_DMA_CTRL, EPN_DMA_EN); in _nbu2ss_ep_dma_abort()
[all …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio-dma.c255 void __iomem *preg; in uniphier_aiodma_soc_register_platform() local
258 preg = devm_platform_ioremap_resource(pdev, 0); in uniphier_aiodma_soc_register_platform()
259 if (IS_ERR(preg)) in uniphier_aiodma_soc_register_platform()
260 return PTR_ERR(preg); in uniphier_aiodma_soc_register_platform()
262 chip->regmap = devm_regmap_init_mmio(dev, preg, in uniphier_aiodma_soc_register_platform()
Devea.c454 void __iomem *preg; in evea_probe() local
477 preg = devm_platform_ioremap_resource(pdev, 0); in evea_probe()
478 if (IS_ERR(preg)) in evea_probe()
479 return PTR_ERR(preg); in evea_probe()
481 evea->regmap = devm_regmap_init_mmio(&pdev->dev, preg, in evea_probe()
/kernel/linux/linux-5.10/drivers/crypto/stm32/
Dstm32-hash.c961 u32 *preg; in stm32_hash_export() local
973 preg = rctx->hw_context; in stm32_hash_export()
975 *preg++ = stm32_hash_read(hdev, HASH_IMR); in stm32_hash_export()
976 *preg++ = stm32_hash_read(hdev, HASH_STR); in stm32_hash_export()
977 *preg++ = stm32_hash_read(hdev, HASH_CR); in stm32_hash_export()
979 *preg++ = stm32_hash_read(hdev, HASH_CSR(i)); in stm32_hash_export()
994 const u32 *preg = in; in stm32_hash_import() local
1000 preg = rctx->hw_context; in stm32_hash_import()
1004 stm32_hash_write(hdev, HASH_IMR, *preg++); in stm32_hash_import()
1005 stm32_hash_write(hdev, HASH_STR, *preg++); in stm32_hash_import()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dof_device_32.c253 const void *preg; in build_device_resources() local
262 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources()
263 if (!preg || num_reg == 0) in build_device_resources()
277 const u32 *reg = (preg + (index * ((na + ns) * 4))); in build_device_resources()
Dof_device_64.c323 const void *preg; in build_device_resources() local
332 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources()
333 if (!preg || num_reg == 0) in build_device_resources()
355 const u32 *reg = (preg + (index * ((na + ns) * 4))); in build_device_resources()
/kernel/linux/linux-5.10/arch/mips/pci/
Dops-tx4927.c437 __u32 __iomem *preg = (__u32 __iomem *)pcicptr; in tx4927_dump_pcic_settings1() local
440 for (i = 0; i < sizeof(struct tx4927_pcic_reg); i += 4, preg++) { in tx4927_dump_pcic_settings1()
453 printk(KERN_CONT " %08x", __raw_readl(preg)); in tx4927_dump_pcic_settings1()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c156 static int msm_hdmi_hdcp_scm_wr(struct hdmi_hdcp_ctrl *hdcp_ctrl, u32 *preg, in msm_hdmi_hdcp_scm_wr() argument
164 WARN_ON(!pdata || !preg || (count == 0)); in msm_hdmi_hdcp_scm_wr()
173 scm_buf[i].addr = phy_addr + preg[idx]; in msm_hdmi_hdcp_scm_wr()
190 hdmi_write(hdmi, preg[i], pdata[i]); in msm_hdmi_hdcp_scm_wr()
/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c593 ulong *preg = reg_rmw(ctxt, reg); in register_address_increment() local
595 assign_register(preg, *preg + inc, ctxt->ad_bytes); in register_address_increment()