• Home
  • Raw
  • Download

Lines Matching refs:wanted_cod

133 	uint32_t wanted_cod;		/* CoD cache */  member
216 adapter->wanted_cod &= 0x00ffff; in adapter_set_service_classes()
217 adapter->wanted_cod |= (value << 16); in adapter_set_service_classes()
221 if (adapter->current_cod == adapter->wanted_cod || in adapter_set_service_classes()
225 DBG("Changing service classes to 0x%06x", adapter->wanted_cod); in adapter_set_service_classes()
227 err = adapter_ops->set_class(adapter->dev_id, adapter->wanted_cod); in adapter_set_service_classes()
232 adapter->pending_cod = adapter->wanted_cod; in adapter_set_service_classes()
244 adapter->wanted_cod &= 0xffe000; in btd_adapter_set_class()
245 adapter->wanted_cod |= ((major & 0x1f) << 8) | minor; in btd_adapter_set_class()
247 if (adapter->wanted_cod == adapter->current_cod || in btd_adapter_set_class()
251 DBG("Changing Major/Minor class to 0x%06x", adapter->wanted_cod); in btd_adapter_set_class()
253 err = adapter_ops->set_class(adapter->dev_id, adapter->wanted_cod); in btd_adapter_set_class()
258 adapter->pending_cod = adapter->wanted_cod; in btd_adapter_set_class()
402 adapter->wanted_cod |= LIMITED_BIT; in adapter_set_limited_discoverable()
404 adapter->wanted_cod &= ~LIMITED_BIT; in adapter_set_limited_discoverable()
408 adapter->wanted_cod == adapter->current_cod) in adapter_set_limited_discoverable()
412 adapter->wanted_cod, limited) == 0) in adapter_set_limited_discoverable()
413 adapter->pending_cod = adapter->wanted_cod; in adapter_set_limited_discoverable()
882 if (adapter->wanted_cod == adapter->current_cod) in adapter_set_class_complete()
885 if (adapter->wanted_cod & LIMITED_BIT && in adapter_set_class_complete()
888 adapter->wanted_cod, TRUE); in adapter_set_class_complete()
889 else if (!(adapter->wanted_cod & LIMITED_BIT) && in adapter_set_class_complete()
892 adapter->wanted_cod, FALSE); in adapter_set_class_complete()
895 adapter->wanted_cod); in adapter_set_class_complete()
898 adapter->pending_cod = adapter->wanted_cod; in adapter_set_class_complete()
2204 if (adapter->initialized && adapter->wanted_cod) { in adapter_setup()
2205 cls[1] = (adapter->wanted_cod >> 8) & 0xff; in adapter_setup()
2206 cls[0] = adapter->wanted_cod & 0xff; in adapter_setup()
2413 if (adapter->current_cod == adapter->wanted_cod) in adapter_disable_cod_cache()
2416 err = adapter_ops->set_class(adapter->dev_id, adapter->wanted_cod); in adapter_disable_cod_cache()
2421 adapter->pending_cod = adapter->wanted_cod; in adapter_disable_cod_cache()