id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
dram_pg_pool_do_release(9) | NAME dram_pg_pool_do_release - free DRAM pages pool
SYNOPSIS void dram_pg_pool_do_release (struct kref *ref );
ARGUMENTS ref pointer to reference object.
DESCRIPTION This function does the following: - Frees the idr structure of physical pages handles. - Frees the generic pool of DRAM physical pages.
SEE A... |
drand48(3) | NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 - generate uniformly distributed pseudo-random numbers
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
double drand48(void);
double erand48(unsigned short xsubi[3]);
long lrand48(void);
... |
drand48(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, ... |
drand48_r(3) | NAME drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r - generate uniformly distributed pseudo-random numbers reentrantly
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int drand48_r(struct drand48_data *restrict buffer,
... |
drbd_al_shrink(9) | NAME drbd_al_shrink - Removes all active extents form the activity log
SYNOPSIS void drbd_al_shrink (struct drbd_device *device );
ARGUMENTS device DRBD device.
DESCRIPTION Removes all active extents form the activity log, waiting until the reference count of each entry dropped to 0 first, of course. You need ... |
drbd_alloc_pages(9) | NAME drbd_alloc_pages - Returns @number pages, retries forever (or until signalled)
SYNOPSIS struct page * drbd_alloc_pages (struct drbd_peer_device *peer_device , unsigned int number , bool retry );
ARGUMENTS peer_device DRBD device.
number number of pages requested
retry whether to retry,... |
drbd_bitmap_io(9) | NAME drbd_bitmap_io - Does an IO operation on the whole bitmap
SYNOPSIS int drbd_bitmap_io (struct drbd_device *device , int (*io_fn)(struct drbd_device *, struct drbd_peer_device *) , char *why , enum bm_flag flags , struct drbd_peer_device *peer_device );
ARGUMENTS device DRBD device.
io_fn IO ca... |
drbd_bm_mark_for_writeout(9) | NAME drbd_bm_mark_for_writeout - mark a page with a "hint" to be considered for writeout
SYNOPSIS void drbd_bm_mark_for_writeout (struct drbd_device *device , int page_nr );
ARGUMENTS device DRBD device.
page_nr the bitmap page to mark with the "hint" flag
DESCRIPTION From within an activity log tra... |
drbd_bm_write_lazy(9) | NAME drbd_bm_write_lazy - Write bitmap pages 0 to @upper_idx-1, if they have changed.
SYNOPSIS int drbd_bm_write_lazy (struct drbd_device *device , unsigned upper_idx );
ARGUMENTS device DRBD device.
upper_idx 0: write all changed pages; +ve: page index to stop scanning for changed pages
SEE ALSO Kern... |
drbd_bmio_clear_n_write(9) | NAME drbd_bmio_clear_n_write - io_fn for drbd_queue_bitmap_io() or drbd_bitmap_io()
SYNOPSIS int drbd_bmio_clear_n_write (struct drbd_device *device , struct drbd_peer_device *peer_device );
ARGUMENTS device DRBD device.
peer_device Peer DRBD device.
DESCRIPTION Clears all bits in the bitmap and writes ... |
drbd_bmio_set_n_write(9) | NAME drbd_bmio_set_n_write - io_fn for drbd_queue_bitmap_io() or drbd_bitmap_io()
SYNOPSIS int drbd_bmio_set_n_write (struct drbd_device *device , struct drbd_peer_device *peer_device );
ARGUMENTS device DRBD device.
peer_device Peer DRBD device.
DESCRIPTION Sets all bits in the bitmap and writes the wh... |
drbd_chk_io_error(9) | NAME drbd_chk_io_error - Handle the on_io_error setting, should be called from all io completion handlers
SYNOPSIS drbd_chk_io_error (m , e , f );
ARGUMENTS m -- undescribed --
e -- undescribed --
f -- undescribed --
DESCRIPTION See also drbd_main.c:after_state_ch if (os... |
drbd_contains_interval(9) | NAME drbd_contains_interval - check if a tree contains a given interval
SYNOPSIS bool drbd_contains_interval (struct rb_root *root , sector_t sector , struct drbd_interval *interval );
ARGUMENTS root red black tree root
sector start sector of interval
interval may be an invalid pointer
... |
drbd_find_overlap(9) | NAME drbd_find_overlap - search for an interval overlapping with [sector, sector + size)
SYNOPSIS struct drbd_interval * drbd_find_overlap (struct rb_root *root , sector_t sector , unsigned int size );
ARGUMENTS root red black tree root
sector start sector
size size, aligned to 512 ... |
drbd_force_state(9) | NAME drbd_force_state - Impose a change which happens outside our control on our state
SYNOPSIS void drbd_force_state (struct drbd_device *device , union drbd_state mask , union drbd_state val );
ARGUMENTS device DRBD device.
mask mask of state bits to change.
val value of new stat... |
drbd_get_max_capacity(9) | NAME drbd_get_max_capacity - Returns the capacity we announce to out peer
SYNOPSIS sector_t drbd_get_max_capacity (struct drbd_backing_dev *bdev );
ARGUMENTS bdev Meta data block device.
DESCRIPTION returns the capacity we announce to out peer. we clip ourselves at the various MAX_SECTORS, because if we don'... |
drbd_may_finish_epoch(9) | NAME drbd_may_finish_epoch - Applies an epoch_event to the epoch's state, eventually finishes it.
SYNOPSIS enum finish_epoch drbd_may_finish_epoch (struct drbd_connection *connection , struct drbd_epoch *epoch , enum epoch_event ev );
ARGUMENTS connection DRBD connection.
epoch Epoch object.
ev... |
drbd_md_first_sector(9) | NAME drbd_md_first_sector - Returns the first sector number of the meta data area
SYNOPSIS sector_t drbd_md_first_sector (struct drbd_backing_dev *bdev );
ARGUMENTS bdev Meta data block device.
DESCRIPTION BTW, for internal meta data, this happens to be the maximum capacity we could agree upon with our peer n... |
drbd_md_last_sector(9) | NAME drbd_md_last_sector - Return the last sector number of the meta data area
SYNOPSIS sector_t drbd_md_last_sector (struct drbd_backing_dev *bdev );
ARGUMENTS bdev Meta data block device.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_int.h drbd_chk_io_error(9), drbd_md_first_sector(9), drbd_get_max_capacit... |
drbd_md_mark_dirty(9) | NAME drbd_md_mark_dirty - Mark meta data super block as dirty
SYNOPSIS void drbd_md_mark_dirty (struct drbd_device *device );
ARGUMENTS device DRBD device.
DESCRIPTION Call this function if you change anything that should be written to the meta-data super block. This function sets MD_DIRTY, and starts a timer t... |
drbd_md_read(9) | NAME drbd_md_read - Reads in the meta data super block
SYNOPSIS int drbd_md_read (struct drbd_device *device , struct drbd_backing_dev *bdev );
ARGUMENTS device DRBD device.
bdev Device from which the meta data should be read in.
DESCRIPTION Return NO_ERROR on success, and an enum drbd_ret_code i... |
drbd_md_ss(9) | NAME drbd_md_ss - Return the sector number of our meta data super block
SYNOPSIS sector_t drbd_md_ss (struct drbd_backing_dev *bdev );
ARGUMENTS bdev Meta data block device.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_int.h drbd_chk_io_error(9), drbd_md_first_sector(9), drbd_md_last_sector(9), drbd_get_max... |
drbd_md_sync(9) | NAME drbd_md_sync - Writes the meta data super block if the MD_DIRTY flag bit is set
SYNOPSIS void drbd_md_sync (struct drbd_device *device );
ARGUMENTS device DRBD device.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_main.c tl_release(9), _tl_restart(9), tl_clear(9), tl_abort_disk_io(9), drbd_threa... |
drbd_pause_after(9) | NAME drbd_pause_after - Pause resync on all devices that may not resync now
SYNOPSIS bool drbd_pause_after (struct drbd_device *device );
ARGUMENTS device DRBD device.
DESCRIPTION Called from process context only (admin command and after_state_ch).
SEE ALSO Kernel file ./drivers/block/drbd/drbd_worker.c w_e_en... |
drbd_queue_bitmap_io(9) | NAME drbd_queue_bitmap_io - Queues an IO operation on the whole bitmap
SYNOPSIS void drbd_queue_bitmap_io (struct drbd_device *device , int (*io_fn)(struct drbd_device *, struct drbd_peer_device *) , void (*done)(struct drbd_device *, int) , char *why , enum bm_flag flags , struct drbd_peer_device *peer_device );
... |
drbd_req_state(9) | NAME drbd_req_state - Perform an eventually cluster wide state change
SYNOPSIS enum drbd_state_rv drbd_req_state (struct drbd_device *device , union drbd_state mask , union drbd_state val , enum chg_state_flags f );
ARGUMENTS device DRBD device.
mask mask of state bits to change.
val ... |
drbd_request_state(9) | NAME drbd_request_state - Request a state change
SYNOPSIS int drbd_request_state (struct drbd_device *device , union drbd_state mask , union drbd_state val );
ARGUMENTS device DRBD device.
mask mask of state bits to change.
val value of new state bits.
DESCRIPTION This is the most... |
drbd_resume_next(9) | NAME drbd_resume_next - Resume resync on all devices that may resync now
SYNOPSIS bool drbd_resume_next (struct drbd_device *device );
ARGUMENTS device DRBD device.
DESCRIPTION Called from process context only (admin command and worker).
SEE ALSO Kernel file ./drivers/block/drbd/drbd_worker.c w_e_end_data_req(... |
drbd_rs_begin_io(9) | NAME drbd_rs_begin_io - Gets an extent in the resync LRU cache and sets it to BME_LOCKED
SYNOPSIS int drbd_rs_begin_io (struct drbd_device *device , sector_t sector );
ARGUMENTS device DRBD device.
sector The sector number.
DESCRIPTION This functions sleeps on al_wait.
RETURN 0 on success, -EINTR ... |
drbd_rs_cancel_all(9) | NAME drbd_rs_cancel_all - Removes all extents from the resync LRU (even BME_LOCKED)
SYNOPSIS void drbd_rs_cancel_all (struct drbd_device *device );
ARGUMENTS device DRBD device.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_actlog.c drbd_al_shrink(9), drbd_rs_begin_io(9), drbd_try_rs_begin_io(9), drbd_rs_del_a... |
drbd_rs_del_all(9) | NAME drbd_rs_del_all - Gracefully remove all extents from the resync LRU
SYNOPSIS int drbd_rs_del_all (struct drbd_device *device );
ARGUMENTS device DRBD device.
RETURN 0 upon success, -EAGAIN if at least one reference count was not zero.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_actlog.c drbd_al_shrink(... |
drbd_send_ack(9) | NAME drbd_send_ack - Sends an ack packet
SYNOPSIS int drbd_send_ack (struct drbd_peer_device *peer_device , enum drbd_packet cmd , struct drbd_peer_request *peer_req );
ARGUMENTS peer_device DRBD peer device
cmd packet command code
peer_req peer request
SEE ALSO Kernel file ./drivers/blo... |
drbd_send_current_state(9) | NAME drbd_send_current_state - Sends the drbd state to the peer
SYNOPSIS int drbd_send_current_state (struct drbd_peer_device *peer_device );
ARGUMENTS peer_device DRBD peer device.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_main.c tl_release(9), _tl_restart(9), tl_clear(9), tl_abort_disk_io(9), drbd_threa... |
drbd_send_state(9) | NAME drbd_send_state - After a state change, sends the new state to the peer
SYNOPSIS int drbd_send_state (struct drbd_peer_device *peer_device , union drbd_state state );
ARGUMENTS peer_device DRBD peer device.
state the state to send, not necessarily the current state.
DESCRIPTION Each state change... |
drbd_socket_okay(9) | NAME drbd_socket_okay - Free the socket if its connection is not okay
SYNOPSIS bool drbd_socket_okay (struct socket **sock );
ARGUMENTS sock pointer to the pointer to the socket.
SEE ALSO Kernel file ./drivers/block/drbd/drbd_receiver.c drbd_alloc_pages(9), drbd_may_finish_epoch(9), drbd_submit_peer_request(9... |
drbd_start_resync(9) | NAME drbd_start_resync - Start the resync process
SYNOPSIS void drbd_start_resync (struct drbd_device *device , enum drbd_conns side );
ARGUMENTS device DRBD device.
side Either C_SYNC_SOURCE or C_SYNC_TARGET
DESCRIPTION This function might bring you directly into one of the C_PAUSED_SYNC_* state... |
drbd_submit_peer_request(9) | NAME drbd_submit_peer_request -
SYNOPSIS int drbd_submit_peer_request (struct drbd_peer_request *peer_req );
ARGUMENTS peer_req peer request
DESCRIPTION May spread the pages to multiple bios, depending on bio_add_page restrictions. Returns 0 if all bios have been submitted, -ENOMEM if we could not allocate enoug... |
drbd_thread_current_set_cpu(9) | NAME drbd_thread_current_set_cpu - modifies the cpu mask of the _current_ thread
SYNOPSIS void drbd_thread_current_set_cpu (struct drbd_thread *thi );
ARGUMENTS thi drbd_thread object
DESCRIPTION call in the "main loop" of _all_ threads, no need for any mutex, current won't die prematurely.
SEE ALSO Kernel ... |
drbd_try_rs_begin_io(9) | NAME drbd_try_rs_begin_io - Gets an extent in the resync LRU cache, does not sleep
SYNOPSIS int drbd_try_rs_begin_io (struct drbd_peer_device *peer_device , sector_t sector );
ARGUMENTS peer_device DRBD device.
sector The sector number.
DESCRIPTION Gets an extent in the resync LRU cache, sets it to BME_... |
drbd_uuid_new_current(9) | NAME drbd_uuid_new_current - Creates a new current UUID
SYNOPSIS void drbd_uuid_new_current (struct drbd_device *device );
ARGUMENTS device DRBD device.
DESCRIPTION Creates a new current UUID, and rotates the old current UUID into the bitmap slot. Causes an incremental resync upon next connect.
SEE ALSO Kernel... |
drbd_wait_misc(9) | NAME drbd_wait_misc - wait for a request to make progress
SYNOPSIS int drbd_wait_misc (struct drbd_device *device , struct drbd_interval *i );
ARGUMENTS device device associated with the request
i the struct drbd_interval embedded in struct drbd_request or struct drbd_peer_request
SEE ALSO Ker... |
drci_rd_reg(9) | NAME drci_rd_reg - read a DCI register
SYNOPSIS int drci_rd_reg (struct usb_device *dev , u16 reg , u16 *buf );
ARGUMENTS dev usb device
reg register address
buf buffer to store data
DESCRIPTION This is reads data from INIC's direct register communication interface
SEE ALSO K... |
drci_wr_reg(9) | NAME drci_wr_reg - write a DCI register
SYNOPSIS int drci_wr_reg (struct usb_device *dev , u16 reg , u16 data );
ARGUMENTS dev usb device
reg register address
data data to write
DESCRIPTION This is writes data to INIC's direct register communication interface
SEE ALSO Kernel ... |
drem(3) | NAME drem, dremf, dreml, remainder, remainderf, remainderl - floating-point remainder function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double remainder(double x, double y);
float remainderf(float x, float y);
long double remainderl(long double x, long double y);
/* Ob... |
dremf(3) | NAME drem, dremf, dreml, remainder, remainderf, remainderl - floating-point remainder function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double remainder(double x, double y);
float remainderf(float x, float y);
long double remainderl(long double x, long double y);
/* Ob... |
dreml(3) | NAME drem, dremf, dreml, remainder, remainderf, remainderl - floating-point remainder function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double remainder(double x, double y);
float remainderf(float x, float y);
long double remainderl(long double x, long double y);
/* Ob... |
driver_attach(9) | NAME driver_attach - try to bind driver to devices.
SYNOPSIS int driver_attach (const struct device_driver *drv );
ARGUMENTS drv driver.
DESCRIPTION Walk the list of devices that the bus has on it and try to match the driver with each one. If driver_probe_device returns 0 and the dev->driver is set, we've f... |
driver_create_file(9) | NAME driver_create_file - create sysfs file for driver.
SYNOPSIS int driver_create_file (const struct device_driver *drv , const struct driver_attribute *attr );
ARGUMENTS drv driver.
attr driver attribute descriptor.
SEE ALSO Kernel file ./drivers/base/driver.c driver_set_override(9), driver_... |
driver_deferred_probe_check_state(9) | NAME driver_deferred_probe_check_state - Check deferred probe state
SYNOPSIS int driver_deferred_probe_check_state (struct device *dev );
ARGUMENTS dev device to check
RETURN * -ENODEV if initcalls have completed and modules are disabled. * -ETIMEDOUT if the deferred probe timeout was set and has expired an... |
driver_deferred_probe_trigger(9) | NAME driver_deferred_probe_trigger - Kick off re-probing deferred devices
SYNOPSIS void driver_deferred_probe_trigger (void );
ARGUMENTS void no arguments
DESCRIPTION This functions moves all devices from the pending list to the active list and schedules the deferred probe workqueue to process them. It sho... |
driver_detach(9) | NAME driver_detach - detach driver from all devices it controls.
SYNOPSIS void driver_detach (const struct device_driver *drv );
ARGUMENTS drv driver.
SEE ALSO Kernel file ./drivers/base/dd.c driver_deferred_probe_trigger(9), device_block_probing(9), device_unblock_probing(9), device_set_deferred_probe_reas... |
driver_find(9) | NAME driver_find - locate driver on a bus by its name.
SYNOPSIS struct device_driver * driver_find (const char *name , const struct bus_type *bus );
ARGUMENTS name name of the driver.
bus bus to scan for the driver.
DESCRIPTION Call kset_find_obj to iterate over list of drivers on a bus to fi... |
driver_find_device(9) | NAME driver_find_device - device iterator for locating a particular device.
SYNOPSIS struct device * driver_find_device (const struct device_driver *drv , struct device *start , const void *data , device_match_t match );
ARGUMENTS drv The device's driver
start Device to begin with
data ... |
driver_find_device_by_acpi_dev(9) | NAME driver_find_device_by_acpi_dev - device iterator for locating a particular device matching the ACPI_COMPANION device.
SYNOPSIS struct device * driver_find_device_by_acpi_dev (const struct device_driver *drv , const struct acpi_device *adev );
ARGUMENTS drv the driver we're iterating
adev A... |
driver_find_device_by_devt(9) | NAME driver_find_device_by_devt - device iterator for locating a particular device by devt.
SYNOPSIS struct device * driver_find_device_by_devt (const struct device_driver *drv , dev_t devt );
ARGUMENTS drv the driver we're iterating
devt devt pointer to match.
SEE ALSO Kernel file ./include/l... |
driver_find_device_by_fwnode(9) | NAME driver_find_device_by_fwnode - device iterator for locating a particular device by fwnode pointer.
SYNOPSIS struct device * driver_find_device_by_fwnode (struct device_driver *drv , const struct fwnode_handle *fwnode );
ARGUMENTS drv the driver we're iterating
fwnode fwnode pointer to match.... |
driver_find_device_by_name(9) | NAME driver_find_device_by_name - device iterator for locating a particular device of a specific name.
SYNOPSIS struct device * driver_find_device_by_name (const struct device_driver *drv , const char *name );
ARGUMENTS drv the driver we're iterating
name name of the device to match
SEE ALSO K... |
driver_find_device_by_of_node(9) | NAME driver_find_device_by_of_node - device iterator for locating a particular device by of_node pointer.
SYNOPSIS struct device * driver_find_device_by_of_node (const struct device_driver *drv , const struct device_node *np );
ARGUMENTS drv the driver we're iterating
np of_node pointer to ma... |
driver_for_each_device(9) | NAME driver_for_each_device - Iterator for devices bound to a driver.
SYNOPSIS int driver_for_each_device (struct device_driver *drv , struct device *start , void *data , device_iter_t fn );
ARGUMENTS drv Driver we're iterating.
start Device to begin with
data Data to pass to the ... |
driver_init(9) | NAME driver_init - initialize driver model.
SYNOPSIS void driver_init (void );
ARGUMENTS void no arguments
DESCRIPTION Call the driver model init functions to initialize their subsystems. Called early from init/main.c.
SEE ALSO Kernel file ./drivers/base/init.c
April 2026 ... |
driver_probe_device(9) | NAME driver_probe_device - attempt to bind device & driver together
SYNOPSIS int driver_probe_device (const struct device_driver *drv , struct device *dev );
ARGUMENTS drv driver to bind a device to
dev device to try to bind to the driver
DESCRIPTION This function returns -ENODEV if the ... |
driver_probe_done(9) | NAME driver_probe_done -
SYNOPSIS bool driver_probe_done (void );
ARGUMENTS void no arguments
DESCRIPTION Determine if the probe sequence is finished or not. Should somehow figure out how to use a semaphore, not an atomic variable...
SEE ALSO Kernel file ./drivers/base/dd.c driver_deferred_probe_trigger(9)... |
driver_register(9) | NAME driver_register - register driver with bus
SYNOPSIS int driver_register (struct device_driver *drv );
ARGUMENTS drv driver to register
DESCRIPTION We pass off most of the work to the bus_add_driver call, since most of the things we have to do deal with the bus structures.
SEE ALSO Kernel file ./drivers... |
driver_remove_file(9) | NAME driver_remove_file - remove sysfs file for driver.
SYNOPSIS void driver_remove_file (const struct device_driver *drv , const struct driver_attribute *attr );
ARGUMENTS drv driver.
attr driver attribute descriptor.
SEE ALSO Kernel file ./drivers/base/driver.c driver_set_override(9), driver... |
driver_set_override(9) | NAME driver_set_override - Helper to set or clear driver override.
SYNOPSIS int driver_set_override (struct device *dev , const char **override , const char *s , size_t len );
ARGUMENTS dev Device to change
override Address of string to change (e.g. device->driver_override); The contents will be fr... |
driver_unregister(9) | NAME driver_unregister - remove driver from system.
SYNOPSIS void driver_unregister (struct device_driver *drv );
ARGUMENTS drv driver.
DESCRIPTION Again, we pass off most of the work to the bus-level call.
SEE ALSO Kernel file ./drivers/base/driver.c driver_set_override(9), driver_for_each_device(9), drive... |
drm_add_edid_modes(9) | NAME drm_add_edid_modes - add modes from EDID data, if available
SYNOPSIS int drm_add_edid_modes (struct drm_connector *connector , struct edid *edid );
ARGUMENTS connector connector we're probing
edid EDID data
DESCRIPTION Add the specified modes to the connector's mode list. Also fills o... |
drm_add_modes_noedid(9) | NAME drm_add_modes_noedid - add modes for the connectors without EDID
SYNOPSIS int drm_add_modes_noedid (struct drm_connector *connector , unsigned int hdisplay , unsigned int vdisplay );
ARGUMENTS connector connector we're probing
hdisplay the horizontal display limit
vdisplay the vertical di... |
drm_analog_tv_mode(9) | NAME drm_analog_tv_mode - create a display mode for an analog TV
SYNOPSIS struct drm_display_mode * drm_analog_tv_mode (struct drm_device *dev , enum drm_connector_tv_mode tv_mode , unsigned long pixel_clock_hz , unsigned int hdisplay , unsigned int vdisplay , bool interlace );
ARGUMENTS dev drm device
... |
drm_any_plane_has_format(9) | NAME drm_any_plane_has_format - Check whether any plane supports this format and modifier combination
SYNOPSIS bool drm_any_plane_has_format (struct drm_device *dev , u32 format , u64 modifier );
ARGUMENTS dev DRM device
format pixel format (DRM_FORMAT_*)
modifier data layout modifier
... |
drm_atomic_add_affected_colorops(9) | NAME drm_atomic_add_affected_colorops - add colorops for plane
SYNOPSIS int drm_atomic_add_affected_colorops (struct drm_atomic_state *state , struct drm_plane *plane );
ARGUMENTS state atomic state
plane DRM plane
DESCRIPTION This function walks the current configuration and adds all coloro... |
drm_atomic_add_affected_connectors(9) | NAME drm_atomic_add_affected_connectors - add connectors for CRTC
SYNOPSIS int drm_atomic_add_affected_connectors (struct drm_atomic_state *state , struct drm_crtc *crtc );
ARGUMENTS state atomic state
crtc DRM CRTC
DESCRIPTION This function walks the current configuration and adds all connecto... |
drm_atomic_add_affected_planes(9) | NAME drm_atomic_add_affected_planes - add planes for CRTC
SYNOPSIS int drm_atomic_add_affected_planes (struct drm_atomic_state *state , struct drm_crtc *crtc );
ARGUMENTS state atomic state
crtc DRM CRTC
DESCRIPTION This function walks the current configuration and adds all planes currently ... |
drm_atomic_add_encoder_bridges(9) | NAME drm_atomic_add_encoder_bridges - add bridges attached to an encoder
SYNOPSIS int drm_atomic_add_encoder_bridges (struct drm_atomic_state *state , struct drm_encoder *encoder );
ARGUMENTS state atomic state
encoder DRM encoder
DESCRIPTION This function adds all bridges attached to encoder. Thi... |
drm_atomic_bridge_chain_check(9) | NAME drm_atomic_bridge_chain_check - Do an atomic check on the bridge chain
SYNOPSIS int drm_atomic_bridge_chain_check (struct drm_bridge *bridge , struct drm_crtc_state *crtc_state , struct drm_connector_state *conn_state );
ARGUMENTS bridge bridge control structure
crtc_state new CRTC state
co... |
drm_atomic_bridge_chain_disable(9) | NAME drm_atomic_bridge_chain_disable - disables all bridges in the encoder chain
SYNOPSIS void drm_atomic_bridge_chain_disable (struct drm_bridge *bridge , struct drm_atomic_state *state );
ARGUMENTS bridge bridge control structure
state atomic state being committed
DESCRIPTION Calls drm_bridge_f... |
drm_atomic_bridge_chain_enable(9) | NAME drm_atomic_bridge_chain_enable - enables all bridges in the encoder chain
SYNOPSIS void drm_atomic_bridge_chain_enable (struct drm_bridge *bridge , struct drm_atomic_state *state );
ARGUMENTS bridge bridge control structure
state atomic state being committed
DESCRIPTION Calls drm_bridge_func... |
drm_atomic_bridge_chain_post_disable(9) | NAME drm_atomic_bridge_chain_post_disable - cleans up after disabling all bridges in the encoder chain
SYNOPSIS void drm_atomic_bridge_chain_post_disable (struct drm_bridge *bridge , struct drm_atomic_state *state );
ARGUMENTS bridge bridge control structure
state atomic state being committed
DESC... |
drm_atomic_bridge_chain_pre_enable(9) | NAME drm_atomic_bridge_chain_pre_enable - prepares for enabling all bridges in the encoder chain
SYNOPSIS void drm_atomic_bridge_chain_pre_enable (struct drm_bridge *bridge , struct drm_atomic_state *state );
ARGUMENTS bridge bridge control structure
state atomic state being committed
DESCRIPTION ... |
drm_atomic_check_only(9) | NAME drm_atomic_check_only - check whether a given config would work
SYNOPSIS int drm_atomic_check_only (struct drm_atomic_state *state );
ARGUMENTS state atomic configuration to check
DESCRIPTION Note that this function can return -EDEADLK if the driver needed to acquire more locks but encountered a deadlock.... |
drm_atomic_commit(9) | NAME drm_atomic_commit - commit configuration atomically
SYNOPSIS int drm_atomic_commit (struct drm_atomic_state *state );
ARGUMENTS state atomic configuration to check
DESCRIPTION Note that this function can return -EDEADLK if the driver needed to acquire more locks but encountered a deadlock. The caller mu... |
drm_atomic_crtc_effectively_active(9) | NAME drm_atomic_crtc_effectively_active - compute whether CRTC is actually active
SYNOPSIS bool drm_atomic_crtc_effectively_active (const struct drm_crtc_state *state );
ARGUMENTS state drm_crtc_state for the CRTC
DESCRIPTION When in self refresh mode, the crtc_state->active value will be false, since the C... |
drm_atomic_crtc_for_each_plane(9) | NAME drm_atomic_crtc_for_each_plane - iterate over planes currently attached to CRTC
SYNOPSIS drm_atomic_crtc_for_each_plane (plane , crtc );
ARGUMENTS plane the loop cursor
crtc the CRTC whose planes are iterated
DESCRIPTION This iterates over the current state, useful (for example) wh... |
drm_atomic_crtc_needs_modeset(9) | NAME drm_atomic_crtc_needs_modeset - compute combined modeset need
SYNOPSIS bool drm_atomic_crtc_needs_modeset (const struct drm_crtc_state *state );
ARGUMENTS state drm_crtc_state for the CRTC
DESCRIPTION To give drivers flexibility struct drm_crtc_state has 3 booleans to track whether the state CRTC chang... |
drm_atomic_crtc_state_for_each_plane(9) | NAME drm_atomic_crtc_state_for_each_plane - iterate over attached planes in new state
SYNOPSIS drm_atomic_crtc_state_for_each_plane (plane , crtc_state );
ARGUMENTS plane the loop cursor
crtc_state the incoming CRTC state
DESCRIPTION Similar to drm_crtc_for_each_plane, but iterates the planes that wi... |
drm_atomic_crtc_state_for_each_plane_state(9) | NAME drm_atomic_crtc_state_for_each_plane_state - iterate over attached planes in new state
SYNOPSIS drm_atomic_crtc_state_for_each_plane_state (plane , plane_state , crtc_state );
ARGUMENTS plane the loop cursor
plane_state loop cursor for the plane's state, must be const
crtc_state the incomi... |
drm_atomic_for_each_plane_damage(9) | NAME drm_atomic_for_each_plane_damage - Iterator macro for plane damage.
SYNOPSIS drm_atomic_for_each_plane_damage (iter , rect );
ARGUMENTS iter The iterator to advance.
rect Return a rectangle in fb coordinate clipped to plane src.
DESCRIPTION Note that if the first call to iterator macro ret... |
drm_atomic_get_bridge_state(9) | NAME drm_atomic_get_bridge_state - get bridge state
SYNOPSIS struct drm_bridge_state * drm_atomic_get_bridge_state (struct drm_atomic_state *state , struct drm_bridge *bridge );
ARGUMENTS state global atomic state object
bridge bridge to get state object for
DESCRIPTION This function returns the b... |
drm_atomic_get_colorop_state(9) | NAME drm_atomic_get_colorop_state - get colorop state
SYNOPSIS struct drm_colorop_state * drm_atomic_get_colorop_state (struct drm_atomic_state *state , struct drm_colorop *colorop );
ARGUMENTS state global atomic state object
colorop colorop to get state object for
DESCRIPTION This function retu... |
drm_atomic_get_connector_for_encoder(9) | NAME drm_atomic_get_connector_for_encoder - Get connector currently assigned to an encoder
SYNOPSIS struct drm_connector * drm_atomic_get_connector_for_encoder (const struct drm_encoder *encoder , struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS encoder The encoder to find the connector of
ctx Mod... |
drm_atomic_get_connector_state(9) | NAME drm_atomic_get_connector_state - get connector state
SYNOPSIS struct drm_connector_state * drm_atomic_get_connector_state (struct drm_atomic_state *state , struct drm_connector *connector );
ARGUMENTS state global atomic state object
connector connector to get state object for
DESCRIPTION This f... |
drm_atomic_get_crtc_state(9) | NAME drm_atomic_get_crtc_state - get CRTC state
SYNOPSIS struct drm_crtc_state * drm_atomic_get_crtc_state (struct drm_atomic_state *state , struct drm_crtc *crtc );
ARGUMENTS state global atomic state object
crtc CRTC to get state object for
DESCRIPTION This function returns the CRTC state ... |
drm_atomic_get_mst_topology_state(9) | NAME drm_atomic_get_mst_topology_state - get MST topology state
SYNOPSIS struct drm_dp_mst_topology_state * drm_atomic_get_mst_topology_state (struct drm_atomic_state *state , struct drm_dp_mst_topology_mgr *mgr );
ARGUMENTS state global atomic state
mgr MST topology manager, also the private ob... |
drm_atomic_get_new_bridge_state(9) | NAME drm_atomic_get_new_bridge_state - get new bridge state, if it exists
SYNOPSIS struct drm_bridge_state * drm_atomic_get_new_bridge_state (const struct drm_atomic_state *state , struct drm_bridge *bridge );
ARGUMENTS state global atomic state object
bridge bridge to grab
DESCRIPTION This functi... |
drm_atomic_get_new_colorop_state(9) | NAME drm_atomic_get_new_colorop_state - get colorop state, if it exists
SYNOPSIS struct drm_colorop_state * drm_atomic_get_new_colorop_state (struct drm_atomic_state *state , struct drm_colorop *colorop );
ARGUMENTS state global atomic state object
colorop colorop to grab
DESCRIPTION This function ... |
drm_atomic_get_new_connector_for_encoder(9) | NAME drm_atomic_get_new_connector_for_encoder - Get new connector for an encoder
SYNOPSIS struct drm_connector * drm_atomic_get_new_connector_for_encoder (const struct drm_atomic_state *state , struct drm_encoder *encoder );
ARGUMENTS state Atomic state
encoder The encoder to fetch the connector sta... |
drm_atomic_get_new_connector_state(9) | NAME drm_atomic_get_new_connector_state - get connector state, if it exists
SYNOPSIS struct drm_connector_state * drm_atomic_get_new_connector_state (const struct drm_atomic_state *state , struct drm_connector *connector );
ARGUMENTS state global atomic state object
connector connector to grab
DESCRI... |
drm_atomic_get_new_crtc_for_encoder(9) | NAME drm_atomic_get_new_crtc_for_encoder - Get new crtc for an encoder
SYNOPSIS struct drm_crtc * drm_atomic_get_new_crtc_for_encoder (struct drm_atomic_state *state , struct drm_encoder *encoder );
ARGUMENTS state Atomic state
encoder The encoder to fetch the crtc state for
DESCRIPTION This functi... |
drm_atomic_get_new_crtc_state(9) | NAME drm_atomic_get_new_crtc_state - get new CRTC state, if it exists
SYNOPSIS struct drm_crtc_state * drm_atomic_get_new_crtc_state (const struct drm_atomic_state *state , struct drm_crtc *crtc );
ARGUMENTS state global atomic state object
crtc CRTC to grab
DESCRIPTION This function returns the... |
drm_atomic_get_new_mst_topology_state(9) | NAME drm_atomic_get_new_mst_topology_state - get new MST topology state in atomic state, if any
SYNOPSIS struct drm_dp_mst_topology_state * drm_atomic_get_new_mst_topology_state (struct drm_atomic_state *state , struct drm_dp_mst_topology_mgr *mgr );
ARGUMENTS state global atomic state
mgr MST t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.