| /tests/drivers/build_all/sensor/src/ |
| A D | generic_test.c | 107 for (enum sensor_channel ch = 0; ch < ARRAY_SIZE(channel_table); ch++) { in run_generic_test() local 108 if (SENSOR_CHANNEL_3_AXIS(ch)) { in run_generic_test() 119 channel_table[ch].supported = true; in run_generic_test() 122 channel_table[ch].epsilon, shift); in run_generic_test() 133 channel_table[ch].expected_values[i] = in run_generic_test() 139 channel_table[ch].expected_values[i]); in run_generic_test() 201 for (int ch = 0; ch < ARRAY_SIZE(channel_table); ch++) { in run_generic_test() local 202 if (!channel_table[ch].supported) { in run_generic_test() 211 rv, ch, iteration + 1, in run_generic_test() 214 channel_table[ch].received = true; in run_generic_test() [all …]
|
| /tests/bsim/bluetooth/host/att/long_read/ |
| A D | bs_sync.c | 55 void bs_bc_receive_msg_sync(uint ch, size_t size, uint8_t *data) in bs_bc_receive_msg_sync() argument 57 while (bs_bc_is_msg_received(ch) < size) { in bs_bc_receive_msg_sync() 60 bs_bc_receive_msg(ch, data, size); in bs_bc_receive_msg_sync() 63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint() argument 68 bs_bc_send_msg(ch, data_bytes, sizeof(data_bytes)); in bs_bc_send_uint() 71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint() argument 75 bs_bc_receive_msg_sync(ch, sizeof(data), data); in bs_bc_recv_uint()
|
| /tests/bsim/bluetooth/host/att/open_close/src/ |
| A D | bs_sync.c | 55 void bs_bc_receive_msg_sync(uint ch, size_t size, uint8_t *data) in bs_bc_receive_msg_sync() argument 57 while (bs_bc_is_msg_received(ch) < size) { in bs_bc_receive_msg_sync() 60 bs_bc_receive_msg(ch, data, size); in bs_bc_receive_msg_sync() 63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint() argument 68 bs_bc_send_msg(ch, data_bytes, sizeof(data_bytes)); in bs_bc_send_uint() 71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint() argument 75 bs_bc_receive_msg_sync(ch, sizeof(data), data); in bs_bc_recv_uint()
|
| /tests/bsim/babblekit/src/ |
| A D | sync.c | 27 uint *ch; in bk_sync_init() local 29 ch = bs_open_back_channel(device_number, device_numbers, channel_numbers, in bk_sync_init() 31 if (!ch) { in bk_sync_init()
|
| /tests/unit/rbtree/ |
| A D | main.c | 97 struct rbnode *ch = z_rb_child(node, side); in check_rbnode() local 99 if (ch) { in check_rbnode() 102 _CHECK(node_lessthan(ch, node)); in check_rbnode() 104 _CHECK(node_lessthan(node, ch)); in check_rbnode() 108 _CHECK(z_rb_is_black(node) || z_rb_is_black(ch)); in check_rbnode() 111 check_rbnode(ch, bheight); in check_rbnode()
|
| /tests/boards/vmu_rt1170/icm42688/src/ |
| A D | main.c | 55 struct sensor_chan_spec ch = { in callback() local 63 while (decoder->decode(buf, ch, &fit, 1, decoded_buffer) > 0) { in callback() 65 if (ch.chan_type == SENSOR_CHAN_ACCEL_XYZ) { in callback() 76 } else if (ch.chan_type == SENSOR_CHAN_GYRO_XYZ) { in callback()
|
| /tests/bsim/bluetooth/host/gatt/settings/src/ |
| A D | main.c | 86 uint *ch; in backchannel_init() local 121 ch = bs_open_back_channel(device_number, device_numbers, in backchannel_init() 123 if (!ch) { in backchannel_init()
|
| /tests/drivers/w1/w1_api/ |
| A D | ds2482-800.overlay | 15 w1_0: ch@0 {
|
| /tests/benchmarks/data_structure_perf/rbtree_perf/src/ |
| A D | rbtree_perf.c | 128 struct rbnode *ch = z_rb_child(node, in search_height_recurse() local 131 return search_height_recurse(ch, final_node, current_height); in search_height_recurse()
|
| /tests/bsim/bluetooth/host/security/ccc_update/src/ |
| A D | peripheral.c | 260 uint *ch; in peripheral_backchannel_init() local 263 ch = bs_open_back_channel(device_number, device_numbers, channel_numbers, num_ch); in peripheral_backchannel_init() 264 if (!ch) { in peripheral_backchannel_init()
|
| A D | central.c | 290 uint *ch; in central_backchannel_init() local 296 ch = bs_open_back_channel(device_number, device_numbers, channel_numbers, num_ch); in central_backchannel_init() 297 if (!ch) { in central_backchannel_init()
|
| /tests/drivers/build_all/w1/ |
| A D | app.overlay | 59 w1_0: ch@0 {
|
| /tests/bsim/bluetooth/host/l2cap/general/src/ |
| A D | main_l2cap_ecred.c | 412 const struct channel *ch = CONTAINER_OF(item, struct channel, work); in send_sdu_chan_worker() local 414 send_sdu(ch->iteration, ch->chan_id, ch->bytes_to_send); in send_sdu_chan_worker()
|
| /tests/bluetooth/tester/src/ |
| A D | btp_gatt.c | 416 if (ch->permissions & GATT_PERM_READ_AUTHORIZATION) { in alloc_characteristic() 420 if (!(ch->permissions & GATT_PERM_ENC_READ_MASK)) { in alloc_characteristic() 421 ch->permissions |= BT_GATT_PERM_READ; in alloc_characteristic() 425 if (ch->permissions & GATT_PERM_WRITE_AUTHORIZATION) { in alloc_characteristic() 429 if (!(ch->permissions & GATT_PERM_ENC_WRITE_MASK)) { in alloc_characteristic() 430 ch->permissions |= BT_GATT_PERM_WRITE; in alloc_characteristic() 435 ch->permissions |= BT_GATT_PERM_PREPARE_WRITE; in alloc_characteristic() 439 BT_GATT_ATTRIBUTE(ch->uuid, in alloc_characteristic() 440 ch->permissions & GATT_PERM_MASK, in alloc_characteristic() 451 chrc_data->properties = ch->properties; in alloc_characteristic() [all …]
|