/Zephyr-latest/drivers/gpio/ |
D | gpio_handlers.c | 102 gpio_port_pins_t *inputs, in z_vrfy_gpio_port_get_direction() argument 107 if (inputs != NULL) { in z_vrfy_gpio_port_get_direction() 108 K_OOPS(K_SYSCALL_MEMORY_WRITE(inputs, sizeof(gpio_port_pins_t))); in z_vrfy_gpio_port_get_direction() 115 return z_impl_gpio_port_get_direction(dev, map, inputs, outputs); in z_vrfy_gpio_port_get_direction()
|
D | gpio_cc13xx_cc26xx.c | 268 gpio_port_pins_t *inputs, in gpio_cc13xx_cc26xx_port_get_direction() argument 278 if (inputs != NULL) { in gpio_cc13xx_cc26xx_port_get_direction() 284 *inputs = ip; in gpio_cc13xx_cc26xx_port_get_direction()
|
D | gpio_axp192.c | 229 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_axp192_port_get_direction() argument 236 *inputs = 0; in gpio_axp192_port_get_direction() 254 *inputs |= (1u << gpio); in gpio_axp192_port_get_direction()
|
D | gpio_mchp_xec_v2.c | 393 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_xec_get_direction() argument 402 *inputs = 0u; in gpio_xec_get_direction() 415 } else if (inputs && !(pcr1 & BIT(MCHP_GPIO_CTRL_INPAD_DIS_POS))) { in gpio_xec_get_direction() 416 *inputs |= BIT(pin); in gpio_xec_get_direction()
|
D | gpio_andes_atcgpio100.c | 290 gpio_port_pins_t *inputs, in gpio_atcgpio100_port_get_dir() argument 298 if (inputs != NULL) { in gpio_atcgpio100_port_get_dir() 299 *inputs = map & ~direction; in gpio_atcgpio100_port_get_dir()
|
D | gpio_litex.c | 273 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_litex_port_get_direction() argument 279 if (inputs != NULL) { in gpio_litex_port_get_direction() 280 *inputs = map & (!gpio_config->port_is_output); in gpio_litex_port_get_direction()
|
D | gpio_sifive.c | 291 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_sifive_port_get_dir() argument 297 if (inputs != NULL) { in gpio_sifive_port_get_dir() 298 *inputs = map & DEV_GPIO(dev)->in_en; in gpio_sifive_port_get_dir()
|
D | gpio_mchp_mec5.c | 359 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_mec5_get_direction() argument 377 *inputs = 0u; in gpio_mec5_get_direction() 392 } else if (inputs && (in_pad_dis == MEC_GPIO_PROP_INPAD_EN)) { in gpio_mec5_get_direction() 393 *inputs |= BIT(pin_pos); in gpio_mec5_get_direction()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_blob.c | 134 struct bt_mesh_blob_cli_inputs inputs; member 360 blob_cli_xfer.inputs.ttl = BT_MESH_TTL_DEFAULT; in blob_cli_inputs_prepare() 361 blob_cli_xfer.inputs.group = group; in blob_cli_inputs_prepare() 362 blob_cli_xfer.inputs.app_idx = 0; in blob_cli_inputs_prepare() 363 sys_slist_init(&blob_cli_xfer.inputs.targets); in blob_cli_inputs_prepare() 373 sys_slist_append(&blob_cli_xfer.inputs.targets, &blob_cli_xfer.targets[i].n); in blob_cli_inputs_prepare() 403 err = bt_mesh_blob_cli_caps_get(&blob_cli, &blob_cli_xfer.inputs); in cli_caps_common_procedure() 481 err = bt_mesh_blob_cli_caps_get(&blob_cli, &blob_cli_xfer.inputs); in test_cli_caps_cancelled() 507 err = bt_mesh_blob_cli_caps_get(&blob_cli, &blob_cli_xfer.inputs); in test_cli_caps_cancelled() 598 blob_cli.inputs = &blob_cli_xfer.inputs; in test_cli_broadcast_basic() [all …]
|
D | test_dfu.c | 836 struct bt_mesh_blob_cli_inputs inputs; member 845 dfu_cli_xfer.inputs.ttl = BT_MESH_TTL_DEFAULT; in dfu_cli_inputs_prepare() 846 dfu_cli_xfer.inputs.group = group; in dfu_cli_inputs_prepare() 847 dfu_cli_xfer.inputs.app_idx = 0; in dfu_cli_inputs_prepare() 848 dfu_cli_xfer.inputs.timeout_base = 1; in dfu_cli_inputs_prepare() 849 sys_slist_init(&dfu_cli_xfer.inputs.targets); in dfu_cli_inputs_prepare() 863 sys_slist_append(&dfu_cli_xfer.inputs.targets, &dfu_cli_xfer.targets[i].blob.n); in dfu_cli_inputs_prepare() 1013 err = bt_mesh_dfu_cli_send(&dfu_cli, &dfu_cli_xfer.inputs, &dummy_blob_io, in test_cli_fail_on_persistency() 1093 err = bt_mesh_dfu_cli_send(&dfu_cli, &dfu_cli_xfer.inputs, &dummy_blob_io, in test_cli_all_targets_lost_common() 1215 err = bt_mesh_dfu_cli_send(&dfu_cli, &dfu_cli_xfer.inputs, &dummy_blob_io, in test_cli_stop() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | blob.c | 77 struct bt_mesh_blob_cli_inputs inputs; member 280 blob_cli_xfer.inputs.ttl = BT_MESH_TTL_DEFAULT; in blob_cli_inputs_prepare() 281 blob_cli_xfer.inputs.group = group; in blob_cli_inputs_prepare() 282 blob_cli_xfer.inputs.app_idx = bt_mesh_shell_target_ctx.app_idx; in blob_cli_inputs_prepare() 283 sys_slist_init(&blob_cli_xfer.inputs.targets); in blob_cli_inputs_prepare() 294 sys_slist_append(&blob_cli_xfer.inputs.targets, in blob_cli_inputs_prepare() 329 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[7], 0, &err); in cmd_tx() 331 blob_cli_xfer.inputs.timeout_base = 0; in cmd_tx() 355 &blob_cli_xfer.inputs, in cmd_tx() 407 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_caps() [all …]
|
D | dfd.c | 34 "\"apply\": %d, \"slot_idx\": %d", srv->inputs.group, in print_dfd_status() 35 srv->inputs.app_idx, srv->inputs.ttl, srv->inputs.timeout_base, in print_dfd_status()
|
D | dfu.c | 514 struct bt_mesh_blob_cli_inputs inputs; member 519 sys_slist_init(&dfu_tx.inputs.targets); in dfu_tx_prepare() 530 sys_slist_append(&dfu_tx.inputs.targets, &dfu_tx.targets[i].blob.n); in dfu_tx_prepare() 562 sys_slist_append(&dfu_tx.inputs.targets, &dfu_tx.targets[dfu_tx.target_cnt].blob.n); in cmd_dfu_target() 764 dfu_tx.inputs.group = group; in cmd_dfu_send() 765 dfu_tx.inputs.app_idx = bt_mesh_shell_target_ctx.app_idx; in cmd_dfu_send() 766 dfu_tx.inputs.ttl = BT_MESH_TTL_DEFAULT; in cmd_dfu_send() 769 &dfu_tx.inputs, bt_mesh_shell_blob_io, &xfer); in cmd_dfu_send()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob_cli.h | 314 const struct bt_mesh_blob_cli_inputs *inputs; member 345 const struct bt_mesh_blob_cli_inputs *inputs); 369 const struct bt_mesh_blob_cli_inputs *inputs, 408 const struct bt_mesh_blob_cli_inputs *inputs);
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | blob_cli.rst | 47 static struct bt_mesh_blob_cli_inputs inputs = { 52 sys_slist_init(&inputs.targets); 53 sys_slist_append(&inputs.targets, &targets[0].n); 54 sys_slist_append(&inputs.targets, &targets[1].n); 55 sys_slist_append(&inputs.targets, &targets[2].n); 115 to the aforementioned transfer inputs) requires a set of transfer parameters and a BLOB stream
|
/Zephyr-latest/tests/unit/timeutil/ |
D | test_sync.c | 362 uint64_t inputs[] = { in test_large_linearity() local 388 for (int i = 0; i < ARRAY_SIZE(inputs); i++) { in test_large_linearity() 389 rv = timeutil_sync_ref_from_local(&ss, inputs[i], &ref_out); in test_large_linearity() 391 zassert_equal(ref_out, inputs[i] + offset, in test_large_linearity() 394 rv = timeutil_sync_local_from_ref(&ss, inputs[i], &loc_out); in test_large_linearity() 396 zassert_equal(loc_out, inputs[i] - offset, in test_large_linearity()
|
/Zephyr-latest/boards/digilent/arty_a7/dts/ |
D | arty_a7_arm_designstart.dtsi | 163 xlnx,all-inputs = <0x0>; 208 xlnx,all-inputs = <0x0>; 209 xlnx,all-inputs-2 = <0x1>; 234 xlnx,all-inputs = <0x0>; 235 xlnx,all-inputs-2 = <0x1>;
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | dfd_srv.c | 260 net_buf_simple_add_le16(&rsp, srv->inputs.group); in status_rsp() 261 net_buf_simple_add_le16(&rsp, srv->inputs.app_idx); in status_rsp() 262 net_buf_simple_add_u8(&rsp, srv->inputs.ttl); in status_rsp() 263 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp() 968 sys_slist_init(&srv->inputs.targets); in dfd_srv_reset() 1024 sys_slist_init(&srv->inputs.targets); in bt_mesh_dfd_srv_receivers_delete_all() 1050 if (srv->inputs.app_idx == params->app_idx && in bt_mesh_dfd_srv_start() 1051 srv->inputs.timeout_base == params->timeout_base && in bt_mesh_dfd_srv_start() 1052 srv->inputs.group == params->group && srv->inputs.ttl == params->ttl && in bt_mesh_dfd_srv_start() 1081 sys_slist_init(&srv->inputs.targets); in bt_mesh_dfd_srv_start() [all …]
|
D | provisionee.c | 210 uint8_t *inputs = (uint8_t *)&bt_mesh_prov_link.conf_inputs; in send_confirm() local 213 LOG_DBG("ConfInputs[0] %s", bt_hex(inputs, 32)); in send_confirm() 214 LOG_DBG("ConfInputs[32] %s", bt_hex(&inputs[32], 32)); in send_confirm() 215 LOG_DBG("ConfInputs[64] %s", bt_hex(&inputs[64], 32)); in send_confirm() 216 LOG_DBG("ConfInputs[96] %s", bt_hex(&inputs[96], 32)); in send_confirm() 217 LOG_DBG("ConfInputs[128] %s", bt_hex(&inputs[128], 17)); in send_confirm() 219 if (bt_mesh_prov_conf_salt(bt_mesh_prov_link.algorithm, inputs, in send_confirm()
|
D | blob_cli.c | 19 SYS_SLIST_FOR_EACH_CONTAINER((sys_slist_t *)&(cli)->inputs->targets, \ 25 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \ 26 100 * cli->inputs->ttl) 32 #define UNICAST_MODE(cli) ((cli)->inputs->group == BT_MESH_ADDR_UNASSIGNED || \ 355 (sys_slist_t *)&cli->inputs->targets, *current, n); in next_target() 389 cli->tx.ctx.send(cli, cli->inputs->group); in send() 586 .app_idx = cli->inputs->app_idx, in tx() 588 .send_ttl = cli->inputs->ttl, in tx() 1488 const struct bt_mesh_blob_cli_inputs *inputs) in bt_mesh_blob_cli_caps_get() argument 1494 cli->inputs = inputs; in bt_mesh_blob_cli_caps_get() [all …]
|
D | dfu_cli.c | 22 (sys_slist_t *)&((cli)->blob.inputs)->targets, target, blob.n) 26 .app_idx = (cli)->blob.inputs->app_idx, .addr = dst, \ 27 .send_ttl = (cli)->blob.inputs->ttl, \ 208 err = bt_mesh_blob_cli_send(b, b->inputs, &cli->xfer.blob, cli->xfer.io); in blob_caps() 358 (sys_slist_t *)&((cli)->blob.inputs)->targets, in send_update_start() 366 net_buf_simple_add_u8(&buf, cli->blob.inputs->ttl); in send_update_start() 367 net_buf_simple_add_le16(&buf, cli->blob.inputs->timeout_base); in send_update_start() 509 err = bt_mesh_blob_cli_send(b, b->inputs, &cli->xfer.blob, cli->xfer.io); in transfer() 515 err = bt_mesh_blob_cli_caps_get(&cli->blob, cli->blob.inputs); in transfer() 624 cli->req.ttl = cli->blob.inputs->ttl; in confirm() [all …]
|
D | provisioner.c | 315 uint8_t *inputs = (uint8_t *)&bt_mesh_prov_link.conf_inputs; in send_confirm() local 318 LOG_DBG("ConfInputs[0] %s", bt_hex(inputs, 32)); in send_confirm() 319 LOG_DBG("ConfInputs[32] %s", bt_hex(&inputs[32], 32)); in send_confirm() 320 LOG_DBG("ConfInputs[64] %s", bt_hex(&inputs[64], 32)); in send_confirm() 321 LOG_DBG("ConfInputs[96] %s", bt_hex(&inputs[96], 32)); in send_confirm() 322 LOG_DBG("ConfInputs[128] %s", bt_hex(&inputs[128], 17)); in send_confirm() 325 inputs, in send_confirm()
|
/Zephyr-latest/boards/kincony/kincony_kc868_a32/doc/ |
D | index.rst | 12 - 32 digital optoisolated inputs “dry contact” 13 - 4 analog inputs 0-5 V
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | comparator.rst | 10 positive inputs. If the voltage at the positive input is higher than the negative input, the 32 compare its inputs, producing an output and detecting edges. When suspended, the comparator
|
/Zephyr-latest/subsys/tracing/user/ |
D | tracing_user.c | 38 gpio_port_pins_t inputs, in sys_trace_gpio_port_get_direction_enter_user() argument 182 gpio_port_pins_t inputs, gpio_port_pins_t outputs) in sys_trace_gpio_port_get_direction_enter() argument 184 sys_trace_gpio_port_get_direction_enter_user(port, map, inputs, outputs); in sys_trace_gpio_port_get_direction_enter()
|