/linux-6.6.21/drivers/video/fbdev/ |
D | controlfb.h | 35 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 …]
|
D | platinumfb.h | 39 struct preg { /* padded register */ struct 45 struct preg reg[128]; argument
|
D | controlfb.c | 225 volatile struct preg __iomem *rp; in control_set_hardware()
|
/linux-6.6.21/drivers/leds/ |
D | leds-lm355x.c | 201 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.6.21/sound/core/ |
D | sound.c | 258 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 …]
|
D | sound_oss.c | 90 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.6.21/drivers/macintosh/ |
D | macio-adb.c | 23 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.6.21/drivers/gpu/drm/i915/gvt/ |
D | debugfs.c | 38 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.6.21/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 377 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.6.21/sound/soc/uniphier/ |
D | aio-dma.c | 255 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()
|
D | evea.c | 453 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.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_output_7a2000.c | 118 const struct lsdc_reg32 *preg; in ls7a2000_hdmi_encoder_regs_show() local 120 preg = (const struct lsdc_reg32 *)node->info_ent->data; in ls7a2000_hdmi_encoder_regs_show() 122 while (preg->name) { in ls7a2000_hdmi_encoder_regs_show() 123 u32 offset = preg->offset; in ls7a2000_hdmi_encoder_regs_show() 126 preg->name, offset, lsdc_rreg32(ldev, offset)); in ls7a2000_hdmi_encoder_regs_show() 127 ++preg; in ls7a2000_hdmi_encoder_regs_show()
|
D | lsdc_crtc.c | 537 const struct lsdc_reg32 *preg = &lcrtc->preg[i]; in lsdc_crtc_show_regs() local 538 u32 offset = preg->offset; in lsdc_crtc_show_regs() 541 preg->name, offset, lsdc_rreg32(ldev, offset)); in lsdc_crtc_show_regs() 680 lcrtc->preg = lsdc_crtc_regs_array[index]; in lsdc_crtc_late_register()
|
D | lsdc_drv.h | 128 const struct lsdc_reg32 *preg; member
|
/linux-6.6.21/arch/sparc/kernel/ |
D | of_device_32.c | 253 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()
|
D | of_device_64.c | 323 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.6.21/drivers/crypto/stm32/ |
D | stm32-hash.c | 472 u32 *preg = state->hw_context; in stm32_hash_update_cpu() local 507 *preg++ = stm32_hash_read(hdev, HASH_IMR); in stm32_hash_update_cpu() 508 *preg++ = stm32_hash_read(hdev, HASH_STR); in stm32_hash_update_cpu() 509 *preg++ = stm32_hash_read(hdev, HASH_CR); in stm32_hash_update_cpu() 511 *preg++ = stm32_hash_read(hdev, HASH_CSR(i)); in stm32_hash_update_cpu() 1014 u32 *preg = rctx->state.hw_context; in stm32_hash_one_request() local 1019 stm32_hash_write(hdev, HASH_IMR, *preg++); in stm32_hash_one_request() 1020 stm32_hash_write(hdev, HASH_STR, *preg++); in stm32_hash_one_request() 1021 stm32_hash_write(hdev, HASH_CR, *preg); in stm32_hash_one_request() 1022 reg = *preg++ | HASH_CR_INIT; in stm32_hash_one_request() [all …]
|
/linux-6.6.21/arch/mips/pci/ |
D | ops-tx4927.c | 437 __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.6.21/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_hdcp.c | 156 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.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_uvmm.c | 241 nouveau_uvma_region_alloc(struct nouveau_uvma_region **preg) in nouveau_uvma_region_alloc() argument 243 *preg = kzalloc(sizeof(**preg), GFP_KERNEL); in nouveau_uvma_region_alloc() 244 if (!*preg) in nouveau_uvma_region_alloc() 247 kref_init(&(*preg)->kref); in nouveau_uvma_region_alloc()
|
/linux-6.6.21/arch/x86/kvm/ |
D | emulate.c | 556 ulong *preg = reg_rmw(ctxt, reg); in register_address_increment() local 558 assign_register(preg, *preg + inc, ctxt->ad_bytes); in register_address_increment()
|
/linux-6.6.21/net/netfilter/ |
D | nf_tables_api.c | 10724 static int nft_parse_register(const struct nlattr *attr, u32 *preg) in nft_parse_register() argument 10731 *preg = reg * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_parse_register() 10734 *preg = reg + NFT_REG_SIZE / NFT_REG32_SIZE - NFT_REG32_00; in nft_parse_register()
|