Searched refs:registry (Results 1 – 11 of 11) sorted by relevance
| /drivers/md/dm-vdo/ |
| A D | thread-registry.c | 20 INIT_LIST_HEAD(®istry->links); in vdo_initialize_thread_registry() 21 spin_lock_init(®istry->lock); in vdo_initialize_thread_registry() 25 void vdo_register_thread(struct thread_registry *registry, in vdo_register_thread() argument 35 spin_lock(®istry->lock); in vdo_register_thread() 36 list_for_each_entry(thread, ®istry->links, links) { in vdo_register_thread() 44 list_add_tail_rcu(&new_thread->links, ®istry->links); in vdo_register_thread() 45 spin_unlock(®istry->lock); in vdo_register_thread() 55 void vdo_unregister_thread(struct thread_registry *registry) in vdo_unregister_thread() argument 60 spin_lock(®istry->lock); in vdo_unregister_thread() 61 list_for_each_entry(thread, ®istry->links, links) { in vdo_unregister_thread() [all …]
|
| A D | thread-registry.h | 23 void vdo_initialize_thread_registry(struct thread_registry *registry); 25 void vdo_register_thread(struct thread_registry *registry, 28 void vdo_unregister_thread(struct thread_registry *registry); 30 const void *vdo_lookup_thread(struct thread_registry *registry);
|
| A D | vdo.c | 74 static struct device_registry registry; variable 82 INIT_LIST_HEAD(®istry.links); in vdo_initialize_device_registry_once() 83 rwlock_init(®istry.lock); in vdo_initialize_device_registry_once() 106 list_for_each_entry(vdo, ®istry.links, registration) { in filter_vdos_locked() 123 read_lock(®istry.lock); in vdo_find_matching() 125 read_unlock(®istry.lock); in vdo_find_matching() 441 write_lock(®istry.lock); in register_vdo() 446 list_add_tail(&vdo->registration, ®istry.links); in register_vdo() 448 write_unlock(®istry.lock); in register_vdo() 661 write_lock(®istry.lock); in unregister_vdo() [all …]
|
| A D | Makefile | 38 thread-registry.o \
|
| /drivers/power/supply/ |
| A D | surface_charger.c | 47 struct ssam_event_registry registry; member 175 struct ssam_event_registry registry, const char *name) in spwr_ac_init() argument 184 ac->notif.event.reg = registry; in spwr_ac_init() 244 spwr_ac_init(ac, sdev, p->registry, p->name); in surface_ac_probe() 259 .registry = SSAM_EVENT_REGISTRY_SAM,
|
| A D | surface_battery.c | 116 struct ssam_event_registry registry; member 722 struct ssam_event_registry registry, const char *name) in spwr_battery_init() argument 731 bat->notif.event.reg = registry; in spwr_battery_init() 830 spwr_battery_init(bat, sdev, p->registry, p->name); in surface_battery_probe() 846 .registry = SSAM_EVENT_REGISTRY_SAM, 851 .registry = SSAM_EVENT_REGISTRY_KIP,
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| A D | gsp.c | 502 static void build_registry(struct nvkm_gsp *gsp, PACKED_REGISTRY_TABLE *registry) in build_registry() argument 508 registry->numEntries = list_count_nodes(&gsp->registry_list); in build_registry() 509 str_offset = struct_size(registry, entries, registry->numEntries); in build_registry() 512 registry->entries[i].type = reg->type; in build_registry() 513 registry->entries[i].length = reg->vlen; in build_registry() 516 registry->entries[i].nameOffset = str_offset; in build_registry() 517 memcpy((void *)registry + str_offset, reg->key, reg->klen); in build_registry() 522 registry->entries[i].data = reg->dword; in build_registry() 527 memcpy((void *)registry + str_offset, reg->binary, reg->vlen); in build_registry() 528 registry->entries[i].data = str_offset; in build_registry() [all …]
|
| /drivers/platform/surface/ |
| A D | Kconfig | 109 Device-registry for Surface System Aggregator Module (SSAM) devices. 111 Provides a module and driver which act as a device-registry for SSAM 113 Such devices are instead provided and managed via this registry. 115 Devices provided via this registry are:
|
| /drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_sp.c | 2782 if (o->registry.aprox_match.vec[i]) in bnx2x_mcast_get_next_bin() 3026 memcpy(cur, o->registry.aprox_match.vec, in bnx2x_mcast_hdl_pending_set_e2_convert() 3363 elem = o->registry.aprox_match.vec[i]; in bnx2x_mcast_refresh_registry_e2() 3554 memset(o->registry.aprox_match.vec, 0, in bnx2x_mcast_setup_e1h() 3572 memset(o->registry.aprox_match.vec, 0, in bnx2x_mcast_setup_e1h() 3573 sizeof(o->registry.aprox_match.vec)); in bnx2x_mcast_setup_e1h() 3864 &o->registry.exact_match.macs); in bnx2x_mcast_refresh_registry_e1() 3958 return o->registry.exact_match.num_macs_set; in bnx2x_mcast_get_registry_size_exact() 3963 return o->registry.aprox_match.num_bins_set; in bnx2x_mcast_get_registry_size_aprox() 3969 o->registry.exact_match.num_macs_set = n; in bnx2x_mcast_set_registry_size_exact() [all …]
|
| A D | bnx2x_sp.h | 572 } registry; member
|
| /drivers/staging/rtl8723bs/core/ |
| A D | rtw_xmit.c | 1991 struct registry_priv *registry = &adapter->registrypriv; in xmitframe_hiq_filter() local 1993 if (registry->hiq_filter == RTW_HIQ_FILTER_ALLOW_SPECIAL) { in xmitframe_hiq_filter() 2002 } else if (registry->hiq_filter == RTW_HIQ_FILTER_ALLOW_ALL) in xmitframe_hiq_filter() 2004 else if (registry->hiq_filter == RTW_HIQ_FILTER_DENY_ALL) { in xmitframe_hiq_filter()
|
Completed in 47 milliseconds