Lines Matching refs:isys

503 static int ipu6_isys_mcd_phy_powerup_ack(struct ipu6_isys *isys, u8 id)  in ipu6_isys_mcd_phy_powerup_ack()  argument
505 struct device *dev = &isys->adev->auxdev.dev; in ipu6_isys_mcd_phy_powerup_ack()
506 void __iomem *isys_base = isys->pdata->base; in ipu6_isys_mcd_phy_powerup_ack()
523 static int ipu6_isys_mcd_phy_powerdown_ack(struct ipu6_isys *isys, u8 id) in ipu6_isys_mcd_phy_powerdown_ack() argument
525 struct device *dev = &isys->adev->auxdev.dev; in ipu6_isys_mcd_phy_powerdown_ack()
526 void __iomem *isys_base = isys->pdata->base; in ipu6_isys_mcd_phy_powerdown_ack()
540 static void ipu6_isys_mcd_phy_reset(struct ipu6_isys *isys, u8 id, bool assert) in ipu6_isys_mcd_phy_reset() argument
542 void __iomem *isys_base = isys->pdata->base; in ipu6_isys_mcd_phy_reset()
554 static int ipu6_isys_mcd_phy_ready(struct ipu6_isys *isys, u8 id) in ipu6_isys_mcd_phy_ready() argument
556 struct device *dev = &isys->adev->auxdev.dev; in ipu6_isys_mcd_phy_ready()
557 void __iomem *isys_base = isys->pdata->base; in ipu6_isys_mcd_phy_ready()
570 static void ipu6_isys_mcd_phy_common_init(struct ipu6_isys *isys) in ipu6_isys_mcd_phy_common_init() argument
572 struct ipu6_bus_device *adev = isys->adev; in ipu6_isys_mcd_phy_common_init()
581 list_for_each_entry(asc, &isys->notifier.done_list, asc_entry) { in ipu6_isys_mcd_phy_common_init()
622 static int ipu6_isys_mcd_phy_config(struct ipu6_isys *isys) in ipu6_isys_mcd_phy_config() argument
624 struct device *dev = &isys->adev->auxdev.dev; in ipu6_isys_mcd_phy_config()
625 struct ipu6_bus_device *adev = isys->adev; in ipu6_isys_mcd_phy_config()
636 list_for_each_entry(asc, &isys->notifier.done_list, asc_entry) { in ipu6_isys_mcd_phy_config()
665 int ipu6_isys_mcd_phy_set_power(struct ipu6_isys *isys, in ipu6_isys_mcd_phy_set_power() argument
670 struct device *dev = &isys->adev->auxdev.dev; in ipu6_isys_mcd_phy_set_power()
671 void __iomem *isys_base = isys->pdata->base; in ipu6_isys_mcd_phy_set_power()
684 if (!isys_base || port >= isys->pdata->ipdata->csi2.nports) { in ipu6_isys_mcd_phy_set_power()
696 ret = ipu6_isys_mcd_phy_powerup_ack(isys, phy_id); in ipu6_isys_mcd_phy_set_power()
700 ipu6_isys_mcd_phy_reset(isys, phy_id, 0); in ipu6_isys_mcd_phy_set_power()
701 ipu6_isys_mcd_phy_common_init(isys); in ipu6_isys_mcd_phy_set_power()
703 ret = ipu6_isys_mcd_phy_config(isys); in ipu6_isys_mcd_phy_set_power()
707 ipu6_isys_mcd_phy_reset(isys, phy_id, 1); in ipu6_isys_mcd_phy_set_power()
708 ret = ipu6_isys_mcd_phy_ready(isys, phy_id); in ipu6_isys_mcd_phy_set_power()
719 return ipu6_isys_mcd_phy_powerdown_ack(isys, phy_id); in ipu6_isys_mcd_phy_set_power()