Searched refs:sys0 (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | 4xx.c | 333 u32 sys0 = mfdcr(DCRN_CPC0_SYS0); in ibm440gp_fixup_clocks() local 336 u32 opdv = CPC0_SYS0_OPDV(sys0); in ibm440gp_fixup_clocks() 337 u32 epdv = CPC0_SYS0_EPDV(sys0); in ibm440gp_fixup_clocks() 339 if (sys0 & CPC0_SYS0_BYPASS) { in ibm440gp_fixup_clocks() 343 if (sys0 & CPC0_SYS0_EXTSL) in ibm440gp_fixup_clocks() 345 m = CPC0_SYS0_FWDVB(sys0) * opdv * epdv; in ibm440gp_fixup_clocks() 348 m = CPC0_SYS0_FBDV(sys0) * CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks() 349 cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks() 350 plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); in ibm440gp_fixup_clocks()
|
/kernel/linux/linux-4.19/arch/powerpc/boot/ |
D | 4xx.c | 337 u32 sys0 = mfdcr(DCRN_CPC0_SYS0); in ibm440gp_fixup_clocks() local 340 u32 opdv = CPC0_SYS0_OPDV(sys0); in ibm440gp_fixup_clocks() 341 u32 epdv = CPC0_SYS0_EPDV(sys0); in ibm440gp_fixup_clocks() 343 if (sys0 & CPC0_SYS0_BYPASS) { in ibm440gp_fixup_clocks() 347 if (sys0 & CPC0_SYS0_EXTSL) in ibm440gp_fixup_clocks() 349 m = CPC0_SYS0_FWDVB(sys0) * opdv * epdv; in ibm440gp_fixup_clocks() 352 m = CPC0_SYS0_FBDV(sys0) * CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks() 353 cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks() 354 plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); in ibm440gp_fixup_clocks()
|
/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb-v2/ |
D | rtl28xxu.c | 1431 u8 gpio, sys0, epa_ctl[2]; in rtl2831u_power_ctrl() local 1436 ret = rtl28xxu_rd_reg(d, SYS_SYS0, &sys0); in rtl2831u_power_ctrl() 1445 dev_dbg(&d->intf->dev, "RD SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1451 sys0 = sys0 & 0x0f; in rtl2831u_power_ctrl() 1452 sys0 |= 0xe0; in rtl2831u_power_ctrl() 1459 sys0 = sys0 & (~0xc0); in rtl2831u_power_ctrl() 1464 dev_dbg(&d->intf->dev, "WR SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1467 ret = rtl28xxu_wr_reg(d, SYS_SYS0, sys0); in rtl2831u_power_ctrl()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
D | rtl28xxu.c | 1468 u8 gpio, sys0, epa_ctl[2]; in rtl2831u_power_ctrl() local 1473 ret = rtl28xxu_rd_reg(d, SYS_SYS0, &sys0); in rtl2831u_power_ctrl() 1482 dev_dbg(&d->intf->dev, "RD SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1488 sys0 = sys0 & 0x0f; in rtl2831u_power_ctrl() 1489 sys0 |= 0xe0; in rtl2831u_power_ctrl() 1496 sys0 = sys0 & (~0xc0); in rtl2831u_power_ctrl() 1501 dev_dbg(&d->intf->dev, "WR SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1504 ret = rtl28xxu_wr_reg(d, SYS_SYS0, sys0); in rtl2831u_power_ctrl()
|