id
stringlengths
4
63
text
stringlengths
153
8.81M
micron_st_nor_ready(9)
NAME micron_st_nor_ready - Query the Status Register as well as the Flag Status Register to see if the flash is ready for new commands. If there are any errors in the FSR clear them. SYNOPSIS int micron_st_nor_ready (struct spi_nor *nor ); ARGUMENTS nor pointer to 'struct spi_nor'. RETURN 1 if ready, 0 if no...
might_alloc(9)
NAME might_alloc - Mark possible allocation sites SYNOPSIS void might_alloc (gfp_t gfp_mask ); ARGUMENTS gfp_mask gfp_t flags that would be used to allocate DESCRIPTION Similar to might_sleep and other annotations, this can be used in functions that might allocate, but often don't. Compiles to nothing without CON...
might_sleep(9)
NAME might_sleep - annotation for functions that can sleep SYNOPSIS might_sleep DESCRIPTION this macro will print a stack trace if it is executed in an atomic context (spinlock, irq-handler, ...). Additional sections where blocking is not allowed can be annotated with non_block_start and non_block_end pairs. This...
migrate_device_pages(9)
NAME migrate_device_pages - migrate meta-data from src page to dst page SYNOPSIS void migrate_device_pages (unsigned long *src_pfns , unsigned long *dst_pfns , unsigned long npages ); ARGUMENTS src_pfns src_pfns returned from migrate_device_range dst_pfns array of pfns allocated by the driver to migrate...
migrate_device_pfns(9)
NAME migrate_device_pfns - migrate device private pfns to normal memory. SYNOPSIS int migrate_device_pfns (unsigned long *src_pfns , unsigned long npages ); ARGUMENTS src_pfns pre-populated array of source device private pfns to migrate. npages number of pages to migrate. DESCRIPTION Similar to migra...
migrate_device_range(9)
NAME migrate_device_range - migrate device private pfns to normal memory. SYNOPSIS int migrate_device_range (unsigned long *src_pfns , unsigned long start , unsigned long npages ); ARGUMENTS src_pfns array large enough to hold migrating source device private pfns. start starting pfn in the range to m...
migrate_folio(9)
NAME migrate_folio - Simple folio migration. SYNOPSIS int migrate_folio (struct address_space *mapping , struct folio *dst , struct folio *src , enum migrate_mode mode ); ARGUMENTS mapping The address_space containing the folio. dst The folio to migrate the data to. src The folio c...
migrate_movable_ops_page(9)
NAME migrate_movable_ops_page - migrate an isolated movable_ops page SYNOPSIS int migrate_movable_ops_page (struct page *dst , struct page *src , enum migrate_mode mode ); ARGUMENTS dst The destination page. src The source page. mode The migration mode. DESCRIPTION Migrate an ...
migrate_pages(2)
NAME migrate_pages - move all pages in a process to another set of nodes LIBRARY NUMA (Non-Uniform Memory Access) policy library (libnuma, -lnuma) SYNOPSIS #include <numaif.h> long migrate_pages(int pid, unsigned long maxnode, const unsigned long *old_nodes, ...
migrate_vma_finalize(9)
NAME migrate_vma_finalize - restore CPU page table entry SYNOPSIS void migrate_vma_finalize (struct migrate_vma *migrate ); ARGUMENTS migrate migrate struct containing all migration information DESCRIPTION This replaces the special migration pte entry with either a mapping to the new page if migration was succes...
migrate_vma_insert_huge_pmd_page(9)
NAME migrate_vma_insert_huge_pmd_page - Insert a huge folio into @migrate->vma->vm_mm at @addr. folio is already allocated as a part of the migration process with large page. SYNOPSIS int migrate_vma_insert_huge_pmd_page (struct migrate_vma *migrate , unsigned long addr , struct page *page , unsigned long *src , pmd_t...
migrate_vma_pages(9)
NAME migrate_vma_pages - migrate meta-data from src page to dst page SYNOPSIS void migrate_vma_pages (struct migrate_vma *migrate ); ARGUMENTS migrate migrate struct containing all migration information DESCRIPTION This migrates struct page meta-data from source struct page to destination struct page. This effec...
migrate_vma_setup(9)
NAME migrate_vma_setup - prepare to migrate a range of memory SYNOPSIS int migrate_vma_setup (struct migrate_vma *args ); ARGUMENTS args contains the vma, start, and pfns arrays for the migration RETURN negative errno on failures, 0 when 0 or more pages were migrated without an error. DESCRIPTION Prepare to ...
migrate_vma_split_folio(9)
NAME migrate_vma_split_folio - Helper function to split a THP folio SYNOPSIS int migrate_vma_split_folio (struct folio *folio , struct page *fault_page ); ARGUMENTS folio the folio to split fault_page struct page associated with the fault if any DESCRIPTION Returns 0 on success SEE ALSO Kernel file ....
migration_guide.7ssl(7)
NAME ossl-guide-migration, migration_guide - OpenSSL Guide: Migrating from older OpenSSL versions SYNOPSIS See the individual manual pages for details. DESCRIPTION This guide details the changes required to migrate to new versions of OpenSSL. Currently this covers OpenSSL 3.0 & 3.1. For earlier versions refer to <ht...
mii_10base_t1_adv_mod_linkmode_t(9)
NAME mii_10base_t1_adv_mod_linkmode_t - SYNOPSIS void mii_10base_t1_adv_mod_linkmode_t (unsigned long *adv , u16 val ); ARGUMENTS adv linkmode advertisement settings val register value DESCRIPTION A function that translates IEEE 802.3cg-2019 45.2.7.26 "10BASE-T1 AN status" register (7.527) va...
mii_10gbt_stat_mod_linkmode_lpa_t(9)
NAME mii_10gbt_stat_mod_linkmode_lpa_t - SYNOPSIS void mii_10gbt_stat_mod_linkmode_lpa_t (unsigned long *advertising , u32 lpa ); ARGUMENTS advertising target the linkmode advertisement settings lpa value of the C45 10GBASE-T AN STATUS register DESCRIPTION A small helper function that translates C45 ...
mii_adv_mod_linkmode_adv_t(9)
NAME mii_adv_mod_linkmode_adv_t - SYNOPSIS void mii_adv_mod_linkmode_adv_t (unsigned long *advertising , u32 adv ); ARGUMENTS advertising pointer to destination link mode. adv value of the MII_ADVERTISE register DESCRIPTION A small helper function that translates MII_ADVERTISE bits to linkmode advert...
mii_adv_to_ethtool_adv_t(9)
NAME mii_adv_to_ethtool_adv_t - SYNOPSIS u32 mii_adv_to_ethtool_adv_t (u32 adv ); ARGUMENTS adv value of the MII_ADVERTISE register DESCRIPTION A small helper function that translates MII_ADVERTISE bits to ethtool advertisement settings. SEE ALSO Kernel file ./include/linux/mii.h mii_nway_result(9), mii...
mii_adv_to_ethtool_adv_x(9)
NAME mii_adv_to_ethtool_adv_x - SYNOPSIS u32 mii_adv_to_ethtool_adv_x (u32 adv ); ARGUMENTS adv value of the MII_CTRL1000 register DESCRIPTION A small helper function that translates MII_CTRL1000 bits, when in 1000Base-X mode, to ethtool advertisement settings. SEE ALSO Kernel file ./include/linux/m...
mii_adv_to_linkmode_adv_t(9)
NAME mii_adv_to_linkmode_adv_t - SYNOPSIS void mii_adv_to_linkmode_adv_t (unsigned long *advertising , u32 adv ); ARGUMENTS advertising pointer to destination link mode. adv value of the MII_ADVERTISE register DESCRIPTION A small helper function that translates MII_ADVERTISE bits to linkmode advertis...
mii_advertise_flowctrl(9)
NAME mii_advertise_flowctrl - get flow control advertisement flags SYNOPSIS u16 mii_advertise_flowctrl (int cap ); ARGUMENTS cap Flow control capabilities (FLOW_CTRL_RX, FLOW_CTRL_TX or both) SEE ALSO Kernel file ./include/linux/mii.h mii_nway_result(9), mii_duplex(9), ethtool_adv_to_mii_...
mii_bmcr_encode_fixed(9)
NAME mii_bmcr_encode_fixed - encode fixed speed/duplex settings to a BMCR value SYNOPSIS u16 mii_bmcr_encode_fixed (int speed , int duplex ); ARGUMENTS speed a SPEED_* value duplex a DUPLEX_* value DESCRIPTION Encode the speed and duplex to a BMCR value. 2500, 1000, 100 and 10 Mbps are supported. ...
mii_c73_mod_linkmode(9)
NAME mii_c73_mod_linkmode - convert a Clause 73 advertisement to linkmodes SYNOPSIS void mii_c73_mod_linkmode (unsigned long *adv , u16 *lpa ); ARGUMENTS adv linkmode advertisement setting lpa array of three u16s containing the advertisement DESCRIPTION Convert an IEEE 802.3 Clause 73 adverti...
mii_check_gmii_support(9)
NAME mii_check_gmii_support - check if the MII supports Gb interfaces SYNOPSIS int mii_check_gmii_support (struct mii_if_info *mii ); ARGUMENTS mii the MII interface SEE ALSO Kernel file ./drivers/net/mii.c mii_ethtool_gset(9), mii_ethtool_get_link_ksettings(9), mii_ethtool_sset(9), mii_ethtool_set_link_ks...
mii_check_link(9)
NAME mii_check_link - check MII link status SYNOPSIS void mii_check_link (struct mii_if_info *mii ); ARGUMENTS mii MII interface DESCRIPTION If the link status changed (previous != current), call netif_carrier_on if current link status is Up or call netif_carrier_off if current link status is Down. SEE ALSO...
mii_check_media(9)
NAME mii_check_media - check the MII interface for a carrier/speed/duplex change SYNOPSIS unsigned int mii_check_media (struct mii_if_info *mii , unsigned int ok_to_print , unsigned int init_media ); ARGUMENTS mii the MII interface ok_to_print OK to print link up/down messages init_media OK t...
mii_check_media_mode(9)
NAME mii_check_media_mode - check media state SYNOPSIS u32 mii_check_media_mode (struct mac_regs __iomem *regs ); ARGUMENTS regs velocity registers DESCRIPTION Check the current MII status and determine the link status accordingly SEE ALSO Kernel file ./drivers/net/ethernet/via/via-velocity.c mac_get_cam_...
mii_ctrl1000_to_ethtool_adv_t(9)
NAME mii_ctrl1000_to_ethtool_adv_t - SYNOPSIS u32 mii_ctrl1000_to_ethtool_adv_t (u32 adv ); ARGUMENTS adv value of the MII_CTRL1000 register DESCRIPTION A small helper function that translates MII_CTRL1000 bits, when in 1000Base-T mode, to ethtool advertisement settings. SEE ALSO Kernel file ./inclu...
mii_duplex(9)
NAME mii_duplex - SYNOPSIS unsigned int mii_duplex (unsigned int duplex_lock , unsigned int negotiated ); ARGUMENTS duplex_lock Non-zero if duplex is locked at full negotiated value of MII ANAR and'd with ANLPAR DESCRIPTION A small helper function for a common case. Returns one if the media is operating or...
mii_eee_cap1_mod_linkmode_t(9)
NAME mii_eee_cap1_mod_linkmode_t - SYNOPSIS void mii_eee_cap1_mod_linkmode_t (unsigned long *adv , u32 val ); ARGUMENTS adv target the linkmode advertisement settings val register value DESCRIPTION A function that translates value of following registers to the linkmode: IEEE 802.3-2018...
mii_eee_cap2_mod_linkmode_adv_t(9)
NAME mii_eee_cap2_mod_linkmode_adv_t - SYNOPSIS void mii_eee_cap2_mod_linkmode_adv_t (unsigned long *adv , u32 val ); ARGUMENTS adv target the linkmode advertisement settings val register value DESCRIPTION A function that translates value of following registers to the linkmode: IEEE 802.3-202...
mii_eee_cap2_mod_linkmode_sup_t(9)
NAME mii_eee_cap2_mod_linkmode_sup_t - SYNOPSIS void mii_eee_cap2_mod_linkmode_sup_t (unsigned long *adv , u32 val ); ARGUMENTS adv target the linkmode settings val register value DESCRIPTION A function that translates value of following registers to the linkmode: IEEE 802.3-2022 45.2.3.11 "E...
mii_ethtool_get_link_ksettings(9)
NAME mii_ethtool_get_link_ksettings - get settings that are specified in @cmd SYNOPSIS void mii_ethtool_get_link_ksettings (struct mii_if_info *mii , struct ethtool_link_ksettings *cmd ); ARGUMENTS mii MII interface cmd requested ethtool_link_ksettings DESCRIPTION The cmd parameter is expecte...
mii_ethtool_gset(9)
NAME mii_ethtool_gset - get settings that are specified in @ecmd SYNOPSIS void mii_ethtool_gset (struct mii_if_info *mii , struct ethtool_cmd *ecmd ); ARGUMENTS mii MII interface ecmd requested ethtool_cmd DESCRIPTION The ecmd parameter is expected to have been cleared before calling mii_ethto...
mii_ethtool_set_link_ksettings(9)
NAME mii_ethtool_set_link_ksettings - set settings that are specified in @cmd SYNOPSIS int mii_ethtool_set_link_ksettings (struct mii_if_info *mii , const struct ethtool_link_ksettings *cmd ); ARGUMENTS mii MII interfaces cmd requested ethtool_link_ksettings DESCRIPTION Returns 0 for success,...
mii_ethtool_sset(9)
NAME mii_ethtool_sset - set settings that are specified in @ecmd SYNOPSIS int mii_ethtool_sset (struct mii_if_info *mii , struct ethtool_cmd *ecmd ); ARGUMENTS mii MII interface ecmd requested ethtool_cmd DESCRIPTION Returns 0 for success, negative on error. SEE ALSO Kernel file ./drivers/n...
mii_init(9)
NAME mii_init - set up MII SYNOPSIS void mii_init (struct velocity_info *vptr , u32 mii_status ); ARGUMENTS vptr velocity adapter mii_status links tatus DESCRIPTION Set up the PHY for the current link state. SEE ALSO Kernel file ./drivers/net/ethernet/via/via-velocity.c mac_get_cam_mask(9), mac_...
mii_ioctl(9)
NAME mii_ioctl - process MII i/o control command SYNOPSIS int mii_ioctl (struct net_device *net_dev , struct ifreq *rq , int cmd ); ARGUMENTS net_dev the net device to command for rq parameter for command cmd the i/o command DESCRIPTION Process MII command like read/write MII reg...
mii_link_ok(9)
NAME mii_link_ok - is link status up/ok SYNOPSIS int mii_link_ok (struct mii_if_info *mii ); ARGUMENTS mii the MII interface DESCRIPTION Returns 1 if the MII reports link status up/ok, 0 otherwise. SEE ALSO Kernel file ./drivers/net/mii.c mii_ethtool_gset(9), mii_ethtool_get_link_ksettings(9), mii_et...
mii_lpa_mod_linkmode_lpa_t(9)
NAME mii_lpa_mod_linkmode_lpa_t - SYNOPSIS void mii_lpa_mod_linkmode_lpa_t (unsigned long *lp_advertising , u32 lpa ); ARGUMENTS lp_advertising -- undescribed -- lpa -- undescribed -- DESCRIPTION A small helper function that translates MII_LPA bits, when in 1000Base-T mode, to linkmode LP advertiseme...
mii_lpa_mod_linkmode_x(9)
NAME mii_lpa_mod_linkmode_x - decode the link partner's config_reg to linkmodes SYNOPSIS void mii_lpa_mod_linkmode_x (unsigned long *linkmodes , u16 lpa , int fd_bit ); ARGUMENTS linkmodes link modes array lpa config_reg word from link partner fd_bit link mode for 1000XFULL bit SEE ALS...
mii_lpa_to_ethtool_lpa_t(9)
NAME mii_lpa_to_ethtool_lpa_t - SYNOPSIS u32 mii_lpa_to_ethtool_lpa_t (u32 lpa ); ARGUMENTS lpa -- undescribed -- DESCRIPTION A small helper function that translates MII_LPA bits, when in 1000Base-T mode, to ethtool LP advertisement settings. SEE ALSO Kernel file ./include/linux/mii.h mii_nway_r...
mii_lpa_to_linkmode_lpa_t(9)
NAME mii_lpa_to_linkmode_lpa_t - SYNOPSIS void mii_lpa_to_linkmode_lpa_t (unsigned long *lp_advertising , u32 lpa ); ARGUMENTS lp_advertising -- undescribed -- lpa -- undescribed -- DESCRIPTION A small helper function that translates MII_LPA bits, when in 1000Base-T mode, to linkmode LP advertisement...
mii_nway_restart(9)
NAME mii_nway_restart - restart NWay (autonegotiation) for this interface SYNOPSIS int mii_nway_restart (struct mii_if_info *mii ); ARGUMENTS mii the MII interface DESCRIPTION Returns 0 on success, negative on error. SEE ALSO Kernel file ./drivers/net/mii.c mii_ethtool_gset(9), mii_ethtool_get_link_ksetti...
mii_nway_result(9)
NAME mii_nway_result - SYNOPSIS unsigned int mii_nway_result (unsigned int negotiated ); ARGUMENTS negotiated value of MII ANAR and'd with ANLPAR DESCRIPTION Given a set of MII abilities, check each bit and returns the currently supported media, in the priority order defined by IEEE 802.3u. We use LPA_xxx const...
mii_resolve_flowctrl_fdx(9)
NAME mii_resolve_flowctrl_fdx - SYNOPSIS u8 mii_resolve_flowctrl_fdx (u16 lcladv , u16 rmtadv ); ARGUMENTS lcladv value of MII ADVERTISE register rmtadv value of MII LPA register DESCRIPTION Resolve full duplex flow control as per IEEE 802.3-2005 table 28B-3 SEE ALSO Kernel file ./include/...
mii_set_auto_on(9)
NAME mii_set_auto_on - autonegotiate on SYNOPSIS void mii_set_auto_on (struct velocity_info *vptr ); ARGUMENTS vptr velocity DESCRIPTION Enable autonegotation on this interface SEE ALSO Kernel file ./drivers/net/ethernet/via/via-velocity.c mac_get_cam_mask(9), mac_set_cam_mask(9), mac_set_cam(9), mac_w...
mii_stat1000_mod_linkmode_lpa_t(9)
NAME mii_stat1000_mod_linkmode_lpa_t - SYNOPSIS void mii_stat1000_mod_linkmode_lpa_t (unsigned long *advertising , u32 lpa ); ARGUMENTS advertising target the linkmode advertisement settings lpa -- undescribed -- DESCRIPTION A small helper function that translates MII_STAT1000 bits, when in 1000Base-...
mii_stat1000_to_ethtool_lpa_t(9)
NAME mii_stat1000_to_ethtool_lpa_t - SYNOPSIS u32 mii_stat1000_to_ethtool_lpa_t (u32 lpa ); ARGUMENTS lpa -- undescribed -- DESCRIPTION A small helper function that translates MII_STAT1000 bits, when in 1000Base-T mode, to ethtool advertisement settings. SEE ALSO Kernel file ./include/linux/mii.h ...
mii_t1_adv_l_mod_linkmode_t(9)
NAME mii_t1_adv_l_mod_linkmode_t - SYNOPSIS void mii_t1_adv_l_mod_linkmode_t (unsigned long *advertising , u32 lpa ); ARGUMENTS advertising target the linkmode advertisement settings lpa value of the BASE-T1 Autonegotiation Advertisement [15:0] Register DESCRIPTION A small helper function that transl...
mii_t1_adv_m_mod_linkmode_t(9)
NAME mii_t1_adv_m_mod_linkmode_t - SYNOPSIS void mii_t1_adv_m_mod_linkmode_t (unsigned long *advertising , u32 lpa ); ARGUMENTS advertising target the linkmode advertisement settings lpa value of the BASE-T1 Autonegotiation Advertisement [31:16] Register DESCRIPTION A small helper function that trans...
mimd_to_kioc(9)
NAME mimd_to_kioc - Converter from old to new ioctl format SYNOPSIS int mimd_to_kioc (mimd_t __user *umimd , mraid_mmadp_t *adp , uioc_t *kioc ); ARGUMENTS umimd user space old MIMD IOCTL adp adapter softstate kioc kernel space new format IOCTL DESCRIPTION Routine to convert MIMD...
min(9)
NAME min - return minimum of two values of the same or compatible types SYNOPSIS min (x , y ); ARGUMENTS x first value y second value SEE ALSO Kernel file ./include/linux/minmax.h max(9), umin(9), umax(9), min3(9), max3(9), min_t(9), max_t(9), min_not_zero(9), clamp(9), clamp_t(9), clamp_...
min3(9)
NAME min3 - return minimum of three values SYNOPSIS min3 (x , y , z ); ARGUMENTS x first value y second value z third value SEE ALSO Kernel file ./include/linux/minmax.h min(9), max(9), umin(9), umax(9), max3(9), min_t(9), max_t(9), min_not_zero(9), clamp(9), clamp_t(9),...
min_array(9)
NAME min_array - return minimum of values present in an array SYNOPSIS min_array (array , len ); ARGUMENTS array array len array length DESCRIPTION Note that len must not be zero (empty array). SEE ALSO Kernel file ./include/linux/minmax.h min(9), max(9), umin(9), umax(9), min3(9), max3(9), mi...
min_chan(9)
NAME min_chan - finds the channel with min count and in the same NUMA-node as the CPU SYNOPSIS struct dma_chan * min_chan (enum dma_transaction_type cap , int cpu ); ARGUMENTS cap capability to match cpu CPU index which the channel should be close to DESCRIPTION If some channels are close to ...
min_not_zero(9)
NAME min_not_zero - return the minimum that is _not_ zero, unless both are zero SYNOPSIS min_not_zero (x , y ); ARGUMENTS x value1 y value2 SEE ALSO Kernel file ./include/linux/minmax.h min(9), max(9), umin(9), umax(9), min3(9), max3(9), min_t(9), max_t(9), clamp(9), clamp_t(9), clamp_val...
min_order_for_split(9)
NAME min_order_for_split - get the minimum order @folio can be split to SYNOPSIS unsigned int min_order_for_split (struct folio *folio ); ARGUMENTS folio folio to split DESCRIPTION min_order_for_split tells the minimum order folio can be split to. If a file-backed folio is truncated, 0 will be returned. Any s...
min_t(9)
NAME min_t - return minimum of two values, using the specified type SYNOPSIS min_t (type , x , y ); ARGUMENTS type data type to use x first value y second value SEE ALSO Kernel file ./include/linux/minmax.h min(9), max(9), umin(9), umax(9), min3(9), max3(9), max_t(9), min_n...
mincore(2)
NAME mincore - determine whether pages are resident in memory LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/mman.h> int mincore(size_t length; void addr[length], size_t length, unsigned char *vec); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ...
minfo(1)
Name minfo - print the parameters of a MSDOS filesystem Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The minfo command prints the parameters of a MS-DOS file syst...
minimum_image_size(9)
NAME minimum_image_size - Estimate the minimum acceptable size of an image. SYNOPSIS unsigned long minimum_image_size (unsigned long saveable ); ARGUMENTS saveable Number of saveable pages in the system. DESCRIPTION We want to avoid attempting to free too much memory too hard, so estimate the minimum accept...
minor(3)
NAME makedev, major, minor - manage a device number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/sysmacros.h> dev_t makedev(unsigned int maj, unsigned int min); unsigned int major(dev_t dev); unsigned int minor(dev_t dev); DESCRIPTION A device ID consists of two parts: a major...
mipi_dbi_buf_copy(9)
NAME mipi_dbi_buf_copy - Copy a framebuffer, transforming it if necessary SYNOPSIS int mipi_dbi_buf_copy (void *dst , struct iosys_map *src , struct drm_framebuffer *fb , struct drm_rect *clip , bool swap , struct drm_format_conv_state *fmtcnv_state ); ARGUMENTS dst The destination buffer src ...
mipi_dbi_command(9)
NAME mipi_dbi_command - MIPI DCS command with optional parameter(s) SYNOPSIS mipi_dbi_command (dbi , cmd , seq... ); ARGUMENTS dbi MIPI DBI structure cmd Command seq Optional parameter(s) DESCRIPTION Send MIPI DCS command to the controller. Use mipi_dbi_command_read for get/re...
mipi_dbi_command_buf(9)
NAME mipi_dbi_command_buf - MIPI DCS command with parameter(s) in an array SYNOPSIS int mipi_dbi_command_buf (struct mipi_dbi *dbi , u8 cmd , u8 *data , size_t len ); ARGUMENTS dbi MIPI DBI structure cmd Command data Parameter buffer len Buffer length RETURN Zer...
mipi_dbi_command_read(9)
NAME mipi_dbi_command_read - MIPI DCS read command SYNOPSIS int mipi_dbi_command_read (struct mipi_dbi *dbi , u8 cmd , u8 *val ); ARGUMENTS dbi MIPI DBI structure cmd Command val Value read DESCRIPTION Send MIPI DCS read command to the controller. RETURN Zero on success, nega...
mipi_dbi_debugfs_init(9)
NAME mipi_dbi_debugfs_init - Create debugfs entries SYNOPSIS void mipi_dbi_debugfs_init (struct drm_minor *minor ); ARGUMENTS minor DRM minor DESCRIPTION This function creates a 'command' debugfs file for sending commands to the controller or getting the read command values. Drivers can use this as their drm_...
mipi_dbi_dev_init(9)
NAME mipi_dbi_dev_init - MIPI DBI device initialization SYNOPSIS int mipi_dbi_dev_init (struct mipi_dbi_dev *dbidev , const struct drm_simple_display_pipe_funcs *funcs , const struct drm_display_mode *mode , unsigned int rotation ); ARGUMENTS dbidev MIPI DBI device structure to initialize funcs Dis...
mipi_dbi_dev_init_with_formats(9)
NAME mipi_dbi_dev_init_with_formats - MIPI DBI device initialization with custom formats SYNOPSIS int mipi_dbi_dev_init_with_formats (struct mipi_dbi_dev *dbidev , const struct drm_simple_display_pipe_funcs *funcs , const uint32_t *formats , unsigned int format_count , const struct drm_display_mode *mode , unsigned...
mipi_dbi_display_is_on(9)
NAME mipi_dbi_display_is_on - Check if display is on SYNOPSIS bool mipi_dbi_display_is_on (struct mipi_dbi *dbi ); ARGUMENTS dbi MIPI DBI structure DESCRIPTION This function checks the Power Mode register (if readable) to see if display output is turned on. This can be used to see if the bootloader has alrea...
mipi_dbi_enable_flush(9)
NAME mipi_dbi_enable_flush - MIPI DBI enable helper SYNOPSIS void mipi_dbi_enable_flush (struct mipi_dbi_dev *dbidev , struct drm_crtc_state *crtc_state , struct drm_plane_state *plane_state ); ARGUMENTS dbidev MIPI DBI device structure crtc_state CRTC state plane_state Plane state DESCRIPTION ...
mipi_dbi_hw_reset(9)
NAME mipi_dbi_hw_reset - Hardware reset of controller SYNOPSIS void mipi_dbi_hw_reset (struct mipi_dbi *dbi ); ARGUMENTS dbi MIPI DBI structure DESCRIPTION Reset controller if the mipi_dbi->reset gpio is set. SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dbi.c Kernel API(9), mipi_dbi_command_read(9),...
mipi_dbi_pipe_begin_fb_access(9)
NAME mipi_dbi_pipe_begin_fb_access - MIPI DBI pipe begin-access helper SYNOPSIS int mipi_dbi_pipe_begin_fb_access (struct drm_simple_display_pipe *pipe , struct drm_plane_state *plane_state ); ARGUMENTS pipe Display pipe plane_state Plane state DESCRIPTION This function implements struct drm_simple_di...
mipi_dbi_pipe_destroy_plane_state(9)
NAME mipi_dbi_pipe_destroy_plane_state - cleans up MIPI DBI plane state SYNOPSIS void mipi_dbi_pipe_destroy_plane_state (struct drm_simple_display_pipe *pipe , struct drm_plane_state *plane_state ); ARGUMENTS pipe Display pipe plane_state Plane state DESCRIPTION This function implements struct drm_sim...
mipi_dbi_pipe_disable(9)
NAME mipi_dbi_pipe_disable - MIPI DBI pipe disable helper SYNOPSIS void mipi_dbi_pipe_disable (struct drm_simple_display_pipe *pipe ); ARGUMENTS pipe Display pipe DESCRIPTION This function disables backlight if present, if not the display memory is blanked. The regulator is disabled if in use. Drivers can use...
mipi_dbi_pipe_duplicate_plane_state(9)
NAME mipi_dbi_pipe_duplicate_plane_state - duplicates MIPI DBI plane state SYNOPSIS struct drm_plane_state * mipi_dbi_pipe_duplicate_plane_state (struct drm_simple_display_pipe *pipe ); ARGUMENTS pipe Display pipe DESCRIPTION This function implements struct drm_simple_display_funcs.duplicate_plane_state for M...
mipi_dbi_pipe_end_fb_access(9)
NAME mipi_dbi_pipe_end_fb_access - MIPI DBI pipe end-access helper SYNOPSIS void mipi_dbi_pipe_end_fb_access (struct drm_simple_display_pipe *pipe , struct drm_plane_state *plane_state ); ARGUMENTS pipe Display pipe plane_state Plane state DESCRIPTION This function implements struct drm_simple_display...
mipi_dbi_pipe_mode_valid(9)
NAME mipi_dbi_pipe_mode_valid - MIPI DBI mode-valid helper SYNOPSIS enum drm_mode_status mipi_dbi_pipe_mode_valid (struct drm_simple_display_pipe *pipe , const struct drm_display_mode *mode ); ARGUMENTS pipe Simple display pipe mode The mode to test DESCRIPTION This function validates a given d...
mipi_dbi_pipe_reset_plane(9)
NAME mipi_dbi_pipe_reset_plane - MIPI DBI plane-reset helper SYNOPSIS void mipi_dbi_pipe_reset_plane (struct drm_simple_display_pipe *pipe ); ARGUMENTS pipe Display pipe DESCRIPTION This function implements struct drm_simple_display_funcs.reset_plane for MIPI DBI planes. SEE ALSO Kernel file ./drivers/gpu/...
mipi_dbi_pipe_update(9)
NAME mipi_dbi_pipe_update - Display pipe update helper SYNOPSIS void mipi_dbi_pipe_update (struct drm_simple_display_pipe *pipe , struct drm_plane_state *old_state ); ARGUMENTS pipe Simple display pipe old_state Old plane state DESCRIPTION This function handles framebuffer flushing and vblank events...
mipi_dbi_poweron_conditional_reset(9)
NAME mipi_dbi_poweron_conditional_reset - MIPI DBI poweron and conditional reset SYNOPSIS int mipi_dbi_poweron_conditional_reset (struct mipi_dbi_dev *dbidev ); ARGUMENTS dbidev MIPI DBI device structure DESCRIPTION This function enables the regulator if used and if the display is off, it does a hardware and so...
mipi_dbi_poweron_reset(9)
NAME mipi_dbi_poweron_reset - MIPI DBI poweron and reset SYNOPSIS int mipi_dbi_poweron_reset (struct mipi_dbi_dev *dbidev ); ARGUMENTS dbidev MIPI DBI device structure DESCRIPTION This function enables the regulator if used and does a hardware and software reset. RETURN Zero on success, or a negative error cod...
mipi_dbi_spi_cmd_max_speed(9)
NAME mipi_dbi_spi_cmd_max_speed - get the maximum SPI bus speed SYNOPSIS u32 mipi_dbi_spi_cmd_max_speed (struct spi_device *spi , size_t len ); ARGUMENTS spi SPI device len The transfer buffer length. DESCRIPTION Many controllers have a max speed of 10MHz, but can be pushed way beyond that. I...
mipi_dbi_spi_init(9)
NAME mipi_dbi_spi_init - Initialize MIPI DBI SPI interface SYNOPSIS int mipi_dbi_spi_init (struct spi_device *spi , struct mipi_dbi *dbi , struct gpio_desc *dc ); ARGUMENTS spi SPI device dbi MIPI DBI structure to initialize dc D/C gpio (optional) DESCRIPTION This function se...
mipi_dbi_spi_transfer(9)
NAME mipi_dbi_spi_transfer - SPI transfer helper SYNOPSIS int mipi_dbi_spi_transfer (struct spi_device *spi , u32 speed_hz , u8 bpw , const void *buf , size_t len ); ARGUMENTS spi SPI device speed_hz Override speed (optional) bpw Bits per word buf Buffer to transfer ...
mipi_dsi_attach(9)
NAME mipi_dsi_attach - attach a DSI device to its DSI host SYNOPSIS int mipi_dsi_attach (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c Kernel API(9), of_find_mipi_dsi_device_by_node(9), mipi_dsi_device_register_full(9), m...
mipi_dsi_compression_mode(9)
NAME mipi_dsi_compression_mode - enable/disable DSC on the peripheral SYNOPSIS int mipi_dsi_compression_mode (struct mipi_dsi_device *dsi , bool enable ); ARGUMENTS dsi DSI peripheral device enable Whether to enable or disable the DSC DESCRIPTION Enable or disable Display Stream Compression on t...
mipi_dsi_compression_mode_ext(9)
NAME mipi_dsi_compression_mode_ext - enable/disable DSC on the peripheral SYNOPSIS int mipi_dsi_compression_mode_ext (struct mipi_dsi_device *dsi , bool enable , enum mipi_dsi_compression_algo algo , unsigned int pps_selector ); ARGUMENTS dsi DSI peripheral device enable Whether to enable or disa...
mipi_dsi_compression_mode_ext_multi(9)
NAME mipi_dsi_compression_mode_ext_multi - enable/disable DSC on the peripheral SYNOPSIS void mipi_dsi_compression_mode_ext_multi (struct mipi_dsi_multi_context *ctx , bool enable , enum mipi_dsi_compression_algo algo , unsigned int pps_selector ); ARGUMENTS ctx Context for multiple DSI transactions e...
mipi_dsi_compression_mode_multi(9)
NAME mipi_dsi_compression_mode_multi - enable/disable DSC on the peripheral SYNOPSIS void mipi_dsi_compression_mode_multi (struct mipi_dsi_multi_context *ctx , bool enable ); ARGUMENTS ctx Context for multiple DSI transactions enable Whether to enable or disable the DSC DESCRIPTION Enable or dis...
mipi_dsi_create_packet(9)
NAME mipi_dsi_create_packet - create a packet from a message according to the DSI protocol SYNOPSIS int mipi_dsi_create_packet (struct mipi_dsi_packet *packet , const struct mipi_dsi_msg *msg ); ARGUMENTS packet pointer to a DSI packet structure msg message to translate into a packet RETURN 0 on...
mipi_dsi_dcs_enter_sleep_mode(9)
NAME mipi_dsi_dcs_enter_sleep_mode - disable all unnecessary blocks inside the display module except interface communication SYNOPSIS int mipi_dsi_dcs_enter_sleep_mode (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_enter_sleep_mod...
mipi_dsi_dcs_enter_sleep_mode_multi(9)
NAME mipi_dsi_dcs_enter_sleep_mode_multi - send DCS ENTER_SLEEP_MODE packet SYNOPSIS void mipi_dsi_dcs_enter_sleep_mode_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_enter_sleep_mode but deals with errors in a way that makes it ...
mipi_dsi_dcs_exit_sleep_mode(9)
NAME mipi_dsi_dcs_exit_sleep_mode - enable all blocks inside the display module SYNOPSIS int mipi_dsi_dcs_exit_sleep_mode (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_exit_sleep_mode_multi instead. RETURN 0 on success or a nega...
mipi_dsi_dcs_exit_sleep_mode_multi(9)
NAME mipi_dsi_dcs_exit_sleep_mode_multi - send DCS EXIT_SLEEP_MODE packet SYNOPSIS void mipi_dsi_dcs_exit_sleep_mode_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_exit_sleep_mode but deals with errors in a way that makes it conv...
mipi_dsi_dcs_get_display_brightness(9)
NAME mipi_dsi_dcs_get_display_brightness - gets the current brightness value of the display SYNOPSIS int mipi_dsi_dcs_get_display_brightness (struct mipi_dsi_device *dsi , u16 *brightness ); ARGUMENTS dsi DSI peripheral device brightness brightness value RETURN 0 on success or a negative error code ...
mipi_dsi_dcs_get_display_brightness_large(9)
NAME mipi_dsi_dcs_get_display_brightness_large - gets the current 16-bit brightness value of the display SYNOPSIS int mipi_dsi_dcs_get_display_brightness_large (struct mipi_dsi_device *dsi , u16 *brightness ); ARGUMENTS dsi DSI peripheral device brightness brightness value RETURN 0 on success or a n...
mipi_dsi_dcs_get_pixel_format(9)
NAME mipi_dsi_dcs_get_pixel_format - gets the pixel format for the RGB image data used by the interface SYNOPSIS int mipi_dsi_dcs_get_pixel_format (struct mipi_dsi_device *dsi , u8 *format ); ARGUMENTS dsi DSI peripheral device format return location for the pixel format RETURN 0 on success or a...