id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
devm_clk_bulk_get(9) | NAME devm_clk_bulk_get - managed get multiple clk consumers
SYNOPSIS int devm_clk_bulk_get (struct device *dev , int num_clks , struct clk_bulk_data *clks );
ARGUMENTS dev device for clock "consumer"
num_clks the number of clk_bulk_data
clks the clk_bulk_data table of consumer
DESCR... |
devm_clk_bulk_get_all(9) | NAME devm_clk_bulk_get_all - managed get multiple clk consumers
SYNOPSIS int devm_clk_bulk_get_all (struct device *dev , struct clk_bulk_data **clks );
ARGUMENTS dev device for clock "consumer"
clks pointer to the clk_bulk_data table of consumer
DESCRIPTION Returns a positive value for the num... |
devm_clk_bulk_get_all_enabled(9) | NAME devm_clk_bulk_get_all_enabled - Get and enable all clocks of the consumer (managed)
SYNOPSIS int devm_clk_bulk_get_all_enabled (struct device *dev , struct clk_bulk_data **clks );
ARGUMENTS dev device for clock "consumer"
clks pointer to the clk_bulk_data table of consumer
DESCRIPTION Ret... |
devm_clk_bulk_get_optional(9) | NAME devm_clk_bulk_get_optional - managed get multiple optional consumer clocks
SYNOPSIS int devm_clk_bulk_get_optional (struct device *dev , int num_clks , struct clk_bulk_data *clks );
ARGUMENTS dev device for clock "consumer"
num_clks the number of clk_bulk_data
clks pointer to th... |
devm_clk_bulk_get_optional_enable(9) | NAME devm_clk_bulk_get_optional_enable - Get and enable optional bulk clocks (managed)
SYNOPSIS int devm_clk_bulk_get_optional_enable (struct device *dev , int num_clks , struct clk_bulk_data *clks );
ARGUMENTS dev device for clock "consumer"
num_clks the number of clk_bulk_data
clks ... |
devm_clk_get(9) | NAME devm_clk_get - lookup and obtain a managed reference to a clock producer.
SYNOPSIS struct clk * devm_clk_get (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk corresponding to the clock producer... |
devm_clk_get_enabled(9) | NAME devm_clk_get_enabled - devm_clk_get() + clk_prepare_enable()
SYNOPSIS struct clk * devm_clk_get_enabled (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk corresponding to the clock producer, or ... |
devm_clk_get_optional(9) | NAME devm_clk_get_optional - lookup and obtain a managed reference to an optional clock producer.
SYNOPSIS struct clk * devm_clk_get_optional (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk corres... |
devm_clk_get_optional_enabled(9) | NAME devm_clk_get_optional_enabled - devm_clk_get_optional() + clk_prepare_enable()
SYNOPSIS struct clk * devm_clk_get_optional_enabled (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk correspondin... |
devm_clk_get_optional_enabled_with_rate(9) | NAME devm_clk_get_optional_enabled_with_rate - devm_clk_get_optional() + clk_set_rate() + clk_prepare_enable()
SYNOPSIS struct clk * devm_clk_get_optional_enabled_with_rate (struct device *dev , const char *id , unsigned long rate );
ARGUMENTS dev device for clock "consumer"
id clock consumer... |
devm_clk_get_optional_prepared(9) | NAME devm_clk_get_optional_prepared - devm_clk_get_optional() + clk_prepare()
SYNOPSIS struct clk * devm_clk_get_optional_prepared (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk corresponding to ... |
devm_clk_get_prepared(9) | NAME devm_clk_get_prepared - devm_clk_get() + clk_prepare()
SYNOPSIS struct clk * devm_clk_get_prepared (struct device *dev , const char *id );
ARGUMENTS dev device for clock "consumer"
id clock consumer ID
CONTEXT May sleep.
RETURN a struct clk corresponding to the clock producer, or valid... |
devm_clk_hw_get_clk(9) | NAME devm_clk_hw_get_clk - resource managed clk_hw_get_clk()
SYNOPSIS struct clk * devm_clk_hw_get_clk (struct device *dev , struct clk_hw *hw , const char *con_id );
ARGUMENTS dev device that is registering this clock
hw clk_hw associated with the clk being consumed
con_id conne... |
devm_clk_hw_register(9) | NAME devm_clk_hw_register - resource managed clk_hw_register()
SYNOPSIS int devm_clk_hw_register (struct device *dev , struct clk_hw *hw );
ARGUMENTS dev device that is registering this clock
hw link to hardware-specific clock data
DESCRIPTION Managed clk_hw_register. Clocks registered by th... |
devm_clk_hw_register_clkdev(9) | NAME devm_clk_hw_register_clkdev - managed clk lookup registration for clk_hw
SYNOPSIS int devm_clk_hw_register_clkdev (struct device *dev , struct clk_hw *hw , const char *con_id , const char *dev_id );
ARGUMENTS dev device this lookup is bound
hw struct clk_hw to associate with all clk_look... |
devm_clk_hw_register_divider(9) | NAME devm_clk_hw_register_divider - register a divider clock with the clock framework
SYNOPSIS devm_clk_hw_register_divider (dev , name , parent_name , flags , reg , shift , width , clk_divider_flags , lock );
ARGUMENTS dev device registering this clock
name name of this clock
parent_na... |
devm_clk_hw_register_divider_parent_hw(9) | NAME devm_clk_hw_register_divider_parent_hw - register a divider clock with the clock framework
SYNOPSIS devm_clk_hw_register_divider_parent_hw (dev , name , parent_hw , flags , reg , shift , width , clk_divider_flags , lock );
ARGUMENTS dev device registering this clock
name name of this clock... |
devm_clk_hw_register_divider_table(9) | NAME devm_clk_hw_register_divider_table - register a table based divider clock with the clock framework (devres variant)
SYNOPSIS devm_clk_hw_register_divider_table (dev , name , parent_name , flags , reg , shift , width , clk_divider_flags , table , lock );
ARGUMENTS dev device registering this clock
... |
devm_clk_hw_register_fixed_factor_index(9) | NAME devm_clk_hw_register_fixed_factor_index - Register a fixed factor clock with parent from DT index
SYNOPSIS struct clk_hw * devm_clk_hw_register_fixed_factor_index (struct device *dev , const char *name , unsigned int index , unsigned long flags , unsigned int mult , unsigned int div );
ARGUMENTS dev devi... |
devm_clk_hw_register_fixed_factor_parent_hw(9) | NAME devm_clk_hw_register_fixed_factor_parent_hw - Register a fixed factor clock with pointer to parent clock
SYNOPSIS struct clk_hw * devm_clk_hw_register_fixed_factor_parent_hw (struct device *dev , const char *name , const struct clk_hw *parent_hw , unsigned long flags , unsigned int mult , unsigned int div );
ARG... |
devm_clk_hw_register_fixed_rate(9) | NAME devm_clk_hw_register_fixed_rate - register fixed-rate clock with the clock framework
SYNOPSIS devm_clk_hw_register_fixed_rate (dev , name , parent_name , flags , fixed_rate );
ARGUMENTS dev device that is registering this clock
name name of this clock
parent_name name of clock's pa... |
devm_clk_hw_register_fixed_rate_parent_data(9) | NAME devm_clk_hw_register_fixed_rate_parent_data - register fixed-rate clock with the clock framework
SYNOPSIS devm_clk_hw_register_fixed_rate_parent_data (dev , name , parent_data , flags , fixed_rate );
ARGUMENTS dev device that is registering this clock
name name of this clock
parent... |
devm_clk_hw_register_gate(9) | NAME devm_clk_hw_register_gate - register a gate clock with the clock framework
SYNOPSIS devm_clk_hw_register_gate (dev , name , parent_name , flags , reg , bit_idx , clk_gate_flags , lock );
ARGUMENTS dev device that is registering this clock
name name of this clock
parent_name name of... |
devm_clk_hw_register_gate_parent_data(9) | NAME devm_clk_hw_register_gate_parent_data - register a gate clock with the clock framework
SYNOPSIS devm_clk_hw_register_gate_parent_data (dev , name , parent_data , flags , reg , bit_idx , clk_gate_flags , lock );
ARGUMENTS dev device that is registering this clock
name name of this clock
... |
devm_clk_hw_register_gate_parent_hw(9) | NAME devm_clk_hw_register_gate_parent_hw - register a gate clock with the clock framework
SYNOPSIS devm_clk_hw_register_gate_parent_hw (dev , name , parent_hw , flags , reg , bit_idx , clk_gate_flags , lock );
ARGUMENTS dev device that is registering this clock
name name of this clock
p... |
devm_clk_notifier_register(9) | NAME devm_clk_notifier_register - register a managed rate-change notifier callback
SYNOPSIS int devm_clk_notifier_register (struct device *dev , struct clk *clk , struct notifier_block *nb );
ARGUMENTS dev device for clock "consumer"
clk clock whose rate we are interested in
nb ... |
devm_clk_put(9) | NAME devm_clk_put - "free" a managed clock source
SYNOPSIS void devm_clk_put (struct device *dev , struct clk *clk );
ARGUMENTS dev device used to acquire the clock
clk clock source acquired with devm_clk_get
NOTE drivers must ensure that all clk_enable calls made on this clock source are bal... |
devm_clk_rate_exclusive_get(9) | NAME devm_clk_rate_exclusive_get - devm variant of clk_rate_exclusive_get
SYNOPSIS int devm_clk_rate_exclusive_get (struct device *dev , struct clk *clk );
ARGUMENTS dev device the exclusivity is bound to
clk clock source
DESCRIPTION Calls clk_rate_exclusive_get on clk and registers a devm cl... |
devm_clk_register(9) | NAME devm_clk_register - resource managed clk_register()
SYNOPSIS struct clk * devm_clk_register (struct device *dev , struct clk_hw *hw );
ARGUMENTS dev device that is registering this clock
hw link to hardware-specific clock data
DESCRIPTION Managed clk_register. This function is *deprecat... |
devm_clk_register_regmap(9) | NAME devm_clk_register_regmap - register a clk_regmap clock
SYNOPSIS int devm_clk_register_regmap (struct device *dev , struct clk_regmap *rclk );
ARGUMENTS dev reference to the caller's device
rclk clk to operate on
DESCRIPTION Clocks that use regmap for their register I/O should register the... |
devm_counter_add(9) | NAME devm_counter_add - complete registration of a counter
SYNOPSIS int devm_counter_add (struct device *dev , struct counter_device *const counter );
ARGUMENTS dev the device to register the release callback for
counter the counter to add
DESCRIPTION This is the device managed version of counter... |
devm_counter_alloc(9) | NAME devm_counter_alloc - allocate a counter_device
SYNOPSIS struct counter_device * devm_counter_alloc (struct device *dev , size_t sizeof_priv );
ARGUMENTS dev the device to register the release callback for
sizeof_priv size of the driver private data
DESCRIPTION This is the device managed version ... |
devm_cpm_muram_alloc(9) | NAME devm_cpm_muram_alloc - Resource-managed cpm_muram_alloc
SYNOPSIS s32 devm_cpm_muram_alloc (struct device *dev , unsigned long size , unsigned long align );
ARGUMENTS dev Device to allocate memory for
size number of bytes to allocate
align requested alignment, in bytes
DESCRI... |
devm_cpm_muram_alloc_fixed(9) | NAME devm_cpm_muram_alloc_fixed - Resource-managed cpm_muram_alloc_fixed
SYNOPSIS s32 devm_cpm_muram_alloc_fixed (struct device *dev , unsigned long offset , unsigned long size );
ARGUMENTS dev Device to allocate memory for
offset offset of allocation start address
size number of b... |
devm_cxl_add_dport(9) | NAME devm_cxl_add_dport - append VH downstream port data to a cxl_port
SYNOPSIS struct cxl_dport * devm_cxl_add_dport (struct cxl_port *port , struct device *dport_dev , int port_id , resource_size_t component_reg_phys );
ARGUMENTS port the cxl_port that references this dport
dport_dev firmware or PC... |
devm_cxl_add_dport_by_dev(9) | NAME devm_cxl_add_dport_by_dev - allocate a dport by dport device
SYNOPSIS struct cxl_dport * devm_cxl_add_dport_by_dev (struct cxl_port *port , struct device *dport_dev );
ARGUMENTS port cxl_port that hosts the dport
dport_dev
DESCRIPTION Returns the allocated dport on success or ERR_PTR of -errno on... |
devm_cxl_add_memdev(9) | NAME devm_cxl_add_memdev - Add a CXL memory device
SYNOPSIS struct cxl_memdev * devm_cxl_add_memdev (struct cxl_dev_state *cxlds , const struct cxl_memdev_attach *attach );
ARGUMENTS cxlds CXL device state to associate with the memdev
attach Caller depends on CXL topology attachment
DESCRIPTION Up... |
devm_cxl_add_nvdimm(9) | NAME devm_cxl_add_nvdimm - add a bridge between a cxl_memdev and an nvdimm
SYNOPSIS int devm_cxl_add_nvdimm (struct device *host , struct cxl_port *port , struct cxl_memdev *cxlmd );
ARGUMENTS host host device for devm operations
port any port in the CXL topology to find the nvdimm-bridge device... |
devm_cxl_add_nvdimm_bridge(9) | NAME devm_cxl_add_nvdimm_bridge - add the root of a LIBNVDIMM topology
SYNOPSIS struct cxl_nvdimm_bridge * devm_cxl_add_nvdimm_bridge (struct device *host , struct cxl_port *port );
ARGUMENTS host platform firmware root device
port CXL port at the root of a CXL topology
RETURN bridge device tha... |
devm_cxl_add_pmem_region(9) | NAME devm_cxl_add_pmem_region - add a cxl_region-to-nd_region bridge
SYNOPSIS int devm_cxl_add_pmem_region (struct cxl_region *cxlr );
ARGUMENTS cxlr parent CXL region for this pmem region bridge device
RETURN 0 on success negative error code on failure.
SEE ALSO Kernel file ./drivers/cxl/core/region.c Kerne... |
devm_cxl_add_port(9) | NAME devm_cxl_add_port - register a cxl_port in CXL memory decode hierarchy
SYNOPSIS struct cxl_port * devm_cxl_add_port (struct device *host , struct device *uport_dev , resource_size_t component_reg_phys , struct cxl_dport *parent_dport );
ARGUMENTS host host device for devm operations
uport_dev "p... |
devm_cxl_add_rch_dport(9) | NAME devm_cxl_add_rch_dport - append RCH downstream port data to a cxl_port
SYNOPSIS struct cxl_dport * devm_cxl_add_rch_dport (struct cxl_port *port , struct device *dport_dev , int port_id , resource_size_t rcrb );
ARGUMENTS port the cxl_port that references this dport
dport_dev firmware or PCI dev... |
devm_cxl_add_region(9) | NAME devm_cxl_add_region - Adds a region to a decoder
SYNOPSIS struct cxl_region * devm_cxl_add_region (struct cxl_root_decoder *cxlrd , int id , enum cxl_partition_mode mode , enum cxl_decoder_type type );
ARGUMENTS cxlrd root decoder
id memregion id to create, or memregion_free on failure
... |
devm_cxl_dport_ras_setup(9) | NAME devm_cxl_dport_ras_setup - Setup CXL RAS report on this dport
SYNOPSIS void devm_cxl_dport_ras_setup (struct cxl_dport *dport );
ARGUMENTS dport the cxl_dport that needs to be initialized
SEE ALSO Kernel file ./drivers/cxl/core/ras.c
April 2026 ... |
devm_cxl_endpoint_decoders_setup(9) | NAME devm_cxl_endpoint_decoders_setup - allocate and setup endpoint decoders
SYNOPSIS int devm_cxl_endpoint_decoders_setup (struct cxl_port *port );
ARGUMENTS port CXL port context
DESCRIPTION Return 0 or -errno on error
SEE ALSO Kernel file ./drivers/cxl/core/hdm.c Kernel API(9), devm_cxl_setup_hdm(9), requ... |
devm_cxl_enumerate_decoders(9) | NAME devm_cxl_enumerate_decoders - add decoder objects per HDM register set
SYNOPSIS int devm_cxl_enumerate_decoders (struct cxl_hdm *cxlhdm , struct cxl_endpoint_dvsec_info *info );
ARGUMENTS cxlhdm Structure to populate with HDM capabilities
info cached DVSEC range register info
SEE ALSO Kernel... |
devm_cxl_setup_features(9) | NAME devm_cxl_setup_features - Allocate and initialize features context
SYNOPSIS int devm_cxl_setup_features (struct cxl_dev_state *cxlds );
ARGUMENTS cxlds CXL device context
DESCRIPTION Return 0 on success or -errno on failure.
SEE ALSO Kernel file ./drivers/cxl/core/features.c Kernel API(9)
April 2026 ... |
devm_cxl_setup_hdm(9) | NAME devm_cxl_setup_hdm - map HDM decoder component registers
SYNOPSIS struct cxl_hdm * devm_cxl_setup_hdm (struct cxl_port *port , struct cxl_endpoint_dvsec_info *info );
ARGUMENTS port cxl_port to map
info cached DVSEC range register info
SEE ALSO Kernel file ./drivers/cxl/core/hdm.c Kernel A... |
devm_cxl_switch_port_decoders_setup(9) | NAME devm_cxl_switch_port_decoders_setup - allocate and setup switch decoders
SYNOPSIS int devm_cxl_switch_port_decoders_setup (struct cxl_port *port );
ARGUMENTS port CXL port context
DESCRIPTION Return 0 or -errno on error
SEE ALSO Kernel file ./drivers/cxl/core/hdm.c Kernel API(9), devm_cxl_setup_hdm(9), ... |
devm_delayed_work_autocancel(9) | NAME devm_delayed_work_autocancel - Resource-managed delayed work allocation
SYNOPSIS int devm_delayed_work_autocancel (struct device *dev , struct delayed_work *w , work_func_t worker );
ARGUMENTS dev Device which lifetime work is bound to
w Work item to be queued
worker Worker... |
devm_devfreq_add_device(9) | NAME devm_devfreq_add_device - Resource-managed devfreq_add_device()
SYNOPSIS struct devfreq * devm_devfreq_add_device (struct device *dev , struct devfreq_dev_profile *profile , const char *governor_name , void *data );
ARGUMENTS dev the device to add devfreq feature.
profile device-specific prof... |
devm_devfreq_add_governor(9) | NAME devm_devfreq_add_governor - Add devfreq governor
SYNOPSIS int devm_devfreq_add_governor (struct device *dev , struct devfreq_governor *governor );
ARGUMENTS dev device which adds devfreq governor
governor the devfreq governor to be added
DESCRIPTION This is a resource-managed variant of devfr... |
devm_devfreq_event_add_edev(9) | NAME devm_devfreq_event_add_edev - Resource-managed devfreq_event_add_edev()
SYNOPSIS struct devfreq_event_dev * devm_devfreq_event_add_edev (struct device *dev , struct devfreq_event_desc *desc );
ARGUMENTS dev the device owning the devfreq-event device being created
desc the devfreq-event dev... |
devm_devfreq_event_remove_edev(9) | NAME devm_devfreq_event_remove_edev - Resource-managed devfreq_event_remove_edev()
SYNOPSIS void devm_devfreq_event_remove_edev (struct device *dev , struct devfreq_event_dev *edev );
ARGUMENTS dev the device owning the devfreq-event device being created
edev the devfreq-event device
DESCRIPTI... |
devm_devfreq_register_notifier(9) | NAME devm_devfreq_register_notifier -
SYNOPSIS int devm_devfreq_register_notifier (struct device *dev , struct devfreq *devfreq , struct notifier_block *nb , unsigned int list );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devfreq The devfreq object.
nb The notifier... |
devm_devfreq_register_opp_notifier(9) | NAME devm_devfreq_register_opp_notifier - Resource-managed devfreq_register_opp_notifier()
SYNOPSIS int devm_devfreq_register_opp_notifier (struct device *dev , struct devfreq *devfreq );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devfreq The devfreq object.
SEE ALSO Kernel file ... |
devm_devfreq_remove_device(9) | NAME devm_devfreq_remove_device - Resource-managed devfreq_remove_device()
SYNOPSIS void devm_devfreq_remove_device (struct device *dev , struct devfreq *devfreq );
ARGUMENTS dev the device from which to remove devfreq feature.
devfreq the devfreq instance to be removed
SEE ALSO Kernel file ./d... |
devm_devfreq_unregister_notifier(9) | NAME devm_devfreq_unregister_notifier -
SYNOPSIS void devm_devfreq_unregister_notifier (struct device *dev , struct devfreq *devfreq , struct notifier_block *nb , unsigned int list );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devfreq The devfreq object.
nb The not... |
devm_devfreq_unregister_opp_notifier(9) | NAME devm_devfreq_unregister_opp_notifier - Resource-managed devfreq_unregister_opp_notifier()
SYNOPSIS void devm_devfreq_unregister_opp_notifier (struct device *dev , struct devfreq *devfreq );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devfreq The devfreq object.
SEE ALSO Kernel... |
devm_device_add_group(9) | NAME devm_device_add_group - given a device, create a managed attribute group
SYNOPSIS int devm_device_add_group (struct device *dev , const struct attribute_group *grp );
ARGUMENTS dev The device to create the group for
grp The attribute group to create
DESCRIPTION This function creates a gr... |
devm_device_init_wakeup(9) | NAME devm_device_init_wakeup - Resource managed device wakeup initialization.
SYNOPSIS int devm_device_init_wakeup (struct device *dev );
ARGUMENTS dev Device to handle.
DESCRIPTION This function is the devm managed version of device_init_wakeup(dev, true).
SEE ALSO Kernel file ./include/linux/pm_wakeup.h s... |
devm_dma_request_chan(9) | NAME devm_dma_request_chan - try to allocate an exclusive slave channel
SYNOPSIS struct dma_chan * devm_dma_request_chan (struct device *dev , const char *name );
ARGUMENTS dev pointer to client device structure
name slave channel name
DESCRIPTION Returns pointer to appropriate DMA channel on ... |
devm_drm_bridge_add(9) | NAME devm_drm_bridge_add - devm managed version of drm_bridge_add()
SYNOPSIS int devm_drm_bridge_add (struct device *dev , struct drm_bridge *bridge );
ARGUMENTS dev device to tie the bridge lifetime to
bridge bridge control structure
DESCRIPTION This is the managed version of drm_bridge_add whi... |
devm_drm_bridge_alloc(9) | NAME devm_drm_bridge_alloc - Allocate and initialize a bridge
SYNOPSIS devm_drm_bridge_alloc (dev , type , member , funcs );
ARGUMENTS dev struct device of the bridge device
type the type of the struct which contains struct drm_bridge
member the name of the drm_bridge within type
... |
devm_drm_dev_alloc(9) | NAME devm_drm_dev_alloc - Resource managed allocation of a &drm_device instance
SYNOPSIS devm_drm_dev_alloc (parent , driver , type , member );
ARGUMENTS parent Parent device object
driver DRM driver
type the type of the struct which contains struct drm_device
member the ... |
devm_drm_dp_hpd_bridge_add(9) | NAME devm_drm_dp_hpd_bridge_add - register a HDP DisplayPort bridge
SYNOPSIS int devm_drm_dp_hpd_bridge_add (struct device *dev , struct auxiliary_device *adev );
ARGUMENTS dev struct device to tie registration lifetime to
adev bridge auxiliary device to be registered
RETURN zero on success or... |
devm_drm_dp_hpd_bridge_alloc(9) | NAME devm_drm_dp_hpd_bridge_alloc - allocate a HPD DisplayPort bridge
SYNOPSIS struct auxiliary_device * devm_drm_dp_hpd_bridge_alloc (struct device *parent , struct device_node *np );
ARGUMENTS parent device instance providing this bridge
np device node pointer corresponding to this bridge inst... |
devm_drm_of_get_bridge(9) | NAME devm_drm_of_get_bridge - Return next bridge in the chain
SYNOPSIS struct drm_bridge * devm_drm_of_get_bridge (struct device *dev , struct device_node *np , u32 port , u32 endpoint );
ARGUMENTS dev device to tie the bridge lifetime to
np device tree node containing encoder output ports
... |
devm_drm_panel_add_follower(9) | NAME devm_drm_panel_add_follower - devm version of drm_panel_add_follower()
SYNOPSIS int devm_drm_panel_add_follower (struct device *follower_dev , struct drm_panel_follower *follower );
ARGUMENTS follower_dev The 'struct device' for the follower.
follower The panel follower descriptor for the follower.
D... |
devm_drm_panel_alloc(9) | NAME devm_drm_panel_alloc - Allocate and initialize a refcounted panel.
SYNOPSIS devm_drm_panel_alloc (dev , type , member , funcs , connector_type );
ARGUMENTS dev struct device of the panel device
type the type of the struct which contains struct drm_panel
member the name of the ... |
devm_drm_panel_bridge_add(9) | NAME devm_drm_panel_bridge_add - Creates a managed &drm_bridge and &drm_connector that just calls the appropriate functions from &drm_panel.
SYNOPSIS struct drm_bridge * devm_drm_panel_bridge_add (struct device *dev , struct drm_panel *panel );
ARGUMENTS dev device to tie the bridge lifetime to
panel ... |
devm_drm_panel_bridge_add_typed(9) | NAME devm_drm_panel_bridge_add_typed - Creates a managed &drm_bridge and &drm_connector with an explicit connector type.
SYNOPSIS struct drm_bridge * devm_drm_panel_bridge_add_typed (struct device *dev , struct drm_panel *panel , u32 connector_type );
ARGUMENTS dev device to tie the bridge lifetime to
... |
devm_drm_put_bridge(9) | NAME devm_drm_put_bridge - Release a bridge reference obtained via devm
SYNOPSIS void devm_drm_put_bridge (struct device *dev , struct drm_bridge *bridge );
ARGUMENTS dev device that got the bridge via devm
bridge pointer to a struct drm_bridge obtained via devm
DESCRIPTION Same as drm_bridge_pu... |
devm_extcon_dev_allocate(9) | NAME devm_extcon_dev_allocate - Allocate managed extcon device
SYNOPSIS struct extcon_dev * devm_extcon_dev_allocate (struct device *dev , const unsigned int *supported_cable );
ARGUMENTS dev the device owning the extcon device being created
supported_cable
the array of the supporte... |
devm_extcon_dev_free(9) | NAME devm_extcon_dev_free - Resource-managed extcon_dev_unregister()
SYNOPSIS void devm_extcon_dev_free (struct device *dev , struct extcon_dev *edev );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device to be freed
DESCRIPTION Free the memory that is alloca... |
devm_extcon_dev_register(9) | NAME devm_extcon_dev_register - Resource-managed extcon_dev_register()
SYNOPSIS int devm_extcon_dev_register (struct device *dev , struct extcon_dev *edev );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device to be registered
DESCRIPTION this function, that ... |
devm_extcon_dev_unregister(9) | NAME devm_extcon_dev_unregister - Resource-managed extcon_dev_unregister()
SYNOPSIS void devm_extcon_dev_unregister (struct device *dev , struct extcon_dev *edev );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device to unregistered
DESCRIPTION Unregister ext... |
devm_extcon_register_notifier(9) | NAME devm_extcon_register_notifier - Resource-managed extcon_register_notifier()
SYNOPSIS int devm_extcon_register_notifier (struct device *dev , struct extcon_dev *edev , unsigned int id , struct notifier_block *nb );
ARGUMENTS dev the device owning the extcon device being created
edev the ext... |
devm_extcon_register_notifier_all(9) | NAME devm_extcon_register_notifier_all -
SYNOPSIS int devm_extcon_register_notifier_all (struct device *dev , struct extcon_dev *edev , struct notifier_block *nb );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device
nb a notifier block to be ... |
devm_extcon_unregister_notifier(9) | NAME devm_extcon_unregister_notifier -
SYNOPSIS void devm_extcon_unregister_notifier (struct device *dev , struct extcon_dev *edev , unsigned int id , struct notifier_block *nb );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device
id the uniq... |
devm_extcon_unregister_notifier_all(9) | NAME devm_extcon_unregister_notifier_all -
SYNOPSIS void devm_extcon_unregister_notifier_all (struct device *dev , struct extcon_dev *edev , struct notifier_block *nb );
ARGUMENTS dev the device owning the extcon device being created
edev the extcon device
nb a notifier block t... |
devm_framer_create(9) | NAME devm_framer_create - create a new framer
SYNOPSIS struct framer * devm_framer_create (struct device *dev , struct device_node *node , const struct framer_ops *ops );
ARGUMENTS dev device that is creating the new framer
node device node of the framer
ops function pointers fo... |
devm_framer_get(9) | NAME devm_framer_get - lookup and obtain a reference to a framer.
SYNOPSIS struct framer * devm_framer_get (struct device *dev , const char *con_id );
ARGUMENTS dev device that requests this framer
con_id name of the framer from device's point of view
DESCRIPTION Gets the framer using framer_get... |
devm_framer_optional_get(9) | NAME devm_framer_optional_get - lookup and obtain a reference to an optional framer.
SYNOPSIS struct framer * devm_framer_optional_get (struct device *dev , const char *con_id );
ARGUMENTS dev device that requests this framer
con_id name of the framer from device's point of view
DESCRIPTION Same... |
devm_free_irq(9) | NAME devm_free_irq - free an interrupt
SYNOPSIS void devm_free_irq (struct device *dev , unsigned int irq , void *dev_id );
ARGUMENTS dev device to free interrupt for
irq Interrupt line to free
dev_id Device identity to free
DESCRIPTION Except for the extra dev argument, th... |
devm_free_pages(9) | NAME devm_free_pages - Resource-managed free_pages
SYNOPSIS void devm_free_pages (struct device *dev , unsigned long addr );
ARGUMENTS dev Device this memory belongs to
addr Memory to free
DESCRIPTION Free memory allocated with devm_get_free_pages. Unlike free_pages, there is no need to supply... |
devm_fwnode_gpiod_get_index(9) | NAME devm_fwnode_gpiod_get_index - get a GPIO descriptor from a given node
SYNOPSIS struct gpio_desc * devm_fwnode_gpiod_get_index (struct device *dev , struct fwnode_handle *fwnode , const char *con_id , int index , enum gpiod_flags flags , const char *label );
ARGUMENTS dev GPIO consumer
fwnode ... |
devm_fwnode_gpiod_get_optional(9) | NAME devm_fwnode_gpiod_get_optional - obtain an optional GPIO from firmware node
SYNOPSIS struct gpio_desc * devm_fwnode_gpiod_get_optional (struct device *dev , struct fwnode_handle *fwnode , const char *con_id , enum gpiod_flags flags , const char *label );
ARGUMENTS dev GPIO consumer
fwnode ha... |
devm_fwnode_iio_channel_get_by_name(9) | NAME devm_fwnode_iio_channel_get_by_name - Resource managed version of fwnode_iio_channel_get_by_name().
SYNOPSIS struct iio_channel * devm_fwnode_iio_channel_get_by_name (struct device *dev , struct fwnode_handle *fwnode , const char *consumer_channel );
ARGUMENTS dev Pointer to consumer device.
fwno... |
devm_fwnode_pwm_get(9) | NAME devm_fwnode_pwm_get - request a resource managed PWM from firmware node
SYNOPSIS struct pwm_device * devm_fwnode_pwm_get (struct device *dev , struct fwnode_handle *fwnode , const char *con_id );
ARGUMENTS dev device for PWM consumer
fwnode firmware node to get the PWM from
con_id ... |
devm_gen_pool_create(9) | NAME devm_gen_pool_create - managed gen_pool_create
SYNOPSIS struct gen_pool * devm_gen_pool_create (struct device *dev , int min_alloc_order , int nid , const char *name );
ARGUMENTS dev device that provides the gen_pool
min_alloc_order
log base 2 of number of bytes each bitmap bit... |
devm_get_clk_from_child(9) | NAME devm_get_clk_from_child - lookup and obtain a managed reference to a clock producer from child node.
SYNOPSIS struct clk * devm_get_clk_from_child (struct device *dev , struct device_node *np , const char *con_id );
ARGUMENTS dev device for clock "consumer"
np pointer to clock consumer n... |
devm_get_free_pages(9) | NAME devm_get_free_pages - Resource-managed __get_free_pages
SYNOPSIS unsigned long devm_get_free_pages (struct device *dev , gfp_t gfp_mask , unsigned int order );
ARGUMENTS dev Device to allocate memory for
gfp_mask Allocation gfp flags
order Allocation size is (1 << order) pages
D... |
devm_gpio_regmap_register(9) | NAME devm_gpio_regmap_register - resource managed gpio_regmap_register()
SYNOPSIS struct gpio_regmap * devm_gpio_regmap_register (struct device *dev , const struct gpio_regmap_config *config );
ARGUMENTS dev device that is registering this GPIO device
config configuration for gpio_regmap
DESCRIP... |
devm_gpio_request_one(9) | NAME devm_gpio_request_one - request a single GPIO with initial setup
SYNOPSIS int devm_gpio_request_one (struct device *dev , unsigned gpio , unsigned long flags , const char *label );
ARGUMENTS dev device to request for
gpio the GPIO number
flags GPIO configuration as specified ... |
devm_gpiochip_add_data_with_key(9) | NAME devm_gpiochip_add_data_with_key - Resource managed gpiochip_add_data_with_key()
SYNOPSIS int devm_gpiochip_add_data_with_key (struct device *dev , struct gpio_chip *gc , void *data , struct lock_class_key *lock_key , struct lock_class_key *request_key );
ARGUMENTS dev pointer to the device that gpio_chip... |
devm_gpiochip_fwd_alloc(9) | NAME devm_gpiochip_fwd_alloc - Allocate and initialize a new GPIO forwarder
SYNOPSIS struct gpiochip_fwd * devm_gpiochip_fwd_alloc (struct device *dev , unsigned int ngpios );
ARGUMENTS dev Parent device pointer
ngpios Number of GPIOs in the forwarder
RETURN An opaque object pointer, or an ERR_P... |
devm_gpiod_get(9) | NAME devm_gpiod_get - Resource-managed gpiod_get()
SYNOPSIS struct gpio_desc * devm_gpiod_get (struct device *dev , const char *con_id , enum gpiod_flags flags );
ARGUMENTS dev GPIO consumer
con_id function within the GPIO consumer
flags optional GPIO initialization flags
DESCRIPTI... |
devm_gpiod_get_array(9) | NAME devm_gpiod_get_array - Resource-managed gpiod_get_array()
SYNOPSIS struct gpio_descs * devm_gpiod_get_array (struct device *dev , const char *con_id , enum gpiod_flags flags );
ARGUMENTS dev GPIO consumer
con_id function within the GPIO consumer
flags optional GPIO initializati... |
devm_gpiod_get_array_optional(9) | NAME devm_gpiod_get_array_optional - Resource-managed gpiod_get_array_optional()
SYNOPSIS struct gpio_descs * devm_gpiod_get_array_optional (struct device *dev , const char *con_id , enum gpiod_flags flags );
ARGUMENTS dev GPIO consumer
con_id function within the GPIO consumer
flags ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.