Lines Matching refs:isp1704_read
61 static inline int isp1704_read(struct isp1704_charger *isp, u32 reg) in isp1704_read() function
90 func_ctrl = isp1704_read(isp, ULPI_FUNC_CTRL); in isp1704_charger_type()
91 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()
108 reg = isp1704_read(isp, ULPI_DEBUG); in isp1704_charger_type()
129 r = isp1704_read(isp, ULPI_FUNC_CTRL); in isp1704_charger_verify()
148 if (!isp1704_read(isp, ULPI_DEBUG)) { in isp1704_charger_verify()
170 if (!(isp1704_read(isp, ULPI_DEBUG))) in isp1704_charger_verify()
186 pwr_ctrl = isp1704_read(isp, ISP1704_PWR_CTRL); in isp1704_charger_detect()
201 if (isp1704_read(isp, ISP1704_PWR_CTRL) in isp1704_charger_detect()
352 ret = isp1704_read(isp, ULPI_SCRATCH); in isp1704_test_ulpi()
360 vendor = isp1704_read(isp, ULPI_VENDOR_ID_LOW); in isp1704_test_ulpi()
361 vendor |= isp1704_read(isp, ULPI_VENDOR_ID_HIGH) << 8; in isp1704_test_ulpi()
365 product = isp1704_read(isp, ULPI_PRODUCT_ID_LOW); in isp1704_test_ulpi()
366 product |= isp1704_read(isp, ULPI_PRODUCT_ID_HIGH) << 8; in isp1704_test_ulpi()