Lines Matching refs:bar0
462 static void serialio_d21_ltr(u32 bar0) in serialio_d21_ltr() argument
465 clrbits_le32(bar0 + SIO_REG_PPR_GEN, SIO_REG_PPR_GEN_LTR_MODE_MASK); in serialio_d21_ltr()
468 clrbits_le32(bar0 + SIO_REG_PPR_RST, SIO_REG_PPR_RST_ASSERT); in serialio_d21_ltr()
471 setbits_le32(bar0 + SIO_REG_PPR_RST, SIO_REG_PPR_RST_ASSERT); in serialio_d21_ltr()
474 writel(0, bar0 + SIO_REG_AUTO_LTR); in serialio_d21_ltr()
478 static void serialio_i2c_voltage_sel(u32 bar0, uint voltage) in serialio_i2c_voltage_sel() argument
480 clrsetbits_le32(bar0 + SIO_REG_PPR_GEN, SIO_REG_PPR_GEN_VOLTAGE_MASK, in serialio_i2c_voltage_sel()
528 u32 bar0, bar1; in pch_serialio_init() local
534 bar0 = dm_pci_read_bar32(dev, 0); in pch_serialio_init()
535 if (!bar0) in pch_serialio_init()
544 serialio_d21_ltr(bar0); in pch_serialio_init()
545 serialio_i2c_voltage_sel(bar0, 1); /* Select 1.8V always */ in pch_serialio_init()
551 setbits_le32(bar0 + SIO_REG_PPR_CLOCK, SIO_REG_PPR_CLOCK_EN); in pch_serialio_init()