/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | state_binding.c | 32 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/ |
D | main.c | 56 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/ |
D | zephyr_entropy.c | 38 uint16_t request_len = len > UINT16_MAX ? UINT16_MAX : len; in mbedtls_hardware_poll()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_ifx_cat1.c | 99 ((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()
|
D | pwm_mchp_xec.c | 36 #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()
|
D | pwm_xmc4xxx_ccu4.c | 63 if (period_cycles == 0 || period_cycles > UINT16_MAX + 1 || pulse_cycles > UINT16_MAX) { in pwm_xmc4xxx_ccu4_set_cycles()
|
D | pwm_xmc4xxx_ccu8.c | 101 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/ |
D | lll_prof.c | 41 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/ |
D | mdio_adin2111.c | 78 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/ |
D | hci_vendor.c | 20 ((NRF_FICR->DEVICEADDR[1] & UINT16_MAX) != UINT16_MAX)) && in hci_vendor_read_static_addr()
|
/Zephyr-latest/ |
D | Kconfig.constants | 17 UINT16_MAX := 65535
|
/Zephyr-latest/drivers/fpga/ |
D | fpga_ice40_common.h | 34 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/ |
D | ft8xx_drv.c | 40 #define MAX_READ_LEN (UINT16_MAX - ADDR_SIZE - DUMMY_READ_SIZE) 41 #define MAX_WRITE_LEN (UINT16_MAX - ADDR_SIZE)
|
/Zephyr-latest/drivers/spi/ |
D | spi_nxp_s32.h | 33 ((UINT16_MAX / bytes_per_frame) * bytes_per_frame)
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_renesas_ra.c | 127 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/ |
D | qdec_stm32.c | 125 max_counter_value = UINT16_MAX - (UINT16_MAX % dev_cfg->counts_per_revolution) - 1; in qdec_stm32_initialize()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670_apex.c | 72 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/ |
D | Kconfig | 25 range 4 $(UINT16_MAX) 65 range 4 $(UINT16_MAX)
|
D | bindesc_read.c | 106 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/ |
D | Kconfig.cdc_ncm | 18 range 0 $(UINT16_MAX)
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_nmea0183.c | 524 (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/ |
D | Kconfig | 17 range $(UINT8_MAX) $(UINT16_MAX) 32 range 1 $(UINT16_MAX)
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | Kconfig.icmsg_me | 8 range 1 $(UINT16_MAX)
|
/Zephyr-latest/subsys/disk/ |
D | disk_access.c | 71 } 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/ |
D | qdec_mcux.c | 54 if (!IN_RANGE(val->val1, 1, UINT16_MAX)) { in qdec_mcux_attr_set() 164 QDEC_CHECK_COND(n, counts_per_revolution, 1, UINT16_MAX); \
|