id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
msm_dp_link_is_video_audio_test_requested(9) | NAME msm_dp_link_is_video_audio_test_requested - checks for audio/video link request
SYNOPSIS bool msm_dp_link_is_video_audio_test_requested (u32 link );
ARGUMENTS link link requested by the sink
DESCRIPTION Returns true if the requested link is a permitted audio/video link.
SEE ALSO Kernel file ./driv... |
msm_dp_link_parse_link_training_params(9) | NAME msm_dp_link_parse_link_training_params - parses link training parameters from DPCD
SYNOPSIS int msm_dp_link_parse_link_training_params (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION Returns 0 if it successfully parses the link rate (Byte 0x219) and lane count (By... |
msm_dp_link_parse_phy_test_params(9) | NAME msm_dp_link_parse_phy_test_params - parses the phy link parameters
SYNOPSIS int msm_dp_link_parse_phy_test_params (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION Parses the DPCD (Byte 0x248) for the DP PHY link pattern that is being requested.
SEE ALSO Kernel f... |
msm_dp_link_parse_request(9) | NAME msm_dp_link_parse_request - parses link request parameters from sink
SYNOPSIS int msm_dp_link_parse_request (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION Parses the DPCD to check if an automated link is requested (Byte 0x201), and what type of link automation is... |
msm_dp_link_parse_video_pattern_params(9) | NAME msm_dp_link_parse_video_pattern_params - parses video pattern parameters from DPCD
SYNOPSIS int msm_dp_link_parse_video_pattern_params (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION Returns 0 if it successfully parses the video link pattern and the link bit depth... |
msm_dp_link_process_ds_port_status_change(9) | NAME msm_dp_link_process_ds_port_status_change - process port status changes
SYNOPSIS int msm_dp_link_process_ds_port_status_change (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION This function will handle downstream port updates that are initiated by the sink. I... |
msm_dp_link_process_link_status_update(9) | NAME msm_dp_link_process_link_status_update - processes link status updates
SYNOPSIS int msm_dp_link_process_link_status_update (struct msm_dp_link_private *link );
ARGUMENTS link Display Port link module data
DESCRIPTION This function will check for changes in the link status, e.g. clock recovery done on ... |
msm_dp_link_process_link_training_request(9) | NAME msm_dp_link_process_link_training_request - processes new training requests
SYNOPSIS int msm_dp_link_process_link_training_request (struct msm_dp_link_private *link );
ARGUMENTS link Display Port link data
DESCRIPTION This function will handle new link training requests that are initiated by the sink. In... |
msm_dp_link_process_phy_test_pattern_request(9) | NAME msm_dp_link_process_phy_test_pattern_request - process new phy link requests
SYNOPSIS int msm_dp_link_process_phy_test_pattern_request (struct msm_dp_link_private *link );
ARGUMENTS link Display Port Driver data
DESCRIPTION This function will handle new phy link pattern requests that are initiated by the... |
msm_dp_link_process_request(9) | NAME msm_dp_link_process_request - handle HPD IRQ transition to HIGH
SYNOPSIS int msm_dp_link_process_request (struct msm_dp_link *msm_dp_link );
ARGUMENTS msm_dp_link pointer to link module data
DESCRIPTION This function will handle the HPD IRQ state transitions from LOW to HIGH (including cases when there are back... |
msm_dsc_get_bytes_per_line(9) | NAME msm_dsc_get_bytes_per_line - calculate bytes per line
SYNOPSIS u32 msm_dsc_get_bytes_per_line (const struct drm_dsc_config *dsc );
ARGUMENTS dsc Pointer to drm dsc config struct
RETURN Integer value representing bytes per line. DSI and DP need to perform further calculations to turn this into pclk_per_i... |
msm_edp_bridge_mode_valid(9) | NAME msm_edp_bridge_mode_valid - callback to determine if specified mode is valid
SYNOPSIS enum drm_mode_status msm_edp_bridge_mode_valid (struct drm_bridge *bridge , const struct drm_display_info *info , const struct drm_display_mode *mode );
ARGUMENTS bridge Pointer to drm bridge structure
info ... |
msm_gem_lock_vm_and_obj(9) | NAME msm_gem_lock_vm_and_obj - Helper to lock an obj + VM
SYNOPSIS int msm_gem_lock_vm_and_obj (struct drm_exec *exec , struct drm_gem_object *obj , struct drm_gpuvm *vm );
ARGUMENTS exec the exec context helper which will be initalized
obj the GEM object to lock
vm the VM to l... |
msm_gem_shrinker_cleanup(9) | NAME msm_gem_shrinker_cleanup - Clean up msm shrinker
SYNOPSIS void msm_gem_shrinker_cleanup (struct drm_device *dev );
ARGUMENTS dev drm device
DESCRIPTION This function unregisters the msm shrinker.
SEE ALSO Kernel file ./drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_init(9)
April 2026 ... |
msm_gem_shrinker_init(9) | NAME msm_gem_shrinker_init - Initialize msm shrinker
SYNOPSIS int msm_gem_shrinker_init (struct drm_device *dev );
ARGUMENTS dev drm device
DESCRIPTION This function registers and sets up the msm shrinker.
SEE ALSO Kernel file ./drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_cleanup(9)
April 2026 ... |
msm_gem_vm_close(9) | NAME msm_gem_vm_close - Close a VM
SYNOPSIS void msm_gem_vm_close (struct drm_gpuvm *gpuvm );
ARGUMENTS gpuvm The VM to close
DESCRIPTION Called when the drm device file is closed, to tear down VM related resources (which will drop refcounts to GEM objects that were still mapped into the VM at the time).
SEE ... |
msm_gem_vm_create(9) | NAME msm_gem_vm_create - Create and initialize a &msm_gem_vm
SYNOPSIS struct drm_gpuvm * msm_gem_vm_create (struct drm_device *drm , struct msm_mmu *mmu , const char *name , u64 va_start , u64 va_size , bool managed );
ARGUMENTS drm the drm device
mmu the backing MMU objects handling mapping/u... |
msm_gem_vm_unusable(9) | NAME msm_gem_vm_unusable - Mark a VM as unusable
SYNOPSIS void msm_gem_vm_unusable (struct drm_gpuvm *gpuvm );
ARGUMENTS gpuvm the VM to mark unusable
SEE ALSO Kernel file ./drivers/gpu/drm/msm/msm_gem_vma.c struct msm_vm_map_op(9), struct msm_vm_unmap_op(9), struct msm_vm_op(9), struct msm_vm_bind_job(9), msm... |
msm_gpio_update_dual_edge_parent(9) | NAME msm_gpio_update_dual_edge_parent - Prime next edge for IRQs handled by parent.
SYNOPSIS void msm_gpio_update_dual_edge_parent (struct irq_data *d );
ARGUMENTS d The irq dta.
DESCRIPTION This is much like msm_gpio_update_dual_edge_pos but for IRQs that are normally handled by the parent irqchip. The l... |
msm_gpu_convert_priority(9) | NAME msm_gpu_convert_priority - Map userspace priority to ring # and sched priority
SYNOPSIS int msm_gpu_convert_priority (struct msm_gpu *gpu , int prio , unsigned *ring_nr , enum drm_sched_priority *sched_prio );
ARGUMENTS gpu the gpu instance
prio the userspace priority level
ring_nr... |
msm_iommu_pagetable_alloc_pt(9) | NAME msm_iommu_pagetable_alloc_pt - Custom page table allocator
SYNOPSIS void * msm_iommu_pagetable_alloc_pt (void *cookie , size_t size , gfp_t gfp );
ARGUMENTS cookie Cookie passed at page table allocation time.
size Size of the page table. This size should be fixed, and determined at creation t... |
msm_iommu_pagetable_free_pt(9) | NAME msm_iommu_pagetable_free_pt - Custom page table free function
SYNOPSIS void msm_iommu_pagetable_free_pt (void *cookie , void *data , size_t size );
ARGUMENTS cookie Cookie passed at page table allocation time.
data Page table to free.
size Size of the page table. This size shou... |
msql2mysql(1) | NAME msql2mysql - convert mSQL programs for use with MariaDB
SYNOPSIS
msql2mysqlC-source-file ...
DESCRIPTION Initially, the MySQL C API was developed to be very similar to that for the mSQL database system. Because of this, mSQL programs often can be converted relatively easily for use with MariaDB by changi... |
msr(4) | NAME msr - x86 CPU MSR access device
DESCRIPTION /dev/cpu/CPUNUM/msr provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU. CPUNUM is the number of the CPU to access as listed in /proc/cpuinfo.
The register access is done by opening the file and seeking to the MSR number ... |
msr_clear_bit(9) | NAME msr_clear_bit - Clear @bit in a MSR @msr.
SYNOPSIS int msr_clear_bit (u32 msr , u8 bit );
ARGUMENTS msr MSR to write
bit bit number to clear
RETURN * < 0: An error was encountered. * = 0: Bit was already cleared. * > 0: Hardware accepted the MSR write.
SEE ALSO Kernel file ./arch/x86/... |
msr_read(9) | NAME msr_read - Read an MSR with error handling
SYNOPSIS int msr_read (u32 msr , struct msr *m );
ARGUMENTS msr MSR to read
m value to read into
DESCRIPTION It returns read data only on success, otherwise it doesn't change the output argument m.
RETURN 0 for success, otherwise an error cod... |
msr_set_bit(9) | NAME msr_set_bit - Set @bit in a MSR @msr.
SYNOPSIS int msr_set_bit (u32 msr , u8 bit );
ARGUMENTS msr MSR to write
bit bit number to set
RETURN * < 0: An error was encountered. * = 0: Bit was already set. * > 0: Hardware accepted the MSR write.
SEE ALSO Kernel file ./arch/x86/lib/msr.c ms... |
msr_write(9) | NAME msr_write - Write an MSR with error handling
SYNOPSIS int msr_write (u32 msr , struct msr *m );
ARGUMENTS msr MSR to write
m value to write
RETURN 0 for success, otherwise an error code
SEE ALSO Kernel file ./arch/x86/lib/msr.c msr_read(9), msr_set_bit(9), msr_clear_bit(9)
April 2026... |
msub_func(9) | NAME msub_func - Emulate a MSUB instruction
SYNOPSIS int msub_func (struct pt_regs *regs , u32 ir );
ARGUMENTS regs Process register set
ir Instruction
DESCRIPTION Returns 0 since it always succeeds.
SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9), ... |
msubu_func(9) | NAME msubu_func - Emulate a MSUBU instruction
SYNOPSIS int msubu_func (struct pt_regs *regs , u32 ir );
ARGUMENTS regs Process register set
ir Instruction
DESCRIPTION Returns 0 since it always succeeds.
SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9... |
msync(2) | NAME msync - synchronize a file with a memory map
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/mman.h>
int msync(size_t length;
void addr[length], size_t length, int flags);
DESCRIPTION msync() flushes changes made to the in-core copy of a file that was mapped into memory u... |
msync(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 msync — synchronize memory with physical storage
SYNOPSIS #inc... |
mt2063_lockStatus(9) | NAME mt2063_lockStatus - Checks to see if LO1 and LO2 are locked
SYNOPSIS int mt2063_lockStatus (struct mt2063_state *state );
ARGUMENTS state struct mt2063_state pointer
DESCRIPTION This function returns 0, if no lock, 1 if locked and a value < 1 if error
SEE ALSO Kernel file ./drivers/media/tuners/mt2063.c ... |
mt6357_get_buck_voltage_sel(9) | NAME mt6357_get_buck_voltage_sel - get_voltage_sel for regmap users
SYNOPSIS int mt6357_get_buck_voltage_sel (struct regulator_dev *rdev );
ARGUMENTS rdev regulator to operate on
DESCRIPTION Regulators that use regmap for their register I/O can set the da_vsel_reg and da_vsel_mask fields in the info structure... |
mt6359_auxadc_sample_adc_val(9) | NAME mt6359_auxadc_sample_adc_val - Start ADC channel sampling and read value
SYNOPSIS int mt6359_auxadc_sample_adc_val (struct mt6359_auxadc *adc_dev , const struct iio_chan_spec *chan , u32 *out );
ARGUMENTS adc_dev Main driver structure
chan IIO Channel spec for requested ADC
out ... |
mt7601u_bbp_r47_get(9) | NAME mt7601u_bbp_r47_get - read value through BBP R47/R49 pair
SYNOPSIS u8 mt7601u_bbp_r47_get (struct mt7601u_dev *dev , u8 reg , u8 flag );
ARGUMENTS dev pointer to adapter structure
reg value of BBP R47 before the operation
flag one of the BBP_R47_F_* flags
DESCRIPTION Conve... |
mt7601u_set_rx_path(9) | NAME mt7601u_set_rx_path - set rx path in BBP
SYNOPSIS void mt7601u_set_rx_path (struct mt7601u_dev *dev , u8 path );
ARGUMENTS dev pointer to adapter structure
path rx path to set values are 0-based
SEE ALSO Kernel file ./drivers/net/wireless/mediatek/mt7601u/phy.c mt7601u_bbp_r47_get(9), mt7... |
mt7601u_set_tx_dac(9) | NAME mt7601u_set_tx_dac - set which tx DAC to use
SYNOPSIS void mt7601u_set_tx_dac (struct mt7601u_dev *dev , u8 dac );
ARGUMENTS dev pointer to adapter structure
dac DAC index, values are 0-based
SEE ALSO Kernel file ./drivers/net/wireless/mediatek/mt7601u/phy.c mt7601u_bbp_r47_get(9), mt760... |
mt8183_dai_i2s_set_share(9) | NAME mt8183_dai_i2s_set_share - Set up I2S ports to share a single clock.
SYNOPSIS int mt8183_dai_i2s_set_share (struct mtk_base_afe *afe , const char *main_i2s_name , const char *secondary_i2s_name );
ARGUMENTS afe Pointer to struct mtk_base_afe
main_i2s_name
The name of the I2S po... |
mt8186_dai_i2s_set_share(9) | NAME mt8186_dai_i2s_set_share - Set up I2S ports to share a single clock.
SYNOPSIS int mt8186_dai_i2s_set_share (struct mtk_base_afe *afe , const char *main_i2s_name , const char *secondary_i2s_name );
ARGUMENTS afe Pointer to struct mtk_base_afe
main_i2s_name
The name of the I2S po... |
mt8192_dai_i2s_set_share(9) | NAME mt8192_dai_i2s_set_share - Set up I2S ports to share a single clock.
SYNOPSIS int mt8192_dai_i2s_set_share (struct mtk_base_afe *afe , const char *main_i2s_name , const char *secondary_i2s_name );
ARGUMENTS afe Pointer to struct mtk_base_afe
main_i2s_name
The name of the I2S po... |
mt_calc_adistance(9) | NAME mt_calc_adistance - Calculate abstract distance with registered algorithms
SYNOPSIS int mt_calc_adistance (int node , int *adist );
ARGUMENTS node the node to calculate abstract distance for
adist the returned abstract distance
RETURN if return_value & NOTIFY_STOP_MASK != 0, then some abstr... |
mt_clear_in_rcu(9) | NAME mt_clear_in_rcu - Switch the tree to non-RCU mode.
SYNOPSIS void mt_clear_in_rcu (struct maple_tree *mt );
ARGUMENTS mt The Maple Tree
SEE ALSO Kernel file ./include/linux/maple_tree.h Kernel API(9), MTREE_INIT(9), MTREE_INIT_EXT(9), mtree_empty(9), mas_reset(9), mas_for_each(9), mas_for_eac... |
mt_find(9) | NAME mt_find - Search from the start up until an entry is found.
SYNOPSIS void * mt_find (struct maple_tree *mt , unsigned long *index , unsigned long max );
ARGUMENTS mt The maple tree
index Pointer which contains the start location of the search
max The maximum value of the se... |
mt_find_after(9) | NAME mt_find_after - Search from the start up until an entry is found.
SYNOPSIS void * mt_find_after (struct maple_tree *mt , unsigned long *index , unsigned long max );
ARGUMENTS mt The maple tree
index Pointer which contains the start location of the search
max The maximum val... |
mt_for_each(9) | NAME mt_for_each - Iterate over each entry starting at index until max.
SYNOPSIS mt_for_each (__tree , __entry , __index , __max );
ARGUMENTS __tree The Maple Tree
__entry The current entry
__index The index to start the search from. Subsequently used as iterator.
__max The ... |
mt_free_walk(9) | NAME mt_free_walk - Walk & free a tree in the RCU callback context
SYNOPSIS void mt_free_walk (struct rcu_head *head );
ARGUMENTS head The RCU head that's within the node.
NOTE This can only be used from the RCU callback context.
SEE ALSO Kernel file ./lib/maple_tree.c mas_prealloc_calc(9), mas_wr_preall... |
mt_init(9) | NAME mt_init - Initialise an empty maple tree.
SYNOPSIS void mt_init (struct maple_tree *mt );
ARGUMENTS mt Maple Tree
DESCRIPTION An empty Maple Tree.
CONTEXT Any context.
SEE ALSO Kernel file ./include/linux/maple_tree.h Kernel API(9), MTREE_INIT(9), MTREE_INIT_EXT(9), mtree_empty(9), mas_reset... |
mt_init_flags(9) | NAME mt_init_flags - Initialise an empty maple tree with flags.
SYNOPSIS void mt_init_flags (struct maple_tree *mt , unsigned int flags );
ARGUMENTS mt Maple Tree
flags maple tree flags.
DESCRIPTION If you need to initialise a Maple Tree with special flags (eg, an allocation tree), use this fu... |
mt_next(9) | NAME mt_next - get the next value in the maple tree
SYNOPSIS void * mt_next (struct maple_tree *mt , unsigned long index , unsigned long max );
ARGUMENTS mt The maple tree
index The start index
max The maximum index to check
DESCRIPTION Takes RCU read lock internally to protect... |
mt_prev(9) | NAME mt_prev - get the previous value in the maple tree
SYNOPSIS void * mt_prev (struct maple_tree *mt , unsigned long index , unsigned long min );
ARGUMENTS mt The maple tree
index The start index
min The minimum index to check
DESCRIPTION Takes RCU read lock internally to pro... |
mt_set_in_rcu(9) | NAME mt_set_in_rcu - Switch the tree to RCU safe mode.
SYNOPSIS void mt_set_in_rcu (struct maple_tree *mt );
ARGUMENTS mt The Maple Tree
SEE ALSO Kernel file ./include/linux/maple_tree.h Kernel API(9), MTREE_INIT(9), MTREE_INIT_EXT(9), mtree_empty(9), mas_reset(9), mas_for_each(9), mas_for_each_r... |
mtd_align_erase_req(9) | NAME mtd_align_erase_req - Adjust an erase request to align things on eraseblock boundaries.
SYNOPSIS void mtd_align_erase_req (struct mtd_info *mtd , struct erase_info *req );
ARGUMENTS mtd the MTD device this erase request applies on
req the erase request to adjust
DESCRIPTION This function... |
mtd_device_parse_register(9) | NAME mtd_device_parse_register - parse partitions and register an MTD device.
SYNOPSIS int mtd_device_parse_register (struct mtd_info *mtd , const char * const *types , struct mtd_part_parser_data *parser_data , const struct mtd_partition *parts , int nr_parts );
ARGUMENTS mtd the MTD device to register
... |
mtd_device_unregister(9) | NAME mtd_device_unregister - unregister an existing MTD device.
SYNOPSIS int mtd_device_unregister (struct mtd_info *master );
ARGUMENTS master the MTD device to unregister. This will unregister both the master and any partitions if registered.
SEE ALSO Kernel file ./drivers/mtd/mtdcore.c mtd_wunit_to_pairi... |
mtd_kmalloc_up_to(9) | NAME mtd_kmalloc_up_to - allocate a contiguous buffer up to the specified size
SYNOPSIS void * mtd_kmalloc_up_to (const struct mtd_info *mtd , size_t *size );
ARGUMENTS mtd mtd device description object pointer
size a pointer to the ideal or maximum size of the allocation, points to the actual ... |
mtd_ooblayout_count_bytes(9) | NAME mtd_ooblayout_count_bytes - count the number of bytes in a OOB category
SYNOPSIS int mtd_ooblayout_count_bytes (struct mtd_info *mtd , int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion) );
ARGUMENTS mtd mtd info structure
iter category iterator
DESCRIPTION Count... |
mtd_ooblayout_count_eccbytes(9) | NAME mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB
SYNOPSIS int mtd_ooblayout_count_eccbytes (struct mtd_info *mtd );
ARGUMENTS mtd mtd info structure
DESCRIPTION Works like mtd_ooblayout_count_bytes, except it count ECC bytes. Returns zero on success, a negative error code otherwise.
... |
mtd_ooblayout_count_freebytes(9) | NAME mtd_ooblayout_count_freebytes - count the number of free bytes in OOB
SYNOPSIS int mtd_ooblayout_count_freebytes (struct mtd_info *mtd );
ARGUMENTS mtd mtd info structure
DESCRIPTION Works like mtd_ooblayout_count_bytes, except it count free bytes. Returns zero on success, a negative error code otherwi... |
mtd_ooblayout_ecc(9) | NAME mtd_ooblayout_ecc - Get the OOB region definition of a specific ECC section
SYNOPSIS int mtd_ooblayout_ecc (struct mtd_info *mtd , int section , struct mtd_oob_region *oobecc );
ARGUMENTS mtd MTD device structure
section ECC section. Depending on the layout you may have all the ECC bytes stor... |
mtd_ooblayout_find_eccregion(9) | NAME mtd_ooblayout_find_eccregion - Find the ECC region attached to a specific ECC byte
SYNOPSIS int mtd_ooblayout_find_eccregion (struct mtd_info *mtd , int eccbyte , int *section , struct mtd_oob_region *oobregion );
ARGUMENTS mtd mtd info structure
eccbyte the byte we are searching for
... |
mtd_ooblayout_find_region(9) | NAME mtd_ooblayout_find_region - Find the region attached to a specific byte
SYNOPSIS int mtd_ooblayout_find_region (struct mtd_info *mtd , int byte , int *sectionp , struct mtd_oob_region *oobregion , int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion) );
ARGUMENTS mtd mtd info stru... |
mtd_ooblayout_free(9) | NAME mtd_ooblayout_free - Get the OOB region definition of a specific free section
SYNOPSIS int mtd_ooblayout_free (struct mtd_info *mtd , int section , struct mtd_oob_region *oobfree );
ARGUMENTS mtd MTD device structure
section Free section you are interested in. Depending on the layout you m... |
mtd_ooblayout_get_bytes(9) | NAME mtd_ooblayout_get_bytes - Extract OOB bytes from the oob buffer
SYNOPSIS int mtd_ooblayout_get_bytes (struct mtd_info *mtd , u8 *buf , const u8 *oobbuf , int start , int nbytes , int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion) );
ARGUMENTS mtd mtd info structure
buf ... |
mtd_ooblayout_get_databytes(9) | NAME mtd_ooblayout_get_databytes - extract data bytes from the oob buffer
SYNOPSIS int mtd_ooblayout_get_databytes (struct mtd_info *mtd , u8 *databuf , const u8 *oobbuf , int start , int nbytes );
ARGUMENTS mtd mtd info structure
databuf destination buffer to store ECC bytes
oobbuf O... |
mtd_ooblayout_get_eccbytes(9) | NAME mtd_ooblayout_get_eccbytes - extract ECC bytes from the oob buffer
SYNOPSIS int mtd_ooblayout_get_eccbytes (struct mtd_info *mtd , u8 *eccbuf , const u8 *oobbuf , int start , int nbytes );
ARGUMENTS mtd mtd info structure
eccbuf destination buffer to store ECC bytes
oobbuf OOB b... |
mtd_ooblayout_set_bytes(9) | NAME mtd_ooblayout_set_bytes - put OOB bytes into the oob buffer
SYNOPSIS int mtd_ooblayout_set_bytes (struct mtd_info *mtd , const u8 *buf , u8 *oobbuf , int start , int nbytes , int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion) );
ARGUMENTS mtd mtd info structure
buf ... |
mtd_ooblayout_set_databytes(9) | NAME mtd_ooblayout_set_databytes - set data bytes into the oob buffer
SYNOPSIS int mtd_ooblayout_set_databytes (struct mtd_info *mtd , const u8 *databuf , u8 *oobbuf , int start , int nbytes );
ARGUMENTS mtd mtd info structure
databuf source buffer to get data bytes from
oobbuf OOB bu... |
mtd_ooblayout_set_eccbytes(9) | NAME mtd_ooblayout_set_eccbytes - set ECC bytes into the oob buffer
SYNOPSIS int mtd_ooblayout_set_eccbytes (struct mtd_info *mtd , const u8 *eccbuf , u8 *oobbuf , int start , int nbytes );
ARGUMENTS mtd mtd info structure
eccbuf source buffer to get ECC bytes from
oobbuf OOB buffer
... |
mtd_pairing_groups(9) | NAME mtd_pairing_groups - get the number of pairing groups
SYNOPSIS int mtd_pairing_groups (struct mtd_info *mtd );
ARGUMENTS mtd pointer to new MTD device info structure
DESCRIPTION Returns the number of pairing groups. This number is usually equal to the number of bits exposed by a single cell, and can be... |
mtd_pairing_info_to_wunit(9) | NAME mtd_pairing_info_to_wunit - get wunit from pairing information
SYNOPSIS int mtd_pairing_info_to_wunit (struct mtd_info *mtd , const struct mtd_pairing_info *info );
ARGUMENTS mtd pointer to new MTD device info structure
info pairing information struct
DESCRIPTION Returns a positive number... |
mtd_part_get_compatible_parser(9) | NAME mtd_part_get_compatible_parser - find MTD parser by a compatible string
SYNOPSIS struct mtd_part_parser * mtd_part_get_compatible_parser (const char *compat );
ARGUMENTS compat compatible string describing partitions in a device tree
DESCRIPTION MTD parsers can specify supported partitions by providing a t... |
mtd_to_nanddev(9) | NAME mtd_to_nanddev - Get the NAND device attached to the MTD instance
SYNOPSIS struct nand_device * mtd_to_nanddev (struct mtd_info *mtd );
ARGUMENTS mtd MTD instance
RETURN the NAND device embedding mtd.
SEE ALSO Kernel file ./include/linux/mtd/nand.h struct nand_memory_organization(9), struct nand_row... |
mtd_to_spinand(9) | NAME mtd_to_spinand - Get the SPI NAND device attached to an MTD instance
SYNOPSIS struct spinand_device * mtd_to_spinand (struct mtd_info *mtd );
ARGUMENTS mtd MTD instance
RETURN the SPI NAND device attached to mtd.
SEE ALSO Kernel file ./include/linux/mtd/spinand.h struct spinand_id(9), struct spin... |
mtd_wunit_to_pairing_info(9) | NAME mtd_wunit_to_pairing_info - get pairing information of a wunit
SYNOPSIS int mtd_wunit_to_pairing_info (struct mtd_info *mtd , int wunit , struct mtd_pairing_info *info );
ARGUMENTS mtd pointer to new MTD device info structure
wunit write unit we are interested in
info returne... |
mte_dead_walk(9) | NAME mte_dead_walk - Walk down a dead tree to just before the leaves
SYNOPSIS void __rcu ** mte_dead_walk (struct maple_enode **enode , unsigned char offset );
ARGUMENTS enode The maple encoded node
offset The starting offset
NOTE This can only be used from the RCU callback context.
SEE ALSO Kern... |
mthi_func(9) | NAME mthi_func - Emulate a MTHI instruction
SYNOPSIS int mthi_func (struct pt_regs *regs , u32 ir );
ARGUMENTS regs Process register set
ir Instruction
DESCRIPTION Returns 0 since it always succeeds.
SEE ALSO Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c mipsr6_emul(9), movf_func(9),... |
mtk_aal_gamma_get_lut_size(9) | NAME mtk_aal_gamma_get_lut_size - Get gamma LUT size for AAL
SYNOPSIS unsigned int mtk_aal_gamma_get_lut_size (struct device *dev );
ARGUMENTS dev Pointer to struct device
RETURN 0 if gamma control not supported in AAL or gamma LUT size
SEE ALSO Kernel file ./drivers/gpu/drm/mediatek/mtk_disp_aal.c
April 2... |
mtk_adsp_dump(9) | NAME mtk_adsp_dump - This function is called when a panic message is received from the firmware.
SYNOPSIS void mtk_adsp_dump (struct snd_sof_dev *sdev , u32 flags );
ARGUMENTS sdev SOF device
flags parameter not used but required by ops prototype
SEE ALSO Kernel file ./sound/soc/sof/mediatek/m... |
mtk_adsp_get_bar_index(9) | NAME mtk_adsp_get_bar_index - Map section type with BAR idx
SYNOPSIS int mtk_adsp_get_bar_index (struct snd_sof_dev *sdev , u32 type );
ARGUMENTS sdev SOF device
type Section type as described by snd_sof_fw_blk_type
DESCRIPTION MediaTek Audio DSPs have a 1:1 match between type and BAR idx
SEE ... |
mtk_adsp_get_registers(9) | NAME mtk_adsp_get_registers - This function is called in case of DSP oops in order to gather information about the registers, filename and linenumber and stack.
SYNOPSIS void mtk_adsp_get_registers (struct snd_sof_dev *sdev , struct sof_ipc_dsp_oops_xtensa *xoops , struct sof_ipc_panic_info *panic_info , u32 *stack , ... |
mtk_adsp_handle_reply(9) | NAME mtk_adsp_handle_reply - Handle reply from the Audio DSP through Mailbox
SYNOPSIS void mtk_adsp_handle_reply (struct mtk_adsp_ipc *ipc );
ARGUMENTS ipc ADSP IPC handle
SEE ALSO Kernel file ./sound/soc/sof/mediatek/mtk-adsp-common.c mtk_adsp_get_registers(9), mtk_adsp_dump(9), mtk_adsp_send_msg(9)... |
mtk_adsp_handle_request(9) | NAME mtk_adsp_handle_request - Handle request from the Audio DSP through Mailbox
SYNOPSIS void mtk_adsp_handle_request (struct mtk_adsp_ipc *ipc );
ARGUMENTS ipc ADSP IPC handle
SEE ALSO Kernel file ./sound/soc/sof/mediatek/mtk-adsp-common.c mtk_adsp_get_registers(9), mtk_adsp_dump(9), mtk_adsp_sen... |
mtk_adsp_send_msg(9) | NAME mtk_adsp_send_msg - Send message to Audio DSP
SYNOPSIS int mtk_adsp_send_msg (struct snd_sof_dev *sdev , struct snd_sof_ipc_msg *msg );
ARGUMENTS sdev SOF device
msg SOF IPC Message to send
SEE ALSO Kernel file ./sound/soc/sof/mediatek/mtk-adsp-common.c mtk_adsp_get_registers(9), mtk_... |
mtk_adsp_stream_pcm_hw_params(9) | NAME mtk_adsp_stream_pcm_hw_params - Platform specific host stream hw params
SYNOPSIS int mtk_adsp_stream_pcm_hw_params (struct snd_sof_dev *sdev , struct snd_pcm_substream *substream , struct snd_pcm_hw_params *params , struct snd_sof_platform_stream_params *platform_params );
ARGUMENTS sdev SOF device
... |
mtk_adsp_stream_pcm_pointer(9) | NAME mtk_adsp_stream_pcm_pointer - Get host stream pointer
SYNOPSIS snd_pcm_uframes_t mtk_adsp_stream_pcm_pointer (struct snd_sof_dev *sdev , struct snd_pcm_substream *substream );
ARGUMENTS sdev SOF device
substream PCM substream
SEE ALSO Kernel file ./sound/soc/sof/mediatek/mtk-adsp-common.c... |
mtk_drm_of_ddp_path_build_one(9) | NAME mtk_drm_of_ddp_path_build_one - Build a Display HW Pipeline for a CRTC Path
SYNOPSIS int mtk_drm_of_ddp_path_build_one (struct device *dev , enum mtk_crtc_path cpath , const unsigned int **out_path , unsigned int *out_path_len );
ARGUMENTS dev The mediatek-drm device
cpath CRTC Path relativ... |
mtk_gpueb_mbox_read_rx(9) | NAME mtk_gpueb_mbox_read_rx - read RX buffer from MMIO into channel's RX buffer
SYNOPSIS void mtk_gpueb_mbox_read_rx (void *buf , struct mtk_gpueb_mbox_chan *chan );
ARGUMENTS buf buffer to read into
chan pointer to the channel to read
SEE ALSO Kernel file ./drivers/mailbox/mtk-gpueb-mailbox.c... |
mtk_infracfg_clear_bus_protection(9) | NAME mtk_infracfg_clear_bus_protection - disable bus protection
SYNOPSIS int mtk_infracfg_clear_bus_protection (struct regmap *infracfg , u32 mask , bool reg_update );
ARGUMENTS infracfg The infracfg regmap
mask The mask containing the protection bits to be disabled.
reg_update The boolean ... |
mtk_infracfg_set_bus_protection(9) | NAME mtk_infracfg_set_bus_protection - enable bus protection
SYNOPSIS int mtk_infracfg_set_bus_protection (struct regmap *infracfg , u32 mask , bool reg_update );
ARGUMENTS infracfg The infracfg regmap
mask The mask containing the protection bits to be enabled.
reg_update The boolean flag d... |
mtk_intx_eoi(9) | NAME mtk_intx_eoi - Clear INTx IRQ status at the end of interrupt
SYNOPSIS void mtk_intx_eoi (struct irq_data *data );
ARGUMENTS data pointer to chip specific data
DESCRIPTION As an emulated level IRQ, its interrupt status will remain until the corresponding de-assert message is received; hence that the statu... |
mtk_mfg_send_ipi(9) | NAME mtk_mfg_send_ipi - synchronously send an IPI message on the gpufreq channel
SYNOPSIS int mtk_mfg_send_ipi (struct mtk_mfg *mfg , struct mtk_mfg_ipi_msg *msg );
ARGUMENTS mfg pointer to this driver instance's private struct mtk_mfg
msg pointer to a message to send; will have magic filled a... |
mtk_ovl_adaptor_power_on(9) | NAME mtk_ovl_adaptor_power_on - Power on the devices in OVL adaptor
SYNOPSIS int mtk_ovl_adaptor_power_on (struct device *dev );
ARGUMENTS dev Device to be powered on
DESCRIPTION Different from OVL, OVL adaptor is a pseudo device so we didn't define it in the device tree, pm_runtime_resume_and_get called by ... |
mtk_pcie_config_tlp_header(9) | NAME mtk_pcie_config_tlp_header - Configure a configuration TLP header
SYNOPSIS void mtk_pcie_config_tlp_header (struct pci_bus *bus , unsigned int devfn , int where , int size );
ARGUMENTS bus PCI bus to query
devfn device/function number
where offset in config space
size ... |
mtk_pcie_phy_init(9) | NAME mtk_pcie_phy_init - Initialize the phy
SYNOPSIS int mtk_pcie_phy_init (struct phy *phy );
ARGUMENTS phy the phy to be initialized
DESCRIPTION Initialize the phy by setting the efuse data. The hardware settings will be reset during suspend, it should be reinitialized when the consumer calls phy_init aga... |
mtk_snand_is_page_ops(9) | NAME mtk_snand_is_page_ops - check if the op is a controller supported page op.
SYNOPSIS bool mtk_snand_is_page_ops (const struct spi_mem_op *op );
ARGUMENTS op spi-mem op to check
DESCRIPTION Check whether op can be executed with read_from_cache or program_load mode in the controller. This controller can... |
mtk_star_handle_irq(9) | NAME mtk_star_handle_irq - Interrupt Handler.
SYNOPSIS irqreturn_t mtk_star_handle_irq (int irq , void *data );
ARGUMENTS irq interrupt number.
data pointer to a network interface device structure.
DESCRIPTION this is the driver interrupt service routine. it mainly handles: 1. tx complete int... |
mtk_thermal_bank_temperature(9) | NAME mtk_thermal_bank_temperature - get the temperature of a bank
SYNOPSIS int mtk_thermal_bank_temperature (struct mtk_thermal_bank *bank );
ARGUMENTS bank The bank
DESCRIPTION The temperature of a bank is considered the maximum temperature of the sensors associated to the bank.
SEE ALSO Kernel file ./drive... |
mtk_thermal_get_bank(9) | NAME mtk_thermal_get_bank - get bank
SYNOPSIS void mtk_thermal_get_bank (struct mtk_thermal_bank *bank );
ARGUMENTS bank The bank
DESCRIPTION The bank registers are banked, we have to select a bank in the PTPCORESEL register to access it.
SEE ALSO Kernel file ./drivers/thermal/mediatek/auxadc_thermal.c raw_t... |
mtk_thermal_put_bank(9) | NAME mtk_thermal_put_bank - release bank
SYNOPSIS void mtk_thermal_put_bank (struct mtk_thermal_bank *bank );
ARGUMENTS bank The bank
DESCRIPTION release a bank previously taken with mtk_thermal_get_bank,
SEE ALSO Kernel file ./drivers/thermal/mediatek/auxadc_thermal.c raw_to_mcelsius_v1(9), mtk_thermal_get_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.