Home
last modified time | relevance | path

Searched refs:regset (Results 1 – 9 of 9) sorted by relevance

/drivers/video/fbdev/core/
Dsvgalib.c23 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wcrt_multi() argument
27 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wcrt_multi()
28 regval = vga_rcrt(regbase, regset->regnum); in svga_wcrt_multi()
29 bitnum = regset->lowbit; in svga_wcrt_multi()
30 while (bitnum <= regset->highbit) { in svga_wcrt_multi()
37 vga_wcrt(regbase, regset->regnum, regval); in svga_wcrt_multi()
38 regset ++; in svga_wcrt_multi()
43 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wseq_multi() argument
47 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wseq_multi()
48 regval = vga_rseq(regbase, regset->regnum); in svga_wseq_multi()
[all …]
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-debugfs.c244 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL); in c8sectpfe_debugfs_init()
245 if (!fei->regset) in c8sectpfe_debugfs_init()
248 fei->regset->regs = fei_sys_regs; in c8sectpfe_debugfs_init()
249 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
250 fei->regset->base = fei->io; in c8sectpfe_debugfs_init()
253 fei->regset); in c8sectpfe_debugfs_init()
Dc8sectpfe-core.h78 struct debugfs_regset32 *regset; member
/drivers/gpio/
Dgpio-xlp.c110 u32 pos, regset; in xlp_gpio_get_reg() local
113 regset = (gpio / XLP_GPIO_REGSZ) * 4; in xlp_gpio_get_reg()
114 return !!(readl(addr + regset) & BIT(pos)); in xlp_gpio_get_reg()
119 u32 value, pos, regset; in xlp_gpio_set_reg() local
122 regset = (gpio / XLP_GPIO_REGSZ) * 4; in xlp_gpio_set_reg()
123 value = readl(addr + regset); in xlp_gpio_set_reg()
130 writel(value, addr + regset); in xlp_gpio_set_reg()
/drivers/usb/dwc3/
Ddebugfs.c635 dwc->regset = kzalloc(sizeof(*dwc->regset), GFP_KERNEL); in dwc3_debugfs_init()
636 if (!dwc->regset) { in dwc3_debugfs_init()
641 dwc->regset->regs = dwc3_regs; in dwc3_debugfs_init()
642 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs); in dwc3_debugfs_init()
643 dwc->regset->base = dwc->regs; in dwc3_debugfs_init()
645 file = debugfs_create_regset32("regdump", S_IRUGO, root, dwc->regset); in dwc3_debugfs_init()
Dcore.h839 struct debugfs_regset32 *regset; member
/drivers/usb/dwc2/
Ddebugfs.c742 hsotg->regset = devm_kzalloc(hsotg->dev, sizeof(*hsotg->regset), in dwc2_debugfs_init()
744 if (!hsotg->regset) { in dwc2_debugfs_init()
749 hsotg->regset->regs = dwc2_regs; in dwc2_debugfs_init()
750 hsotg->regset->nregs = ARRAY_SIZE(dwc2_regs); in dwc2_debugfs_init()
751 hsotg->regset->base = hsotg->regs; in dwc2_debugfs_init()
754 hsotg->regset); in dwc2_debugfs_init()
Dcore.h766 struct debugfs_regset32 *regset; member
/drivers/usb/musb/
Dmusb_dsps.c150 struct debugfs_regset32 regset; member
419 glue->regset.regs = dsps_musb_regs; in dsps_musb_dbg_init()
420 glue->regset.nregs = ARRAY_SIZE(dsps_musb_regs); in dsps_musb_dbg_init()
421 glue->regset.base = musb->ctrl_base; in dsps_musb_dbg_init()
423 file = debugfs_create_regset32("regdump", S_IRUGO, root, &glue->regset); in dsps_musb_dbg_init()