Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 11 of 11) sorted by relevance

/drivers/md/dm-vdo/
A Dthread-registry.c20 INIT_LIST_HEAD(&registry->links); in vdo_initialize_thread_registry()
21 spin_lock_init(&registry->lock); in vdo_initialize_thread_registry()
25 void vdo_register_thread(struct thread_registry *registry, in vdo_register_thread() argument
35 spin_lock(&registry->lock); in vdo_register_thread()
36 list_for_each_entry(thread, &registry->links, links) { in vdo_register_thread()
44 list_add_tail_rcu(&new_thread->links, &registry->links); in vdo_register_thread()
45 spin_unlock(&registry->lock); in vdo_register_thread()
55 void vdo_unregister_thread(struct thread_registry *registry) in vdo_unregister_thread() argument
60 spin_lock(&registry->lock); in vdo_unregister_thread()
61 list_for_each_entry(thread, &registry->links, links) { in vdo_unregister_thread()
[all …]
A Dthread-registry.h23 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 Dvdo.c74 static struct device_registry registry; variable
82 INIT_LIST_HEAD(&registry.links); in vdo_initialize_device_registry_once()
83 rwlock_init(&registry.lock); in vdo_initialize_device_registry_once()
106 list_for_each_entry(vdo, &registry.links, registration) { in filter_vdos_locked()
123 read_lock(&registry.lock); in vdo_find_matching()
125 read_unlock(&registry.lock); in vdo_find_matching()
441 write_lock(&registry.lock); in register_vdo()
446 list_add_tail(&vdo->registration, &registry.links); in register_vdo()
448 write_unlock(&registry.lock); in register_vdo()
661 write_lock(&registry.lock); in unregister_vdo()
[all …]
A DMakefile38 thread-registry.o \
/drivers/power/supply/
A Dsurface_charger.c47 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 Dsurface_battery.c116 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 Dgsp.c502 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 DKconfig109 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 Dbnx2x_sp.c2782 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 Dbnx2x_sp.h572 } registry; member
/drivers/staging/rtl8723bs/core/
A Drtw_xmit.c1991 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