/Zephyr-latest/dts/bindings/fuel-gauge/ |
D | battery-cutoff.yaml | 9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or 17 battery-cutoff-support: 19 Helper prop that indicates whether this device can cutoff the battery; this is also often 22 battery-cutoff-reg-addr: 24 Address of register to receive cutoff payload for battery cutoff. 26 battery-cutoff-payload: 28 Payload to write to cutoff battery register. This must be array of maximum 2 integers.
|
D | sbs,default-sbs-gauge.yaml | 9 include: ["sbs,sbs-gauge-new-api.yaml", "battery-cutoff.yaml"] 12 Default generic smart battery fuel gauge driver. Includes support for battery cutoff if enabled. 18 battery-cutoff-reg-addr: 21 battery-cutoff-payload:
|
/Zephyr-latest/tests/drivers/audio/dmic_api/boards/ |
D | mimxrt595_evk_mimxrt595s_cm33.overlay | 15 dc-cutoff = "155hz"; 22 dc-cutoff = "155hz"; 29 dc-cutoff = "155hz"; 36 dc-cutoff = "155hz";
|
D | rd_rw612_bga.overlay | 15 dc-cutoff = "155hz"; 22 dc-cutoff = "155hz"; 29 dc-cutoff = "155hz"; 36 dc-cutoff = "155hz";
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | fuel_gauge.rst | 29 Battery Cutoff 33 specific payload will do a battery cutoff. This battery cutoff is often referred to as ship, shelf, 36 The fuel gauge API exposes battery cutoff with the :c:func:`fuel_gauge_battery_cutoff` function.
|
/Zephyr-latest/lib/libc/minimal/source/stdlib/ |
D | strtoll.c | 48 register unsigned long long cutoff; in strtoll() local 77 * Compute the cutoff value between legal numbers and illegal in strtoll() 85 * cutoff will be set to 214748364 and cutlim to either in strtoll() 93 cutoff = neg ? -(unsigned long long)LLONG_MIN : LLONG_MAX; in strtoll() 94 cutlim = cutoff % (unsigned long long)base; in strtoll() 95 cutoff /= (unsigned long long)base; in strtoll() 107 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
|
D | strtol.c | 48 register unsigned long cutoff; in strtol() local 78 * Compute the cutoff value between legal numbers and illegal in strtol() 86 * cutoff will be set to 214748364 and cutlim to either in strtol() 94 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol() 95 cutlim = cutoff % (unsigned long)base; in strtol() 96 cutoff /= (unsigned long)base; in strtol() 108 if ((any < 0) || (acc > cutoff) || ((acc == cutoff) && (c > cutlim))) { in strtol()
|
D | strtoul.c | 48 register unsigned long cutoff; in strtoul() local 75 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in strtoul() 88 if ((any < 0) || (acc > cutoff) || ((acc == cutoff) && (c > cutlim))) { in strtoul()
|
D | strtoull.c | 48 register unsigned long long cutoff; in strtoull() local 74 cutoff = (unsigned long long)ULLONG_MAX / (unsigned long long)base; in strtoull() 87 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
|
/Zephyr-latest/tests/drivers/fuel_gauge/sbs_gauge/ |
D | Kconfig | 8 bool "Test Battery Cutoff" 10 Enabling this option adds test sources that verify if the battery cutoff extension to the
|
D | testcase.yaml | 45 drivers.fuel_gauge.sbs_gauge_new_api.emulated.cutoff:
|
/Zephyr-latest/include/zephyr/drivers/ |
D | emul_fuel_gauge.h | 37 int (*is_battery_cutoff)(const struct emul *emul, bool *cutoff); 75 * @param cutoff Pointer to bool storing variable. 80 __syscall int emul_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff); 81 static inline int z_impl_emul_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) in z_impl_emul_fuel_gauge_is_battery_cutoff() argument 89 return backend_api->is_battery_cutoff(target, cutoff); in z_impl_emul_fuel_gauge_is_battery_cutoff()
|
D | fuel_gauge.h | 41 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */ 128 bool cutoff; member 231 * @brief Callback API for doing a battery cutoff. 391 * @brief Have fuel gauge cutoff its associated battery. 395 * @return return=0 if successful and battery cutoff is now in process, return < 0 if failed to do 396 * battery cutoff.
|
/Zephyr-latest/dts/bindings/audio/ |
D | nxp,dmic.yaml | 77 dc-cutoff: 86 DC cutoff filter setting. Default is reset value of register. Note that 87 each cutoff frequency is based on a sample frequency of 16KHz, so 88 actual cutoff values will scale up or down based on your sampling
|
/Zephyr-latest/drivers/fuel_gauge/ |
D | emul_fuel_gauge_syscall_handlers.c | 12 static inline int z_vrfy_emul_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) in z_vrfy_emul_fuel_gauge_is_battery_cutoff() argument 14 return z_impl_emul_fuel_gauge_is_battery_cutoff(target, cutoff); in z_vrfy_emul_fuel_gauge_is_battery_cutoff()
|
/Zephyr-latest/tests/drivers/fuel_gauge/sbs_gauge/src/ |
D | test_cutoff.c | 20 /* Initially there should be no cutoff */ in ZTEST_F() 26 /* Now we should've cutoff */ in ZTEST_F()
|
D | test_cutoff_disabled.c | 20 /* Initially there should be no cutoff */ in ZTEST_F() 26 /* We confirm there was no cutoff */ in ZTEST_F()
|
/Zephyr-latest/tests/drivers/fuel_gauge/sbs_gauge/boards/ |
D | emulated_board_cutoff.overlay | 27 battery-cutoff-support; 28 battery-cutoff-payload = <0x0010 0x0020>;
|
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/ |
D | emul_sbs_gauge.c | 40 /* Whether the battery cutoff or not */ 43 * Counts the number of times the cutoff payload has been sent to the designated 70 /* Check if this is a cutoff write */ in emul_sbs_gauge_maybe_do_battery_cutoff() 74 * Calculate the next payload element value for a battery cutoff. in emul_sbs_gauge_maybe_do_battery_cutoff() 85 /* Wrong payload target value, reset cutoff sequence detection. */ in emul_sbs_gauge_maybe_do_battery_cutoff() 94 /* Not a cutoff write, reset payload counter */ in emul_sbs_gauge_maybe_do_battery_cutoff() 127 * One of the above registers is always designated as a "cutoff" register, usually it's in emul_sbs_gauge_reg_write() 304 static int emul_sbs_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) in emul_sbs_fuel_gauge_is_battery_cutoff() argument 308 __ASSERT_NO_MSG(cutoff != NULL); in emul_sbs_fuel_gauge_is_battery_cutoff() 310 *cutoff = data->is_cutoff; in emul_sbs_fuel_gauge_is_battery_cutoff()
|
D | sbs_gauge.h | 51 * Nearly all cutoff payloads are actually a singular value that must be written twice to the fuel 55 * Why not devicetree: Finding the maximum length of all the battery cutoff payloads in a devicetree 70 /* Register to write cutoff payload */
|
D | sbs_gauge.c | 312 /* Conditionally defined battery config based on battery cutoff support */ 317 /* Conditionally get the battery config variable name or NULL based on battery cutoff support */
|
/Zephyr-latest/boards/nxp/rd_rw612_bga/ |
D | rd_rw612_bga.dtsi | 201 /* Configure pdm channels 0-3 with gain, and cutoff settings 210 dc-cutoff = "155hz"; 217 dc-cutoff = "155hz"; 224 dc-cutoff = "155hz"; 231 dc-cutoff = "155hz";
|
/Zephyr-latest/scripts/release/ |
D | bug_bash.py | 123 cutoff = self._end_date + timedelta(1) 130 if i.closed_at < self._start_date or i.closed_at > cutoff:
|
/Zephyr-latest/dts/bindings/mipi-dsi/ |
D | st,stm32-mipi-dsi.yaml | 93 Use Low-Power Reception Filter. Cutoff frequency of low-pass filter at the input of LPRX.
|
/Zephyr-latest/boards/nxp/mimxrt685_evk/ |
D | mimxrt685_evk_mimxrt685s_cm33.dts | 421 /* Configure pdm channels 0 and 1 with gain, and cutoff settings 427 dc-cutoff = "155hz"; 434 dc-cutoff = "155hz";
|