id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
devm_gpiod_get_index(9) | NAME devm_gpiod_get_index - Resource-managed gpiod_get_index()
SYNOPSIS struct gpio_desc * devm_gpiod_get_index (struct device *dev , const char *con_id , unsigned int idx , enum gpiod_flags flags );
ARGUMENTS dev GPIO consumer
con_id function within the GPIO consumer
idx index of... |
devm_gpiod_get_index_optional(9) | NAME devm_gpiod_get_index_optional - Resource-managed gpiod_get_index_optional()
SYNOPSIS struct gpio_desc * devm_gpiod_get_index_optional (struct device *dev , const char *con_id , unsigned int index , enum gpiod_flags flags );
ARGUMENTS dev GPIO consumer
con_id function within the GPIO consumer... |
devm_gpiod_get_optional(9) | NAME devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
SYNOPSIS struct gpio_desc * devm_gpiod_get_optional (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 init... |
devm_gpiod_put(9) | NAME devm_gpiod_put - Resource-managed gpiod_put()
SYNOPSIS void devm_gpiod_put (struct device *dev , struct gpio_desc *desc );
ARGUMENTS dev GPIO consumer
desc GPIO descriptor to dispose of
DESCRIPTION Dispose of a GPIO descriptor obtained with devm_gpiod_get or devm_gpiod_get_index. Normally... |
devm_gpiod_put_array(9) | NAME devm_gpiod_put_array - Resource-managed gpiod_put_array()
SYNOPSIS void devm_gpiod_put_array (struct device *dev , struct gpio_descs *descs );
ARGUMENTS dev GPIO consumer
descs GPIO descriptor array to dispose of
DESCRIPTION Dispose of an array of GPIO descriptors obtained with devm_gpiod_... |
devm_gpiod_unhinge(9) | NAME devm_gpiod_unhinge - Remove resource management from a gpio descriptor
SYNOPSIS void devm_gpiod_unhinge (struct device *dev , struct gpio_desc *desc );
ARGUMENTS dev GPIO consumer
desc GPIO descriptor to remove resource management from
DESCRIPTION *DEPRECATED* This function should not be... |
devm_hte_register_chip(9) | NAME devm_hte_register_chip - Resource managed API to register HTE chip.
SYNOPSIS int devm_hte_register_chip (struct hte_chip *chip );
ARGUMENTS chip the HTE chip to add to subsystem.
DESCRIPTION It is used by the provider to register itself with the HTE subsystem. The unregistration is done automatically wh... |
devm_hte_request_ts_ns(9) | NAME devm_hte_request_ts_ns - Resource managed API to request and enable hardware timestamp in nanoseconds.
SYNOPSIS int devm_hte_request_ts_ns (struct device *dev , struct hte_ts_desc *desc , hte_ts_cb_t cb , hte_ts_sec_cb_t tcb , void *data );
ARGUMENTS dev HTE consumer/client device.
desc Pr... |
devm_hwmon_device_register_with_groups(9) | NAME devm_hwmon_device_register_with_groups - register w/ hwmon
SYNOPSIS struct device * devm_hwmon_device_register_with_groups (struct device *dev , const char *name , void *drvdata , const struct attribute_group **groups );
ARGUMENTS dev the parent device
name hwmon name attribute
drv... |
devm_hwmon_device_register_with_info(9) | NAME devm_hwmon_device_register_with_info - register w/ hwmon
SYNOPSIS struct device * devm_hwmon_device_register_with_info (struct device *dev , const char *name , void *drvdata , const struct hwmon_chip_info *chip , const struct attribute_group **extra_groups );
ARGUMENTS dev the parent device
name ... |
devm_hwmon_sanitize_name(9) | NAME devm_hwmon_sanitize_name - resource managed hwmon_sanitize_name()
SYNOPSIS char * devm_hwmon_sanitize_name (struct device *dev , const char *name );
ARGUMENTS dev device to allocate memory for
name NUL-terminated name
DESCRIPTION Allocates a new string where any invalid characters will be... |
devm_hwspin_lock_free(9) | NAME devm_hwspin_lock_free - free a specific hwspinlock for a managed device
SYNOPSIS int devm_hwspin_lock_free (struct device *dev , struct hwspinlock *hwlock );
ARGUMENTS dev the device to free the specific hwspinlock
hwlock the specific hwspinlock to free
DESCRIPTION This function mark hwlock... |
devm_hwspin_lock_register(9) | NAME devm_hwspin_lock_register - register a new hw spinlock device for a managed device
SYNOPSIS int devm_hwspin_lock_register (struct device *dev , struct hwspinlock_device *bank , const struct hwspinlock_ops *ops , int base_id , int num_locks );
ARGUMENTS dev the backing device
bank the hwspi... |
devm_hwspin_lock_request_specific(9) | NAME devm_hwspin_lock_request_specific - request for a specific hwspinlock for a managed device
SYNOPSIS struct hwspinlock * devm_hwspin_lock_request_specific (struct device *dev , unsigned int id );
ARGUMENTS dev the device to request the specific hwspinlock
id index of the specific hwspinlo... |
devm_hwspin_lock_unregister(9) | NAME devm_hwspin_lock_unregister - unregister an hw spinlock device for a managed device
SYNOPSIS int devm_hwspin_lock_unregister (struct device *dev , struct hwspinlock_device *bank );
ARGUMENTS dev the backing device
bank the hwspinlock device, which usually provides numerous hw locks
DESCRI... |
devm_i2c_add_adapter(9) | NAME devm_i2c_add_adapter - device-managed variant of i2c_add_adapter()
SYNOPSIS int devm_i2c_add_adapter (struct device *dev , struct i2c_adapter *adapter );
ARGUMENTS dev managing device for adding this I2C adapter
adapter the adapter to add
CONTEXT can sleep
DESCRIPTION Add adapter with dynam... |
devm_i2c_new_dummy_device(9) | NAME devm_i2c_new_dummy_device - return a new i2c device bound to a dummy driver
SYNOPSIS struct i2c_client * devm_i2c_new_dummy_device (struct device *dev , struct i2c_adapter *adapter , u16 address );
ARGUMENTS dev device the managed resource is bound to
adapter the adapter managing the device
... |
devm_i8254_regmap_register(9) | NAME devm_i8254_regmap_register - Register an i8254 Counter device
SYNOPSIS int devm_i8254_regmap_register (struct device *const dev , const struct i8254_regmap_config *const config );
ARGUMENTS dev device that is registering this i8254 Counter device
config configuration for i8254_regmap_config
... |
devm_i8255_regmap_register(9) | NAME devm_i8255_regmap_register - Register an i8255 GPIO controller
SYNOPSIS int devm_i8255_regmap_register (struct device *const dev , const struct i8255_regmap_config *const config );
ARGUMENTS dev device that is registering this i8255 GPIO device
config configuration for i8255_regmap_config
D... |
devm_idio_16_regmap_register(9) | NAME devm_idio_16_regmap_register - Register an IDIO-16 GPIO device
SYNOPSIS int devm_idio_16_regmap_register (struct device *const dev , const struct idio_16_regmap_config *const config );
ARGUMENTS dev device that is registering this IDIO-16 GPIO device
config configuration for idio_16_regmap_c... |
devm_iio_adc_device_alloc_chaninfo_se(9) | NAME devm_iio_adc_device_alloc_chaninfo_se - allocate and fill iio_chan_spec for ADC
SYNOPSIS int devm_iio_adc_device_alloc_chaninfo_se (struct device *dev , const struct iio_chan_spec *template , int max_chan_id , struct iio_chan_spec **cs );
ARGUMENTS dev Pointer to the ADC device.
template Templ... |
devm_iio_backend_enable(9) | NAME devm_iio_backend_enable - Device managed backend enable
SYNOPSIS int devm_iio_backend_enable (struct device *dev , struct iio_backend *back );
ARGUMENTS dev Consumer device for the backend
back Backend device
RETURN 0 on success, negative error number on failure.
SEE ALSO Kernel file .... |
devm_iio_backend_fwnode_get(9) | NAME devm_iio_backend_fwnode_get - Device managed backend firmware node get
SYNOPSIS struct iio_backend * devm_iio_backend_fwnode_get (struct device *dev , const char *name , struct fwnode_handle *fwnode );
ARGUMENTS dev Consumer device for the backend
name Backend name
fwnode Firm... |
devm_iio_backend_get(9) | NAME devm_iio_backend_get - Device managed backend device get
SYNOPSIS struct iio_backend * devm_iio_backend_get (struct device *dev , const char *name );
ARGUMENTS dev Consumer device for the backend
name Backend name
DESCRIPTION Get's the backend associated with dev.
RETURN A backend pointe... |
devm_iio_backend_register(9) | NAME devm_iio_backend_register - Device managed backend device register
SYNOPSIS int devm_iio_backend_register (struct device *dev , const struct iio_backend_info *info , void *priv );
ARGUMENTS dev Backend device being registered
info Backend info
priv Device private data
DESCR... |
devm_iio_backend_request_buffer(9) | NAME devm_iio_backend_request_buffer - Device managed buffer request
SYNOPSIS int devm_iio_backend_request_buffer (struct device *dev , struct iio_backend *back , struct iio_dev *indio_dev );
ARGUMENTS dev Consumer device for the backend
back Backend device
indio_dev IIO device
DESCR... |
devm_iio_channel_get(9) | NAME devm_iio_channel_get - Resource managed version of iio_channel_get().
SYNOPSIS struct iio_channel * devm_iio_channel_get (struct device *dev , const char *consumer_channel );
ARGUMENTS dev Pointer to consumer device. Device name must match the name of the device as provided in the iio_map with which the ... |
devm_iio_channel_get_all(9) | NAME devm_iio_channel_get_all - Resource managed version of iio_channel_get_all().
SYNOPSIS struct iio_channel * devm_iio_channel_get_all (struct device *dev );
ARGUMENTS dev Pointer to consumer device.
DESCRIPTION Returns a pointer to negative errno if it is not able to get the iio channel otherwise ret... |
devm_iio_device_alloc(9) | NAME devm_iio_device_alloc - Resource-managed iio_device_alloc()
SYNOPSIS struct iio_dev * devm_iio_device_alloc (struct device *parent , int sizeof_priv );
ARGUMENTS parent Device to allocate iio_dev for, and parent for this IIO device
sizeof_priv Space to allocate for private structure.
DESCRIPTION Ma... |
devm_iio_device_register(9) | NAME devm_iio_device_register - Resource-managed iio_device_register()
SYNOPSIS devm_iio_device_register (dev , indio_dev );
ARGUMENTS dev Device to allocate iio_dev for
indio_dev Device structure filled by the device driver
DESCRIPTION Managed iio_device_register. The IIO device registered with t... |
devm_iio_dmaengine_buffer_setup_ext(9) | NAME devm_iio_dmaengine_buffer_setup_ext - Setup a DMA buffer for an IIO device
SYNOPSIS int devm_iio_dmaengine_buffer_setup_ext (struct device *dev , struct iio_dev *indio_dev , const char *channel , enum iio_buffer_direction dir );
ARGUMENTS dev Device for devm ownership and DMA channel consumer device
... |
devm_iio_dmaengine_buffer_setup_with_handle(9) | NAME devm_iio_dmaengine_buffer_setup_with_handle - Setup a DMA buffer for an IIO device
SYNOPSIS int devm_iio_dmaengine_buffer_setup_with_handle (struct device *dev , struct iio_dev *indio_dev , struct dma_chan *chan , enum iio_buffer_direction dir );
ARGUMENTS dev Device for devm ownership
indio_dev ... |
devm_iio_gts_build_avail_tables(9) | NAME devm_iio_gts_build_avail_tables - manged add availability tables
SYNOPSIS int devm_iio_gts_build_avail_tables (struct device *dev , struct iio_gts *gts );
ARGUMENTS dev Pointer to the device whose lifetime tables are bound
gts Gain time scale descriptor
DESCRIPTION Build the tables whic... |
devm_iio_hw_consumer_alloc(9) | NAME devm_iio_hw_consumer_alloc - Resource-managed iio_hw_consumer_alloc()
SYNOPSIS struct iio_hw_consumer * devm_iio_hw_consumer_alloc (struct device *dev );
ARGUMENTS dev Pointer to consumer device.
DESCRIPTION Managed iio_hw_consumer_alloc. iio_hw_consumer allocated with this function is automatically fre... |
devm_iio_init_iio_gts(9) | NAME devm_iio_init_iio_gts - Initialize the gain-time-scale helper
SYNOPSIS int devm_iio_init_iio_gts (struct device *dev , int max_scale_int , int max_scale_nano , const struct iio_gain_sel_pair *gain_tbl , int num_gain , const struct iio_itime_sel_mul *tim_tbl , int num_times , struct iio_gts *gts );
ARGUMENTS de... |
devm_iio_kfifo_allocate(9) | NAME devm_iio_kfifo_allocate - Resource-managed iio_kfifo_allocate()
SYNOPSIS struct iio_buffer * devm_iio_kfifo_allocate (struct device *dev );
ARGUMENTS dev Device to allocate kfifo buffer for
RETURN Pointer to allocated iio_buffer on success, NULL on failure.
SEE ALSO Kernel file ./drivers/iio/buffer/kfi... |
devm_iio_kfifo_buffer_setup_ext(9) | NAME devm_iio_kfifo_buffer_setup_ext - Allocate a kfifo buffer & attach it to an IIO device
SYNOPSIS int devm_iio_kfifo_buffer_setup_ext (struct device *dev , struct iio_dev *indio_dev , const struct iio_buffer_setup_ops *setup_ops , const struct iio_dev_attr **buffer_attrs );
ARGUMENTS dev Device object to w... |
devm_iio_map_array_register(9) | NAME devm_iio_map_array_register - device-managed version of iio_map_array_register
SYNOPSIS int devm_iio_map_array_register (struct device *dev , struct iio_dev *indio_dev , const struct iio_map *maps );
ARGUMENTS dev Device object to which to bind the unwinding of this registration
indio_dev Point... |
devm_iio_trigger_register(9) | NAME devm_iio_trigger_register - Resource-managed iio_trigger_register()
SYNOPSIS int devm_iio_trigger_register (struct device *dev , struct iio_trigger *trig_info );
ARGUMENTS dev device this trigger was allocated for
trig_info trigger to register
DESCRIPTION Managed iio_trigger_register. The ... |
devm_input_allocate_device(9) | NAME devm_input_allocate_device - allocate managed input device
SYNOPSIS struct input_dev * devm_input_allocate_device (struct device *dev );
ARGUMENTS dev device owning the input device being created
DESCRIPTION Returns prepared struct input_dev or NULL. Managed input devices do not need to be explicitly u... |
devm_intel_scu_ipc_dev_get(9) | NAME devm_intel_scu_ipc_dev_get - Allocate managed SCU IPC device
SYNOPSIS struct intel_scu_ipc_dev * devm_intel_scu_ipc_dev_get (struct device *dev );
ARGUMENTS dev Device requesting the SCU IPC device
DESCRIPTION The recommended new API takes SCU IPC instance as parameter and this function can be cal... |
devm_ioport_map(9) | NAME devm_ioport_map - Managed ioport_map()
SYNOPSIS void __iomem * devm_ioport_map (struct device *dev , unsigned long port , unsigned int nr );
ARGUMENTS dev Generic device to map ioport for
port Port to map
nr Number of ports to map
DESCRIPTION Managed ioport_map. Map is a... |
devm_ioport_unmap(9) | NAME devm_ioport_unmap - Managed ioport_unmap()
SYNOPSIS void devm_ioport_unmap (struct device *dev , void __iomem *addr );
ARGUMENTS dev Generic device to unmap for
addr Address to unmap
DESCRIPTION Managed ioport_unmap. addr must have been mapped using devm_ioport_map.
SEE ALSO Kernel fil... |
devm_ioremap(9) | NAME devm_ioremap - Managed ioremap()
SYNOPSIS void __iomem * devm_ioremap (struct device *dev , resource_size_t offset , resource_size_t size );
ARGUMENTS dev Generic device to remap IO address for
offset Resource address to map
size Size of map
DESCRIPTION Managed ioremap. Map ... |
devm_ioremap_resource(9) | NAME devm_ioremap_resource - check, request region, and ioremap resource
SYNOPSIS void __iomem * devm_ioremap_resource (struct device *dev , const struct resource *res );
ARGUMENTS dev generic device to handle the resource for
res resource to be handled
DESCRIPTION Checks that a resource ... |
devm_ioremap_resource_wc(9) | NAME devm_ioremap_resource_wc - write-combined variant of devm_ioremap_resource()
SYNOPSIS void __iomem * devm_ioremap_resource_wc (struct device *dev , const struct resource *res );
ARGUMENTS dev generic device to handle the resource for
res resource to be handled
RETURN a pointer to the rem... |
devm_ioremap_uc(9) | NAME devm_ioremap_uc - Managed ioremap_uc()
SYNOPSIS void __iomem * devm_ioremap_uc (struct device *dev , resource_size_t offset , resource_size_t size );
ARGUMENTS dev Generic device to remap IO address for
offset Resource address to map
size Size of map
DESCRIPTION Managed iorem... |
devm_ioremap_wc(9) | NAME devm_ioremap_wc - Managed ioremap_wc()
SYNOPSIS void __iomem * devm_ioremap_wc (struct device *dev , resource_size_t offset , resource_size_t size );
ARGUMENTS dev Generic device to remap IO address for
offset Resource address to map
size Size of map
DESCRIPTION Managed iorem... |
devm_iounmap(9) | NAME devm_iounmap - Managed iounmap()
SYNOPSIS void devm_iounmap (struct device *dev , void __iomem *addr );
ARGUMENTS dev Generic device to unmap for
addr Address to unmap
DESCRIPTION Managed iounmap. addr must have been mapped using devm_ioremap*().
SEE ALSO Kernel file ./lib/devres.c ... |
devm_irq_alloc_generic_chip(9) | NAME devm_irq_alloc_generic_chip - Allocate and initialize a generic chip for a managed device
SYNOPSIS struct irq_chip_generic * devm_irq_alloc_generic_chip (struct device *dev , const char *name , int num_ct , unsigned int irq_base , void __iomem *reg_base , irq_flow_handler_t handler );
ARGUMENTS dev Devic... |
devm_irq_domain_create_sim(9) | NAME devm_irq_domain_create_sim - Create a new interrupt simulator for a managed device.
SYNOPSIS struct irq_domain * devm_irq_domain_create_sim (struct device *dev , struct fwnode_handle *fwnode , unsigned int num_irqs );
ARGUMENTS dev Device to initialize the simulator object for.
fwnode struct... |
devm_irq_domain_instantiate(9) | NAME devm_irq_domain_instantiate - Instantiate a new irq domain data for a managed device.
SYNOPSIS struct irq_domain * devm_irq_domain_instantiate (struct device *dev , const struct irq_domain_info *info );
ARGUMENTS dev Device to instantiate the domain for
info Domain information pointer poin... |
devm_irq_setup_generic_chip(9) | NAME devm_irq_setup_generic_chip - Setup a range of interrupts with a generic chip for a managed device
SYNOPSIS int devm_irq_setup_generic_chip (struct device *dev , struct irq_chip_generic *gc , u32 msk , enum irq_gc_flags flags , unsigned int clr , unsigned int set );
ARGUMENTS dev Device to setup the gene... |
devm_kasprintf(9) | NAME devm_kasprintf - Allocate resource managed space and format a string into that.
SYNOPSIS char * devm_kasprintf (struct device *dev , gfp_t gfp , const char *fmt , ... );
ARGUMENTS dev Device to allocate memory for
gfp the GFP mask used in the devm_kmalloc call when allocating memory
... |
devm_kfree(9) | NAME devm_kfree - Resource-managed kfree
SYNOPSIS void devm_kfree (struct device *dev , const void *p );
ARGUMENTS dev Device this memory belongs to
p Memory to free
DESCRIPTION Free memory allocated with devm_kmalloc.
SEE ALSO Kernel file ./drivers/base/devres.c __devres_alloc_node(9),... |
devm_kmalloc(9) | NAME devm_kmalloc - Resource-managed kmalloc
SYNOPSIS void * devm_kmalloc (struct device *dev , size_t size , gfp_t gfp );
ARGUMENTS dev Device to allocate memory for
size Allocation size
gfp Allocation gfp flags
DESCRIPTION Managed kmalloc. Memory allocated with this function... |
devm_kmemdup(9) | NAME devm_kmemdup - Resource-managed kmemdup
SYNOPSIS void * devm_kmemdup (struct device *dev , const void *src , size_t len , gfp_t gfp );
ARGUMENTS dev Device this memory belongs to
src Memory region to duplicate
len Memory region length
gfp GFP mask to use
D... |
devm_kmemdup_const(9) | NAME devm_kmemdup_const - conditionally duplicate and manage a region of memory
SYNOPSIS const void * devm_kmemdup_const (struct device *dev , const void *src , size_t len , gfp_t gfp );
ARGUMENTS dev Device this memory belongs to
src memory region to duplicate
len memory regio... |
devm_krealloc(9) | NAME devm_krealloc - Resource-managed krealloc()
SYNOPSIS void * devm_krealloc (struct device *dev , void *ptr , size_t new_size , gfp_t gfp );
ARGUMENTS dev Device to re-allocate memory for
ptr Pointer to the memory chunk to re-allocate
new_size New allocation size
gfp ... |
devm_kstrdup(9) | NAME devm_kstrdup - Allocate resource managed space and copy an existing string into that.
SYNOPSIS char * devm_kstrdup (struct device *dev , const char *s , gfp_t gfp );
ARGUMENTS dev Device to allocate memory for
s the string to duplicate
gfp the GFP mask used in the devm_k... |
devm_kstrdup_const(9) | NAME devm_kstrdup_const - resource managed conditional string duplication
SYNOPSIS const char * devm_kstrdup_const (struct device *dev , const char *s , gfp_t gfp );
ARGUMENTS dev device for which to duplicate the string
s the string to duplicate
gfp the GFP mask used in the ... |
devm_kvasprintf(9) | NAME devm_kvasprintf - Allocate resource managed space and format a string into that.
SYNOPSIS char * devm_kvasprintf (struct device *dev , gfp_t gfp , const char *fmt , va_list ap );
ARGUMENTS dev Device to allocate memory for
gfp the GFP mask used in the devm_kmalloc call when allocating mem... |
devm_lcd_device_register(9) | NAME devm_lcd_device_register - resource managed lcd_device_register()
SYNOPSIS struct lcd_device * devm_lcd_device_register (struct device *dev , const char *name , struct device *parent , void *devdata , const struct lcd_ops *ops );
ARGUMENTS dev the device to register
name the name of the de... |
devm_lcd_device_unregister(9) | NAME devm_lcd_device_unregister - resource managed lcd_device_unregister()
SYNOPSIS void devm_lcd_device_unregister (struct device *dev , struct lcd_device *ld );
ARGUMENTS dev the device to unregister
ld the lcd device to unregister
DESCRIPTION Deallocated a lcd allocated with devm_lcd_devi... |
devm_led_classdev_register_ext(9) | NAME devm_led_classdev_register_ext - resource managed led_classdev_register_ext()
SYNOPSIS int devm_led_classdev_register_ext (struct device *parent , struct led_classdev *led_cdev , struct led_init_data *init_data );
ARGUMENTS parent parent of LED device
led_cdev the led_classdev structure for this ... |
devm_led_classdev_unregister(9) | NAME devm_led_classdev_unregister - resource managed led_classdev_unregister()
SYNOPSIS void devm_led_classdev_unregister (struct device *dev , struct led_classdev *led_cdev );
ARGUMENTS dev The device to unregister.
led_cdev the led_classdev structure for this device.
SEE ALSO Kernel file ./dri... |
devm_led_get(9) | NAME devm_led_get - request a LED device via the LED framework
SYNOPSIS struct led_classdev * devm_led_get (struct device *dev , char *con_id );
ARGUMENTS dev device for which to get the LED device
con_id name of the LED from the device's point of view
DESCRIPTION The LED device returned from th... |
devm_lwmi_events_register_notifier(9) | NAME devm_lwmi_events_register_notifier - Add a notifier to the notifier chain.
SYNOPSIS int devm_lwmi_events_register_notifier (struct device *dev , struct notifier_block *nb );
ARGUMENTS dev The parent device of the notifier_block struct.
nb The notifier_block struct to register
DESCRIPTIO... |
devm_lwmi_events_unregister_notifier(9) | NAME devm_lwmi_events_unregister_notifier - Remove a notifier from the notifier chain.
SYNOPSIS void devm_lwmi_events_unregister_notifier (void *data );
ARGUMENTS data Void pointer to the notifier_block struct to unregister.
DESCRIPTION Call lwmi_events_unregister_notifier to unregister the notifier block fro... |
devm_lwmi_om_register_notifier(9) | NAME devm_lwmi_om_register_notifier - Add a notifier to the blocking notifier chain.
SYNOPSIS int devm_lwmi_om_register_notifier (struct device *dev , struct notifier_block *nb );
ARGUMENTS dev The parent device of the notifier_block struct.
nb The notifier_block struct to register
DESCRIPTI... |
devm_lwmi_om_unregister_notifier(9) | NAME devm_lwmi_om_unregister_notifier - Remove a notifier from the blocking notifier chain.
SYNOPSIS void devm_lwmi_om_unregister_notifier (void *data );
ARGUMENTS data Void pointer to the notifier_block struct to register.
DESCRIPTION Call lwmi_om_unregister_notifier to unregister the notifier block from the... |
devm_mbox_controller_register(9) | NAME devm_mbox_controller_register - managed mbox_controller_register()
SYNOPSIS int devm_mbox_controller_register (struct device *dev , struct mbox_controller *mbox );
ARGUMENTS dev device owning the mailbox controller being registered
mbox mailbox controller being registered
DESCRIPTION This... |
devm_mdiobus_alloc_size(9) | NAME devm_mdiobus_alloc_size - Resource-managed mdiobus_alloc_size()
SYNOPSIS struct mii_bus * devm_mdiobus_alloc_size (struct device *dev , int sizeof_priv );
ARGUMENTS dev Device to allocate mii_bus for
sizeof_priv Space to allocate for private structure
DESCRIPTION Managed mdiobus_alloc_size. mii_... |
devm_memremap_pages(9) | NAME devm_memremap_pages - remap and provide memmap backing for the given resource
SYNOPSIS void * devm_memremap_pages (struct device *dev , struct dev_pagemap *pgmap );
ARGUMENTS dev hosting device for res
pgmap pointer to a struct dev_pagemap
NOTES 1/ At a minimum the range and type member... |
devm_mfd_add_devices(9) | NAME devm_mfd_add_devices - Resource managed version of mfd_add_devices()
SYNOPSIS int devm_mfd_add_devices (struct device *dev , int id , const struct mfd_cell *cells , int n_devs , struct resource *mem_base , int irq_base , struct irq_domain *domain );
ARGUMENTS dev Pointer to parent device.
id ... |
devm_mipi_dsi_attach(9) | NAME devm_mipi_dsi_attach - Attach a MIPI-DSI device to its DSI Host
SYNOPSIS int devm_mipi_dsi_attach (struct device *dev , struct mipi_dsi_device *dsi );
ARGUMENTS dev device to tie the MIPI-DSI device attachment lifetime to
dsi DSI peripheral
DESCRIPTION This is the managed version of mipi... |
devm_mipi_dsi_device_register_full(9) | NAME devm_mipi_dsi_device_register_full - create a managed MIPI DSI device
SYNOPSIS struct mipi_dsi_device * devm_mipi_dsi_device_register_full (struct device *dev , struct mipi_dsi_host *host , const struct mipi_dsi_device_info *info );
ARGUMENTS dev device to tie the MIPI-DSI device lifetime to
host... |
devm_mux_chip_alloc(9) | NAME devm_mux_chip_alloc - Resource-managed version of mux_chip_alloc().
SYNOPSIS struct mux_chip * devm_mux_chip_alloc (struct device *dev , unsigned int controllers , size_t sizeof_priv );
ARGUMENTS dev The parent device implementing the mux interface.
controllers The number of mux controllers to al... |
devm_mux_chip_register(9) | NAME devm_mux_chip_register - Resource-managed version mux_chip_register().
SYNOPSIS int devm_mux_chip_register (struct device *dev , struct mux_chip *mux_chip );
ARGUMENTS dev The parent device implementing the mux interface.
mux_chip The mux-chip to register.
DESCRIPTION See mux_chip_register fo... |
devm_mux_control_get(9) | NAME devm_mux_control_get - Get the mux-control for a device, with resource management.
SYNOPSIS struct mux_control * devm_mux_control_get (struct device *dev , const char *mux_name );
ARGUMENTS dev The device that needs a mux-control.
mux_name The name identifying the mux-control.
RETURN Pointer ... |
devm_mux_state_get(9) | NAME devm_mux_state_get - Get the mux-state for a device, with resource management.
SYNOPSIS struct mux_state * devm_mux_state_get (struct device *dev , const char *mux_name );
ARGUMENTS dev The device that needs a mux-control.
mux_name The name identifying the mux-control.
RETURN Pointer to the m... |
devm_nvdimm_memremap(9) | NAME devm_nvdimm_memremap - map a resource that is shared across regions
SYNOPSIS void * devm_nvdimm_memremap (struct device *dev , resource_size_t offset , size_t size , unsigned long flags );
ARGUMENTS dev device that will own a reference to the shared mapping
offset physical base address of th... |
devm_nvmem_cell_get(9) | NAME devm_nvmem_cell_get - Get nvmem cell of device from a given id
SYNOPSIS struct nvmem_cell * devm_nvmem_cell_get (struct device *dev , const char *id );
ARGUMENTS dev Device that requests the nvmem cell.
id nvmem cell name id to get.
RETURN Will be an ERR_PTR on error or a valid pointer ... |
devm_nvmem_cell_put(9) | NAME devm_nvmem_cell_put - Release previously allocated nvmem cell from devm_nvmem_cell_get.
SYNOPSIS void devm_nvmem_cell_put (struct device *dev , struct nvmem_cell *cell );
ARGUMENTS dev Device that requests the nvmem cell.
cell Previously allocated nvmem cell by devm_nvmem_cell_get.
SEE AL... |
devm_nvmem_device_get(9) | NAME devm_nvmem_device_get - Get nvmem device of device from a given id
SYNOPSIS struct nvmem_device * devm_nvmem_device_get (struct device *dev , const char *id );
ARGUMENTS dev Device that requests the nvmem device.
id name id for the requested nvmem device.
RETURN ERR_PTR on error or a va... |
devm_nvmem_device_put(9) | NAME devm_nvmem_device_put - put already got nvmem device
SYNOPSIS void devm_nvmem_device_put (struct device *dev , struct nvmem_device *nvmem );
ARGUMENTS dev Device that uses the nvmem device.
nvmem pointer to nvmem device allocated by devm_nvmem_cell_get, that needs to be released.
SEE ALSO ... |
devm_nvmem_register(9) | NAME devm_nvmem_register - Register a managed nvmem device for given nvmem_config. Also creates a binary entry in /sys/bus/nvmem/devices/dev-name/nvmem
SYNOPSIS struct nvmem_device * devm_nvmem_register (struct device *dev , const struct nvmem_config *config );
ARGUMENTS dev Device that uses the nvmem device.... |
devm_of_clk_add_hw_provider(9) | NAME devm_of_clk_add_hw_provider - Managed clk provider node registration
SYNOPSIS int devm_of_clk_add_hw_provider (struct device *dev , struct clk_hw *(*get)(struct of_phandle_args *clkspec, void *data) , void *data );
ARGUMENTS dev Device acting as the clock provider (used for DT node and lifetime)
... |
devm_of_dp_aux_populate_bus(9) | NAME devm_of_dp_aux_populate_bus - devm wrapper for of_dp_aux_populate_bus()
SYNOPSIS int devm_of_dp_aux_populate_bus (struct drm_dp_aux *aux , int (*done_probing)(struct drm_dp_aux *aux) );
ARGUMENTS aux The AUX channel whose device we want to populate
done_probing
Callback functio... |
devm_of_find_backlight(9) | NAME devm_of_find_backlight - find backlight for a device
SYNOPSIS struct backlight_device * devm_of_find_backlight (struct device *dev );
ARGUMENTS dev the device
DESCRIPTION This function looks for a property named 'backlight' on the DT node connected to dev and looks up the backlight device. The looku... |
devm_of_icc_bulk_get(9) | NAME devm_of_icc_bulk_get - resource managed of_icc_bulk_get
SYNOPSIS int devm_of_icc_bulk_get (struct device *dev , int num_paths , struct icc_bulk_data *paths );
ARGUMENTS dev the device requesting the path
num_paths the number of icc_bulk_data
paths the table with the paths we want ... |
devm_of_led_get(9) | NAME devm_of_led_get - Resource-managed request of a LED device
SYNOPSIS struct led_classdev * devm_of_led_get (struct device *dev , int index );
ARGUMENTS dev LED consumer
index index of the LED to obtain in the consumer
DESCRIPTION The device node of the device is parse to find the request ... |
devm_of_led_get_optional(9) | NAME devm_of_led_get_optional - Resource-managed request of an optional LED device
SYNOPSIS struct led_classdev * devm_of_led_get_optional (struct device *dev , int index );
ARGUMENTS dev LED consumer
index index of the LED to obtain in the consumer
DESCRIPTION The device node of the device is... |
devm_of_pci_get_host_bridge_resources(9) | NAME devm_of_pci_get_host_bridge_resources - Resource-managed parsing of PCI host bridge resources from DT
SYNOPSIS int devm_of_pci_get_host_bridge_resources (struct device *dev , struct list_head *resources , struct list_head *ib_resources , resource_size_t *io_base );
ARGUMENTS dev host bridge device
... |
devm_of_phy_get(9) | NAME devm_of_phy_get - lookup and obtain a reference to a phy.
SYNOPSIS struct phy * devm_of_phy_get (struct device *dev , struct device_node *np , const char *con_id );
ARGUMENTS dev device that requests this phy
np node containing the phy
con_id name of the phy from device's po... |
devm_of_phy_get_by_index(9) | NAME devm_of_phy_get_by_index - lookup and obtain a reference to a phy by index.
SYNOPSIS struct phy * devm_of_phy_get_by_index (struct device *dev , struct device_node *np , int index );
ARGUMENTS dev device that requests this phy
np node containing the phy
index index of the p... |
devm_of_phy_optional_get(9) | NAME devm_of_phy_optional_get - lookup and obtain a reference to an optional phy.
SYNOPSIS struct phy * devm_of_phy_optional_get (struct device *dev , struct device_node *np , const char *con_id );
ARGUMENTS dev device that requests this phy
np node containing the phy
con_id name... |
devm_of_phy_package_join(9) | NAME devm_of_phy_package_join - resource managed of_phy_package_join()
SYNOPSIS int devm_of_phy_package_join (struct device *dev , struct phy_device *phydev , size_t priv_size );
ARGUMENTS dev device that is registering this PHY package
phydev target phy_device struct
priv_size if non-z... |
devm_of_phy_provider_unregister(9) | NAME devm_of_phy_provider_unregister - remove phy provider from the framework
SYNOPSIS void devm_of_phy_provider_unregister (struct device *dev , struct phy_provider *phy_provider );
ARGUMENTS dev struct device of the phy provider
phy_provider
phy provider returned by of_phy_provide... |
devm_of_platform_depopulate(9) | NAME devm_of_platform_depopulate - Remove devices populated from device tree
SYNOPSIS void devm_of_platform_depopulate (struct device *dev );
ARGUMENTS dev device that requested to depopulate from device tree data
DESCRIPTION Complementary to devm_of_platform_populate, this function removes children of t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.