/linux/drivers/video/fbdev/ |
A D | controlfb.h | 35 struct preg { /* padded register */ struct 41 struct preg vcount; /* vertical counter */ argument 47 struct preg vesync; /* vert end sync */ 48 struct preg vssync; /* vert start sync */ 49 struct preg vperiod; /* vert period */ 55 struct preg hesync; /* horiz end sync */ 60 struct preg cnttst; 61 struct preg ctrl; /* display control */ 66 struct preg mode; 67 struct preg rfrcnt; /* refresh count */ [all …]
|
A D | platinumfb.h | 39 struct preg { /* padded register */ struct 45 struct preg reg[128]; argument
|
A D | controlfb.c | 233 volatile struct preg __iomem *rp; in control_set_hardware()
|
/linux/drivers/leds/ |
A D | leds-lm355x.c | 218 preg[REG_TORCH_CTRL].mask, 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() 243 preg[REG_FLASH_CTRL].mask, in lm355x_control() 257 preg[REG_STROBE_CFG].mask, in lm355x_control() 271 preg[REG_INDI_CTRL].mask, in lm355x_control() 280 preg[REG_INDI_CFG].regno, in lm355x_control() 281 preg[REG_INDI_CFG].mask, in lm355x_control() 283 preg[REG_INDI_CFG].shift); in lm355x_control() [all …]
|
/linux/sound/core/ |
A 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() 268 preg->device = dev; in snd_register_device() 269 preg->f_ops = f_ops; in snd_register_device() 271 preg->card_ptr = card; in snd_register_device() 279 preg->dev = device; in snd_register_device() 289 kfree(preg); in snd_register_device() 311 if (preg && preg->dev == dev) { in snd_unregister_device() [all …]
|
A D | sound_oss.c | 90 struct snd_minor *preg; in snd_register_oss_device() local 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() 131 snd_oss_minors[track2] = preg; in snd_register_oss_device() [all …]
|
/linux/drivers/macintosh/ |
A D | macio-adb.c | 20 struct preg { struct 26 struct preg intr; argument 27 struct preg data[9]; 28 struct preg intr_enb; 29 struct preg dcount; 30 struct preg error; 31 struct preg ctrl; 32 struct preg autopoll; 33 struct preg active_hi; 34 struct preg active_lo; [all …]
|
/linux/drivers/staging/emxx_udc/ |
A 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() 408 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_dma_abort() local 422 struct fc_regs __iomem *preg = udc->p_regs; in _nbu2ss_ep_in_end() local 432 _nbu2ss_writel(&preg->EP0_WRITE, data32); in _nbu2ss_ep_in_end() 435 _nbu2ss_writel(&preg->EP0_CONTROL, data); in _nbu2ss_ep_in_end() 1369 data = _nbu2ss_readl(&preg->EP0_CONTROL); in _nbu2ss_get_ep_stall() 2352 _nbu2ss_writel(&preg->USB_INT_ENA, 0); in _nbu2ss_udc_irq() 2361 _nbu2ss_writel(&preg->USB_INT_ENA, 0); in _nbu2ss_udc_irq() 2730 struct fc_regs __iomem *preg; in nbu2ss_ep_fifo_status() local [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A 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/sound/soc/uniphier/ |
A 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()
|
A D | evea.c | 454 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()
|
/linux/drivers/crypto/stm32/ |
A D | stm32-hash.c | 962 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() 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() 1007 stm32_hash_write(hdev, HASH_CR, *preg); in stm32_hash_import() [all …]
|
/linux/arch/sparc/kernel/ |
A 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()
|
A 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/arch/mips/pci/ |
A 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/drivers/gpu/drm/msm/hdmi/ |
A 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/arch/x86/kvm/ |
A D | emulate.c | 576 ulong *preg = reg_rmw(ctxt, reg); in register_address_increment() local 578 assign_register(preg, *preg + inc, ctxt->ad_bytes); in register_address_increment()
|