Home
last modified time | relevance | path

Searched full:registration (Results 1 – 25 of 1059) sorted by relevance

12345678910>>...43

/linux/drivers/misc/sgi-xp/
H A Dxp_main.c137 struct xpc_registration *registration; in xpc_connect() local
147 registration = &xpc_registrations[ch_number]; in xpc_connect()
149 if (mutex_lock_interruptible(&registration->mutex) != 0) in xpc_connect()
153 if (registration->func != NULL) { in xpc_connect()
154 mutex_unlock(&registration->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 Dxpc_channel.c468 struct xpc_registration *registration = &xpc_registrations[ch->number]; in xpc_connect_channel() local
470 if (mutex_trylock(&registration->mutex) == 0) in xpc_connect_channel()
474 mutex_unlock(&registration->mutex); in xpc_connect_channel()
485 mutex_unlock(&registration->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/drm/
H A Ddriver.rs115 /// The registration type of a `drm::Device`.
117 /// Once the `Registration` structure is dropped, the device is unregistered.
118 pub struct Registration<T: Driver>(ARef<drm::Device<T>>); struct
120 impl<T: Driver> Registration<T> { implementation
121 /// Creates a new [`Registration`] and registers it.
129 /// Same as [`Registration::new`}, but transfers ownership of the [`Registration`] to
143 let reg = Registration::<T>::new(drm, flags)?; in new_foreign_owned()
148 /// Returns a reference to the `Device` instance for this registration.
154 // SAFETY: `Registration` doesn't offer any methods or access to fields when shared between
156 unsafe impl<T: Driver> Sync for Registration<T> {} implementation
[all …]
/linux/rust/kernel/
H A Ddriver.rs62 //! # Driver Registration
67 //! This trait implementation can be used to create the actual registration with the common
68 //! [`Registration`] type.
71 //! creates a kernel module with exactly one [`Registration`] for the bus specific adapter.
111 /// The type that holds information about the registration. This is typically a struct defined
136 /// A [`Registration`] is a generic type that represents the registration of some driver type (e.g.
137 /// `bindings::pci_driver`). Therefore a [`Registration`] must be initialized with a type that
139 /// `T::unregister` calls result in the subsystem specific registration calls.
141 ///Once the `Registration` structure is dropped, the driver is unregistered.
143 pub struct Registration<T: RegistrationOps> { struct
[all …]
H A Dfaux.rs12 /// 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 { impl
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 Dauxiliary.rs21 /// An adapter for the registration of auxiliary drivers.
236 // SAFETY: `adev` points to the memory that has been allocated in `Registration::new`, via in release()
285 /// The registration of an auxiliary device.
287 /// This type represents the registration of a [`struct auxiliary_device`]. When an instance of this
294 pub struct Registration(NonNull<bindings::auxiliary_device>); struct
296 impl Registration { impl
339 impl Drop for Registration { implementation
353 // SAFETY: A `Registration` of a `struct auxiliary_device` can be released from any thread.
354 unsafe impl Send for Registration {} implementation
356 // SAFETY: `Registration` does not expose any methods or fields that need synchronization.
[all …]
/linux/samples/rust/
H A Drust_driver_auxiliary.rs46 _reg: [auxiliary::Registration; 2],
68 auxiliary::Registration::new(pdev.as_ref(), AUXILIARY_NAME, 0, MODULE_NAME)?, in probe()
69 auxiliary::Registration::new(pdev.as_ref(), AUXILIARY_NAME, 1, MODULE_NAME)?, in probe()
99 _pci_driver: driver::Registration<pci::Adapter<ParentDriver>>,
101 _aux_driver: driver::Registration<auxiliary::Adapter<AuxiliaryDriver>>,
107 _pci_driver <- driver::Registration::new(MODULE_NAME, module), in init()
108 _aux_driver <- driver::Registration::new(MODULE_NAME, module), in init()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.h100 * @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 Dice_dpll.c185 * @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 Ddrm_connector_test.c90 * 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 Diwpm_util.h148 * 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 Discsi_iser.h135 /* 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 Ddevel-algos.rst7 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/Documentation/infiniband/
H A Duser_mad.rst18 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 Dcpu-cooling-api.rst14 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/usb/
H A Dtypec.rst15 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/Documentation/driver-api/surface_aggregator/clients/
H A Dsan.rst22 registration and notifier-block registration.
31 loaded, regardless of being linked as client or not. Registration is done
/linux/include/crypto/
H A Dalgapi.h65 /* 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. */
120 * Algorithm registration interface.
/linux/include/uapi/linux/
H A Duser_events.h21 /* List of supported registration flags */
34 * Describes an event registration and stores the results of the registration.
/linux/Documentation/block/
H A Dublk.rst355 Auto Buffer Registration
358 The ``UBLK_F_AUTO_BUF_REG`` feature automatically handles buffer registration
371 registration/unregistration via ``UBLK_IO_REGISTER_IO_BUF`` and
378 dependency on buffer registration & unregistration commands.
388 2. Buffer registration data must be passed via uring_cmd's ``sqe->addr`` with the
392 __u16 index; /* Buffer index for registration */
393 __u8 flags; /* Registration flags */
408 If auto buffer registration fails:
/linux/sound/soc/
H A Dsoc-devres.c20 * 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/Documentation/isdn/
H A Dinterface_capi.rst18 application registration to an available device, forwarding it to the
26 2. Driver and Device Registration
34 driver. The registration can be revoked by calling the function
48 3. Application Registration and Communication
51 Kernel CAPI forwards registration requests from applications (calls to CAPI
90 driver. After registration via the attach_capi_ctr() function it is passed to
133 pointers to callback function for registration of
/linux/drivers/counter/
H A Dcounter-core.c83 * This is part one of counter registration. The structure is allocated
146 * counter_add - complete registration of a counter
149 * This is part two of counter registration.
230 * devm_counter_add - complete registration of a counter
/linux/Documentation/i2c/muxes/
H A Di2c-mux-gpio.rst69 If you don't know the absolute GPIO pin numbers at registration time,
75 Device Registration
85 GPIO pin numbers at registration time, this is even the only option.
/linux/drivers/staging/media/sunxi/cedrus/
H A DTODO8 v4l2 and m2m devices registration;
9 - proc, with video device registration and related operations;

12345678910>>...43