| /linux/drivers/misc/sgi-xp/ |
| H A D | xp_main.c | 137 struct xpc_registration *registration; in xpc_connect() local 147 registration = &xpc_registrations[ch_number]; in xpc_connect() 149 if (mutex_lock_interruptible(®istration->mutex) != 0) in xpc_connect() 153 if (registration->func != NULL) { in xpc_connect() 154 mutex_unlock(®istration->mutex); in xpc_connect() 159 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect() 160 registration->nentries = nentries; in xpc_connect() 161 registration->assigned_limit = assigned_limit; in xpc_connect() 162 registration->idle_limit = idle_limit; in xpc_connect() 163 registration->key = key; in xpc_connect() [all …]
|
| H A D | xpc_channel.c | 468 struct xpc_registration *registration = &xpc_registrations[ch->number]; in xpc_connect_channel() local 470 if (mutex_trylock(®istration->mutex) == 0) in xpc_connect_channel() 474 mutex_unlock(®istration->mutex); in xpc_connect_channel() 485 mutex_unlock(®istration->mutex); in xpc_connect_channel() 489 /* add info from the channel connect registration to the channel */ in xpc_connect_channel() 491 ch->kthreads_assigned_limit = registration->assigned_limit; in xpc_connect_channel() 492 ch->kthreads_idle_limit = registration->idle_limit; in xpc_connect_channel() 497 ch->func = registration->func; in xpc_connect_channel() 498 DBUG_ON(registration->func == NULL); in xpc_connect_channel() 499 ch->key = registration->key; in xpc_connect_channel() [all …]
|
| /linux/rust/kernel/ |
| H A D | faux.rs | 12 /// The registration of a faux device. 14 /// This type represents the registration of a [`struct faux_device`]. When an instance of this type 22 pub struct Registration(NonNull<bindings::faux_device>); struct 24 impl Registration { implementation 53 impl AsRef<device::Device> for Registration { implementation 61 impl Drop for Registration { implementation 72 unsafe impl Send for Registration {} implementation 77 unsafe impl Sync for Registration {} implementation
|
| H A D | driver.rs | 69 //! # Driver Registration 74 //! This trait implementation can be used to create the actual registration with the common 75 //! [`Registration`] type. 78 //! creates a kernel module with exactly one [`Registration`] for the bus specific adapter. 160 /// A [`Registration`] is a generic type that represents the registration of some driver type (e.g. 161 /// `bindings::pci_driver`). Therefore a [`Registration`] must be initialized with a type that 163 /// `T::unregister` calls result in the subsystem specific registration calls. 165 ///Once the `Registration` structure is dropped, the driver is unregistered. 167 pub struct Registration<T: RegistrationOps> { struct 172 // SAFETY: `Registration` has no fields or methods accessible via `&Registration`, so it is safe to argument [all …]
|
| H A D | auxiliary.rs | 23 /// An adapter for the registration of auxiliary drivers. 268 // SAFETY: `adev` points to the memory that has been allocated in `Registration::new`, via in release() 323 /// The registration of an auxiliary device. 325 /// This type represents the registration of a [`struct auxiliary_device`]. When its parent device 332 pub struct Registration(NonNull<bindings::auxiliary_device>); struct 334 impl Registration { impl 388 impl Drop for Registration { implementation 402 // SAFETY: A `Registration` of a `struct auxiliary_device` can be released from any thread. 403 unsafe impl Send for Registration {} implementation 405 // SAFETY: `Registration` does not expose any methods or fields that need synchronization. [all …]
|
| H A D | i2c.rs | 92 /// An adapter for the registration of I2C drivers. 546 /// The registration of an i2c client device. 548 /// This type represents the registration of a [`struct i2c_client`]. When an instance of this 556 pub struct Registration(NonNull<bindings::i2c_client>); struct 558 impl Registration { implementation 582 impl Drop for Registration { implementation 584 // SAFETY: `Drop` is only called for a valid `Registration`, which by invariant in drop() 590 // SAFETY: A `Registration` of a `struct i2c_client` can be released from any thread. 591 unsafe impl Send for Registration {} implementation 593 // SAFETY: `Registration` offers no interior mutability (no mutation through &self [all …]
|
| /linux/samples/rust/ |
| H A D | rust_driver_auxiliary.rs | 55 _reg0: Devres<auxiliary::Registration>, 57 _reg1: Devres<auxiliary::Registration>, 75 _reg0 <- auxiliary::Registration::new(pdev.as_ref(), AUXILIARY_NAME, 0, MODULE_NAME), in probe() 76 _reg1 <- auxiliary::Registration::new(pdev.as_ref(), AUXILIARY_NAME, 1, MODULE_NAME), in probe() 108 _pci_driver: driver::Registration<pci::Adapter<ParentDriver>>, 110 _aux_driver: driver::Registration<auxiliary::Adapter<AuxiliaryDriver>>, 116 _pci_driver <- driver::Registration::new(MODULE_NAME, module), in init() 117 _aux_driver <- driver::Registration::new(MODULE_NAME, module), in init()
|
| H A D | rust_i2c_client.rs | 3 //! Rust I2C client registration sample. 12 //! This demonstrates how to test an ACPI-based Rust I2C client registration driver 86 _reg: Devres<i2c::Registration>, 119 "Probe Rust I2C Client registration sample.\n" in probe() 128 i2c::Registration::new(&adapter, &BOARD_INFO, pdev.as_ref()) in probe() 136 "Unbind Rust I2C Client registration sample.\n" in unbind() 145 description: "Rust I2C client registration",
|
| H A D | rust_driver_faux.rs | 16 _reg: faux::Registration, 23 let reg = faux::Registration::new(c_str!("rust-faux-sample-device"), None)?; in init()
|
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.h | 100 * @mr_page_mask: HCA memory registration page mask. 101 * @mr_page_size: HCA memory registration page size. 102 * @mr_max_size: Maximum size in bytes of a single FR registration request. 283 * struct srp_fr_desc - fast registration work request arguments 286 * @frpl: Fast registration page list. 294 * struct srp_fr_pool - pool of fast registration descriptors 299 * @max_page_list_len: Maximum fast registration work request page list length. 302 * @desc: Fast registration descriptor pool. 317 * memory registration. 320 * memory registration call.
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dpll.c | 185 * @pin_priv: private data pointer passed on pin registration 187 * @dpll_priv: private data pointer passed on dpll registration 224 * @pin_priv: private data pointer passed on pin registration 226 * @dpll_priv: private data pointer passed on dpll registration 249 * @pin_priv: private data pointer passed on pin registration 251 * @dpll_priv: private data pointer passed on dpll registration 274 * @pin_priv: private data pointer passed on pin registration 276 * @dpll_priv: private data pointer passed on dpll registration 308 * @pin_priv: private data pointer passed on pin registration 310 * @dpll_priv: private data pointer passed on dpll registration [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_connector_test.c | 90 * Test that the registration of a bog standard connector works as 106 * Test that the registration of a connector without a DDC adapter 122 * Test that the registration of a connector succeeds for all possible 391 * Test that registration of a dynamic connector adds it to the connector list. 408 * Test that the registration of a dynamic connector before the drm device is 409 * registered results in deferring the connector's user interface registration. 424 * Test that the registration of a dynamic connector fails, if this is done before 440 * Test that the registration of a dynamic connector before the drm device is 515 * Test that the registration of a dynamic connector doesn't get deferred if 532 * Test that the registration of a dynamic connector fails if this is done after the [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | iwpm_util.h | 148 * iwpm_check_registration - Check if the client registration 151 * @reg: The given registration type to compare with 154 * Returns true if the client registration matches reg, 160 * iwpm_set_registration - Set the client registration 162 * @reg: Registration type to set 167 * iwpm_get_registration - Get the client registration 170 * Returns the client registration type
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.h | 135 /* Max registration work requests per command */ 202 * struct iser_mem_reg - iSER memory registration info 206 * @desc: pointer to fast registration context 233 * @reg_wr: registration WR 315 * struct iser_reg_resources - Fast registration resources 326 * struct iser_fr_desc - Fast registration descriptor 329 * @rsc: data buffer registration resources 341 * struct iser_fr_pool - connection fast registration pool 363 * @fr_pool: connection fast registration pool 400 * @pages_per_mr: maximum pages available for registration [all …]
|
| /linux/Documentation/crypto/ |
| H A D | devel-algos.rst | 7 There are three distinct types of registration functions in the Crypto 17 The generic registration functions can be found in 38 The registration functions return 0 on success, or a negative errno 57 Registration specifics 60 The registration of [CIPHER] algorithm is specific in that struct 108 Registration Specifics 111 The registration of multi-block cipher algorithms is one of the most
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | rseq.c | 55 * Size of the registered rseq area. 0 if the registration was 60 /* Flags used during rseq registration. */ 76 * rseq registration that is larger than the current rseq ABI. 160 /* Treat libc's ownership as a successful registration. */ in rseq_register_current_thread() 167 * (rseq_size > 0), the registration of other threads should in rseq_register_current_thread() 221 /* rseq registration owned by glibc */ in rseq_init()
|
| /linux/Documentation/infiniband/ |
| H A D | user_mad.rst | 18 descriptor for the appropriate device file. If the registration 34 a new registration ioctl is now provided which allows additional 35 fields to be provided during registration. 36 Users of this registration call are implicitly setting the use of 100 mad->hdr.id = my_agent; /* req.id from agent registration */
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | cpu-cooling-api.rst | 14 The generic cpu cooling(freq clipping) provides registration/unregistration APIs 16 the user. The registration APIs returns the cooling device pointer. 21 1.1 cpufreq registration/unregistration APIs 61 The power API registration functions provide a simple power model for
|
| /linux/Documentation/driver-api/surface_aggregator/clients/ |
| H A D | san.rst | 22 registration and notifier-block registration. 31 loaded, regardless of being linked as client or not. Registration is done
|
| /linux/Documentation/driver-api/usb/ |
| H A D | typec.rst | 15 class. In a normal case the registration will be done by a USB Type-C or PD PHY 81 registration. The class offers the following API for registering/unregistering 87 The class will provide a handle to struct typec_partner if the registration was 111 followed by registration of the cable plugs. The cable will be the parent device 114 the details during registration. The class offers the following API for 121 the registration is successful, or NULL if it isn't. 172 own functions, but the registration will always return a handle to struct
|
| /linux/include/uapi/linux/ |
| H A D | user_events.h | 21 /* List of supported registration flags */ 34 * Describes an event registration and stores the results of the registration.
|
| /linux/include/crypto/ |
| H A D | algapi.h | 65 /* Node in list of instances after registration. */ 67 /* List of attached spawns before registration. */ 91 /* Back pointer to instance after registration.*/ 93 /* Spawn list pointer prior to registration. */ 132 * Algorithm registration interface.
|
| /linux/sound/soc/ |
| H A D | soc-devres.c | 20 * devm_snd_soc_register_component - resource managed component registration 58 * devm_snd_soc_register_card - resource managed card registration 101 * devm_snd_dmaengine_pcm_register - resource managed dmaengine PCM registration
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | TODO | 8 v4l2 and m2m devices registration; 9 - proc, with video device registration and related operations;
|
| /linux/drivers/md/bcache/ |
| H A D | Kconfig | 24 bool "Asynchronous device registration" 29 registration work is handled in kernel work queue in asynchronous
|