/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_core.c | 36 struct btp_core_read_supported_commands_rp *rp = rsp; in supported_commands() local 38 tester_set_bit(rp->data, BTP_CORE_READ_SUPPORTED_COMMANDS); in supported_commands() 39 tester_set_bit(rp->data, BTP_CORE_READ_SUPPORTED_SERVICES); in supported_commands() 40 tester_set_bit(rp->data, BTP_CORE_REGISTER_SERVICE); in supported_commands() 41 tester_set_bit(rp->data, BTP_CORE_UNREGISTER_SERVICE); in supported_commands() 43 *rsp_len = sizeof(*rp) + 1; in supported_commands() 51 struct btp_core_read_supported_services_rp *rp = rsp; in supported_services() local 54 tester_set_bit(rp->data, BTP_SERVICE_ID_CORE); in supported_services() 55 tester_set_bit(rp->data, BTP_SERVICE_ID_GAP); in supported_services() 56 tester_set_bit(rp->data, BTP_SERVICE_ID_GATT); in supported_services() [all …]
|
D | btp_mesh.c | 474 struct btp_mesh_read_supported_commands_rp *rp = rsp; in supported_commands() local 477 tester_set_bit(rp->data, BTP_MESH_READ_SUPPORTED_COMMANDS); in supported_commands() 478 tester_set_bit(rp->data, BTP_MESH_CONFIG_PROVISIONING); in supported_commands() 479 tester_set_bit(rp->data, BTP_MESH_PROVISION_NODE); in supported_commands() 480 tester_set_bit(rp->data, BTP_MESH_INIT); in supported_commands() 481 tester_set_bit(rp->data, BTP_MESH_RESET); in supported_commands() 482 tester_set_bit(rp->data, BTP_MESH_INPUT_NUMBER); in supported_commands() 483 tester_set_bit(rp->data, BTP_MESH_INPUT_STRING); in supported_commands() 486 tester_set_bit(rp->data, BTP_MESH_IVU_TEST_MODE); in supported_commands() 487 tester_set_bit(rp->data, BTP_MESH_IVU_TOGGLE_STATE); in supported_commands() [all …]
|
D | btp_gap.c | 240 struct btp_gap_read_supported_commands_rp *rp = rsp; in supported_commands() local 243 tester_set_bit(rp->data, BTP_GAP_READ_SUPPORTED_COMMANDS); in supported_commands() 244 tester_set_bit(rp->data, BTP_GAP_READ_CONTROLLER_INDEX_LIST); in supported_commands() 245 tester_set_bit(rp->data, BTP_GAP_READ_CONTROLLER_INFO); in supported_commands() 246 tester_set_bit(rp->data, BTP_GAP_SET_POWERED); in supported_commands() 247 tester_set_bit(rp->data, BTP_GAP_SET_CONNECTABLE); in supported_commands() 250 tester_set_bit(rp->data, BTP_GAP_SET_DISCOVERABLE); in supported_commands() 251 tester_set_bit(rp->data, BTP_GAP_SET_BONDABLE); in supported_commands() 252 tester_set_bit(rp->data, BTP_GAP_START_ADVERTISING); in supported_commands() 253 tester_set_bit(rp->data, BTP_GAP_STOP_ADVERTISING); in supported_commands() [all …]
|
D | btp_gatt.c | 223 struct btp_gatt_read_supported_commands_rp *rp = rsp; in supported_commands() local 226 tester_set_bit(rp->data, BTP_GATT_READ_SUPPORTED_COMMANDS); in supported_commands() 227 tester_set_bit(rp->data, BTP_GATT_ADD_SERVICE); in supported_commands() 228 tester_set_bit(rp->data, BTP_GATT_ADD_CHARACTERISTIC); in supported_commands() 229 tester_set_bit(rp->data, BTP_GATT_ADD_DESCRIPTOR); in supported_commands() 230 tester_set_bit(rp->data, BTP_GATT_ADD_INCLUDED_SERVICE); in supported_commands() 231 tester_set_bit(rp->data, BTP_GATT_SET_VALUE); in supported_commands() 232 tester_set_bit(rp->data, BTP_GATT_START_SERVER); in supported_commands() 235 tester_set_bit(rp->data, BTP_GATT_SET_ENC_KEY_SIZE); in supported_commands() 236 tester_set_bit(rp->data, BTP_GATT_EXCHANGE_MTU); in supported_commands() [all …]
|
/Zephyr-latest/tests/kernel/device/src/ |
D | main.c | 160 static struct init_record *rp = init_records; variable 165 rp->pre_kernel = pre_kernel; in add_init_record() 166 rp->is_pre_kernel = k_is_pre_kernel(); in add_init_record() 167 rp->is_in_isr = k_is_in_isr(); in add_init_record() 168 rp->could_yield = k_can_yield(); in add_init_record() 169 ++rp; in add_init_record() 217 struct init_record *rpe = rp; in ZTEST() 219 zassert_equal(rp - init_records, 4U, in ZTEST() 221 rp = init_records; in ZTEST() 222 while ((rp < rpe) && rp->pre_kernel) { in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 595 struct bt_hci_rp_read_auth_payload_timeout *rp; in read_auth_payload_timeout() local 604 rp = hci_cmd_complete(evt, sizeof(*rp)); in read_auth_payload_timeout() 605 rp->status = status; in read_auth_payload_timeout() 606 rp->handle = sys_cpu_to_le16(handle); in read_auth_payload_timeout() 607 rp->auth_payload_timeout = sys_cpu_to_le16(auth_payload_timeout); in read_auth_payload_timeout() 614 struct bt_hci_rp_write_auth_payload_timeout *rp; in write_auth_payload_timeout() local 624 rp = hci_cmd_complete(evt, sizeof(*rp)); in write_auth_payload_timeout() 625 rp->status = status; in write_auth_payload_timeout() 626 rp->handle = sys_cpu_to_le16(handle); in write_auth_payload_timeout() 635 struct bt_hci_rp_configure_data_path *rp; in configure_data_path() local [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_cas.c | 23 struct btp_cas_read_supported_commands_rp *rp = rsp; in cas_supported_commands() local 26 tester_set_bit(rp->data, BTP_CAS_READ_SUPPORTED_COMMANDS); in cas_supported_commands() 27 tester_set_bit(rp->data, BTP_CAS_SET_MEMBER_LOCK); in cas_supported_commands() 28 tester_set_bit(rp->data, BTP_CAS_GET_MEMBER_RSI); in cas_supported_commands() 30 *rsp_len = sizeof(*rp) + 1; in cas_supported_commands() 51 struct btp_cas_get_member_rsi_rp *rp = rsp; in cas_get_member_rsi() local 55 err = bt_csip_set_member_generate_rsi(csis_svc_inst, rp->rsi); in cas_get_member_rsi() 57 *rsp_len = sizeof(*rp); in cas_get_member_rsi()
|
D | btp_csis.c | 25 struct btp_csis_read_supported_commands_rp *rp = rsp; in csis_supported_commands() local 28 tester_set_bit(rp->data, BTP_CSIS_READ_SUPPORTED_COMMANDS); in csis_supported_commands() 29 tester_set_bit(rp->data, BTP_CSIS_SET_MEMBER_LOCK); in csis_supported_commands() 30 tester_set_bit(rp->data, BTP_CSIS_GET_MEMBER_RSI); in csis_supported_commands() 31 tester_set_bit(rp->data, BTP_CSIS_ENC_SIRK_TYPE); in csis_supported_commands() 33 *rsp_len = sizeof(*rp) + 1; in csis_supported_commands() 54 struct btp_csis_get_member_rsi_rp *rp = rsp; in csis_get_member_rsi() local 58 err = bt_csip_set_member_generate_rsi(csis_svc_inst, rp->rsi); in csis_get_member_rsi() 61 *rsp_len = sizeof(*rp); in csis_get_member_rsi()
|
D | btp_has.c | 22 struct btp_has_read_supported_commands_rp *rp = rsp; in has_supported_commands() local 24 tester_set_bit(rp->data, BTP_HAS_READ_SUPPORTED_COMMANDS); in has_supported_commands() 25 tester_set_bit(rp->data, BTP_HAS_SET_ACTIVE_INDEX); in has_supported_commands() 26 tester_set_bit(rp->data, BTP_HAS_SET_PRESET_NAME); in has_supported_commands() 27 tester_set_bit(rp->data, BTP_HAS_REMOVE_PRESET); in has_supported_commands() 28 tester_set_bit(rp->data, BTP_HAS_ADD_PRESET); in has_supported_commands() 29 tester_set_bit(rp->data, BTP_HAS_SET_PROPERTIES); in has_supported_commands() 31 *rsp_len = sizeof(*rp) + 1; in has_supported_commands()
|
D | btp_ccp.c | 29 struct btp_ccp_read_supported_commands_rp *rp = rsp; in ccp_supported_commands() local 32 tester_set_bit(rp->data, BTP_CCP_READ_SUPPORTED_COMMANDS); in ccp_supported_commands() 33 tester_set_bit(rp->data, BTP_CCP_DISCOVER_TBS); in ccp_supported_commands() 34 tester_set_bit(rp->data, BTP_CCP_ACCEPT_CALL); in ccp_supported_commands() 35 tester_set_bit(rp->data, BTP_CCP_TERMINATE_CALL); in ccp_supported_commands() 36 tester_set_bit(rp->data, BTP_CCP_ORIGINATE_CALL); in ccp_supported_commands() 37 tester_set_bit(rp->data, BTP_CCP_READ_CALL_STATE); in ccp_supported_commands() 38 tester_set_bit(rp->data, BTP_CCP_READ_BEARER_NAME); in ccp_supported_commands() 41 tester_set_bit(rp->data, BTP_CCP_READ_BEARER_UCI); in ccp_supported_commands() 42 tester_set_bit(rp->data, BTP_CCP_READ_BEARER_TECH); in ccp_supported_commands() [all …]
|
D | btp_bap.c | 66 struct btp_ascs_read_supported_commands_rp *rp = rsp; in btp_ascs_supported_commands() local 69 tester_set_bit(rp->data, BTP_ASCS_READ_SUPPORTED_COMMANDS); in btp_ascs_supported_commands() 71 *rsp_len = sizeof(*rp) + 1; in btp_ascs_supported_commands() 197 struct btp_pacs_read_supported_commands_rp *rp = rsp; in pacs_supported_commands() local 200 tester_set_bit(rp->data, BTP_PACS_READ_SUPPORTED_COMMANDS); in pacs_supported_commands() 201 tester_set_bit(rp->data, BTP_PACS_UPDATE_CHARACTERISTIC); in pacs_supported_commands() 202 tester_set_bit(rp->data, BTP_PACS_SET_LOCATION); in pacs_supported_commands() 203 tester_set_bit(rp->data, BTP_PACS_SET_AVAILABLE_CONTEXTS); in pacs_supported_commands() 204 tester_set_bit(rp->data, BTP_PACS_SET_SUPPORTED_CONTEXTS); in pacs_supported_commands() 206 *rsp_len = sizeof(*rp) + 1; in pacs_supported_commands() [all …]
|
D | btp_hap.c | 24 struct btp_hap_read_supported_commands_rp *rp = rsp; in read_supported_commands() local 26 tester_set_bit(rp->data, BTP_HAP_READ_SUPPORTED_COMMANDS); in read_supported_commands() 27 tester_set_bit(rp->data, BTP_HAP_HA_INIT); in read_supported_commands() 28 tester_set_bit(rp->data, BTP_HAP_HAUC_INIT); in read_supported_commands() 29 tester_set_bit(rp->data, BTP_HAP_IAC_INIT); in read_supported_commands() 30 tester_set_bit(rp->data, BTP_HAP_IAC_DISCOVER); in read_supported_commands() 31 tester_set_bit(rp->data, BTP_HAP_IAC_SET_ALERT); in read_supported_commands() 32 tester_set_bit(rp->data, BTP_HAP_HAUC_DISCOVER); in read_supported_commands() 34 *rsp_len = sizeof(*rp) + 1; in read_supported_commands()
|
D | btp_vcp.c | 69 struct btp_vcs_read_supported_commands_rp *rp = rsp; in vcs_supported_commands() local 72 tester_set_bit(rp->data, BTP_VCS_READ_SUPPORTED_COMMANDS); in vcs_supported_commands() 73 tester_set_bit(rp->data, BTP_VCS_SET_VOL); in vcs_supported_commands() 74 tester_set_bit(rp->data, BTP_VCS_VOL_UP); in vcs_supported_commands() 75 tester_set_bit(rp->data, BTP_VCS_VOL_DOWN); in vcs_supported_commands() 76 tester_set_bit(rp->data, BTP_VCS_MUTE); in vcs_supported_commands() 77 tester_set_bit(rp->data, BTP_VCS_UNMUTE); in vcs_supported_commands() 79 *rsp_len = sizeof(*rp) + 1; in vcs_supported_commands() 199 struct btp_vocs_read_supported_commands_rp *rp = rsp; in vocs_supported_commands() local 202 tester_set_bit(rp->data, BTP_VOCS_READ_SUPPORTED_COMMANDS); in vocs_supported_commands() [all …]
|
/Zephyr-latest/samples/drivers/mspi/mspi_flash/src/ |
D | main.c | 66 const uint8_t *rp = buf; in single_sector_test() local 67 const uint8_t *rpe = rp + len; in single_sector_test() 70 while (rp < rpe) { in single_sector_test() 72 (uint32_t)(SPI_FLASH_TEST_REGION_OFFSET + (rp - buf)), in single_sector_test() 73 *wp, *rp, (*rp == *wp) ? "match" : "MISMATCH"); in single_sector_test() 74 ++rp; in single_sector_test() 149 const uint8_t *rp = buf; in multi_sector_test() local 150 const uint8_t *rpe = rp + len; in multi_sector_test() 153 while (rp < rpe) { in multi_sector_test() 155 (uint32_t)(offs + (rp - buf)), in multi_sector_test() [all …]
|
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 140 struct bt_hci_rp_read_local_features *rp; in read_local_features() local 142 rp = cmd_complete(evt, sizeof(*rp), opcode); in read_local_features() 143 rp->status = 0x00; in read_local_features() 144 (void)memset(&rp->features[0], 0xFF, sizeof(rp->features)); in read_local_features() 151 struct bt_hci_rp_read_supported_commands *rp; in read_supported_commands() local 153 rp = cmd_complete(evt, sizeof(*rp), opcode); in read_supported_commands() 154 (void)memset(&rp->commands[0], 0xFF, sizeof(rp->commands)); in read_supported_commands() 155 rp->status = 0x00; in read_supported_commands() 162 struct bt_hci_rp_le_read_local_features *rp; in le_read_local_features() local 164 rp = cmd_complete(evt, sizeof(*rp), opcode); in le_read_local_features() [all …]
|
/Zephyr-latest/samples/drivers/spi_flash/src/ |
D | main.c | 108 const uint8_t *rp = buf; in single_sector_test() local 109 const uint8_t *rpe = rp + len; in single_sector_test() 112 while (rp < rpe) { in single_sector_test() 114 (uint32_t)(SPI_FLASH_TEST_REGION_OFFSET + (rp - buf)), in single_sector_test() 115 *wp, *rp, (*rp == *wp) ? "match" : "MISMATCH"); in single_sector_test() 116 ++rp; in single_sector_test() 190 const uint8_t *rp = buf; in multi_sector_test() local 191 const uint8_t *rpe = rp + len; in multi_sector_test() 194 while (rp < rpe) { in multi_sector_test() 196 (uint32_t)(offs + (rp - buf)), in multi_sector_test() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_random_id_addr/src/ |
D | main.c | 77 * rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); 93 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 99 rp->num_addrs = 1; in ZTEST() 103 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 130 * rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); 147 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 153 rp->num_addrs = 2; in ZTEST() 158 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 186 * rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); 201 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local [all …]
|
D | test_suite_bt_privacy_enabled.c | 84 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 90 rp->num_addrs = 1; in ZTEST() 94 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 126 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 132 rp->num_addrs = 1; in ZTEST() 136 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 178 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 184 rp->num_addrs = 1; in ZTEST() 188 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 230 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local [all …]
|
D | test_suite_bt_settings_enabled.c | 111 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 117 rp->num_addrs = 1; in ZTEST() 121 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 159 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 165 rp->num_addrs = 1; in ZTEST() 169 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 204 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 212 rp->num_addrs = 1; in ZTEST() 216 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 168 struct bt_hci_rp_read_local_features *rp; in read_local_features() local 170 rp = cmd_complete(evt, sizeof(*rp), opcode); in read_local_features() 171 rp->status = 0x00; in read_local_features() 172 (void)memset(rp->features, 0xFF, sizeof(rp->features)); in read_local_features() 179 struct bt_hci_rp_read_supported_commands *rp; in read_supported_commands() local 181 rp = cmd_complete(evt, sizeof(*rp), opcode); in read_supported_commands() 182 (void)memset(rp->commands, 0xFF, sizeof(rp->commands)); in read_supported_commands() 183 rp->status = 0x00; in read_supported_commands() 190 struct bt_hci_rp_le_read_local_features *rp; in le_read_local_features() local 192 rp = cmd_complete(evt, sizeof(*rp), opcode); in le_read_local_features() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_init/src/ |
D | test_suite_setup_static_random_identity.c | 85 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 96 rp->num_addrs = 1; in ZTEST() 100 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 141 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 152 rp->num_addrs = 1; in ZTEST() 156 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 187 struct bt_hci_rp_vs_read_static_addrs *rp = in ZTEST() local 198 rp->num_addrs = 1; in ZTEST() 202 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST()
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_tc_common_internal.h | 19 * Flag to track Rp resistor change when the sink attached 43 /** Super state that applies Rp to the CC lines */ 150 * @brief Sets the Collision Avoidance Rp value 153 * @param rp Collision Avoidance Rp to set 155 void tc_select_src_collision_rp(const struct device *dev, enum tc_rp_value rp);
|
D | usbc_tc_src_states.c | 25 * 2: The port shall provide a separate Rp termination on the CC1 and 62 * 2: The port shall continue to provide an Rp termination on the CC pin not 203 * 3: The port shall provide an Rp 206 * 5: The port shall supply VBUS current at the level it advertises on Rp. 332 * requirement the Rp value placed on the CC lines. 340 enum tc_rp_value rp = TC_RP_USB; in tc_cc_rp_entry() local 344 * Get initial Rp value from Device Policy Manager or use in tc_cc_rp_entry() 348 data->policy_cb_get_src_rp(dev, &rp); in tc_cc_rp_entry() 351 /* Select Rp value */ in tc_cc_rp_entry() 352 ret = tcpc_select_rp_value(tcpc, rp); in tc_cc_rp_entry() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_public_id_addr/src/ |
D | test_suite_bt_privacy_enabled.c | 79 struct bt_hci_rp_read_bd_addr *rp = (void *)&hci_rp_read_bd_addr; in ZTEST() local 81 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST() 111 struct bt_hci_rp_read_bd_addr *rp = (void *)&hci_rp_read_bd_addr; in ZTEST() local 113 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST() 153 struct bt_hci_rp_read_bd_addr *rp = (void *)&hci_rp_read_bd_addr; in ZTEST() local 155 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST() 195 struct bt_hci_rp_read_bd_addr *rp = (void *)&hci_rp_read_bd_addr; in ZTEST() local 197 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/hci_codecs_info/src/ |
D | main.c | 178 struct bt_hci_rp_read_codec_capabilities *rp; in ZTEST() local 203 rp = (struct bt_hci_rp_read_codec_capabilities *)rsp->data; in ZTEST() 204 zassert_equal(rp->status, 0, in ZTEST() 206 zassert_equal(rp->num_capabilities, NUM_CAPABILITIES, in ZTEST() 208 ptr = &rp->capabilities[0]; in ZTEST() 260 struct bt_hci_rp_read_ctlr_delay *rp; in ZTEST() local 286 rp = (struct bt_hci_rp_read_ctlr_delay *)rsp->data; in ZTEST() 287 zassert_equal(rp->status, 0, in ZTEST() 289 zassert_equal(sys_get_le24(rp->min_ctlr_delay), MIN_CTLR_DELAY, in ZTEST() 291 zassert_equal(sys_get_le24(rp->max_ctlr_delay), MAX_CTLR_DELAY, in ZTEST()
|