Lines Matching +full:allow +full:- +full:set +full:- +full:time
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Test-related constants for sandbox
42 * sandbox_i2c_set_test_mode() - set test mode for running unit tests
65 * Allow tests to add to the time reported through lib/time.c functions
66 * offset: number of milliseconds to advance the system time
71 * sandbox_i2c_rtc_set_offset() - set the time offset from system/base time
74 * @use_system_time: true to use system time, false to use @base_time
75 * @offset: RTC offset from current system/base time (-1 for no
83 * sandbox_i2c_rtc_get_set_base_time() - get and set the base time
86 * @base_time: New base system time (set to -1 for no change)
87 * @return old base time
94 * sandbox_osd_get_mem() - get the internal memory of a sandbox OSD
103 * sandbox_pwm_get_config() - get the PWM config for a channel
111 * @return 0 if OK, -ENOSPC if the PWM number is invalid
117 * sandbox_sf_set_block_protect() - Set the BP bits of the status register
120 * @bp_mask: BP bits to set (bits 2:0, so a value of 0 to 7)
125 * sandbox_get_codec_params() - Read back codec parameters
127 * This reads back the parameters set by audio_codec_set_params() for the
135 * sandbox_get_i2s_sum() - Read back the sum of the audio data so far
145 * sandbox_get_setup_called() - Returns the number of times setup(*) was called
155 * sandbox_get_sound_sum() - Read back the sum of the sound data so far
165 * sandbox_set_allow_beep() - Set whether the 'beep' interface is supported
168 * @allow: true to allow the start_beep() method, false to disallow it
170 void sandbox_set_allow_beep(struct udevice *dev, bool allow);
173 * sandbox_get_beep_frequency() - Get the frequency of the current beep
181 * sandbox_get_pch_spi_protect() - Get the PCI SPI protection status