Lines Matching +full:unit +full:- +full:address

1 /* SPDX-License-Identifier: GPL-2.0 */
63 * iosf_mbi_read() - MailBox Interface read command
66 * @offset: register address offset
69 * Locking is handled by spinlock - cannot sleep.
75 * iosf_mbi_write() - MailBox unmasked write command
78 * @offset: register address offset
81 * Locking is handled by spinlock - cannot sleep.
87 * iosf_mbi_modify() - MailBox masked write command
90 * @offset: register address offset
94 * Locking is handled by spinlock - cannot sleep.
100 * iosf_mbi_punit_acquire() - Acquire access to the P-Unit
102 * One some systems the P-Unit accesses the PMIC to change various voltages
105 * If a driver sends requests to the P-Unit which require the P-Unit to access
109 * Call this function before sending requests to the P-Unit which may make it
112 * P-Unit can safely access the PMIC over the shared I2C bus.
114 * Note on these systems the i2c-bus driver will request a semaphore from the
115 * P-Unit for exclusive access to the PMIC bus when i2c drivers are accessing
117 * certain P-Unit requests during the access window to avoid problems.
124 * iosf_mbi_punit_release() - Release access to the P-Unit
129 * iosf_mbi_block_punit_i2c_access() - Block P-Unit accesses to the PMIC bus
131 * Call this function to block P-Unit access to the PMIC I2C bus, so that the
134 * This function acquires the P-Unit bus semaphore and notifies
136 * P-Unit in a way which may cause it to access the shared I2C bus.
147 * iosf_mbi_unblock_punit_i2c_access() - Release PMIC I2C bus block
154 * iosf_mbi_register_pmic_bus_access_notifier - Register PMIC bus notifier
156 * This function can be used by drivers which may need to acquire P-Unit
171 * iosf_mbi_register_pmic_bus_access_notifier - Unregister PMIC bus notifier
178 * iosf_mbi_unregister_pmic_bus_access_notifier_unlocked - Unregister PMIC bus
190 * iosf_mbi_assert_punit_acquired - Assert that the P-Unit has been acquired.
205 return -EPERM; in iosf_mbi_read()
212 return -EPERM; in iosf_mbi_write()
219 return -EPERM; in iosf_mbi_modify()