Home
last modified time | relevance | path

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

/linux-6.1.9/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.c225 volatile struct preg __iomem *rp; in control_set_hardware()
/linux-6.1.9/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 …]
/linux-6.1.9/sound/core/
Dsound.c258 struct snd_minor *preg; in snd_register_device() local
263 preg = kmalloc(sizeof *preg, GFP_KERNEL); in snd_register_device()
264 if (preg == NULL) in snd_register_device()
266 preg->type = type; in snd_register_device()
267 preg->card = card ? card->number : -1; in snd_register_device()
268 preg->device = dev; in snd_register_device()
269 preg->f_ops = f_ops; in snd_register_device()
270 preg->private_data = private_data; in snd_register_device()
271 preg->card_ptr = card; in snd_register_device()
279 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 …]
/linux-6.1.9/drivers/macintosh/
Dmacio-adb.c23 struct preg { struct
29 struct preg intr; argument
30 struct preg data[9];
31 struct preg intr_enb;
32 struct preg dcount;
33 struct preg error;
34 struct preg ctrl;
35 struct preg autopoll;
36 struct preg active_hi;
37 struct preg active_lo;
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c377 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_dma_exit() local
382 data = _nbu2ss_readl(&preg->USBSSCONF); in _nbu2ss_ep_dma_exit()
393 _nbu2ss_writel(&preg->EP_DCR[num].EP_DCR2, 0); in _nbu2ss_ep_dma_exit()
394 _nbu2ss_bitclr(&preg->EP_DCR[num].EP_DCR1, DCR1_EPN_DIR0); in _nbu2ss_ep_dma_exit()
395 _nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0); in _nbu2ss_ep_dma_exit()
399 _nbu2ss_bitclr(&preg->EP_REGS[num].EP_CONTROL, EPN_AUTO); in _nbu2ss_ep_dma_exit()
400 _nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0); in _nbu2ss_ep_dma_exit()
408 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_dma_abort() local
410 _nbu2ss_bitclr(&preg->EP_DCR[ep->epnum - 1].EP_DCR1, DCR1_EPN_REQEN); in _nbu2ss_ep_dma_abort()
412 _nbu2ss_bitclr(&preg->EP_REGS[ep->epnum - 1].EP_DMA_CTRL, EPN_DMA_EN); in _nbu2ss_ep_dma_abort()
[all …]
/linux-6.1.9/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.c453 void __iomem *preg; in evea_probe() local
476 preg = devm_platform_ioremap_resource(pdev, 0); in evea_probe()
477 if (IS_ERR(preg)) in evea_probe()
478 return PTR_ERR(preg); in evea_probe()
480 evea->regmap = devm_regmap_init_mmio(&pdev->dev, preg, in evea_probe()
/linux-6.1.9/drivers/crypto/stm32/
Dstm32-hash.c962 u32 *preg; in stm32_hash_export() local
974 preg = rctx->hw_context; in stm32_hash_export()
976 *preg++ = stm32_hash_read(hdev, HASH_IMR); in stm32_hash_export()
977 *preg++ = stm32_hash_read(hdev, HASH_STR); in stm32_hash_export()
978 *preg++ = stm32_hash_read(hdev, HASH_CR); in stm32_hash_export()
980 *preg++ = stm32_hash_read(hdev, HASH_CSR(i)); in stm32_hash_export()
995 const u32 *preg = in; in stm32_hash_import() local
1001 preg = rctx->hw_context; in stm32_hash_import()
1005 stm32_hash_write(hdev, HASH_IMR, *preg++); in stm32_hash_import()
1006 stm32_hash_write(hdev, HASH_STR, *preg++); in stm32_hash_import()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/x86/kvm/
Demulate.c586 ulong *preg = reg_rmw(ctxt, reg); in register_address_increment() local
588 assign_register(preg, *preg + inc, ctxt->ad_bytes); in register_address_increment()
/linux-6.1.9/net/netfilter/
Dnf_tables_api.c9621 static int nft_parse_register(const struct nlattr *attr, u32 *preg) in nft_parse_register() argument
9628 *preg = reg * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_parse_register()
9631 *preg = reg + NFT_REG_SIZE / NFT_REG32_SIZE - NFT_REG32_00; in nft_parse_register()