Home
last modified time | relevance | path

Searched refs:UINT16_MAX (Results 1 – 25 of 117) sorted by relevance

12345

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dstate_binding.c32 tmp = ((float) val / UINT16_MAX); in actual_to_linear()
34 return (uint16_t) ceiling(UINT16_MAX * tmp * tmp); in actual_to_linear()
39 return (uint16_t) (UINT16_MAX * sqrtf(((float) val / UINT16_MAX))); in linear_to_actual()
85 tmp = (temp - ctl->temp->range_min) * UINT16_MAX; in light_ctl_temp_to_level()
101 UINT16_MAX; in level_to_light_ctl_temp()
/Zephyr-latest/samples/subsys/bindesc/read_bindesc/src/
Dmain.c56 size_t bindesc_offset = UINT16_MAX; in main()
73 for (i = 0; i < UINT16_MAX; i += sizeof(void *)) { in main()
80 if (i == UINT16_MAX) { in main()
/Zephyr-latest/modules/mbedtls/
Dzephyr_entropy.c38 uint16_t request_len = len > UINT16_MAX ? UINT16_MAX : len; in mbedtls_hardware_poll()
/Zephyr-latest/drivers/pwm/
Dpwm_ifx_cat1.c99 ((period_cycles > UINT16_MAX) || (pulse_cycles > UINT16_MAX))) { in ifx_cat1_pwm_set_cycles()
101 if (period_cycles > UINT16_MAX) { in ifx_cat1_pwm_set_cycles()
104 if (pulse_cycles > UINT16_MAX) { in ifx_cat1_pwm_set_cycles()
Dpwm_mchp_xec.c36 #define XEC_PWM_HIGHEST_ON_OFF (2U * (UINT16_MAX + 1U) * 16U)
173 if ((*on_a <= UINT16_MAX) && (*off_a <= UINT16_MAX)) { in xec_compare_div_on_off()
178 if ((on_b <= UINT16_MAX) && (off_b <= UINT16_MAX)) { in xec_compare_div_on_off()
264 && (on <= UINT16_MAX) in xec_compute_and_set_parameters()
265 && (off <= UINT16_MAX)) { in xec_compute_and_set_parameters()
Dpwm_xmc4xxx_ccu4.c63 if (period_cycles == 0 || period_cycles > UINT16_MAX + 1 || pulse_cycles > UINT16_MAX) { in pwm_xmc4xxx_ccu4_set_cycles()
Dpwm_xmc4xxx_ccu8.c101 if (period_cycles == 0 || period_cycles > UINT16_MAX + 1 || pulse_cycles > UINT16_MAX) { in pwm_xmc4xxx_ccu8_set_cycles()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_prof.c41 static uint16_t latency_min = UINT16_MAX;
44 static uint16_t cputime_min = UINT16_MAX;
116 timestamp_latency = UINT16_MAX; in lll_prof_latency_capture()
124 if (timestamp_latency == UINT16_MAX) { in lll_prof_latency_get()
327 if (delta < UINT16_MAX && delta > *cputime) { in delta()
/Zephyr-latest/drivers/mdio/
Dmdio_adin2111.c78 cmd = (cmd & ~UINT16_MAX) | (0x3U << 26); in mdio_adin2111_read_c45()
93 *data = cmd & UINT16_MAX; in mdio_adin2111_read_c45()
120 cmd = (cmd & ~UINT16_MAX) | data; in mdio_adin2111_write_c45()
148 *data = read & UINT16_MAX; in mdio_adin2111_read()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hci/
Dhci_vendor.c20 ((NRF_FICR->DEVICEADDR[1] & UINT16_MAX) != UINT16_MAX)) && in hci_vendor_read_static_addr()
/Zephyr-latest/
DKconfig.constants17 UINT16_MAX := 65535
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_common.h34 BUILD_ASSERT(DT_INST_PROP(inst, config_delay_us) <= UINT16_MAX); \
36 BUILD_ASSERT(DT_INST_PROP(inst, creset_delay_us) <= UINT16_MAX); \
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_drv.c40 #define MAX_READ_LEN (UINT16_MAX - ADDR_SIZE - DUMMY_READ_SIZE)
41 #define MAX_WRITE_LEN (UINT16_MAX - ADDR_SIZE)
/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.h33 ((UINT16_MAX / bytes_per_frame) * bytes_per_frame)
/Zephyr-latest/drivers/gpio/
Dgpio_renesas_ra.c127 return reg_read(dev, PCNTR2_OFFSET) & UINT16_MAX; in port_read()
309 return port_write(dev, port_val, UINT16_MAX); in gpio_ra_port_set_masked_raw()
318 return port_write(dev, port_val, UINT16_MAX); in gpio_ra_port_set_bits_raw()
327 return port_write(dev, port_val, UINT16_MAX); in gpio_ra_port_clear_bits_raw()
336 return port_write(dev, port_val, UINT16_MAX); in gpio_ra_port_toggle_bits()
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
Dqdec_stm32.c125 max_counter_value = UINT16_MAX - (UINT16_MAX % dev_cfg->counts_per_revolution) - 1; in qdec_stm32_initialize()
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670_apex.c72 apex_pedometer.step_cnt + step_cnt_ovflw * (uint64_t)UINT16_MAX) { in icm42670_apex_fetch_from_dmp()
74 apex_pedometer.step_cnt + step_cnt_ovflw * (uint64_t)UINT16_MAX; in icm42670_apex_fetch_from_dmp()
/Zephyr-latest/subsys/bindesc/
DKconfig25 range 4 $(UINT16_MAX)
65 range 4 $(UINT16_MAX)
Dbindesc_read.c106 handle->size_limit = UINT16_MAX; in bindesc_open_memory_mapped_flash()
151 handle->size_limit = UINT16_MAX; in bindesc_open_flash()
/Zephyr-latest/subsys/usb/device_next/class/
DKconfig.cdc_ncm18 range 0 $(UINT16_MAX)
/Zephyr-latest/drivers/gnss/
Dgnss_nmea0183.c524 (tmp32 > UINT16_MAX) || in gnss_nmea0183_parse_gga()
559 (i32 < 0) || (i32 > UINT16_MAX)) { in parse_gsv_svs()
620 (i32 < 0) || (i32 > UINT16_MAX)) { in gnss_nmea0183_parse_gsv_header()
628 (i32 < 0) || (i32 > UINT16_MAX)) { in gnss_nmea0183_parse_gsv_header()
636 (i32 < 0) || (i32 > UINT16_MAX)) { in gnss_nmea0183_parse_gsv_header()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
DKconfig17 range $(UINT8_MAX) $(UINT16_MAX)
32 range 1 $(UINT16_MAX)
/Zephyr-latest/subsys/ipc/ipc_service/backends/
DKconfig.icmsg_me8 range 1 $(UINT16_MAX)
/Zephyr-latest/subsys/disk/
Ddisk_access.c71 } else if ((disk != NULL) && (disk->refcnt < UINT16_MAX)) { in disk_access_init()
135 } else if (disk->refcnt < UINT16_MAX) { in disk_access_ioctl()
/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/
Dqdec_mcux.c54 if (!IN_RANGE(val->val1, 1, UINT16_MAX)) { in qdec_mcux_attr_set()
164 QDEC_CHECK_COND(n, counts_per_revolution, 1, UINT16_MAX); \

12345