Home
last modified time | relevance | path

Searched refs:inputs (Results 1 – 25 of 138) sorted by relevance

123456

/Zephyr-latest/drivers/gpio/
Dgpio_handlers.c102 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()
Dgpio_cc13xx_cc26xx.c268 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()
Dgpio_silabs_siwx91x.c189 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_siwx91x_port_get_direction() argument
193 if (inputs != NULL) { in gpio_siwx91x_port_get_direction()
194 *inputs = 0; in gpio_siwx91x_port_get_direction()
207 if (inputs != NULL) { in gpio_siwx91x_port_get_direction()
208 *inputs |= BIT(i); in gpio_siwx91x_port_get_direction()
Dgpio_rpi_pico.c341 gpio_port_pins_t *inputs, gpio_port_pins_t *outputs) in gpio_rpi_port_get_direction() argument
350 if (inputs && (pads_bank0_hw->io[pin] & PADS_BANK0_GPIO0_IE_BITS)) { in gpio_rpi_port_get_direction()
351 *inputs |= BIT(pin); in gpio_rpi_port_get_direction()
354 if (inputs) { in gpio_rpi_port_get_direction()
355 *inputs &= map; in gpio_rpi_port_get_direction()
Dgpio_axp192.c229 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()
Dgpio_mchp_xec_v2.c393 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()
Dgpio_andes_atcgpio100.c290 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()
Dgpio_litex.c273 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()
Dgpio_sifive.c291 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()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_blob.c134 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 …]
Dtest_dfu.c836 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/
Dblob.c76 struct bt_mesh_blob_cli_inputs inputs; member
276 blob_cli_xfer.inputs.ttl = BT_MESH_TTL_DEFAULT; in blob_cli_inputs_prepare()
277 blob_cli_xfer.inputs.group = group; in blob_cli_inputs_prepare()
278 blob_cli_xfer.inputs.app_idx = bt_mesh_shell_target_ctx.app_idx; in blob_cli_inputs_prepare()
279 sys_slist_init(&blob_cli_xfer.inputs.targets); in blob_cli_inputs_prepare()
290 sys_slist_append(&blob_cli_xfer.inputs.targets, in blob_cli_inputs_prepare()
325 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[7], 0, &err); in cmd_tx()
327 blob_cli_xfer.inputs.timeout_base = 0; in cmd_tx()
351 &blob_cli_xfer.inputs, in cmd_tx()
403 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_caps()
[all …]
Ddfd.c34 "\"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()
Ddfu.c513 struct bt_mesh_blob_cli_inputs inputs; member
518 sys_slist_init(&dfu_tx.inputs.targets); in dfu_tx_prepare()
529 sys_slist_append(&dfu_tx.inputs.targets, &dfu_tx.targets[i].blob.n); in dfu_tx_prepare()
561 sys_slist_append(&dfu_tx.inputs.targets, &dfu_tx.targets[dfu_tx.target_cnt].blob.n); in cmd_dfu_target()
763 dfu_tx.inputs.group = group; in cmd_dfu_send()
764 dfu_tx.inputs.app_idx = bt_mesh_shell_target_ctx.app_idx; in cmd_dfu_send()
765 dfu_tx.inputs.ttl = BT_MESH_TTL_DEFAULT; in cmd_dfu_send()
768 &dfu_tx.inputs, bt_mesh_shell_blob_io, &xfer); in cmd_dfu_send()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_cli.h314 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/
Dblob_cli.rst47 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/
Dtest_sync.c362 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/
Darty_a7_arm_designstart.dtsi163 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/
Ddfd_srv.c256 net_buf_simple_add_le16(&rsp, srv->inputs.group); in status_rsp()
257 net_buf_simple_add_le16(&rsp, srv->inputs.app_idx); in status_rsp()
258 net_buf_simple_add_u8(&rsp, srv->inputs.ttl); in status_rsp()
259 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp()
964 sys_slist_init(&srv->inputs.targets); in dfd_srv_reset()
1020 sys_slist_init(&srv->inputs.targets); in bt_mesh_dfd_srv_receivers_delete_all()
1046 if (srv->inputs.app_idx == params->app_idx && in bt_mesh_dfd_srv_start()
1047 srv->inputs.timeout_base == params->timeout_base && in bt_mesh_dfd_srv_start()
1048 srv->inputs.group == params->group && srv->inputs.ttl == params->ttl && in bt_mesh_dfd_srv_start()
1077 sys_slist_init(&srv->inputs.targets); in bt_mesh_dfd_srv_start()
[all …]
Dprovisionee.c210 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()
Dblob_cli.c19 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 …]
Ddfu_cli.c22 (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 …]
Dprovisioner.c315 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/
Dindex.rst12 - 32 digital optoisolated inputs “dry contact”
13 - 4 analog inputs 0-5 V
/Zephyr-latest/doc/hardware/peripherals/
Dcomparator.rst10 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

123456