Home
last modified time | relevance | path

Searched refs:pwmr (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/arch/powerpc/sysdev/
A Dfsl_rmu.c144 u32 pwmr; member
398 ipwmr = in_be32(&pw->pw_regs->pwmr); in fsl_rio_port_write_handler()
433 out_be32(&pw->pw_regs->pwmr, ipwmr | RIO_IPWMR_CQ); in fsl_rio_port_write_handler()
445 out_be32(&pw->pw_regs->pwmr, ipwmr & ~RIO_IPWMR_PWE); in fsl_rio_port_write_handler()
447 out_be32(&pw->pw_regs->pwmr, ipwmr); in fsl_rio_port_write_handler()
522 rval = in_be32(&pw->pw_regs->pwmr); in fsl_rio_pw_enable()
529 out_be32(&pw->pw_regs->pwmr, rval); in fsl_rio_pw_enable()
548 out_be32(&pw->pw_regs->pwmr, in fsl_rio_port_write_init()
549 in_be32(&pw->pw_regs->pwmr) & ~RIO_IPWMR_PWE); in fsl_rio_port_write_init()
577 out_be32(&pw->pw_regs->pwmr, in fsl_rio_port_write_init()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/
A Dimxfb.c176 u_int pwmr; member
654 if (fbi->pwmr) in imxfb_activate_var()
655 writel(fbi->pwmr, fbi->regs + LCDC_PWMR); in imxfb_activate_var()
712 of_property_read_u32(np, "fsl,lpccr", &fbi->pwmr); in imxfb_init_fbinfo()
777 return fbi->pwmr & 0xff; in imxfb_lcd_get_contrast()
784 if (fbi->pwmr && fbi->enabled) { in imxfb_lcd_set_contrast()
790 fbi->pwmr &= ~0xff; in imxfb_lcd_set_contrast()
791 fbi->pwmr |= contrast; in imxfb_lcd_set_contrast()
793 writel(fbi->pwmr, fbi->regs + LCDC_PWMR); in imxfb_lcd_set_contrast()

Completed in 10 milliseconds