id
stringlengths
4
63
text
stringlengths
153
8.81M
omap_nand_data_in_pref(9)
NAME omap_nand_data_in_pref - NAND data in using prefetch engine SYNOPSIS void omap_nand_data_in_pref (struct nand_chip *chip , void *buf , unsigned int len , bool force_8bit ); ARGUMENTS chip NAND chip buf output buffer where NAND data is placed into len length of transfer ...
omap_nand_data_out_dma_pref(9)
NAME omap_nand_data_out_dma_pref - NAND data out using DMA and write posting SYNOPSIS void omap_nand_data_out_dma_pref (struct nand_chip *chip , const void *buf , unsigned int len , bool force_8bit ); ARGUMENTS chip NAND chip buf input buffer that is sent to NAND len length of t...
omap_nand_data_out_pref(9)
NAME omap_nand_data_out_pref - NAND data out using Write Posting engine SYNOPSIS void omap_nand_data_out_pref (struct nand_chip *chip , const void *buf , unsigned int len , bool force_8bit ); ARGUMENTS chip NAND chip buf input buffer that is sent to NAND len length of transfer ...
omap_pm_finish(9)
NAME omap_pm_finish - Finish up suspend sequence. SYNOPSIS void omap_pm_finish (void ); ARGUMENTS void no arguments DESCRIPTION This is called after we wake back up (or if entering the sleep state failed). SEE ALSO Kernel file ./arch/arm/mach-omap1/pm.c April 2026 ...
omap_prcm_event_to_irq(9)
NAME omap_prcm_event_to_irq - given a PRCM event name, returns the corresponding IRQ on which the handler should be registered SYNOPSIS int omap_prcm_event_to_irq (const char *name ); ARGUMENTS name name of the PRCM interrupt bit to look up - see struct omap_prcm_irq DESCRIPTION Returns the Linux internal IRQ...
omap_prcm_init(9)
NAME omap_prcm_init - low level init for the PRCM drivers SYNOPSIS int omap_prcm_init (void ); ARGUMENTS void no arguments DESCRIPTION Initializes the low level clock infrastructure for PRCM drivers. Returns 0 in success, negative error value in failure. SEE ALSO Kernel file ./arch/arm/mach-omap2/prm_comm...
omap_prcm_irq_cleanup(9)
NAME omap_prcm_irq_cleanup - reverses memory allocated and other steps done by omap_prcm_register_chain_handler() SYNOPSIS void omap_prcm_irq_cleanup (void ); ARGUMENTS void no arguments DESCRIPTION No return value. SEE ALSO Kernel file ./arch/arm/mach-omap2/prm_common.c omap_prcm_event_to_irq(9), om...
omap_prcm_register_chain_handler(9)
NAME omap_prcm_register_chain_handler - initializes the prcm chained interrupt handler based on provided parameters SYNOPSIS int omap_prcm_register_chain_handler (struct omap_prcm_irq_setup *irq_setup ); ARGUMENTS irq_setup hardware data about the underlying PRM/PRCM DESCRIPTION Set up the PRCM chained interrupt...
omap_prefetch_enable(9)
NAME omap_prefetch_enable - configures and starts prefetch transfer SYNOPSIS int omap_prefetch_enable (int cs , int fifo_th , int dma_mode , unsigned int u32_count , int is_write , struct omap_nand_info *info ); ARGUMENTS cs cs (chip select) number fifo_th fifo threshold to be used for read/ writ...
omap_prm_assert_hardreset(9)
NAME omap_prm_assert_hardreset - assert hardreset for an IP block SYNOPSIS int omap_prm_assert_hardreset (u8 shift , u8 part , s16 prm_mod , u16 offset ); ARGUMENTS shift register bit shift corresponding to the reset line part PRM partition prm_mod PRM submodule base or instance offse...
omap_prm_base_init(9)
NAME omap_prm_base_init - Populates the prm partitions SYNOPSIS void omap_prm_base_init (void ); ARGUMENTS void no arguments DESCRIPTION Populates the base addresses of the _prm_bases array used for read/write of prm module registers. SEE ALSO Kernel file ./arch/arm/mach-omap2/prminst44xx.c omap4_prminst_is_...
omap_prm_clear_mod_irqs(9)
NAME omap_prm_clear_mod_irqs - clear wake-up events from PRCM interrupt SYNOPSIS int omap_prm_clear_mod_irqs (s16 module , u8 regs , u32 wkst_mask ); ARGUMENTS module PRM module to clear wakeups from regs register to clear wkst_mask wkst bits to clear DESCRIPTION Clears any wakeup event...
omap_prm_deassert_hardreset(9)
NAME omap_prm_deassert_hardreset - deassert hardreset for an IP block SYNOPSIS int omap_prm_deassert_hardreset (u8 shift , u8 st_shift , u8 part , s16 prm_mod , u16 offset , u16 st_offset ); ARGUMENTS shift register bit shift corresponding to the reset line st_shift reset status bit shift correspondi...
omap_prm_is_hardreset_asserted(9)
NAME omap_prm_is_hardreset_asserted - check the hardreset status for an IP block SYNOPSIS int omap_prm_is_hardreset_asserted (u8 shift , u8 part , s16 prm_mod , u16 offset ); ARGUMENTS shift register bit shift corresponding to the reset line part PRM partition prm_mod PRM submodule ba...
omap_prm_reset_system(9)
NAME omap_prm_reset_system - trigger global SW reset SYNOPSIS void omap_prm_reset_system (void ); ARGUMENTS void no arguments DESCRIPTION Triggers SoC specific global warm reset to reboot the device. SEE ALSO Kernel file ./arch/arm/mach-omap2/prm_common.c omap_prcm_event_to_irq(9), omap_prcm_irq_cleanup(9)...
omap_prm_vp_check_txdone(9)
NAME omap_prm_vp_check_txdone - check voltage processor TX done status SYNOPSIS u32 omap_prm_vp_check_txdone (u8 vp_id ); ARGUMENTS vp_id unique VP instance ID DESCRIPTION Checks if voltage processor transmission has been completed. Returns non-zero if a transmission has completed, 0 otherwise. SEE ALSO Kern...
omap_prm_vp_clear_txdone(9)
NAME omap_prm_vp_clear_txdone - clears voltage processor TX done status SYNOPSIS void omap_prm_vp_clear_txdone (u8 vp_id ); ARGUMENTS vp_id unique VP instance ID DESCRIPTION Clears the status bit for completed voltage processor transmission returned by prm_vp_check_txdone. SEE ALSO Kernel file ./arch/arm/ma...
omap_read_page_bch(9)
NAME omap_read_page_bch - BCH ecc based page read function for entire page SYNOPSIS int omap_read_page_bch (struct nand_chip *chip , uint8_t *buf , int oob_required , int page ); ARGUMENTS chip nand chip info structure buf buffer to store read data oob_required caller...
omap_read_persistent_clock64(9)
NAME omap_read_persistent_clock64 - Return time from a persistent clock. SYNOPSIS void omap_read_persistent_clock64 (struct timespec64 *ts ); ARGUMENTS ts struct timespec64 for the returned time DESCRIPTION Reads the time from a source which isn't disabled during PM, the 32k sync timer. Convert the cycles ...
omap_register_i2c_bus(9)
NAME omap_register_i2c_bus - register I2C bus with device descriptors SYNOPSIS int omap_register_i2c_bus (int bus_id , u32 clkrate , struct i2c_board_info const *info , unsigned len ); ARGUMENTS bus_id bus id counting from number 1 clkrate clock rate of the bus in kHz info pointer into...
omap_rproc_ack_timer_irq(9)
NAME omap_rproc_ack_timer_irq - acknowledge a timer irq SYNOPSIS void omap_rproc_ack_timer_irq (struct omap_rproc_timer *timer ); ARGUMENTS timer handle to a OMAP rproc timer DESCRIPTION This function is used to clear the irq associated with a watchdog timer. The function is called by the OMAP remoteproc upon...
omap_rproc_da_to_va(9)
NAME omap_rproc_da_to_va - internal memory translation helper SYNOPSIS void * omap_rproc_da_to_va (struct rproc *rproc , u64 da , size_t len , bool *is_iomem ); ARGUMENTS rproc remote processor to apply the address translation for da device address to translate len length of the...
omap_rproc_disable_timers(9)
NAME omap_rproc_disable_timers - disable the timers for a remoteproc SYNOPSIS int omap_rproc_disable_timers (struct rproc *rproc , bool configure ); ARGUMENTS rproc handle of a remote processor configure boolean flag used to release the timer handle DESCRIPTION This function is used primarily to disa...
omap_rproc_enable_timers(9)
NAME omap_rproc_enable_timers - enable the timers for a remoteproc SYNOPSIS int omap_rproc_enable_timers (struct rproc *rproc , bool configure ); ARGUMENTS rproc handle of a remote processor configure boolean flag used to acquire and configure the timer handle DESCRIPTION This function is used prim...
omap_rproc_get_timer_irq(9)
NAME omap_rproc_get_timer_irq - get the irq for a timer SYNOPSIS int omap_rproc_get_timer_irq (struct omap_rproc_timer *timer ); ARGUMENTS timer handle to a OMAP rproc timer DESCRIPTION This function is used to get the irq associated with a watchdog timer. The function is called by the OMAP remoteproc driver t...
omap_rproc_mbox_callback(9)
NAME omap_rproc_mbox_callback - inbound mailbox message handler SYNOPSIS void omap_rproc_mbox_callback (struct mbox_client *client , void *data ); ARGUMENTS client mailbox client pointer used for requesting the mailbox channel data mailbox payload DESCRIPTION This handler is invoked by omap's m...
omap_rproc_release_timer(9)
NAME omap_rproc_release_timer - release a timer for a remoteproc SYNOPSIS int omap_rproc_release_timer (struct omap_rproc_timer *timer ); ARGUMENTS timer handle to a OMAP rproc timer DESCRIPTION This helper function is used primarily to release a timer associated with a remoteproc. The dmtimer will be availabl...
omap_rproc_request_timer(9)
NAME omap_rproc_request_timer - request a timer for a remoteproc SYNOPSIS int omap_rproc_request_timer (struct device *dev , struct device_node *np , struct omap_rproc_timer *timer ); ARGUMENTS dev device requesting the timer np device node pointer to the desired timer timer han...
omap_rproc_start_timer(9)
NAME omap_rproc_start_timer - start a timer for a remoteproc SYNOPSIS int omap_rproc_start_timer (struct omap_rproc_timer *timer ); ARGUMENTS timer handle to a OMAP rproc timer DESCRIPTION This helper function is used to start a timer associated with a remoteproc, obtained using the request_timer ops. The hel...
omap_rproc_stop_timer(9)
NAME omap_rproc_stop_timer - stop a timer for a remoteproc SYNOPSIS int omap_rproc_stop_timer (struct omap_rproc_timer *timer ); ARGUMENTS timer handle to a OMAP rproc timer DESCRIPTION This helper function is used to disable a timer associated with a remoteproc, and needs to be called either during a dev...
omap_rproc_watchdog_isr(9)
NAME omap_rproc_watchdog_isr - Watchdog ISR handler for remoteproc device SYNOPSIS irqreturn_t omap_rproc_watchdog_isr (int irq , void *data ); ARGUMENTS irq IRQ number associated with a watchdog timer data IRQ handler data DESCRIPTION This ISR routine executes the required necessary low-l...
omap_rproc_write_dsp_boot_addr(9)
NAME omap_rproc_write_dsp_boot_addr - set boot address for DSP remote processor SYNOPSIS int omap_rproc_write_dsp_boot_addr (struct rproc *rproc ); ARGUMENTS rproc handle of a remote processor DESCRIPTION Set boot address for a supported DSP remote processor. RETURN 0 on success, or -EINVAL if boot address is...
omap_rtc_power_off_program(9)
NAME omap_rtc_power_off_program - Set the pmic power off sequence. The RTC generates pmic_pwr_enable control, which can be used to control an external PMIC. SYNOPSIS int omap_rtc_power_off_program (struct device *dev ); ARGUMENTS dev -- undescribed -- SEE ALSO Kernel file ./drivers/rtc/rtc-omap.c April 2026...
omap_secure_dispatcher(9)
NAME omap_secure_dispatcher - Routine to dispatch low power secure service routines SYNOPSIS u32 omap_secure_dispatcher (u32 idx , u32 flag , u32 nargs , u32 arg1 , u32 arg2 , u32 arg3 , u32 arg4 ); ARGUMENTS idx The HAL API index flag The flag indicating criticality of operation nargs ...
omap_set_pwrdm_state(9)
NAME omap_set_pwrdm_state - change a powerdomain's current power state SYNOPSIS int omap_set_pwrdm_state (struct powerdomain *pwrdm , u8 pwrst ); ARGUMENTS pwrdm struct powerdomain * to change the power state of pwrst power state to change to DESCRIPTION Change the current hardware power state ...
omap_sr_disable(9)
NAME omap_sr_disable - API to disable SR without resetting the voltage processor voltage SYNOPSIS void omap_sr_disable (struct voltagedomain *voltdm ); ARGUMENTS voltdm VDD pointer to which the SR module to be configured belongs to. DESCRIPTION This API is to be called from the kernel in order to disable a p...
omap_sr_disable_reset_volt(9)
NAME omap_sr_disable_reset_volt - API to disable SR and reset the voltage processor voltage SYNOPSIS void omap_sr_disable_reset_volt (struct voltagedomain *voltdm ); ARGUMENTS voltdm VDD pointer to which the SR module to be configured belongs to. DESCRIPTION This API is to be called from the kernel in order to...
omap_sr_enable(9)
NAME omap_sr_enable - API to enable SR clocks and to call into the registered smartreflex class enable API. SYNOPSIS void omap_sr_enable (struct voltagedomain *voltdm ); ARGUMENTS voltdm VDD pointer to which the SR module to be configured belongs to. DESCRIPTION This API is to be called from the kernel in ord...
omap_test_timeout(9)
NAME omap_test_timeout - busy-loop, testing a condition SYNOPSIS omap_test_timeout (cond , timeout , index ); ARGUMENTS cond condition to test until it evaluates to true timeout maximum number of microseconds in the timeout index loop index (integer) DESCRIPTION Loop waiting for cond...
omap_usb2_set_comparator(9)
NAME omap_usb2_set_comparator - links the comparator present in the system with this phy SYNOPSIS int omap_usb2_set_comparator (struct phy_companion *comparator ); ARGUMENTS comparator the companion phy(comparator) for this phy DESCRIPTION The phy companion driver should call this API passing the phy_companion fill...
omap_vc_calc_vsel(9)
NAME omap_vc_calc_vsel - calculate vsel value for a channel SYNOPSIS u8 omap_vc_calc_vsel (struct voltagedomain *voltdm , u32 uvolt ); ARGUMENTS voltdm channel to calculate value for uvolt microvolt value to convert to vsel DESCRIPTION Converts a microvolt value to vsel value for the used PMIC. T...
omap_vc_config_channel(9)
NAME omap_vc_config_channel - configure VC channel to PMIC mappings SYNOPSIS int omap_vc_config_channel (struct voltagedomain *voltdm ); ARGUMENTS voltdm pointer to voltagdomain defining the desired VC channel DESCRIPTION Configures the VC channel to PMIC mappings for the following PMIC settings - i2c slave a...
omap_vc_i2c_init(9)
NAME omap_vc_i2c_init - initialize I2C interface to PMIC SYNOPSIS void omap_vc_i2c_init (struct voltagedomain *voltdm ); ARGUMENTS voltdm voltage domain containing VC data DESCRIPTION Use PMIC supplied settings for I2C high-speed mode and master code (if set) and program the VC I2C configuration register. Th...
omap_voltage_get_voltdata(9)
NAME omap_voltage_get_voltdata - API to get the voltage table entry for a particular voltage SYNOPSIS struct omap_volt_data * omap_voltage_get_voltdata (struct voltagedomain *voltdm , unsigned long volt ); ARGUMENTS voltdm pointer to the VDD whose voltage table has to be searched volt the voltage ...
omap_voltage_get_volttable(9)
NAME omap_voltage_get_volttable - API to get the voltage table associated with a particular voltage domain. SYNOPSIS void omap_voltage_get_volttable (struct voltagedomain *voltdm , struct omap_volt_data **volt_data ); ARGUMENTS voltdm pointer to the VDD for which the voltage table is required volt_data ...
omap_voltage_late_init(9)
NAME omap_voltage_late_init - Init the various voltage parameters SYNOPSIS int omap_voltage_late_init (void ); ARGUMENTS void no arguments DESCRIPTION This API is to be called in the later stages of the system boot to init the voltage controller and voltage processors. SEE ALSO Kernel file ./arch/arm/mach-om...
omap_voltage_register_pmic(9)
NAME omap_voltage_register_pmic - API to register PMIC specific data SYNOPSIS int omap_voltage_register_pmic (struct voltagedomain *voltdm , struct omap_voltdm_pmic *pmic ); ARGUMENTS voltdm pointer to the VDD for which the PMIC specific data is to be registered pmic the structure containing pmic ...
omap_vp_disable(9)
NAME omap_vp_disable - API to disable a particular VP SYNOPSIS void omap_vp_disable (struct voltagedomain *voltdm ); ARGUMENTS voltdm pointer to the VDD whose VP is to be disabled. DESCRIPTION This API disables a particular voltage processor. Needed by the smartreflex class drivers. SEE ALSO Kernel file ./arch...
omap_vp_enable(9)
NAME omap_vp_enable - API to enable a particular VP SYNOPSIS void omap_vp_enable (struct voltagedomain *voltdm ); ARGUMENTS voltdm pointer to the VDD whose VP is to be enabled. DESCRIPTION This API enables a particular voltage processor. Needed by the smartreflex class drivers. SEE ALSO Kernel file ./arch/arm/...
omap_write_page_bch(9)
NAME omap_write_page_bch - BCH ecc based write page function for entire page SYNOPSIS int omap_write_page_bch (struct nand_chip *chip , const uint8_t *buf , int oob_required , int page ); ARGUMENTS chip nand chip info structure buf data buffer oob_required must write ...
omap_write_subpage_bch(9)
NAME omap_write_subpage_bch - BCH hardware ECC based subpage write SYNOPSIS int omap_write_subpage_bch (struct nand_chip *chip , u32 offset , u32 data_len , const u8 *buf , int oob_required , int page ); ARGUMENTS chip nand chip info structure offset column address of subpage within the page ...
omnia_mask_deinterleave(9)
NAME omnia_mask_deinterleave - Deinterleaves the bytes into @rising and @falling SYNOPSIS void omnia_mask_deinterleave (const u8 *src , unsigned long *rising , unsigned long *falling ); ARGUMENTS src the source u8 array containing the interleaved bytes rising pointer where to store the rising mas...
omnia_mask_interleave(9)
NAME omnia_mask_interleave - Interleaves the bytes from @rising and @falling SYNOPSIS void omnia_mask_interleave (u8 *dst , unsigned long rising , unsigned long falling ); ARGUMENTS dst the destination u8 array of interleaved bytes rising rising mask falling falling mask DESCRIPTION ...
on_each_cpu_mask(9)
NAME on_each_cpu_mask - Run a function on processors specified by cpumask, which may include the local processor. SYNOPSIS void on_each_cpu_mask (const struct cpumask *mask , smp_call_func_t func , void *info , bool wait ); ARGUMENTS mask The set of cpus to run on (only runs on online subset). func ...
on_exit(3)
NAME on_exit - register a function to be called at normal process termination LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int on_exit(typeof(void (int, void *)) *function, void *arg); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): on_exit(): ...
on_list(9)
NAME on_list - check request is on the given endpoint SYNOPSIS bool on_list (struct dwc2_hsotg_ep *ep , struct dwc2_hsotg_req *test ); ARGUMENTS ep The endpoint to check. test The request to test if it is on the endpoint. SEE ALSO Kernel file ./drivers/usb/dwc2/gadget.c using_dma(9),...
on_netinfo(9)
NAME on_netinfo - callback for HDM to be informed about HW's MAC SYNOPSIS void on_netinfo (struct most_interface *iface , unsigned char link_stat , unsigned char *mac_addr ); ARGUMENTS iface most interface instance link_stat link status mac_addr MAC address SEE ALSO Kernel file ./drivers/s...
onboard_dev_create_pdevs(9)
NAME onboard_dev_create_pdevs - - create platform devices for onboard USB devices SYNOPSIS void onboard_dev_create_pdevs (struct usb_device *parent_hub , struct list_head *pdev_list ); ARGUMENTS parent_hub parent hub to scan for connected onboard devices pdev_list list of onboard platform devices owned by ...
onboard_dev_destroy_pdevs(9)
NAME onboard_dev_destroy_pdevs - - free resources of onboard platform devices SYNOPSIS void onboard_dev_destroy_pdevs (struct list_head *pdev_list ); ARGUMENTS pdev_list list of onboard platform devices DESCRIPTION Destroys the platform devices in the given list and frees the memory associated with the list entry....
onebit_depop_mute_stage(9)
NAME onebit_depop_mute_stage - auto depop in mute stage. SYNOPSIS void onebit_depop_mute_stage (struct snd_soc_component *component , int enable ); ARGUMENTS component ASoC component enable mute/unmute DESCRIPTION When mute/unmute headphone, the depop sequence is done by hardware. SEE ALSO Kernel fil...
onebit_depop_power_stage(9)
NAME onebit_depop_power_stage - auto depop in power stage. SYNOPSIS void onebit_depop_power_stage (struct snd_soc_component *component , int enable ); ARGUMENTS component ASoC component enable power on/off DESCRIPTION When power on/off headphone, the depop sequence is done by hardware. SEE ALSO Kerne...
onenand_bbt_read_oob(9)
NAME onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan SYNOPSIS int onenand_bbt_read_oob (struct mtd_info *mtd , loff_t from , struct mtd_oob_ops *ops ); ARGUMENTS mtd MTD device structure from offset to read from ops oob operation description structur...
onenand_bbt_wait(9)
NAME onenand_bbt_wait - [DEFAULT] wait until the command is done SYNOPSIS int onenand_bbt_wait (struct mtd_info *mtd , int state ); ARGUMENTS mtd MTD device structure state state to select the max. timeout value DESCRIPTION Wait for command done. SEE ALSO Kernel file ./drivers/mtd/nand/onena...
onenand_block_address(9)
NAME onenand_block_address - [DEFAULT] Get block address SYNOPSIS int onenand_block_address (struct onenand_chip *this , int block ); ARGUMENTS this onenand chip data structure block the block return translated block address if DDP, otherwise same DESCRIPTION Setup Start Address 1 R...
onenand_block_by_block_erase(9)
NAME onenand_block_by_block_erase - [INTERN] erase block(s) using regular erase SYNOPSIS int onenand_block_by_block_erase (struct mtd_info *mtd , struct erase_info *instr , struct mtd_erase_region_info *region , unsigned int block_size ); ARGUMENTS mtd MTD device structure instr erase instructio...
onenand_block_isbad(9)
NAME onenand_block_isbad - [MTD Interface] Check whether the block at the given offset is bad SYNOPSIS int onenand_block_isbad (struct mtd_info *mtd , loff_t ofs ); ARGUMENTS mtd MTD device structure ofs offset relative to mtd start DESCRIPTION Check whether the block is bad SEE ALSO Kernel ...
onenand_block_isbad_nolock(9)
NAME onenand_block_isbad_nolock - [GENERIC] Check if a block is marked bad SYNOPSIS int onenand_block_isbad_nolock (struct mtd_info *mtd , loff_t ofs , int allowbbt ); ARGUMENTS mtd MTD device structure ofs offset from device start allowbbt 1, if its allowed to access the bbt area ...
onenand_block_markbad(9)
NAME onenand_block_markbad - [MTD Interface] Mark the block at the given offset as bad SYNOPSIS int onenand_block_markbad (struct mtd_info *mtd , loff_t ofs ); ARGUMENTS mtd MTD device structure ofs offset relative to mtd start DESCRIPTION Mark the block as bad SEE ALSO Kernel file ./driver...
onenand_buffer_address(9)
NAME onenand_buffer_address - [DEFAULT] Get buffer address SYNOPSIS int onenand_buffer_address (int dataram1 , int sectors , int count ); ARGUMENTS dataram1 DataRAM index sectors the sector address count the number of sectors RETURN the start buffer value DESCRIPTION Setup Start Buffer ...
onenand_bufferram_address(9)
NAME onenand_bufferram_address - [DEFAULT] Get bufferram address SYNOPSIS int onenand_bufferram_address (struct onenand_chip *this , int block ); ARGUMENTS this onenand chip data structure block the block return set DBS value if DDP, otherwise 0 DESCRIPTION Setup Start Address 2 Reg...
onenand_bufferram_offset(9)
NAME onenand_bufferram_offset - [DEFAULT] BufferRAM offset SYNOPSIS int onenand_bufferram_offset (struct mtd_info *mtd , int area ); ARGUMENTS mtd MTD data structure area BufferRAM area return offset given area DESCRIPTION Return BufferRAM offset given area SEE ALSO Kernel file ...
onenand_check_bufferram(9)
NAME onenand_check_bufferram - [GENERIC] Check BufferRAM information SYNOPSIS int onenand_check_bufferram (struct mtd_info *mtd , loff_t addr ); ARGUMENTS mtd MTD data structure addr address to check return 1 if there are valid data, otherwise 0 DESCRIPTION Check bufferram if ther...
onenand_check_features(9)
NAME onenand_check_features - Check and set OneNAND features SYNOPSIS void onenand_check_features (struct mtd_info *mtd ); ARGUMENTS mtd MTD data structure DESCRIPTION Check and set OneNAND features - lock scheme - two plane SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c onenand_readw(9), o...
onenand_check_lock_status(9)
NAME onenand_check_lock_status - [OneNAND Interface] Check lock status SYNOPSIS int onenand_check_lock_status (struct onenand_chip *this ); ARGUMENTS this onenand chip data structure DESCRIPTION Check lock status SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c onenand_readw(9), onenand_writew...
onenand_check_maf(9)
NAME onenand_check_maf - Check manufacturer ID SYNOPSIS int onenand_check_maf (int manuf ); ARGUMENTS manuf manufacturer ID DESCRIPTION Check manufacturer ID SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c onenand_readw(9), onenand_writew(9), onenand_block_address(9), onenand_bufferram_address...
onenand_chip_probe(9)
NAME onenand_chip_probe - [OneNAND Interface] The generic chip probe SYNOPSIS int onenand_chip_probe (struct mtd_info *mtd ); ARGUMENTS mtd MTD device structure DESCRIPTION OneNAND detection method: Compare the values from command with ones from register SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onen...
onenand_command(9)
NAME onenand_command - [DEFAULT] Send command to OneNAND device SYNOPSIS int onenand_command (struct mtd_info *mtd , int cmd , loff_t addr , size_t len ); ARGUMENTS mtd MTD device structure cmd the command to be sent addr offset to read from or write to len numbe...
onenand_default_bbt(9)
NAME onenand_default_bbt - [OneNAND Interface] Select a default bad block table for the device SYNOPSIS int onenand_default_bbt (struct mtd_info *mtd ); ARGUMENTS mtd MTD device structure DESCRIPTION This function selects the default bad block table support for the device and calls the onenand_scan_bbt funct...
onenand_default_block_markbad(9)
NAME onenand_default_block_markbad - [DEFAULT] mark a block bad SYNOPSIS int onenand_default_block_markbad (struct mtd_info *mtd , loff_t ofs ); ARGUMENTS mtd MTD device structure ofs offset from device start DESCRIPTION This is the default implementation, which can be overridden by a hardwar...
onenand_do_lock_cmd(9)
NAME onenand_do_lock_cmd - [OneNAND Interface] Lock or unlock block(s) SYNOPSIS int onenand_do_lock_cmd (struct mtd_info *mtd , loff_t ofs , size_t len , int cmd ); ARGUMENTS mtd MTD device structure ofs offset relative to mtd start len number of bytes to lock or unlock ...
onenand_erase(9)
NAME onenand_erase - [MTD Interface] erase block(s) SYNOPSIS int onenand_erase (struct mtd_info *mtd , struct erase_info *instr ); ARGUMENTS mtd MTD device structure instr erase instruction DESCRIPTION Erase one or more blocks SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c one...
onenand_fill_auto_oob(9)
NAME onenand_fill_auto_oob - [INTERN] oob auto-placement transfer SYNOPSIS int onenand_fill_auto_oob (struct mtd_info *mtd , u_char *oob_buf , const u_char *buf , int column , int thislen ); ARGUMENTS mtd MTD device structure oob_buf oob buffer buf source address column ...
onenand_get_2x_blockpage(9)
NAME onenand_get_2x_blockpage - [GENERIC] Get blockpage at 2x program mode SYNOPSIS int onenand_get_2x_blockpage (struct mtd_info *mtd , loff_t addr ); ARGUMENTS mtd MTD data structure addr address to check return blockpage address DESCRIPTION Get blockpage address at 2x program m...
onenand_get_density(9)
NAME onenand_get_density - [DEFAULT] Get OneNAND density SYNOPSIS int onenand_get_density (int dev_id ); ARGUMENTS dev_id OneNAND device ID DESCRIPTION Get OneNAND density from device ID SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c onenand_readw(9), onenand_writew(9), onenand_block_address(9...
onenand_get_device(9)
NAME onenand_get_device - [GENERIC] Get chip for selected access SYNOPSIS int onenand_get_device (struct mtd_info *mtd , int new_state ); ARGUMENTS mtd MTD device structure new_state the state which is requested DESCRIPTION Get the device and lock it for exclusive access SEE ALSO Kernel file ./dr...
onenand_get_fact_prot_info(9)
NAME onenand_get_fact_prot_info - [MTD Interface] Read factory OTP info SYNOPSIS int onenand_get_fact_prot_info (struct mtd_info *mtd , size_t len , size_t *retlen , struct otp_info *buf ); ARGUMENTS mtd MTD device structure len number of bytes to read retlen pointer to variable t...
onenand_get_user_prot_info(9)
NAME onenand_get_user_prot_info - [MTD Interface] Read user OTP info SYNOPSIS int onenand_get_user_prot_info (struct mtd_info *mtd , size_t len , size_t *retlen , struct otp_info *buf ); ARGUMENTS mtd MTD device structure len number of bytes to read retlen pointer to variable to s...
onenand_invalidate_bufferram(9)
NAME onenand_invalidate_bufferram - [GENERIC] Invalidate BufferRAM information SYNOPSIS void onenand_invalidate_bufferram (struct mtd_info *mtd , loff_t addr , unsigned int len ); ARGUMENTS mtd MTD data structure addr start address to invalidate len length to invalidate DESCRIP...
onenand_isbad_bbt(9)
NAME onenand_isbad_bbt - [OneNAND Interface] Check if a block is bad SYNOPSIS int onenand_isbad_bbt (struct mtd_info *mtd , loff_t offs , int allowbbt ); ARGUMENTS mtd MTD device structure offs offset in the device allowbbt allow access to bad block table region SEE ALSO Kernel file...
onenand_lock(9)
NAME onenand_lock - [MTD Interface] Lock block(s) SYNOPSIS int onenand_lock (struct mtd_info *mtd , loff_t ofs , uint64_t len ); ARGUMENTS mtd MTD device structure ofs offset relative to mtd start len number of bytes to unlock DESCRIPTION Lock one or more blocks SEE ALSO Kern...
onenand_lock_user_prot_reg(9)
NAME onenand_lock_user_prot_reg - [MTD Interface] Lock user OTP area SYNOPSIS int onenand_lock_user_prot_reg (struct mtd_info *mtd , loff_t from , size_t len ); ARGUMENTS mtd MTD device structure from The offset to lock len number of bytes to unlock DESCRIPTION Write lock mark ...
onenand_memory_bbt(9)
NAME onenand_memory_bbt - [GENERIC] create a memory based bad block table SYNOPSIS int onenand_memory_bbt (struct mtd_info *mtd , struct nand_bbt_descr *bd ); ARGUMENTS mtd MTD device structure bd descriptor for the good/bad block search pattern DESCRIPTION The function creates a memory base...
onenand_mlc_read_ops_nolock(9)
NAME onenand_mlc_read_ops_nolock - MLC OneNAND read main and/or out-of-band SYNOPSIS int onenand_mlc_read_ops_nolock (struct mtd_info *mtd , loff_t from , struct mtd_oob_ops *ops ); ARGUMENTS mtd MTD device structure from offset to read from ops oob operation description structu...
onenand_multiblock_erase(9)
NAME onenand_multiblock_erase - [INTERN] erase block(s) using multiblock erase SYNOPSIS int onenand_multiblock_erase (struct mtd_info *mtd , struct erase_info *instr , unsigned int block_size ); ARGUMENTS mtd MTD device structure instr erase instruction block_size block size DESCRIPTIO...
onenand_otp_command(9)
NAME onenand_otp_command - Send OTP specific command to OneNAND device SYNOPSIS int onenand_otp_command (struct mtd_info *mtd , int cmd , loff_t addr , size_t len ); ARGUMENTS mtd MTD device structure cmd the command to be sent addr offset to read from or write to len ...
onenand_otp_walk(9)
NAME onenand_otp_walk - [DEFAULT] Handle OTP operation SYNOPSIS int onenand_otp_walk (struct mtd_info *mtd , loff_t from , size_t len , size_t *retlen , u_char *buf , otp_op_t action , int mode ); ARGUMENTS mtd MTD device structure from The offset to read/write len number of byt...
onenand_otp_write_oob_nolock(9)
NAME onenand_otp_write_oob_nolock - [INTERN] OneNAND write out-of-band, specific to OTP SYNOPSIS int onenand_otp_write_oob_nolock (struct mtd_info *mtd , loff_t to , struct mtd_oob_ops *ops ); ARGUMENTS mtd MTD device structure to offset to write to ops oob operation descripti...
onenand_page_address(9)
NAME onenand_page_address - [DEFAULT] Get page address SYNOPSIS int onenand_page_address (int page , int sector ); ARGUMENTS page the page address sector the sector address return combined page and sector address DESCRIPTION Setup Start Address 8 Register (F107h) SEE ALSO Kernel fil...
onenand_panic_write(9)
NAME onenand_panic_write - [MTD Interface] write buffer to FLASH in a panic context SYNOPSIS int onenand_panic_write (struct mtd_info *mtd , loff_t to , size_t len , size_t *retlen , const u_char *buf ); ARGUMENTS mtd MTD device structure to offset to write to len number of by...
onenand_print_device_info(9)
NAME onenand_print_device_info - Print device & version ID SYNOPSIS void onenand_print_device_info (int device , int version ); ARGUMENTS device device ID version version ID DESCRIPTION Print device & version ID SEE ALSO Kernel file ./drivers/mtd/nand/onenand/onenand_base.c onenand_readw(9), onena...