Lines Matching refs:dup
6286 struct dup_entry *dup; local
6288 dup = &dup_filter[i];
6289 dup->mask = 0U;
6290 dup_ext_adv_mode_reset(dup->adv_mode);
6299 struct dup_entry *dup; local
6301 dup = &dup_filter[addr_idx];
6302 if (memcmp(addr, dup->addr.a.val, sizeof(bt_addr_t)) ||
6303 (addr_type != dup->addr.type)) {
6307 dup_mode = &dup->adv_mode[DUP_EXT_ADV_MODE_PERIODIC];
6329 static inline bool is_dup_or_update(struct dup_entry *dup, uint8_t adv_type, argument
6334 if (!(dup->mask & BIT(adv_type))) {
6336 dup->mask |= BIT(adv_type);
6339 dup_ext_adv_adi_store(&dup->adv_mode[adv_mode], adi,
6346 } else if (dup->adv_mode[adv_mode].set_count == 0U) {
6348 dup_ext_adv_adi_store(&dup->adv_mode[adv_mode], adi,
6355 dup_mode = &dup->adv_mode[adv_mode];
6390 dup_ext_adv_adi_store(&dup->adv_mode[adv_mode], adi,
6406 struct dup_entry *dup; local
6415 dup = &dup_filter[i];
6416 if (memcmp(addr, &dup->addr.a.val[0],
6418 (addr_type != dup->addr.type)) {
6423 return is_dup_or_update(dup, adv_type, adv_mode, adi,
6428 dup = &dup_filter[dup_curr];
6429 (void)memcpy(&dup->addr.a.val[0], addr, sizeof(bt_addr_t));
6430 dup->addr.type = addr_type;
6431 dup->mask = BIT(adv_type);
6434 dup_ext_adv_mode_reset(dup->adv_mode);
6435 dup_ext_adv_adi_store(&dup->adv_mode[adv_mode], adi,