/Zephyr-Core-3.5.0/drivers/display/ |
D | display_rm68200.c | 207 uint8_t param; in rm68200_init() local 241 param = DCS_CMD_PAGE_SET_PAGE0; in rm68200_init() 242 rm68200_dcs_write(dev, DCS_CMD_PAGE, ¶m, 1); in rm68200_init() 244 param = 0xC0; in rm68200_init() 245 rm68200_dcs_write(dev, MCS_EXT_PWR_IC_TYPE, ¶m, 1); in rm68200_init() 247 param = 0x53; in rm68200_init() 248 rm68200_dcs_write(dev, MCS_EXT_PWR_SET_AVDD, ¶m, 1); in rm68200_init() 250 param = 0x00; in rm68200_init() 251 rm68200_dcs_write(dev, MCS_AVEE_FROM_PFM, ¶m, 1); in rm68200_init() 253 param = 0xE5; in rm68200_init() [all …]
|
D | display_rm67162.c | 27 uint8_t param; member 30 {.cmd = 0xFE, .param = 0x01}, 31 {.cmd = 0x06, .param = 0x62}, 32 {.cmd = 0x0E, .param = 0x80}, 33 {.cmd = 0x0F, .param = 0x80}, 34 {.cmd = 0x10, .param = 0x71}, 35 {.cmd = 0x13, .param = 0x81}, 36 {.cmd = 0x14, .param = 0x81}, 37 {.cmd = 0x15, .param = 0x82}, 38 {.cmd = 0x16, .param = 0x82}, [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/common/include/ |
D | helper_pdu.h | 8 void helper_pdu_encode_ping_req(struct pdu_data *pdu, void *param); 9 void helper_pdu_encode_ping_rsp(struct pdu_data *pdu, void *param); 11 void helper_pdu_encode_feature_req(struct pdu_data *pdu, void *param); 12 void helper_pdu_encode_peripheral_feature_req(struct pdu_data *pdu, void *param); 13 void helper_pdu_encode_feature_rsp(struct pdu_data *pdu, void *param); 15 void helper_pdu_encode_min_used_chans_ind(struct pdu_data *pdu, void *param); 17 void helper_pdu_encode_version_ind(struct pdu_data *pdu, void *param); 19 void helper_pdu_encode_enc_req(struct pdu_data *pdu, void *param); 21 void helper_pdu_encode_enc_rsp(struct pdu_data *pdu, void *param); 23 void helper_pdu_encode_start_enc_req(struct pdu_data *pdu, void *param); [all …]
|
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/ |
D | ztest_mock.c | 25 static void free_parameter(struct parameter *param) in free_parameter() argument 27 free(param); in free_parameter() 32 struct parameter *param; in alloc_parameter() local 34 param = calloc(1, sizeof(struct parameter)); in alloc_parameter() 35 if (!param) { in alloc_parameter() 40 return param; in alloc_parameter() 119 static void free_parameter(struct parameter *param) in free_parameter() argument 121 unsigned int allocation_index = param - params; in free_parameter() 123 if (param == NULL) { in free_parameter() 128 param, params, CONFIG_ZTEST_PARAMETER_COUNT); in free_parameter() [all …]
|
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_mock.h | 36 #define ztest_expect_value(func, param, value) \ argument 37 z_ztest_expect_value(STRINGIFY(func), STRINGIFY(param), \ 51 #define ztest_check_expected_value(param) \ argument 52 z_ztest_check_expected_value(__func__, STRINGIFY(param), \ 53 (uintptr_t)(param)) 67 #define ztest_expect_data(func, param, data) \ argument 68 z_ztest_expect_data(STRINGIFY(func), STRINGIFY(param), (void *)(data)) 82 #define ztest_check_expected_data(param, length) \ argument 83 z_ztest_check_expected_data(__func__, STRINGIFY(param), \ 84 (void *)(param), (length)) [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/privacy/central/src/ |
D | dut.c | 18 struct bt_le_scan_param param; in start_scanning() local 27 param.type = BT_LE_SCAN_TYPE_ACTIVE; in start_scanning() 28 param.options = BT_LE_SCAN_OPT_FILTER_DUPLICATE; in start_scanning() 29 param.interval = BT_GAP_SCAN_FAST_INTERVAL; in start_scanning() 30 param.window = BT_GAP_SCAN_FAST_WINDOW; in start_scanning() 31 param.timeout = 0; in start_scanning() 32 param.interval_coded = 0; in start_scanning() 33 param.window_coded = 0; in start_scanning() 35 err = bt_le_scan_start(¶m, NULL); in start_scanning()
|
/Zephyr-Core-3.5.0/tests/bluetooth/audio/bap_broadcast_source/src/ |
D | main.c | 37 struct bt_bap_broadcast_source_param *param; member 68 fixture->param = malloc(sizeof(struct bt_bap_broadcast_source_param)); in bap_broadcast_source_test_suite_fixture_init() 85 memset(fixture->param, 0, sizeof(*fixture->param)); in bap_broadcast_source_test_suite_fixture_init() 115 fixture->param->params_count = CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT; in bap_broadcast_source_test_suite_fixture_init() 116 fixture->param->params = subgroup_param; in bap_broadcast_source_test_suite_fixture_init() 117 fixture->param->qos = codec_qos; in bap_broadcast_source_test_suite_fixture_init() 118 fixture->param->encryption = false; in bap_broadcast_source_test_suite_fixture_init() 119 memset(fixture->param->broadcast_code, 0, sizeof(fixture->param->broadcast_code)); in bap_broadcast_source_test_suite_fixture_init() 120 fixture->param->packing = BT_ISO_PACKING_SEQUENTIAL; in bap_broadcast_source_test_suite_fixture_init() 122 fixture->stream_cnt = fixture->param->params_count * streams_per_subgroup; in bap_broadcast_source_test_suite_fixture_init() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/mqtt/ |
D | mqtt_decoder.c | 205 struct mqtt_connack_param *param) in connect_ack_decode() argument 221 param->session_present_flag = in connect_ack_decode() 225 param->session_present_flag); in connect_ack_decode() 228 param->return_code = (enum mqtt_conn_return_code)ret_code; in connect_ack_decode() 234 struct mqtt_publish_param *param) in publish_decode() argument 239 param->dup_flag = flags & MQTT_HEADER_DUP_MASK; in publish_decode() 240 param->retain_flag = flags & MQTT_HEADER_RETAIN_MASK; in publish_decode() 241 param->message.topic.qos = ((flags & MQTT_HEADER_QOS_MASK) >> 1); in publish_decode() 243 err_code = unpack_utf8_str(buf, ¶m->message.topic.topic); in publish_decode() 248 var_header_length = param->message.topic.topic.size + sizeof(uint16_t); in publish_decode() [all …]
|
D | mqtt_internal.h | 113 #define NULL_PARAM_CHECK(param) \ argument 115 if ((param) == NULL) { \ 120 #define NULL_PARAM_CHECK_VOID(param) \ argument 122 if ((param) == NULL) { \ 192 int publish_encode(const struct mqtt_publish_param *param, struct buf_ctx *buf); 204 int publish_ack_encode(const struct mqtt_puback_param *param, 217 int publish_receive_encode(const struct mqtt_pubrec_param *param, 230 int publish_release_encode(const struct mqtt_pubrel_param *param, 243 int publish_complete_encode(const struct mqtt_pubcomp_param *param, 267 int subscribe_encode(const struct mqtt_subscription_list *param, [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/mipi_dsi/api/src/ |
D | main.c | 25 uint8_t param[2]; in ZTEST() local 28 param[0] = MIPI_DCS_SET_DISPLAY_ON; in ZTEST() 29 ret = mipi_dsi_generic_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 1); in ZTEST() 32 param[0] = MIPI_DCS_SET_DISPLAY_BRIGHTNESS; in ZTEST() 33 param[1] = 200; in ZTEST() 34 ret = mipi_dsi_generic_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 2); in ZTEST() 39 param[0] = MIPI_DCS_GET_DISPLAY_BRIGHTNESS; in ZTEST() 40 ret = mipi_dsi_generic_read(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 1, rx_buf, 2); in ZTEST() 54 uint8_t param[2]; in ZTEST() local 61 param[0] = 200; in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll.c | 48 void *param; member 71 static void isr_race(void *param); 80 void *param); 81 static void preempt(void *param); 84 static void mfy_ticker_job_idle_get(void *param); 270 void lll_disable(void *param) in lll_disable() argument 273 if (!param || (param == event.curr.param)) { in lll_disable() 274 if (event.curr.abort_cb && event.curr.param) { in lll_disable() 275 event.curr.abort_cb(NULL, event.curr.param); in lll_disable() 277 LL_ASSERT(!param); in lll_disable() [all …]
|
D | lll_internal.h | 7 int lll_prepare_done(void *param); 8 int lll_done(void *param); 9 bool lll_is_done(void *param, bool *is_resume); 11 void lll_abort_cb(struct lll_prepare_param *prepare_param, void *param); 24 void lll_isr_abort(void *param); 25 void lll_isr_done(void *param); 26 void lll_isr_cleanup(void *param); 27 void lll_isr_early_abort(void *param);
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll.c | 39 void *param; member 62 static void ticker_stop_op_cb(uint32_t status, void *param); 63 static void ticker_start_op_cb(uint32_t status, void *param); 64 static void ticker_start_next_op_cb(uint32_t status, void *param); 69 void *param); 70 static void preempt(void *param); 73 static void mfy_ticker_job_idle_get(void *param); 213 void lll_disable(void *param) in lll_disable() argument 216 if (!param || (param == event.curr.param)) { in lll_disable() 217 if (event.curr.abort_cb && event.curr.param) { in lll_disable() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_chmu.c | 105 static void lp_chmu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_chmu_complete() argument 113 uint8_t evt, void *param) in lp_chmu_send_channel_map_update_ind() argument 130 void *param) in lp_chmu_st_wait_tx_chan_map_ind() argument 134 lp_chmu_send_channel_map_update_ind(conn, ctx, evt, param); in lp_chmu_st_wait_tx_chan_map_ind() 143 void *param) in lp_chmu_check_instant() argument 149 lp_chmu_complete(conn, ctx, evt, param); in lp_chmu_check_instant() 154 void *param) in lp_chmu_st_wait_instant() argument 158 lp_chmu_check_instant(conn, ctx, evt, param); in lp_chmu_st_wait_instant() 167 void *param) in lp_chmu_execute_fsm() argument 175 lp_chmu_st_wait_tx_chan_map_ind(conn, ctx, evt, param); in lp_chmu_execute_fsm() [all …]
|
D | ull_llcp_enc.c | 251 static void lp_enc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_enc_complete() argument 270 void *param) in lp_enc_send_enc_req() argument 290 void *param) in lp_enc_send_pause_enc_req() argument 303 void *param) in lp_enc_send_pause_enc_rsp() argument 323 void *param) in lp_enc_send_start_enc_rsp() argument 344 void *param) in lp_enc_st_unencrypted() argument 350 lp_enc_send_enc_req(conn, ctx, evt, param); in lp_enc_st_unencrypted() 359 void *param) in lp_enc_st_wait_tx_enc_req() argument 363 lp_enc_send_enc_req(conn, ctx, evt, param); in lp_enc_st_wait_tx_enc_req() 400 void *param) in lp_enc_st_wait_rx_enc_rsp() argument [all …]
|
D | ull_llcp_cc.c | 71 ntf->hdr.rx_ftr.param = ll_conn_iso_stream_get(ctx->data.cis_create.cis_handle); in cc_ntf_established() 130 void *param); 233 static void rp_cc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_cc_complete() argument 241 void *param) in rp_cc_send_cis_rsp() argument 255 void *param) in rp_cc_send_reject_ind() argument 280 rp_cc_complete(conn, ctx, evt, param); in rp_cc_send_reject_ind() 290 void *param) in rp_cc_state_idle() argument 333 void *param) in rp_cc_state_wait_rx_cis_req() argument 335 struct pdu_data *pdu = (struct pdu_data *)param; in rp_cc_state_wait_rx_cis_req() 357 rp_cc_send_reject_ind(conn, ctx, evt, param); in rp_cc_state_wait_rx_cis_req() [all …]
|
D | ull_llcp_conn_upd.c | 342 void *param) in lp_cu_ntf_complete() argument 350 void *param) in lp_cu_send_reject_ext_ind() argument 362 void *param) in lp_cu_send_conn_param_req() argument 404 uint8_t evt, void *param) in lp_cu_send_conn_update_ind_finalize() argument 423 void *param) in lp_cu_send_conn_update_ind() argument 434 lp_cu_send_conn_update_ind_finalize(conn, ctx, evt, param); in lp_cu_send_conn_update_ind() 440 void *param) in lp_cu_st_wait_ntf_avail() argument 445 lp_cu_send_conn_update_ind_finalize(conn, ctx, evt, param); in lp_cu_st_wait_ntf_avail() 455 static void lp_cu_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_cu_st_idle() argument 462 lp_cu_send_conn_param_req(conn, ctx, evt, param); in lp_cu_st_idle() [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/nuvoton_adc_cmp_npcx/ |
D | adc_cmp_npcx.c | 65 struct adc_npcx_threshold_param param; in adc_cmp_npcx_init() local 73 param.type = ADC_NPCX_THRESHOLD_PARAM_CHNSEL; in adc_cmp_npcx_init() 74 param.val = (uint32_t)config->chnsel; in adc_cmp_npcx_init() 76 ¶m); in adc_cmp_npcx_init() 83 param.type = ADC_NPCX_THRESHOLD_PARAM_WORK; in adc_cmp_npcx_init() 84 param.val = (uint32_t)&data->work; in adc_cmp_npcx_init() 86 ¶m); in adc_cmp_npcx_init() 93 param.type = ADC_NPCX_THRESHOLD_PARAM_THVAL; in adc_cmp_npcx_init() 96 ¶m.val); in adc_cmp_npcx_init() 102 config->th_sel, ¶m); in adc_cmp_npcx_init() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/zperf/ |
D | zperf_tcp_uploader.c | 109 int zperf_tcp_upload(const struct zperf_upload_params *param, in zperf_tcp_upload() argument 115 if (param == NULL || result == NULL) { in zperf_tcp_upload() 119 sock = zperf_prepare_upload_sock(¶m->peer_addr, param->options.tos, in zperf_tcp_upload() 120 param->options.priority, IPPROTO_TCP); in zperf_tcp_upload() 125 if (param->options.tcp_nodelay && in zperf_tcp_upload() 127 ¶m->options.tcp_nodelay, in zperf_tcp_upload() 128 sizeof(param->options.tcp_nodelay)) != 0) { in zperf_tcp_upload() 133 ret = tcp_upload(sock, param->duration_ms, param->packet_size, result); in zperf_tcp_upload() 150 ret = zperf_tcp_upload(&upload_ctx->param, &result); in tcp_upload_async_work() 160 int zperf_tcp_upload_async(const struct zperf_upload_params *param, in zperf_tcp_upload_async() argument [all …]
|
/Zephyr-Core-3.5.0/drivers/wifi/winc1500/ |
D | wifi_winc1500_nm_bus_wrapper.c | 134 struct nm_i2c_default *param = in nm_bus_ioctl() local 137 ret = nm_i2c_read(param->buffer, param->size); in nm_bus_ioctl() 141 struct nm_i2c_default *param = in nm_bus_ioctl() local 144 ret = nm_i2c_write(param->buffer, param->size); in nm_bus_ioctl() 148 struct nm_i2c_special *param = in nm_bus_ioctl() local 151 ret = nm_i2c_write_special(param->buffer1, param->size1, in nm_bus_ioctl() 152 param->buffer2, param->size2); in nm_bus_ioctl() 157 tstrNmSpiRw *param = (tstrNmSpiRw *)parameter; in nm_bus_ioctl() 159 ret = spi_rw(param->pu8InBuf, param->pu8OutBuf, param->u16Sz); in nm_bus_ioctl()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_central.c | 178 struct bt_iso_cig_param param; in create_cig() local 181 param.cis_channels = &default_chan; in create_cig() 182 param.num_cis = 1U; in create_cig() 183 param.sca = BT_GAP_SCA_UNKNOWN; in create_cig() 184 param.packing = BT_ISO_PACKING_SEQUENTIAL; in create_cig() 185 param.framing = BT_ISO_FRAMING_UNFRAMED; in create_cig() 186 param.latency = 10U; /* ms */ in create_cig() 187 param.interval = interval_us; /* us */ in create_cig() 189 err = bt_iso_cig_create(¶m, &cig); in create_cig() 200 struct bt_iso_cig_param param; in reconfigure_cig() local [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | cap_initiator_unicast_test.c | 652 struct bt_cap_unicast_audio_start_param param; in unicast_audio_start() local 655 param.type = BT_CAP_SET_TYPE_AD_HOC; in unicast_audio_start() 656 param.count = ARRAY_SIZE(stream_param); in unicast_audio_start() 657 param.stream_params = stream_param; in unicast_audio_start() 670 err = bt_cap_initiator_unicast_audio_start(¶m, unicast_group); in unicast_audio_start() 685 struct bt_cap_unicast_audio_update_param param; in unicast_audio_update_inval() local 688 param.stream = &unicast_client_sink_streams[0]; in unicast_audio_update_inval() 689 param.meta = unicast_preset_16_2_1.codec_cfg.meta; in unicast_audio_update_inval() 690 param.meta_len = unicast_preset_16_2_1.codec_cfg.meta_len; in unicast_audio_update_inval() 698 err = bt_cap_initiator_unicast_audio_update(¶m, 0); in unicast_audio_update_inval() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/arch/arm64/ |
D | hypercall.h | 11 int HYPERVISOR_sched_op(int op, void *param); 12 int HYPERVISOR_event_channel_op(int op, void *param); 13 int HYPERVISOR_hvm_op(int op, void *param); 14 int HYPERVISOR_memory_op(int op, void *param); 18 int HYPERVISOR_domctl(void *param);
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | health_cli.c | 44 struct health_fault_param *param; in health_fault_status() local 56 (void **)¶m)) { in health_fault_status() 57 if (param->expect_test_id && in health_fault_status() 58 (test_id != *param->expect_test_id)) { in health_fault_status() 62 if (cid != param->cid) { in health_fault_status() 66 if (param->test_id) { in health_fault_status() 67 *param->test_id = test_id; in health_fault_status() 70 if (param->faults && param->fault_count) { in health_fault_status() 71 if (buf->len > *param->fault_count) { in health_fault_status() 74 *param->fault_count = buf->len; in health_fault_status() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | adv.c | 187 enum adv_name_type get_adv_name_type_param(const struct bt_le_adv_param *param) in get_adv_name_type_param() argument 189 if (param->options & BT_LE_ADV_OPT_USE_NAME) { in get_adv_name_type_param() 190 if (param->options & BT_LE_ADV_OPT_FORCE_NAME_IN_AD) { in get_adv_name_type_param() 194 if ((param->options & BT_LE_ADV_OPT_EXT_ADV) && in get_adv_name_type_param() 195 !(param->options & BT_LE_ADV_OPT_SCANNABLE)) { in get_adv_name_type_param() 346 const struct bt_le_ext_adv_start_param *param) in bt_le_adv_set_enable_ext() argument 366 net_buf_add_le16(buf, param ? param->timeout : 0); in bt_le_adv_set_enable_ext() 367 net_buf_add_u8(buf, param ? param->num_events : 0); in bt_le_adv_set_enable_ext() 389 static bool valid_adv_ext_param(const struct bt_le_adv_param *param) in valid_adv_ext_param() argument 393 if (param->peer && in valid_adv_ext_param() [all …]
|