Searched refs:pwmr (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 144 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/drivers/video/fbdev/ |
H A D | imxfb.c | 183 u_int pwmr; member 677 if (fbi->pwmr) in imxfb_activate_var() 678 writel(fbi->pwmr, fbi->regs + LCDC_PWMR); in imxfb_activate_var() 734 of_property_read_u32(np, "fsl,lpccr", &fbi->pwmr); in imxfb_init_fbinfo() 789 return fbi->pwmr & 0xff; in imxfb_lcd_get_contrast() 796 if (fbi->pwmr && fbi->enabled) { in imxfb_lcd_set_contrast() 802 fbi->pwmr &= ~0xff; in imxfb_lcd_set_contrast() 803 fbi->pwmr |= contrast; in imxfb_lcd_set_contrast() 805 writel(fbi->pwmr, fbi->regs + LCDC_PWMR); in imxfb_lcd_set_contrast()
|