Searched refs:new_slot (Results 1 – 3 of 3) sorted by relevance
| /Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
| D | test_dfu.c | 440 struct bt_mesh_dfu_slot *new_slot = bt_mesh_dfu_slot_reserve(); in slot_reserve_and_set() local 442 if (!new_slot) { in slot_reserve_and_set() 447 int err = bt_mesh_dfu_slot_fwid_set(new_slot, fwid, fwid_len); in slot_reserve_and_set() 453 err = bt_mesh_dfu_slot_info_set(new_slot, size, metadata, metadata_len); in slot_reserve_and_set() 459 return new_slot; in slot_reserve_and_set() 464 struct bt_mesh_dfu_slot *new_slot; in slot_add() local 473 new_slot = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in slot_add() 474 if (!new_slot) { in slot_add() 478 if (bt_mesh_dfu_slot_commit(new_slot) != 0) { in slot_add() 483 *slot = new_slot; in slot_add()
|
| /Zephyr-latest/subsys/net/lib/dhcpv4/ |
| D | dhcpv4_server.c | 805 struct dhcpv4_addr_slot *new_slot = NULL; in echo_reply_handler() local 845 new_slot = slot; in echo_reply_handler() 850 if (new_slot == NULL) { in echo_reply_handler() 857 if (dhcpv4_probe_address(ctx, new_slot) < 0) { in echo_reply_handler() 863 new_slot->state = DHCPV4_SERVER_ADDR_RESERVED; in echo_reply_handler() 864 new_slot->expiry = sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in echo_reply_handler() 865 new_slot->client_id.len = probe_ctx->slot->client_id.len; in echo_reply_handler() 866 memcpy(new_slot->client_id.buf, probe_ctx->slot->client_id.buf, in echo_reply_handler() 867 new_slot->client_id.len); in echo_reply_handler() 868 new_slot->lease_time = probe_ctx->slot->lease_time; in echo_reply_handler() [all …]
|
| /Zephyr-latest/drivers/adc/ |
| D | adc_ad7124.c | 797 int new_slot; in adc_ad7124_channel_setup() local 809 new_slot = adc_ad7124_find_new_slot(dev); in adc_ad7124_channel_setup() 811 if (new_slot == -1) { in adc_ad7124_channel_setup() 819 new_cfg.cfg_slot = new_slot; in adc_ad7124_channel_setup() 820 WRITE_BIT(data->setup_cfg_slots, new_slot, true); in adc_ad7124_channel_setup()
|