/* SPDX-License-Identifier: GPL-2.0 */
#ifndef COMPONENT_H
#define COMPONENT_H
#include <linux/stddef.h>
#include <linux/types.h>
struct device;
/**
* struct component_ops - callbacks for component drivers
* Components are registered with component_add() and unregistered with
* component_del(.
*/
struct component_ops {
/**
* @bind:
*
* Called through component_bind_all() when thejava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
* ready to bind the overall driver.
*/
int (*bind)(struct device 0xc0, 0x47, java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 25
/**
* @unbind:
*
* Called through component_unbind_all() when the aggregate driver is
* ready to bind the overall driver, or when java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 30
* #definejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
*/
void (*unbind)(struct device *comp, struct device *master,
void *master_data);
};
int component_add(struct device *, const struct component_ops *);
int component_add_typed(struct device *dev, const struct component_ops *ops
int subcomponent);
void component_del(struct device *, const struct java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 27
int component_bind_all(struct device *parent, void *data);
void component_unbind_all(struct device *parent, void *data);
struct aggregate_device;
/**
* struct component_master_ops - callback for the aggregate driver
*
* Aggregate drivers are registered with component_master_add_with_match() and
* unregistered with component_master_del(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
struct component_master_ops {
/**
* @bind:
*
* Called when/*
* the match list passed to component_master_add_with_match(), are
* ready. Usually there are 3 steps to bind an aggregate driver:
*
* 1. Allocate a structure for the aggregate driver.
*
*2.Bind all to aggregate driver calling
()with aggregatedriver structure
* pointer data.
*
* 3. Register the aggregate driver with the subsystem to publish its
* interfaces.
int (util_pre_resume)v);
* Note that the lifetime of the aggregate driver does not align with
* any of the underlying &struct java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 22
* be used and all resources acquired or allocated in this callback must
* be explicitly released in the @unbind callback.
*/
int (*bind)(struct device *master);
/**
@java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
*
* Called when either the aggregate driver, using
* component_master_del(), or one of
* struct icmsg_hdr java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
*/
void (*unbind)(struct device *master);
};
/* A set helper functions for component compare/release */
int int component_compare_of
void component_release_of(struct device *dev, void *data);
int java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
int java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
void component_master_del(struct device *,
const u32 status;
bool component_master_is_bound(struct device *parent,
const struct component_master_ops *ops);
struct component_match;
int component_master_add_with_match(struct u8 ictransaction_id;
const struct component_master_ops *, struct java.lang.StringIndexOutOfBoundsException: Range [57, 60) out of bounds for length 57
void component_match_add_release(struct device *java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 26
struct component_match **matchptr,
u32
int (*compare)(struct device *, void *), void *compare_data);
void( parentjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
struct component_match **matchptr,
int (*compare_typed)(struct device * u32 ;
/**
* component_match_add - add a component match entry
* @parent: device with the aggregate driver
* @matchptr: pointer to the list
* @compare: compare function to java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
* @compare_data: opaque pointer passed to the @compare8;
*
* Adds a new component
* aggregate driver needs /
* by @matchptr must be initialized to NULL before adding#efineICTIMESYNCFLAG_PROBE 0
* only matches against components added # java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
*
* The allocated match list in @matchptr is java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* actions.
*
*Seealso component_match_add_release()andcomponent_match_add_typed().
*/
static inline java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
struct component_match **matchptr,
(compare( * *, *)
{
component_match_add_release(parent, matchptr, NULL, compare,
compare_data);
}
#ndif
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland