Home
last modified time | relevance | path

Searched refs:shift (Results 51 – 75 of 170) sorted by relevance

1234567

/Zephyr-latest/include/zephyr/arch/arm64/
Dlib_helpers.h162 unsigned int shift; in is_el_implemented() local
168 shift = ID_AA64PFR0_EL1_SHIFT * el; in is_el_implemented()
170 return (((read_id_aa64pfr0_el1() >> shift) & ID_AA64PFR0_ELX_MASK) != 0U); in is_el_implemented()
/Zephyr-latest/include/zephyr/drivers/
Dsensor_attribute_types.h28 int8_t shift; member
/Zephyr-latest/subsys/shell/
Dshell_utils.c240 uint16_t shift; in z_shell_pattern_remove() local
254 shift = z_shell_strlen(pattern_addr) - pattern_len + 1; /* +1 for EOS */ in z_shell_pattern_remove()
257 memmove(pattern_addr, pattern_addr + pattern_len, shift); in z_shell_pattern_remove()
429 uint16_t shift = 0U; in z_shell_spaces_trim() local
439 shift++; in z_shell_spaces_trim()
443 if (shift > 0) { in z_shell_spaces_trim()
448 len -= shift; in z_shell_spaces_trim()
449 shift = 0U; in z_shell_spaces_trim()
/Zephyr-latest/drivers/led/
Dlp5562.c256 uint8_t *shift) in lp5562_get_engine_reg_shift() argument
260 *shift = 4U; in lp5562_get_engine_reg_shift()
263 *shift = 2U; in lp5562_get_engine_reg_shift()
266 *shift = 0U; in lp5562_get_engine_reg_shift()
379 uint8_t enabled, shift; in lp5562_is_engine_executing() local
382 ret = lp5562_get_engine_reg_shift(engine, &shift); in lp5562_is_engine_executing()
392 enabled = (enabled >> shift) & LP5562_MASK; in lp5562_is_engine_executing()
444 uint8_t shift; in lp5562_set_engine_reg() local
447 ret = lp5562_get_engine_reg_shift(engine, &shift); in lp5562_set_engine_reg()
452 if (i2c_reg_update_byte_dt(&config->bus, reg, LP5562_MASK << shift, in lp5562_set_engine_reg()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_emul.h17 void bma4xx_emul_set_accel_data(const struct emul *target, q31_t value, int8_t shift, int8_t reg);
Dbma4xx.c512 static int bma4xx_get_shift(struct sensor_chan_spec ch, uint8_t accel_fs, int8_t *shift) in bma4xx_get_shift() argument
522 *shift = 5; in bma4xx_get_shift()
525 *shift = 6; in bma4xx_get_shift()
528 *shift = 7; in bma4xx_get_shift()
531 *shift = 8; in bma4xx_get_shift()
537 *shift = BMA4XX_TEMP_SHIFT; in bma4xx_get_shift()
616 header->accel_fs, &out->shift); in bma4xx_one_shot_decode()
638 rc = bma4xx_get_shift(SENSOR_CHAN_DIE_TEMP, 0, &out->shift); in bma4xx_one_shot_decode()
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32u0_clock.h61 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
63 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32wba_clock.h71 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
73 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32f3_clock.h56 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
58 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32g0_clock.h60 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
62 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32g4_clock.h64 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
66 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
/Zephyr-latest/dts/arc/synopsys/
Darc_hs4xd.dtsi92 reg-shift = <2>;
100 reg-shift = <2>;
109 reg-shift = <2>;
118 reg-shift = <2>;
Darc_hsdk.dtsi92 reg-shift = <2>;
100 reg-shift = <2>;
109 reg-shift = <2>;
118 reg-shift = <2>;
Demsk.dtsi84 reg-shift = <2>;
92 reg-shift = <2>;
100 reg-shift = <2>;
/Zephyr-latest/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c230 uint8_t shift; in iis2dlpc_sample_fetch() local
241 shift = IIS2DLPC_SHIFT_PM1; in iis2dlpc_sample_fetch()
243 shift = IIS2DLPC_SHIFT_PMOTHER; in iis2dlpc_sample_fetch()
246 iis2dlpc->acc[0] = buf[0] >> shift; in iis2dlpc_sample_fetch()
247 iis2dlpc->acc[1] = buf[1] >> shift; in iis2dlpc_sample_fetch()
248 iis2dlpc->acc[2] = buf[2] >> shift; in iis2dlpc_sample_fetch()
/Zephyr-latest/dts/x86/intel/
Delkhart_lake.dtsi74 reg-shift = <2>;
88 reg-shift = <2>;
103 reg-shift = <2>;
118 reg-shift = <2>;
133 reg-shift = <2>;
148 reg-shift = <2>;
163 reg-shift = <2>;
178 reg-shift = <2>;
193 reg-shift = <2>;
429 reg-shift = <0>;
[all …]
Datom.dtsi57 reg-shift = <0>;
68 reg-shift = <0>;
/Zephyr-latest/samples/sensor/dht_polling/src/
Dmain.c88 PRIq_arg(temp_data.readings[0].temperature, 2, temp_data.shift), in main()
89 PRIq_arg(hum_data.readings[0].humidity, 2, hum_data.shift)); in main()
/Zephyr-latest/dts/common/broadcom/
Dviper-common.dtsi18 reg-shift = <2>;
26 reg-shift = <2>;
/Zephyr-latest/boards/qemu/arc/
Dqemu_arc.dtsi57 reg-shift = <2>;
67 reg-shift = <2>;
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.h17 const int8_t shift; member
/Zephyr-latest/drivers/gpio/
Dgpio_imx.c192 uint8_t shift; in imx_gpio_pin_interrupt_configure() local
213 shift = 2U * pin; in imx_gpio_pin_interrupt_configure()
216 shift = 2U * (pin - 16U); in imx_gpio_pin_interrupt_configure()
224 *icr_reg = (*icr_reg & ~(3U << shift)) | (icr_val << shift); in imx_gpio_pin_interrupt_configure()
/Zephyr-latest/dts/arm/ti/
Dam64x_m4.dtsi55 reg-shift = <2>;
66 reg-shift = <2>;
/Zephyr-latest/drivers/flash/
Dsoc_flash_nrf_rram.c181 static void shift_write_context(uint32_t shift, struct flash_context *w_ctx) in shift_write_context() argument
183 w_ctx->flash_addr += shift; in shift_write_context()
187 w_ctx->data_addr += shift; in shift_write_context()
190 w_ctx->len -= shift; in shift_write_context()
/Zephyr-latest/dts/riscv/microchip/
Dmpfs.dtsi149 reg-shift = <2>;
160 reg-shift = <2>;
171 reg-shift = <2>;
182 reg-shift = <2>;
193 reg-shift = <2>;

1234567