Searched refs:sys0 (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/media/usb/dvb-usb-v2/ |
D | rtl28xxu.c | 1479 u8 gpio, sys0, epa_ctl[2]; in rtl2831u_power_ctrl() local 1484 ret = rtl28xxu_rd_reg(d, SYS_SYS0, &sys0); in rtl2831u_power_ctrl() 1493 dev_dbg(&d->intf->dev, "RD SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1499 sys0 = sys0 & 0x0f; in rtl2831u_power_ctrl() 1500 sys0 |= 0xe0; in rtl2831u_power_ctrl() 1507 sys0 = sys0 & (~0xc0); in rtl2831u_power_ctrl() 1512 dev_dbg(&d->intf->dev, "WR SYS0=%02x GPIO_OUT_VAL=%02x\n", sys0, gpio); in rtl2831u_power_ctrl() 1515 ret = rtl28xxu_wr_reg(d, SYS_SYS0, sys0); in rtl2831u_power_ctrl()
|