Lines Matching refs:targets

120 	for (int i = 0; i < ARRAY_SIZE(srv->targets); i++) {  in is_self_update()
121 if (bt_mesh_has_addr(srv->targets[i].blob.addr)) { in is_self_update()
296 struct bt_mesh_blob_target targets[32]; member
4136 struct bt_mesh_dfu_target targets[32]; member
4144 sys_slist_init(&dfu_tx.inputs.targets); in dfu_tx_prepare()
4148 uint16_t addr = dfu_tx.targets[i].blob.addr; in dfu_tx_prepare()
4150 memset(&dfu_tx.targets[i].blob, 0, in dfu_tx_prepare()
4154 dfu_tx.targets[i].blob.addr = addr; in dfu_tx_prepare()
4155 dfu_tx.targets[i].blob.pull = &dfu_tx.pull[i]; in dfu_tx_prepare()
4157 sys_slist_append(&dfu_tx.inputs.targets, in dfu_tx_prepare()
4158 &dfu_tx.targets[i].blob.n); in dfu_tx_prepare()
4164 if (dfu_tx.target_cnt == ARRAY_SIZE(dfu_tx.targets)) { in dfu_target()
4170 if (dfu_tx.targets[i].blob.addr == addr) { in dfu_target()
4176 dfu_tx.targets[dfu_tx.target_cnt].blob.addr = addr; in dfu_target()
4177 dfu_tx.targets[dfu_tx.target_cnt].img_idx = img_idx; in dfu_target()
4178 sys_slist_append(&dfu_tx.inputs.targets, in dfu_target()
4179 &dfu_tx.targets[dfu_tx.target_cnt].blob.n); in dfu_target()
4520 sys_slist_init(&blob_cli_xfer.inputs.targets); in blob_cli_inputs_prepare()
4524 uint16_t addr = blob_cli_xfer.targets[i].addr; in blob_cli_inputs_prepare()
4526 memset(&blob_cli_xfer.targets[i], 0, in blob_cli_inputs_prepare()
4530 blob_cli_xfer.targets[i].addr = addr; in blob_cli_inputs_prepare()
4531 blob_cli_xfer.targets[i].pull = &blob_cli_xfer.pull[i]; in blob_cli_inputs_prepare()
4533 sys_slist_append(&blob_cli_xfer.inputs.targets, in blob_cli_inputs_prepare()
4534 &blob_cli_xfer.targets[i].n); in blob_cli_inputs_prepare()
4542 if (blob_cli_xfer.target_count == ARRAY_SIZE(blob_cli_xfer.targets)) { in cmd_blob_target()
4547 t = &blob_cli_xfer.targets[blob_cli_xfer.target_count]; in cmd_blob_target()