id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
dev_pm_qos_update_request(9) | NAME dev_pm_qos_update_request - modifies an existing qos request
SYNOPSIS int dev_pm_qos_update_request (struct dev_pm_qos_request *req , s32 new_value );
ARGUMENTS req handle to list element holding a dev_pm_qos request to use
new_value defines the qos request
DESCRIPTION Updates an existing dev... |
dev_pm_qos_update_user_latency_tolerance(9) | NAME dev_pm_qos_update_user_latency_tolerance - Update user space latency tolerance.
SYNOPSIS int dev_pm_qos_update_user_latency_tolerance (struct device *dev , s32 val );
ARGUMENTS dev Device to update the user space latency tolerance for.
val New user space latency tolerance for dev (negativ... |
dev_pm_set_dedicated_wake_irq(9) | NAME dev_pm_set_dedicated_wake_irq - Request a dedicated wake-up interrupt
SYNOPSIS int dev_pm_set_dedicated_wake_irq (struct device *dev , int irq );
ARGUMENTS dev Device entry
irq Device wake-up interrupt
DESCRIPTION Unless your hardware has separate wake-up interrupts in addition to the ... |
dev_pm_set_dedicated_wake_irq_reverse(9) | NAME dev_pm_set_dedicated_wake_irq_reverse - Request a dedicated wake-up interrupt with reverse enable ordering
SYNOPSIS int dev_pm_set_dedicated_wake_irq_reverse (struct device *dev , int irq );
ARGUMENTS dev Device entry
irq Device wake-up interrupt
DESCRIPTION Unless your hardware has se... |
dev_pm_set_wake_irq(9) | NAME dev_pm_set_wake_irq - Attach device IO interrupt as wake IRQ
SYNOPSIS int dev_pm_set_wake_irq (struct device *dev , int irq );
ARGUMENTS dev Device entry
irq Device IO interrupt
DESCRIPTION Attach a device IO interrupt as a wake IRQ. The wake IRQ gets automatically configured for wa... |
dev_pm_skip_resume(9) | NAME dev_pm_skip_resume - System-wide device resume optimization check.
SYNOPSIS bool dev_pm_skip_resume (struct device *dev );
ARGUMENTS dev Target device.
RETURN - false if the transition under way is RESTORE. - Return value of dev_pm_skip_suspend if the transition under way is THAW. - The logical negati... |
dev_put(9) | NAME dev_put - release reference to device
SYNOPSIS void dev_put (struct net_device *dev );
ARGUMENTS dev network device
DESCRIPTION Release reference to device to allow it to be freed. Try using netdev_put instead.
SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled... |
dev_remove_offload(9) | NAME dev_remove_offload - remove packet offload handler
SYNOPSIS void dev_remove_offload (struct packet_offload *po );
ARGUMENTS po packet offload declaration
DESCRIPTION Remove a packet offload handler that was previously added to the kernel offload handlers by dev_add_offload. The passed offload_type... |
dev_remove_pack(9) | NAME dev_remove_pack - remove packet handler
SYNOPSIS void dev_remove_pack (struct packet_type *pt );
ARGUMENTS pt packet type declaration
DESCRIPTION Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack. The passed packet_type is removed from the kernel li... |
dev_set_alias(9) | NAME dev_set_alias - change ifalias of a device
SYNOPSIS int dev_set_alias (struct net_device *dev , const char *alias , size_t len );
ARGUMENTS dev device
alias name up to IFALIASZ
len limit of bytes to copy from info
DESCRIPTION Set ifalias for a device.
RETURN 0 on success, ... |
dev_set_allmulti(9) | NAME dev_set_allmulti - update allmulti count on a device
SYNOPSIS int dev_set_allmulti (struct net_device *dev , int inc );
ARGUMENTS dev device
inc modifier
DESCRIPTION Add or remove reception of all multicast frames to a device. While the count in the device remains above zero the interfa... |
dev_set_group(9) | NAME dev_set_group - change group this device belongs to
SYNOPSIS void dev_set_group (struct net_device *dev , int new_group );
ARGUMENTS dev device
new_group group this device should belong to
SEE ALSO Kernel file ./net/core/dev_api.c dev_change_name(9), dev_set_alias(9), dev_change_flags(9)... |
dev_set_hwtstamp_phylib(9) | NAME dev_set_hwtstamp_phylib - Change hardware timestamping of NIC or of attached phylib PHY
SYNOPSIS int dev_set_hwtstamp_phylib (struct net_device *dev , struct kernel_hwtstamp_config *cfg , struct netlink_ext_ack *extack );
ARGUMENTS dev Network device
cfg Timestamping configuration structu... |
dev_set_mac_address(9) | NAME dev_set_mac_address - change Media Access Control Address
SYNOPSIS int dev_set_mac_address (struct net_device *dev , struct sockaddr_storage *ss , struct netlink_ext_ack *extack );
ARGUMENTS dev device
ss new address
extack netlink extended ack
DESCRIPTION Change the hardwa... |
dev_set_name(9) | NAME dev_set_name - set a device name
SYNOPSIS int dev_set_name (struct device *dev , const char *fmt , ... );
ARGUMENTS dev device
fmt format string for the device's name
... variable arguments
SEE ALSO Kernel file ./drivers/base/core.c __fwnode_link_add(9), __fwnode_link... |
dev_set_promiscuity(9) | NAME dev_set_promiscuity - update promiscuity count on a device
SYNOPSIS int dev_set_promiscuity (struct net_device *dev , int inc );
ARGUMENTS dev device
inc modifier
DESCRIPTION Add or remove promiscuity from a device. While the count in the device remains above zero the interface remains p... |
dev_state_show(9) | NAME dev_state_show - display device state
SYNOPSIS ssize_t dev_state_show (struct device *device , struct device_attribute *attr , char *buf );
ARGUMENTS device device pointer
attr attribute pointer
buf char out buffer
RETURN number of the bytes printed into buf or error
SEE ALS... |
dev_t(3type) | NAME dev_t - device ID
LIBRARY Standard C library (libc)
SYNOPSIS #include <sys/types.h>
typedef /* ... */ dev_t;
DESCRIPTION Used for device IDs. It is an integer type. For further details of this type, see makedev(3).
STANDARDS POSIX.1-2024.
HISTORY POSIX.1-2001.
NOTES The following header als... |
dev_to_dma_chan(9) | NAME dev_to_dma_chan - convert a device pointer to its sysfs container object
SYNOPSIS struct dma_chan * dev_to_dma_chan (struct device *dev );
ARGUMENTS dev device node
DESCRIPTION Must be called under dma_list_mutex.
SEE ALSO Kernel file ./drivers/dma/dmaengine.c struct dma_chan_tbl_ent(9), dma_chan_is_... |
dev_to_i3cdev(9) | NAME dev_to_i3cdev - Returns the I3C device containing @dev
SYNOPSIS dev_to_i3cdev (__dev );
ARGUMENTS __dev device object
RETURN a pointer to an I3C device object.
SEE ALSO Kernel file ./include/linux/i3c/device.h enum i3c_error_code(9), enum i3c_xfer_mode(9), struct i3c_xfer(9), enum i3c_dcr(9), struct ... |
dev_to_iio_dev(9) | NAME dev_to_iio_dev - Get IIO device struct from a device struct
SYNOPSIS struct iio_dev * dev_to_iio_dev (struct device *dev );
ARGUMENTS dev The device embedded in the IIO device
NOTE The device must be a IIO device, otherwise the result is undefined.
SEE ALSO Kernel file ./include/linux/iio/iio.h struc... |
dev_uc_add(9) | NAME dev_uc_add - Add a secondary unicast address
SYNOPSIS int dev_uc_add (struct net_device *dev , const unsigned char *addr );
ARGUMENTS dev device
addr address to add
DESCRIPTION Add a secondary unicast address to the device or increase the reference count if it already exists.
SEE ALSO Ke... |
dev_uc_add_excl(9) | NAME dev_uc_add_excl - Add a global secondary unicast address
SYNOPSIS int dev_uc_add_excl (struct net_device *dev , const unsigned char *addr );
ARGUMENTS dev device
addr address to add
SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), __h... |
dev_uc_del(9) | NAME dev_uc_del - Release secondary unicast address.
SYNOPSIS int dev_uc_del (struct net_device *dev , const unsigned char *addr );
ARGUMENTS dev device
addr address to delete
DESCRIPTION Release reference to a secondary unicast address and remove it from the device if the reference count drop... |
dev_uc_flush(9) | NAME dev_uc_flush - Flush unicast addresses
SYNOPSIS void dev_uc_flush (struct net_device *dev );
ARGUMENTS dev device
DESCRIPTION Flush unicast addresses.
SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), __hw_addr_ref_unsync_dev(9), __hw_addr_unsync_d... |
dev_uc_init(9) | NAME dev_uc_init - Init unicast address list
SYNOPSIS void dev_uc_init (struct net_device *dev );
ARGUMENTS dev device
DESCRIPTION Init unicast address list.
SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), __hw_addr_ref_unsync_dev(9), __hw_addr_unsync... |
dev_uc_sync(9) | NAME dev_uc_sync - Synchronize device's unicast list to another device
SYNOPSIS int dev_uc_sync (struct net_device *to , struct net_device *from );
ARGUMENTS to destination device
from source device
DESCRIPTION Add newly added addresses to the destination device and release addresses that ha... |
dev_uc_sync_multiple(9) | NAME dev_uc_sync_multiple - Synchronize device's unicast list to another device, but allow for multiple calls to sync to multiple devices.
SYNOPSIS int dev_uc_sync_multiple (struct net_device *to , struct net_device *from );
ARGUMENTS to destination device
from source device
DESCRIPTION Add ... |
dev_uc_unsync(9) | NAME dev_uc_unsync - Remove synchronized addresses from the destination device
SYNOPSIS void dev_uc_unsync (struct net_device *to , struct net_device *from );
ARGUMENTS to destination device
from source device
DESCRIPTION Remove all addresses that were added to the destination device by dev_u... |
dev_valid_name(9) | NAME dev_valid_name - check if name is okay for network device
SYNOPSIS bool dev_valid_name (const char *name );
ARGUMENTS name name string
DESCRIPTION Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.
SEE ALSO Kernel file ./net/core/dev.c d... |
dev_warn_probe(9) | NAME dev_warn_probe - probe error check and log helper
SYNOPSIS int dev_warn_probe (const struct device *dev , int err , const char *fmt , ... );
ARGUMENTS dev the pointer to the struct device
err error value to test
fmt printf-style format string
... arguments ... |
devcd_free_sgtable(9) | NAME devcd_free_sgtable - free all the memory of the given scatterlist table (i.e. both pages and scatterlist instances)
SYNOPSIS void devcd_free_sgtable (void *data );
ARGUMENTS data pointer to sg_table to free
NOTE if two tables allocated with devcd_alloc_sgtable and then chained using the sg_chain function... |
devcd_read_from_sgtable(9) | NAME devcd_read_from_sgtable - copy data from sg_table to a given buffer and return the number of bytes read
SYNOPSIS ssize_t devcd_read_from_sgtable (char *buffer , loff_t offset , size_t buf_len , void *data , size_t data_len );
ARGUMENTS buffer the buffer to copy the data to it
offset start copy ... |
devcgroup_legacy_check_permission(9) | NAME devcgroup_legacy_check_permission - checks if an inode operation is permitted
SYNOPSIS int devcgroup_legacy_check_permission (short type , u32 major , u32 minor , short access );
ARGUMENTS type device type
major device major number
minor device minor number
access ... |
devcgroup_online(9) | NAME devcgroup_online - initializes devcgroup's behavior and exceptions based on parent's
SYNOPSIS int devcgroup_online (struct cgroup_subsys_state *css );
ARGUMENTS css css getting online returns 0 in case of success, error code otherwise
SEE ALSO Kernel file ./security/device_cgroup.c dev_exception_clean... |
devfn_to_wslot(9) | NAME devfn_to_wslot - Convert from Linux PCI slot to Windows
SYNOPSIS u32 devfn_to_wslot (int devfn );
ARGUMENTS devfn The Linux representation of PCI slot
DESCRIPTION Windows uses a slightly different representation of PCI slot.
RETURN The Windows representation
SEE ALSO Kernel file ./drivers/pci/controll... |
devfreq_add_device(9) | NAME devfreq_add_device - Add devfreq feature to the device
SYNOPSIS struct devfreq * 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 profile to run dev... |
devfreq_add_governor(9) | NAME devfreq_add_governor - Add devfreq governor
SYNOPSIS int devfreq_add_governor (struct devfreq_governor *governor );
ARGUMENTS governor the devfreq governor to be added
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfreq_get_freq_range(9), devfreq_get_freq_level(9), devfreq_update... |
devfreq_cooling_em_register(9) | NAME devfreq_cooling_em_register - Register devfreq cooling device with power information and automatically register Energy Model (EM)
SYNOPSIS struct thermal_cooling_device * devfreq_cooling_em_register (struct devfreq *df , struct devfreq_cooling_power *dfc_power );
ARGUMENTS df Pointer to devfreq device.
... |
devfreq_cooling_gen_tables(9) | NAME devfreq_cooling_gen_tables - Generate frequency table.
SYNOPSIS int devfreq_cooling_gen_tables (struct devfreq_cooling_device *dfc , int num_opps );
ARGUMENTS dfc Pointer to devfreq cooling device.
num_opps Number of OPPs
DESCRIPTION Generate frequency table which holds the frequencies in des... |
devfreq_cooling_register(9) | NAME devfreq_cooling_register - Register devfreq cooling device.
SYNOPSIS struct thermal_cooling_device * devfreq_cooling_register (struct devfreq *df );
ARGUMENTS df Pointer to devfreq device.
SEE ALSO Kernel file ./drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device(9), get_perf_idx(9), ... |
devfreq_cooling_unregister(9) | NAME devfreq_cooling_unregister - Unregister devfreq cooling device.
SYNOPSIS void devfreq_cooling_unregister (struct thermal_cooling_device *cdev );
ARGUMENTS cdev Pointer to devfreq cooling device to unregister.
DESCRIPTION Unregisters devfreq cooling device and related Energy Model if it was present.
SEE ... |
devfreq_dev_release(9) | NAME devfreq_dev_release - Callback for struct device to release the device.
SYNOPSIS void devfreq_dev_release (struct device *dev );
ARGUMENTS dev the devfreq device
DESCRIPTION Remove devfreq from the list and release its resources.
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9)... |
devfreq_event_add_edev(9) | NAME devfreq_event_add_edev - Add new devfreq-event device.
SYNOPSIS struct devfreq_event_dev * 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 device's descriptor which... |
devfreq_event_disable_edev(9) | NAME devfreq_event_disable_edev - Disable the devfreq-event dev and decrease the enable_count of the devfreq-event dev.
SYNOPSIS int devfreq_event_disable_edev (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function decrease the enable_count and disable t... |
devfreq_event_enable_edev(9) | NAME devfreq_event_enable_edev - Enable the devfreq-event dev and increase the enable_count of devfreq-event dev.
SYNOPSIS int devfreq_event_enable_edev (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function increase the enable_count and enable the devfr... |
devfreq_event_get_edev_by_phandle(9) | NAME devfreq_event_get_edev_by_phandle - Get the devfreq-event dev from devicetree.
SYNOPSIS struct devfreq_event_dev * devfreq_event_get_edev_by_phandle (struct device *dev , const char *phandle_name , int index );
ARGUMENTS dev the pointer to the given device
phandle_name
name of ... |
devfreq_event_get_edev_count(9) | NAME devfreq_event_get_edev_count - Get the count of devfreq-event dev
SYNOPSIS int devfreq_event_get_edev_count (struct device *dev , const char *phandle_name );
ARGUMENTS dev the pointer to the given device
phandle_name
name of property holding a phandle value
DESCRIPTION Note th... |
devfreq_event_get_event(9) | NAME devfreq_event_get_event - Get {load|total}_count from devfreq-event dev.
SYNOPSIS int devfreq_event_get_event (struct devfreq_event_dev *edev , struct devfreq_event_data *edata );
ARGUMENTS edev the devfreq-event device
edata the calculated data of devfreq-event device
DESCRIPTION Note that... |
devfreq_event_is_enabled(9) | NAME devfreq_event_is_enabled - Check whether devfreq-event dev is enabled or not.
SYNOPSIS bool devfreq_event_is_enabled (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function check whether devfreq-event dev is enabled or not. If return true, the devfr... |
devfreq_event_remove_edev(9) | NAME devfreq_event_remove_edev - Remove the devfreq-event device registered.
SYNOPSIS int devfreq_event_remove_edev (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function removes the registered devfreq-event device.
SEE ALSO Kernel file ./drivers/devfre... |
devfreq_event_reset_event(9) | NAME devfreq_event_reset_event - Reset all opeations of devfreq-event dev.
SYNOPSIS int devfreq_event_reset_event (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function stop all operations of devfreq-event dev and reset the current event data to make the... |
devfreq_event_set_event(9) | NAME devfreq_event_set_event - Set event to devfreq-event dev to start.
SYNOPSIS int devfreq_event_set_event (struct devfreq_event_dev *edev );
ARGUMENTS edev the devfreq-event device
DESCRIPTION Note that this function set the event to the devfreq-event device to start for getting the event data which could ... |
devfreq_get_freq_level(9) | NAME devfreq_get_freq_level - Lookup freq_table for the frequency
SYNOPSIS int devfreq_get_freq_level (struct devfreq *devfreq , unsigned long freq );
ARGUMENTS devfreq the devfreq instance
freq the target frequency
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfreq_g... |
devfreq_get_freq_range(9) | NAME devfreq_get_freq_range - Get the current freq range
SYNOPSIS void devfreq_get_freq_range (struct devfreq *devfreq , unsigned long *min_freq , unsigned long *max_freq );
ARGUMENTS devfreq the devfreq instance
min_freq the min frequency
max_freq the max frequency
DESCRIPTION This takes i... |
devfreq_monitor(9) | NAME devfreq_monitor - Periodically poll devfreq objects.
SYNOPSIS void devfreq_monitor (struct work_struct *work );
ARGUMENTS work the work struct used to run devfreq_monitor periodically.
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfreq_get_freq_range(9), devfreq_get_freq_l... |
devfreq_monitor_resume(9) | NAME devfreq_monitor_resume - Resume load monitoring of a devfreq instance
SYNOPSIS void devfreq_monitor_resume (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance.
DESCRIPTION Helper function to resume devfreq device load monitoring. Function to be called from governor in response to DEVFREQ_GOV_... |
devfreq_monitor_start(9) | NAME devfreq_monitor_start - Start load monitoring of devfreq instance
SYNOPSIS void devfreq_monitor_start (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance.
DESCRIPTION Helper function for starting devfreq device load monitoring. By default, deferrable timer is used for load monitoring. But ... |
devfreq_monitor_stop(9) | NAME devfreq_monitor_stop - Stop load monitoring of a devfreq instance
SYNOPSIS void devfreq_monitor_stop (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance.
DESCRIPTION Helper function to stop devfreq device load monitoring. Function to be called from governor in response to DEVFREQ_GOV_STOP eve... |
devfreq_monitor_suspend(9) | NAME devfreq_monitor_suspend - Suspend load monitoring of a devfreq instance
SYNOPSIS void devfreq_monitor_suspend (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance.
DESCRIPTION Helper function to suspend devfreq device load monitoring. Function to be called from governor in response to DEVFREQ_... |
devfreq_notifier_call(9) | NAME devfreq_notifier_call - Notify that the device frequency requirements has been changed out of devfreq framework.
SYNOPSIS int devfreq_notifier_call (struct notifier_block *nb , unsigned long type , void *devp );
ARGUMENTS nb the notifier_block (supposed to be devfreq->nb)
type not used
... |
devfreq_recommended_opp(9) | NAME devfreq_recommended_opp - Helper function to get proper OPP for the freq value given to target callback.
SYNOPSIS struct dev_pm_opp * devfreq_recommended_opp (struct device *dev , unsigned long *freq , u32 flags );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
freq The frequen... |
devfreq_register_notifier(9) | NAME devfreq_register_notifier - Register a driver with devfreq
SYNOPSIS int devfreq_register_notifier (struct devfreq *devfreq , struct notifier_block *nb , unsigned int list );
ARGUMENTS devfreq The devfreq object.
nb The notifier block to register.
list DEVFREQ_TRANSITION_NOTIFI... |
devfreq_register_opp_notifier(9) | NAME devfreq_register_opp_notifier - Helper function to get devfreq notified for any changes in the OPP availability changes
SYNOPSIS int devfreq_register_opp_notifier (struct device *dev , struct devfreq *devfreq );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devfreq The devfreq ob... |
devfreq_remove_device(9) | NAME devfreq_remove_device - Remove devfreq feature from a device.
SYNOPSIS int devfreq_remove_device (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance to be removed
DESCRIPTION The opposite of devfreq_add_device.
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfre... |
devfreq_remove_governor(9) | NAME devfreq_remove_governor - Remove devfreq feature from a device.
SYNOPSIS int devfreq_remove_governor (struct devfreq_governor *governor );
ARGUMENTS governor the devfreq governor to be removed
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfreq_get_freq_range(9), devfreq_get_fr... |
devfreq_resume(9) | NAME devfreq_resume - Resume devfreq governors and devices
SYNOPSIS void devfreq_resume (void );
ARGUMENTS void no arguments
DESCRIPTION Called during system wide Suspend/Hibernate cycle for resuming governors and devices that are suspended with devfreq_suspend.
SEE ALSO Kernel file ./drivers/devfreq/devfr... |
devfreq_resume_device(9) | NAME devfreq_resume_device - Resume devfreq of a device.
SYNOPSIS int devfreq_resume_device (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance to be resumed
DESCRIPTION This function is intended to be called by the pm callbacks (e.g., runtime_resume, resume) of the device driver that holds the de... |
devfreq_summary_show(9) | NAME devfreq_summary_show - Show the summary of the devfreq devices
SYNOPSIS int devfreq_summary_show (struct seq_file *s , void *data );
ARGUMENTS s seq_file instance to show the summary of devfreq devices
data not used
DESCRIPTION Show the summary of the devfreq devices via 'devfreq_summa... |
devfreq_suspend(9) | NAME devfreq_suspend - Suspend devfreq governors and devices
SYNOPSIS void devfreq_suspend (void );
ARGUMENTS void no arguments
DESCRIPTION Called during system wide Suspend/Hibernate cycles for suspending governors and devices preserving the state for resume. On some platforms the devfreq device must have... |
devfreq_suspend_device(9) | NAME devfreq_suspend_device - Suspend devfreq of a device.
SYNOPSIS int devfreq_suspend_device (struct devfreq *devfreq );
ARGUMENTS devfreq the devfreq instance to be suspended
DESCRIPTION This function is intended to be called by the pm callbacks (e.g., runtime_suspend, suspend) of the device driver that holds... |
devfreq_unregister_opp_notifier(9) | NAME devfreq_unregister_opp_notifier - Helper function to stop getting devfreq notified for any changes in the OPP availability changes anymore.
SYNOPSIS int devfreq_unregister_opp_notifier (struct device *dev , struct devfreq *devfreq );
ARGUMENTS dev The devfreq user device. (parent of devfreq)
devf... |
devfreq_update_interval(9) | NAME devfreq_update_interval - Update device devfreq monitoring interval
SYNOPSIS void devfreq_update_interval (struct devfreq *devfreq , unsigned int *delay );
ARGUMENTS devfreq the devfreq instance.
delay new polling interval to be set.
DESCRIPTION Helper function to set new load monitoring polli... |
devfreq_update_status(9) | NAME devfreq_update_status - Update statistics of devfreq behavior
SYNOPSIS int devfreq_update_status (struct devfreq *devfreq , unsigned long freq );
ARGUMENTS devfreq the devfreq instance
freq the update target frequency
SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9),... |
devfreq_update_target(9) | NAME devfreq_update_target - Reevaluate the device and configure frequency on the final stage.
SYNOPSIS int devfreq_update_target (struct devfreq *devfreq , unsigned long freq );
ARGUMENTS devfreq the devfreq instance.
freq the new frequency of parent device. This argument is only used for devfreq ... |
device_add(9) | NAME device_add - add device to device hierarchy.
SYNOPSIS int device_add (struct device *dev );
ARGUMENTS dev device.
DESCRIPTION This is part 2 of device_register, though may be called separately _iff_ device_initialize has been called separately. This adds dev to the kobject hierarchy via kobject_add, ... |
device_add_disk(9) | NAME device_add_disk - add disk information to kernel list
SYNOPSIS int device_add_disk (struct device *parent , struct gendisk *disk , const struct attribute_group **groups );
ARGUMENTS parent parent device for the disk
disk per-device partitioning information
groups Additional per-d... |
device_add_of_node(9) | NAME device_add_of_node - Add an of_node to an existing device
SYNOPSIS int device_add_of_node (struct device *dev , struct device_node *of_node );
ARGUMENTS dev device whose device tree node is being added
of_node of_node to add
RETURN 0 on success or error code on failure.
SEE ALSO Kernel fil... |
device_add_software_node(9) | NAME device_add_software_node - Assign software node to a device
SYNOPSIS int device_add_software_node (struct device *dev , const struct software_node *node );
ARGUMENTS dev The device the software node is meant for.
node The software node.
DESCRIPTION This function will make node the seconda... |
device_alloc(9) | NAME device_alloc - Allocate a new device instance. This create the devices instance and sets up all the data items. The adapter instance is required to obtain confiuration information for this device. This does *not* add this device to the adapters device list.
SYNOPSIS struct DeviceCtlBlk * device_alloc (struct Adap... |
device_attach(9) | NAME device_attach - try to attach device to a driver.
SYNOPSIS int device_attach (struct device *dev );
ARGUMENTS dev device.
DESCRIPTION Walk the list of drivers that the bus has and call driver_probe_device for each pair. If a compatible pair is found, break out and return. Returns 1 if the device was bo... |
device_bind_driver(9) | NAME device_bind_driver - bind a driver to one device.
SYNOPSIS int device_bind_driver (struct device *dev );
ARGUMENTS dev device.
DESCRIPTION Allow manual attachment of a driver to a device. Caller must have already set dev->driver. Note that this does not modify the bus reference count. Please verify ... |
device_block_probing(9) | NAME device_block_probing - Block/defer device's probes
SYNOPSIS void device_block_probing (void );
ARGUMENTS void no arguments
DESCRIPTION It will disable probing of devices and defer their probes instead.
SEE ALSO Kernel file ./drivers/base/dd.c driver_deferred_probe_trigger(9), device_unblock_probing(9)... |
device_cache_fw_images(9) | NAME device_cache_fw_images - cache devices' firmware
SYNOPSIS void device_cache_fw_images (void );
ARGUMENTS void no arguments
DESCRIPTION If one device called request_firmware or its nowait version successfully before, the firmware names are recored into the device's devres link list, so device_cac... |
device_change_owner(9) | NAME device_change_owner - change the owner of an existing device.
SYNOPSIS int device_change_owner (struct device *dev , kuid_t kuid , kgid_t kgid );
ARGUMENTS dev device.
kuid new owner's kuid
kgid new owner's kgid
DESCRIPTION This changes the owner of dev and its correspondin... |
device_complete(9) | NAME device_complete - Complete a PM transition for given device.
SYNOPSIS void device_complete (struct device *dev , pm_message_t state );
ARGUMENTS dev Device to handle.
state PM transition of the system being carried out.
SEE ALSO Kernel file ./drivers/base/power/main.c pm_hibernate_is_rec... |
device_create(9) | NAME device_create - creates a device and registers it with sysfs
SYNOPSIS struct device * device_create (const struct class *class , struct device *parent , dev_t devt , void *drvdata , const char *fmt , ... );
ARGUMENTS class pointer to the struct class that this device should be registered to
parent ... |
device_create_bin_file(9) | NAME device_create_bin_file - create sysfs binary attribute file for device.
SYNOPSIS int device_create_bin_file (struct device *dev , const struct bin_attribute *attr );
ARGUMENTS dev device.
attr device binary attribute descriptor.
SEE ALSO Kernel file ./drivers/base/core.c __fwnode_link_... |
device_create_file(9) | NAME device_create_file - create sysfs attribute file for device.
SYNOPSIS int device_create_file (struct device *dev , const struct device_attribute *attr );
ARGUMENTS dev device.
attr device attribute descriptor.
SEE ALSO Kernel file ./drivers/base/core.c __fwnode_link_add(9), __fwnode_l... |
device_create_managed_software_node(9) | NAME device_create_managed_software_node - Create a software node for a device
SYNOPSIS int device_create_managed_software_node (struct device *dev , const struct property_entry *properties , const struct software_node *parent );
ARGUMENTS dev The device the software node is assigned to.
properties D... |
device_create_with_groups(9) | NAME device_create_with_groups - creates a device and registers it with sysfs
SYNOPSIS struct device * device_create_with_groups (const struct class *class , struct device *parent , dev_t devt , void *drvdata , const struct attribute_group **groups , const char *fmt , ... );
ARGUMENTS class pointer to the struc... |
device_del(9) | NAME device_del - delete device from system.
SYNOPSIS void device_del (struct device *dev );
ARGUMENTS dev device.
DESCRIPTION This is the first part of the device unregistration sequence. This removes the device from the lists we control from here, has it removed from the other driver model subsystems it ... |
device_delay_show(9) | NAME device_delay_show - device missing delay
SYNOPSIS ssize_t device_delay_show (struct device *cdev , struct device_attribute *attr , char *buf );
ARGUMENTS cdev pointer to embedded class device
attr ?
buf the buffer returned
DESCRIPTION This is for firmware implemention for d... |
device_destroy(9) | NAME device_destroy - removes a device that was created with device_create()
SYNOPSIS void device_destroy (const struct class *class , dev_t devt );
ARGUMENTS class pointer to the struct class that this device was registered with
devt the dev_t of the device that was previously registered
DESCRI... |
device_driver_attach(9) | NAME device_driver_attach - attach a specific driver to a specific device
SYNOPSIS int device_driver_attach (const struct device_driver *drv , struct device *dev );
ARGUMENTS drv Driver to attach
dev Device to attach it to
DESCRIPTION Manually attach driver to a device. Will acquire both dev ... |
device_driver_detach(9) | NAME device_driver_detach - detach driver from a specific device
SYNOPSIS void device_driver_detach (struct device *dev );
ARGUMENTS dev device to detach driver from
DESCRIPTION Detach driver from device. Will acquire both dev lock and dev->parent lock if needed.
SEE ALSO Kernel file ./drivers/base/dd.c dr... |
device_family(9) | NAME device_family - Retrieve a pointer on &struct w1_therm_family_converter
SYNOPSIS struct w1_therm_family_converter * device_family (struct w1_slave *sl );
ARGUMENTS sl slave to retrieve the device specific structure
RETURN pointer to the slaves's family converter, NULL if not known
SEE ALSO Kernel fil... |
device_find_any_child(9) | NAME device_find_any_child - device iterator for locating a child device, if any.
SYNOPSIS struct device * device_find_any_child (struct device *parent );
ARGUMENTS parent parent struct device
DESCRIPTION This is similar to the device_find_child function above, but it returns a reference to a child device, if a... |
device_find_child(9) | NAME device_find_child - device iterator for locating a particular device.
SYNOPSIS struct device * device_find_child (struct device *parent , const void *data , device_match_t match );
ARGUMENTS parent parent struct device
data Data to pass to match function
match Callback function ... |
device_find_child_by_name(9) | NAME device_find_child_by_name - device iterator for locating a child device.
SYNOPSIS struct device * device_find_child_by_name (struct device *parent , const char *name );
ARGUMENTS parent parent struct device
name name of the child device
DESCRIPTION This is similar to the device_find_child fu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.