/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_pd.h | 337 uint16_t raw_value; member 365 uint16_t raw_value; member 453 uint32_t raw_value; member 498 uint32_t raw_value; member 545 uint32_t raw_value; member 564 uint32_t raw_value; member 611 uint32_t raw_value; member 630 uint32_t raw_value; member 691 uint32_t raw_value; member 722 uint32_t raw_value; member [all …]
|
/Zephyr-latest/samples/subsys/usb_c/source/src/ |
D | main.c | 62 request.raw_value = rdo; in dump_sink_request_rdo() 156 dpm_data->sink_request.raw_value = request_msg; in port0_policy_cb_check_sink_request() 165 pdo.raw_value = dpm_data->src_caps[obj_pos - 1]; in port0_policy_cb_check_sink_request() 210 request.raw_value = present_contract; in port0_policy_cb_present_contract_is_valid() 218 pdo.raw_value = dpm_data->src_caps[obj_pos - 1]; in port0_policy_cb_present_contract_is_valid() 386 dump_sink_request_rdo(port0_data.sink_request.raw_value); in main()
|
/Zephyr-latest/drivers/sensor/nct75/ |
D | nct75.c | 42 int16_t raw_value; in nct75_sample_fetch() local 62 raw_value = arithmetic_shift_right(sys_be16_to_cpu(read_buffer), 4); in nct75_sample_fetch() 63 data->value = (raw_value * 1000 * 1000) * 100 / 0x640; in nct75_sample_fetch()
|
/Zephyr-latest/samples/subsys/usb_c/sink/src/ |
D | main.c | 84 return rdo.raw_value; in build_rdo() 93 pdo.raw_value = pdo_value; in display_pdo() 121 batt_pdo.raw_value = pdo_value; in display_pdo() 134 var_pdo.raw_value = pdo_value; in display_pdo() 147 aug_pdo.raw_value = pdo_value; in display_pdo()
|
/Zephyr-latest/drivers/sensor/st/i3g4250d/ |
D | i3g4250d.c | 53 static inline void i3g4250d_convert(struct sensor_value *val, int16_t raw_value) in i3g4250d_convert() argument 55 val->val1 = (int16_t)(raw_value * RAW_TO_MICRODEGREEPERSEC / 1000000LL); in i3g4250d_convert() 56 val->val2 = (int16_t)(raw_value * RAW_TO_MICRODEGREEPERSEC) % 1000000LL; in i3g4250d_convert()
|
/Zephyr-latest/include/zephyr/drivers/adc/ |
D | adc_emul.h | 85 int adc_emul_const_raw_value_set(const struct device *dev, unsigned int chan, uint32_t raw_value);
|
/Zephyr-latest/drivers/sensor/ti/tmag5273/ |
D | tmag5273.c | 764 static inline void tmag5273_channel_b_field_convert(int64_t raw_value, const uint16_t range, in tmag5273_channel_b_field_convert() argument 767 raw_value *= (range << 1) * CONV_FACTOR_MT_TO_GS; in tmag5273_channel_b_field_convert() 770 b_field->val1 = raw_value / (1 << 16); in tmag5273_channel_b_field_convert() 777 b_field->val2 = ((raw_value - raw_dec_part) * 1000000) / (1 << 16); in tmag5273_channel_b_field_convert() 786 static inline void tmag5273_temperature_convert(int64_t raw_value, struct sensor_value *temperature) in tmag5273_temperature_convert() argument 790 ((raw_value - TMAG5273_TEMPERATURE_T_ADC_T0) / TMAG5273_TEMPERATURE_T_ADC_RES)) * in tmag5273_temperature_convert() 803 static inline void tmag5273_angle_convert(int16_t raw_value, struct sensor_value *angle) in tmag5273_angle_convert() argument 805 angle->val1 = (raw_value >> 4) & 0x1FF; in tmag5273_angle_convert() 806 angle->val2 = ((raw_value & 0xF) * 1000000) >> 1; in tmag5273_angle_convert() 818 static inline void tmag5273_magnitude_convert(uint8_t raw_value, const uint16_t range, in tmag5273_magnitude_convert() argument [all …]
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ps8xxx.c | 270 msg->header.raw_value = 0; in ps8xxx_tcpc_get_rx_pending_msg() 271 buf[3].buf = (uint8_t *)&msg->header.raw_value; in ps8xxx_tcpc_get_rx_pending_msg() 293 ret = sizeof(msg->header.raw_value) + msg->len; in ps8xxx_tcpc_get_rx_pending_msg() 353 cnt += sizeof(msg->header.raw_value); in ps8xxx_tcpc_transmit_data() 363 buf[1].buf = (uint8_t *)&msg->header.raw_value; in ps8xxx_tcpc_transmit_data() 364 buf[1].len = sizeof(msg->header.raw_value); in ps8xxx_tcpc_transmit_data() 371 if (cnt > sizeof(msg->header.raw_value)) { in ps8xxx_tcpc_transmit_data()
|
D | ucpd_stm32.c | 718 hdr.raw_value = in ucpd_manage_tx() 973 tx_header.raw_value; in ucpd_send_good_crc() 1004 data->ucpd_tx_buffers[TX_MSG_TCPM].data.header = msg->header.raw_value; in ucpd_transmit_data() 1049 msg->header.raw_value = *((uint16_t *)data->ucpd_rx_buffer + 1); in ucpd_get_rx_pending_msg() 1202 rx_header.raw_value = in ucpd_isr()
|
D | ucpd_numaker.c | 806 msg->header.raw_value = (uint16_t)rxhead; in numaker_utcpd_rx_fifo_enqueue() 2056 rc = NUMAKER_UTCPD_REG_WRITE_BY_NAME(dev, TXHEAD, msg->header.raw_value); in numaker_tcpc_transmit_data()
|
/Zephyr-latest/tests/drivers/adc/adc_emul/src/ |
D | main.c | 371 const uint16_t raw_value = 1000; in ZTEST_USER() local 372 const uint16_t input_mV = (raw_value * ADC_REF_INTERNAL_MV / BIT(ADC_RESOLUTION)); in ZTEST_USER() 386 channel1_param.value = raw_value; in ZTEST_USER()
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_prl.c | 465 return header.raw_value; in get_sop_star_header() 478 prl_tx->emsg.header.raw_value = in prl_tx_construct_message() 511 prl_tx->emsg.header.raw_value = 0; in prl_hr_send_msg_to_phy() 1196 LOG_INF("RECV %04x/%d ", rx_emsg->header.raw_value, num_data_objs); in prl_rx_wait_for_phy_message()
|
D | usbc_pe_common.c | 532 ext_header.raw_value = *payload; in extended_message_not_supported()
|
/Zephyr-latest/drivers/adc/ |
D | adc_emul.c | 132 int adc_emul_const_raw_value_set(const struct device *dev, unsigned int chan, uint32_t raw_value) in adc_emul_const_raw_value_set() argument 148 chan_cfg->const_value = raw_value; in adc_emul_const_raw_value_set()
|
/Zephyr-latest/scripts/logging/dictionary/ |
D | database_gen.py | 322 ref_addr = compile_unit.cu_offset + type_attr.raw_value
|