Lines Matching refs:ptr

853 	uint8_t *ptr;  in btp_send_broadcast_receive_state_ev()  local
873 ptr = ev->subgroups; in btp_send_broadcast_receive_state_ev()
877 sys_put_le32(subgroup->bis_sync >> 1, ptr); in btp_send_broadcast_receive_state_ev()
878 ptr += sizeof(subgroup->bis_sync); in btp_send_broadcast_receive_state_ev()
879 *ptr = subgroup->metadata_len; in btp_send_broadcast_receive_state_ev()
880 ptr += sizeof(subgroup->metadata_len); in btp_send_broadcast_receive_state_ev()
881 memcpy(ptr, subgroup->metadata, subgroup->metadata_len); in btp_send_broadcast_receive_state_ev()
882 ptr += subgroup->metadata_len; in btp_send_broadcast_receive_state_ev()
885 len = sizeof(*ev) + ptr - ev->subgroups; in btp_send_broadcast_receive_state_ev()
1414 const uint8_t *ptr; in btp_bap_broadcast_assistant_add_src() local
1435 ptr = cp->subgroups; in btp_bap_broadcast_assistant_add_src()
1439 subgroup->bis_sync = sys_get_le32(ptr); in btp_bap_broadcast_assistant_add_src()
1447 ptr += sizeof(subgroup->bis_sync); in btp_bap_broadcast_assistant_add_src()
1448 subgroup->metadata_len = *ptr; in btp_bap_broadcast_assistant_add_src()
1449 ptr += sizeof(subgroup->metadata_len); in btp_bap_broadcast_assistant_add_src()
1450 memcpy(subgroup->metadata, ptr, subgroup->metadata_len); in btp_bap_broadcast_assistant_add_src()
1451 ptr += subgroup->metadata_len; in btp_bap_broadcast_assistant_add_src()
1487 const uint8_t *ptr; in btp_bap_broadcast_assistant_modify_src() local
1506 ptr = cp->subgroups; in btp_bap_broadcast_assistant_modify_src()
1510 subgroup->bis_sync = sys_get_le32(ptr); in btp_bap_broadcast_assistant_modify_src()
1518 ptr += sizeof(subgroup->bis_sync); in btp_bap_broadcast_assistant_modify_src()
1519 subgroup->metadata_len = *ptr; in btp_bap_broadcast_assistant_modify_src()
1520 ptr += sizeof(subgroup->metadata_len); in btp_bap_broadcast_assistant_modify_src()
1521 memcpy(subgroup->metadata, ptr, subgroup->metadata_len); in btp_bap_broadcast_assistant_modify_src()
1522 ptr += subgroup->metadata_len; in btp_bap_broadcast_assistant_modify_src()