id
stringlengths
4
63
text
stringlengths
153
8.81M
thermal_cooling_device_update(9)
NAME thermal_cooling_device_update - Update a cooling device object SYNOPSIS void thermal_cooling_device_update (struct thermal_cooling_device *cdev ); ARGUMENTS cdev Target cooling device. DESCRIPTION Update cdev to reflect a change of the underlying hardware or platform. Must be called when the maximum co...
thermal_debug_cdev_add(9)
NAME thermal_debug_cdev_add - Add a cooling device debugfs entry SYNOPSIS void thermal_debug_cdev_add (struct thermal_cooling_device *cdev , int state ); ARGUMENTS cdev a pointer to a cooling device state current state of the cooling device DESCRIPTION Allocates a cooling device object for debug...
thermal_debug_cdev_remove(9)
NAME thermal_debug_cdev_remove - Remove a cooling device debugfs entry SYNOPSIS void thermal_debug_cdev_remove (struct thermal_cooling_device *cdev ); ARGUMENTS cdev a pointer to a cooling device DESCRIPTION Frees the statistics memory data and remove the debugfs entry SEE ALSO Kernel file ./drivers/therma...
thermal_debug_cdev_state_update(9)
NAME thermal_debug_cdev_state_update - Update a cooling device state change SYNOPSIS void thermal_debug_cdev_state_update (const struct thermal_cooling_device *cdev , int new_state ); ARGUMENTS cdev a pointer to a cooling device new_state an integer corresponding to the new cooling device state DESC...
thermal_of_cooling_device_register(9)
NAME thermal_of_cooling_device_register - register an OF thermal cooling device SYNOPSIS struct thermal_cooling_device * thermal_of_cooling_device_register (struct device_node *np , const char *type , void *devdata , const struct thermal_cooling_device_ops *ops ); ARGUMENTS np a pointer to a device tree node...
thermal_of_get_trip_type(9)
NAME thermal_of_get_trip_type - Get phy mode for given device_node SYNOPSIS int thermal_of_get_trip_type (struct device_node *np , enum thermal_trip_type *type ); ARGUMENTS np Pointer to the given device_node type Pointer to resulting trip type DESCRIPTION The function gets trip type string f...
thermal_of_zone_register(9)
NAME thermal_of_zone_register - Register a thermal zone with device node sensor SYNOPSIS struct thermal_zone_device * thermal_of_zone_register (struct device_node *sensor , int id , void *data , const struct thermal_zone_device_ops *ops ); ARGUMENTS sensor A device node pointer corresponding to the sensor in the...
thermal_of_zone_unregister(9)
NAME thermal_of_zone_unregister - Cleanup the specific allocated ressources SYNOPSIS void thermal_of_zone_unregister (struct thermal_zone_device *tz ); ARGUMENTS tz a pointer to the thermal zone structure DESCRIPTION This function disables the thermal zone and frees the different ressources allocated specif...
thermal_set_governor(9)
NAME thermal_set_governor - Switch to another governor SYNOPSIS int thermal_set_governor (struct thermal_zone_device *tz , struct thermal_governor *new_gov ); ARGUMENTS tz a valid pointer to a struct thermal_zone_device new_gov pointer to the new governor DESCRIPTION Change the governor of therm...
thermal_unbind_cdev_from_trip(9)
NAME thermal_unbind_cdev_from_trip - unbind a cooling device from a thermal zone. SYNOPSIS void thermal_unbind_cdev_from_trip (struct thermal_zone_device *tz , struct thermal_trip_desc *td , struct thermal_cooling_device *cdev ); ARGUMENTS tz pointer to a struct thermal_zone_device. td descr...
thermal_zone_device_register_with_trips(9)
NAME thermal_zone_device_register_with_trips - register a new thermal zone device SYNOPSIS struct thermal_zone_device * thermal_zone_device_register_with_trips (const char *type , const struct thermal_trip *trips , int num_trips , void *devdata , const struct thermal_zone_device_ops *ops , const struct ther‐ mal_zo...
thermal_zone_device_unregister(9)
NAME thermal_zone_device_unregister - removes the registered thermal zone device SYNOPSIS void thermal_zone_device_unregister (struct thermal_zone_device *tz ); ARGUMENTS tz the thermal zone device to remove SEE ALSO Kernel file ./drivers/thermal/thermal_core.c bind_previous_governor(9), thermal_set_gove...
thermal_zone_get_offset(9)
NAME thermal_zone_get_offset - return the offset attribute of the thermal zone SYNOPSIS int thermal_zone_get_offset (struct thermal_zone_device *tz ); ARGUMENTS tz thermal zone device with the offset attribute RETURN If the thermal zone device has a offset attribute, return it, else return 0. SEE ALSO Kern...
thermal_zone_get_slope(9)
NAME thermal_zone_get_slope - return the slope attribute of the thermal zone SYNOPSIS int thermal_zone_get_slope (struct thermal_zone_device *tz ); ARGUMENTS tz thermal zone device with the slope attribute RETURN If the thermal zone device has a slope attribute, return it, else return 1. SEE ALSO Kernel fi...
thermal_zone_get_temp(9)
NAME thermal_zone_get_temp - returns the temperature of a thermal zone SYNOPSIS int thermal_zone_get_temp (struct thermal_zone_device *tz , int *temp ); ARGUMENTS tz a valid pointer to a struct thermal_zone_device temp a valid pointer to where to store the resulting temperature. DESCRIPTION W...
thermal_zone_get_zone_by_name(9)
NAME thermal_zone_get_zone_by_name - search for a zone and returns its ref SYNOPSIS struct thermal_zone_device * thermal_zone_get_zone_by_name (const char *name ); ARGUMENTS name thermal zone name to fetch the temperature DESCRIPTION When only one zone is found with the passed name, returns a reference to it....
thermtrip_program(9)
NAME thermtrip_program - Configures the hardware to shut down the system if a given sensor group reaches a given temperature SYNOPSIS int thermtrip_program (struct device *dev , const struct tegra_tsensor_group *sg , int trip_temp ); ARGUMENTS dev ptr to the struct device for the SOC_THERM IP block sg...
thp_order(9)
NAME thp_order - Order of a transparent huge page. SYNOPSIS unsigned int thp_order (struct page *page ); ARGUMENTS page Head page of a transparent huge page. SEE ALSO Kernel file ./include/linux/mm.h folio_page_idx(9), vma_flag_t(9), fault_flag_allow_retry_first(9), folio_order(9), folio_reset_order(9), fo...
thp_size(9)
NAME thp_size - Size of a transparent huge page. SYNOPSIS unsigned long thp_size (struct page *page ); ARGUMENTS page Head page of a transparent huge page. RETURN Number of bytes in this page. SEE ALSO Kernel file ./include/linux/mm.h folio_page_idx(9), vma_flag_t(9), fault_flag_allow_retry_first(9), folio...
thp_vma_allowable_orders(9)
NAME thp_vma_allowable_orders - determine hugepage orders that are allowed for vma SYNOPSIS unsigned long thp_vma_allowable_orders (struct vm_area_struct *vma , vm_flags_t vm_flags , enum tva_type type , unsigned long orders ); ARGUMENTS vma the vm area to check vm_flags use these vm_flags instead ...
thread-keyring(7)
NAME thread-keyring - per-thread keyring DESCRIPTION The thread keyring is a keyring used to anchor keys on behalf of a process. It is created only when a thread requests it. The thread keyring has the name (description) _tid. A special serial number value, KEY_SPEC_THREAD_KEYRING, is defined that can be use...
thread_group_sample_cputime(9)
NAME thread_group_sample_cputime - Sample cputime for a given task SYNOPSIS void thread_group_sample_cputime (struct task_struct *tsk , u64 *samples ); ARGUMENTS tsk Task for which cputime needs to be started samples Storage for time samples DESCRIPTION Called from sys_getitimer to calculate t...
thread_group_start_cputime(9)
NAME thread_group_start_cputime - Start cputime and return a sample SYNOPSIS void thread_group_start_cputime (struct task_struct *tsk , u64 *samples ); ARGUMENTS tsk Task for which cputime needs to be started samples Storage for time samples DESCRIPTION The thread group cputime accounting is avoi...
threadsnoop.bt(8)
NAME threadsnoop.bt - Trace thread creation via pthread_create(). Uses bpftrace/eBPF. SYNOPSIS threadsnoop.bt DESCRIPTION threadsnoop traces calls to pthread_create(), showing this path of thread creation. This can be used for workload characterization and discovery, and is a companion to execsnoop.bt(8) which traces...
throtl_add_bio_tg(9)
NAME throtl_add_bio_tg - add a bio to the specified throtl_grp SYNOPSIS void throtl_add_bio_tg (struct bio *bio , struct throtl_qnode *qn , struct throtl_grp *tg ); ARGUMENTS bio bio to add qn qnode to use tg the target throtl_grp DESCRIPTION Add bio to tg's service_queue us...
throtl_log(9)
NAME throtl_log - log debug message via blktrace SYNOPSIS throtl_log (sq , fmt , args... ); ARGUMENTS sq the service_queue being reported fmt printf format string args printf args DESCRIPTION The messages are prefixed with "throtl BLKG_NAME" if sq belongs to a throtl_grp; othe...
throtl_peek_queued(9)
NAME throtl_peek_queued - peek the first bio on a qnode list SYNOPSIS struct bio * throtl_peek_queued (struct list_head *queued ); ARGUMENTS queued the qnode list to peek DESCRIPTION Always take a bio from the head of the iops queue first. If the queue is empty, we then take it from the bps queue to maintain th...
throtl_pending_timer_fn(9)
NAME throtl_pending_timer_fn - timer function for service_queue->pending_timer SYNOPSIS void throtl_pending_timer_fn (struct timer_list *t ); ARGUMENTS t the pending_timer member of the throtl_service_queue being serviced DESCRIPTION This timer is armed when a child throtl_grp with active bio's become pend...
throtl_pop_queued(9)
NAME throtl_pop_queued - pop the first bio form a qnode list SYNOPSIS struct bio * throtl_pop_queued (struct throtl_service_queue *sq , struct throtl_grp **tg_to_put , bool rw ); ARGUMENTS sq the service_queue to pop a bio from tg_to_put optional out argument for throtl_grp to put rw ...
throtl_qnode_add_bio(9)
NAME throtl_qnode_add_bio - add a bio to a throtl_qnode and activate it SYNOPSIS void throtl_qnode_add_bio (struct bio *bio , struct throtl_qnode *qn , struct throtl_service_queue *sq ); ARGUMENTS bio bio being added qn qnode to add bio to sq the service_queue qn belongs to ...
throtl_schedule_next_dispatch(9)
NAME throtl_schedule_next_dispatch - schedule the next dispatch cycle SYNOPSIS bool throtl_schedule_next_dispatch (struct throtl_service_queue *sq , bool force ); ARGUMENTS sq the service_queue to schedule dispatch for force force scheduling DESCRIPTION Arm sq->pending_timer so that the next ...
throttlectl_cpu_level_cfg(9)
NAME throttlectl_cpu_level_cfg - programs CCROC NV_THERM level config SYNOPSIS void throttlectl_cpu_level_cfg (struct tegra_soctherm *ts , int level ); ARGUMENTS ts pointer to a struct tegra_soctherm level describing the level LOW/MED/HIGH of throttling DESCRIPTION It's necessary to set up...
throttlectl_cpu_level_select(9)
NAME throttlectl_cpu_level_select - program CPU pulse skipper config SYNOPSIS void throttlectl_cpu_level_select (struct tegra_soctherm *ts , enum soctherm_throttle_id throt ); ARGUMENTS ts pointer to a struct tegra_soctherm throt the LIGHT/HEAVY of throttle event id DESCRIPTION Pulse skippers...
throttlectl_cpu_mn(9)
NAME throttlectl_cpu_mn - program CPU pulse skipper configuration SYNOPSIS void throttlectl_cpu_mn (struct tegra_soctherm *ts , enum soctherm_throttle_id throt ); ARGUMENTS ts pointer to a struct tegra_soctherm throt the LIGHT/HEAVY of throttle event id DESCRIPTION Pulse skippers are used to...
throttlectl_gpu_level_select(9)
NAME throttlectl_gpu_level_select - selects throttling level for GPU SYNOPSIS void throttlectl_gpu_level_select (struct tegra_soctherm *ts , enum soctherm_throttle_id throt ); ARGUMENTS ts pointer to a struct tegra_soctherm throt the LIGHT/HEAVY of throttle event id DESCRIPTION This function p...
throttrip_program(9)
NAME throttrip_program - Configures the hardware to throttle the pulse if a given sensor group reaches a given temperature SYNOPSIS int throttrip_program (struct device *dev , const struct tegra_tsensor_group *sg , struct soctherm_throt_cfg *stc , int trip_temp ); ARGUMENTS dev ptr to the struct device for th...
thumbpdf(1)
NAME thumbpdf - generate thumbnail images for a PDF file created with pdftex SYNOPSIS thumbpdf [ OPTION... ] PDF_FILE DESCRIPTION thumbpdf is used to create thumbnail images of individual pages within a PDF (Portable Document Format) document. USAGE First run pdftex(1) on your document to create a PDF file. The...
ti81xx_restart(9)
NAME ti81xx_restart - trigger a software restart of the SoC SYNOPSIS void ti81xx_restart (enum reboot_mode mode , const char *cmd ); ARGUMENTS mode the "reboot mode", see arch/arm/kernel/{setup,process}.c cmd passed from the userspace program rebooting the system (if provided) DESCRIPTION Rese...
ti_abb_check_txdone(9)
NAME ti_abb_check_txdone - handy wrapper to check ABB tranxdone status SYNOPSIS bool ti_abb_check_txdone (const struct ti_abb *abb ); ARGUMENTS abb pointer to the abb instance RETURN true or false SEE ALSO Kernel file ./drivers/regulator/ti-abb-regulator.c struct ti_abb_info(9), struct ti_abb_reg(9), ...
ti_abb_clear_all_txdone(9)
NAME ti_abb_clear_all_txdone - clears ABB tranxdone event SYNOPSIS int ti_abb_clear_all_txdone (struct device *dev , const struct ti_abb *abb ); ARGUMENTS dev device abb pointer to the abb instance RETURN 0 on success or -ETIMEDOUT if the event is not cleared on time. SEE ALSO Kernel file ...
ti_abb_clear_txdone(9)
NAME ti_abb_clear_txdone - handy wrapper to clear ABB tranxdone status SYNOPSIS void ti_abb_clear_txdone (const struct ti_abb *abb ); ARGUMENTS abb pointer to the abb instance SEE ALSO Kernel file ./drivers/regulator/ti-abb-regulator.c struct ti_abb_info(9), struct ti_abb_reg(9), struct ti_abb(9), ti_...
ti_abb_get_voltage_sel(9)
NAME ti_abb_get_voltage_sel - Regulator accessor to get current ABB LDO setting SYNOPSIS int ti_abb_get_voltage_sel (struct regulator_dev *rdev ); ARGUMENTS rdev regulator device RETURN 0 on success or appropriate error value when fails SEE ALSO Kernel file ./drivers/regulator/ti-abb-regulator.c struct ti_a...
ti_abb_init_table(9)
NAME ti_abb_init_table - Initialize ABB table from device tree SYNOPSIS int ti_abb_init_table (struct device *dev , struct ti_abb *abb , struct regulator_init_data *rinit_data ); ARGUMENTS dev device abb pointer to the abb instance rinit_data regulator initdata RETURN 0 on success or...
ti_abb_init_timings(9)
NAME ti_abb_init_timings - setup ABB clock timing for the current platform SYNOPSIS int ti_abb_init_timings (struct device *dev , struct ti_abb *abb ); ARGUMENTS dev device abb pointer to the abb instance RETURN 0 if timing is updated, else returns error result. SEE ALSO Kernel file ./driv...
ti_abb_probe(9)
NAME ti_abb_probe - Initialize an ABB ldo instance SYNOPSIS int ti_abb_probe (struct platform_device *pdev ); ARGUMENTS pdev ABB platform device DESCRIPTION Initializes an individual ABB LDO for required Body-Bias. ABB is used to additional bias supply to SoC modules for power savings or mandatory stability c...
ti_abb_program_ldovbb(9)
NAME ti_abb_program_ldovbb - program LDOVBB register for override value SYNOPSIS void ti_abb_program_ldovbb (struct device *dev , const struct ti_abb *abb , struct ti_abb_info *info ); ARGUMENTS dev device abb pointer to the abb instance info ABB info to program SEE ALSO Kernel...
ti_abb_rmw(9)
NAME ti_abb_rmw - handy wrapper to set specific register bits SYNOPSIS u32 ti_abb_rmw (u32 mask , u32 value , void __iomem *reg ); ARGUMENTS mask mask for register field value value shifted to mask location and written reg register address RETURN final register value (may be unus...
ti_abb_set_opp(9)
NAME ti_abb_set_opp - Setup ABB and LDO VBB for required bias SYNOPSIS int ti_abb_set_opp (struct regulator_dev *rdev , struct ti_abb *abb , struct ti_abb_info *info ); ARGUMENTS rdev regulator device abb pointer to the abb instance info ABB info to program RETURN 0 on success o...
ti_abb_set_voltage_sel(9)
NAME ti_abb_set_voltage_sel - regulator accessor function to set ABB LDO SYNOPSIS int ti_abb_set_voltage_sel (struct regulator_dev *rdev , unsigned int sel ); ARGUMENTS rdev regulator device sel selector to index into required ABB LDO settings (maps to regulator descriptor's volt_table) RETURN...
ti_abb_wait_txdone(9)
NAME ti_abb_wait_txdone - waits for ABB tranxdone event SYNOPSIS int ti_abb_wait_txdone (struct device *dev , struct ti_abb *abb ); ARGUMENTS dev device abb pointer to the abb instance RETURN 0 on success or -ETIMEDOUT if the event is not cleared on time. SEE ALSO Kernel file ./drivers/reg...
ti_bandgap_adc_to_mcelsius(9)
NAME ti_bandgap_adc_to_mcelsius - converts an ADC value to mCelsius scale SYNOPSIS int ti_bandgap_adc_to_mcelsius (struct ti_bandgap *bgp , int adc_val , int *t ); ARGUMENTS bgp struct ti_bandgap pointer adc_val value in ADC representation t address where to write the resulting t...
ti_bandgap_build(9)
NAME ti_bandgap_build - parse DT and setup a struct ti_bandgap SYNOPSIS struct ti_bandgap * ti_bandgap_build (struct platform_device *pdev ); ARGUMENTS pdev pointer to device struct platform_device DESCRIPTION Used to read the device tree properties accordingly to the bandgap matching version. Based on bandga...
ti_bandgap_force_single_read(9)
NAME ti_bandgap_force_single_read - executes 1 single ADC conversion SYNOPSIS int ti_bandgap_force_single_read (struct ti_bandgap *bgp , int id ); ARGUMENTS bgp pointer to struct ti_bandgap id sensor id which it is desired to read 1 temperature DESCRIPTION Used to initialize the conversion s...
ti_bandgap_get_sensor_data(9)
NAME ti_bandgap_get_sensor_data - helper function to get thermal framework related data. SYNOPSIS void * ti_bandgap_get_sensor_data (struct ti_bandgap *bgp , int id ); ARGUMENTS bgp pointer to bandgap instance id sensor id RETURN data stored by set function with sensor id on success or NULL ...
ti_bandgap_get_trend(9)
NAME ti_bandgap_get_trend - To fetch the temperature trend of a sensor SYNOPSIS int ti_bandgap_get_trend (struct ti_bandgap *bgp , int id , int *trend ); ARGUMENTS bgp pointer to struct ti_bandgap id id of the individual sensor trend Pointer to trend. DESCRIPTION This function...
ti_bandgap_power(9)
NAME ti_bandgap_power - controls the power state of a bandgap device SYNOPSIS int ti_bandgap_power (struct ti_bandgap *bgp , bool on ); ARGUMENTS bgp pointer to ti_bandgap structure on desired power state (1 - on, 0 - off) DESCRIPTION Used to power on/off a bandgap device instance. Only used...
ti_bandgap_read_counter(9)
NAME ti_bandgap_read_counter - read the sensor counter SYNOPSIS void ti_bandgap_read_counter (struct ti_bandgap *bgp , int id , int *interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval resulting update interval in miliseconds SEE ALSO Kernel file ./dr...
ti_bandgap_read_counter_delay(9)
NAME ti_bandgap_read_counter_delay - read the sensor counter delay SYNOPSIS void ti_bandgap_read_counter_delay (struct ti_bandgap *bgp , int id , int *interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval resulting update interval in miliseconds SEE ALSO Kern...
ti_bandgap_read_temp(9)
NAME ti_bandgap_read_temp - helper function to read sensor temperature SYNOPSIS u32 ti_bandgap_read_temp (struct ti_bandgap *bgp , int id ); ARGUMENTS bgp pointer to ti_bandgap structure id bandgap sensor id DESCRIPTION Function to concentrate the steps to read sensor temperature register...
ti_bandgap_read_temperature(9)
NAME ti_bandgap_read_temperature - report current temperature SYNOPSIS int ti_bandgap_read_temperature (struct ti_bandgap *bgp , int id , int *temperature ); ARGUMENTS bgp pointer to bandgap instance id sensor id temperature resulting temperature RETURN 0 on success or the proper err...
ti_bandgap_read_update_interval(9)
NAME ti_bandgap_read_update_interval - read the sensor update interval SYNOPSIS int ti_bandgap_read_update_interval (struct ti_bandgap *bgp , int id , int *interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval resulting update interval in miliseconds RETURN 0...
ti_bandgap_readl(9)
NAME ti_bandgap_readl - simple read helper function SYNOPSIS u32 ti_bandgap_readl (struct ti_bandgap *bgp , u32 reg ); ARGUMENTS bgp pointer to ti_bandgap structure reg desired register (offset) to be read DESCRIPTION Helper function to read bandgap registers. It uses the io remapped area. R...
ti_bandgap_set_continuous_mode(9)
NAME ti_bandgap_set_continuous_mode - One time enabling of continuous mode SYNOPSIS int ti_bandgap_set_continuous_mode (struct ti_bandgap *bgp ); ARGUMENTS bgp pointer to struct ti_bandgap DESCRIPTION Call this function only if HAS(MODE_CONFIG) is set. As this driver may be used for junction temperature moni...
ti_bandgap_set_sensor_data(9)
NAME ti_bandgap_set_sensor_data - helper function to store thermal framework related data. SYNOPSIS int ti_bandgap_set_sensor_data (struct ti_bandgap *bgp , int id , void *data ); ARGUMENTS bgp pointer to bandgap instance id sensor id data thermal framework related data to be s...
ti_bandgap_talert_init(9)
NAME ti_bandgap_talert_init - setup and initialize talert handling SYNOPSIS int ti_bandgap_talert_init (struct ti_bandgap *bgp , struct platform_device *pdev ); ARGUMENTS bgp pointer to struct ti_bandgap pdev pointer to device struct platform_device DESCRIPTION Call this function only in case ...
ti_bandgap_talert_irq_handler(9)
NAME ti_bandgap_talert_irq_handler - handles Temperature alert IRQs SYNOPSIS irqreturn_t ti_bandgap_talert_irq_handler (int irq , void *data ); ARGUMENTS irq IRQ number data private data (struct ti_bandgap *) DESCRIPTION This is the Talert handler. Use it only if bandgap device features H...
ti_bandgap_tshut_init(9)
NAME ti_bandgap_tshut_init - setup and initialize tshut handling SYNOPSIS int ti_bandgap_tshut_init (struct ti_bandgap *bgp , struct platform_device *pdev ); ARGUMENTS bgp pointer to struct ti_bandgap pdev pointer to device struct platform_device DESCRIPTION Call this function only in case...
ti_bandgap_tshut_irq_handler(9)
NAME ti_bandgap_tshut_irq_handler - handles Temperature shutdown signal SYNOPSIS irqreturn_t ti_bandgap_tshut_irq_handler (int irq , void *data ); ARGUMENTS irq IRQ number data private data (unused) DESCRIPTION This is the Tshut handler. Use it only if bandgap device features HAS(TSHUT). If an...
ti_bandgap_validate(9)
NAME ti_bandgap_validate - helper to check the sanity of a struct ti_bandgap SYNOPSIS int ti_bandgap_validate (struct ti_bandgap *bgp , int id ); ARGUMENTS bgp struct ti_bandgap pointer id bandgap sensor id DESCRIPTION Checks if the bandgap pointer is valid and if the sensor id is also appli...
ti_bandgap_write_counter(9)
NAME ti_bandgap_write_counter - set the bandgap sensor counter SYNOPSIS void ti_bandgap_write_counter (struct ti_bandgap *bgp , int id , u32 interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval desired update interval in miliseconds SEE ALSO Kernel file ./...
ti_bandgap_write_counter_delay(9)
NAME ti_bandgap_write_counter_delay - set the counter_delay SYNOPSIS int ti_bandgap_write_counter_delay (struct ti_bandgap *bgp , int id , u32 interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval desired update interval in miliseconds RETURN 0 on success or ...
ti_bandgap_write_update_interval(9)
NAME ti_bandgap_write_update_interval - set the update interval SYNOPSIS int ti_bandgap_write_update_interval (struct ti_bandgap *bgp , int id , u32 interval ); ARGUMENTS bgp pointer to bandgap instance id sensor id interval desired update interval in miliseconds RETURN 0 on succe...
ti_bandgap_writel(9)
NAME ti_bandgap_writel - simple write helper function SYNOPSIS void ti_bandgap_writel (struct ti_bandgap *bgp , u32 val , u32 reg ); ARGUMENTS bgp pointer to ti_bandgap structure val desired register value to be written reg desired register (offset) to be written DESCRIPTION H...
ti_clk_add_alias(9)
NAME ti_clk_add_alias - add a clock alias for a TI clock SYNOPSIS int ti_clk_add_alias (struct clk *clk , const char *con ); ARGUMENTS clk clock handle to create alias for con connection ID for this clock DESCRIPTION Creates a clock alias for a TI clock. Allocates the clock lookup entry and a...
ti_clk_add_aliases(9)
NAME ti_clk_add_aliases - setup clock aliases SYNOPSIS void ti_clk_add_aliases (void ); ARGUMENTS void no arguments DESCRIPTION Sets up any missing clock aliases. No return value. SEE ALSO Kernel file ./drivers/clk/ti/clk.c ti_clk_setup_ll_ops(9), ti_dt_clocks_register(9), ti_clk_retry_in...
ti_clk_add_component(9)
NAME ti_clk_add_component - add a component clock to the pool SYNOPSIS int ti_clk_add_component (struct device_node *node , struct clk_hw *hw , int type ); ARGUMENTS node device node of the component clock hw hardware clock definition for the component clock type type of the com...
ti_clk_get_features(9)
NAME ti_clk_get_features - get clock driver features flags SYNOPSIS const struct ti_clk_features * ti_clk_get_features (void ); ARGUMENTS void no arguments DESCRIPTION Get TI clock driver features description. Returns a pointer to the current feature setup. SEE ALSO Kernel file ./drivers/clk/ti/clk.c...
ti_clk_get_legacy_bit_shift(9)
NAME ti_clk_get_legacy_bit_shift - get bit shift for a clock register SYNOPSIS int ti_clk_get_legacy_bit_shift (struct device_node *node ); ARGUMENTS node device node for the clock DESCRIPTION Gets the clock register bit shift using the legacy ti,bit-shift property. Only needed for legacy clock, and can be ev...
ti_clk_get_reg_addr(9)
NAME ti_clk_get_reg_addr - get register address for a clock register SYNOPSIS int ti_clk_get_reg_addr (struct device_node *node , int index , struct clk_omap_reg *reg ); ARGUMENTS node device node for the clock index register index from the clock node reg pointer to target registe...
ti_clk_init_features(9)
NAME ti_clk_init_features - init clock features struct for the SoC SYNOPSIS void ti_clk_init_features (void ); ARGUMENTS void no arguments DESCRIPTION Initializes the clock features struct based on the SoC type. SEE ALSO Kernel file ./arch/arm/mach-omap2/clock.c omap2_clk_setup_ll_ops(9) April 2026 ...
ti_clk_is_in_standby(9)
NAME ti_clk_is_in_standby - Check if clkctrl clock is in standby or not SYNOPSIS bool ti_clk_is_in_standby (struct clk *clk ); ARGUMENTS clk clock to check standby status for DESCRIPTION Finds whether the provided clock is in standby mode or not. Returns true if the provided clock is a clkctrl type clock and...
ti_clk_retry_init(9)
NAME ti_clk_retry_init - retries a failed clock init at later phase SYNOPSIS int ti_clk_retry_init (struct device_node *node , void *user , ti_of_clk_init_cb_t func ); ARGUMENTS node device node for the clock user user data pointer func init function to be called for the clock DE...
ti_clk_setup_features(9)
NAME ti_clk_setup_features - setup clock features flags SYNOPSIS void ti_clk_setup_features (struct ti_clk_features *features ); ARGUMENTS features features definition to use DESCRIPTION Initializes the clock driver features flags based on platform provided data. No return value. SEE ALSO Kernel file ./d...
ti_clk_setup_ll_ops(9)
NAME ti_clk_setup_ll_ops - setup low level clock operations SYNOPSIS int ti_clk_setup_ll_ops (struct ti_clk_ll_ops *ops ); ARGUMENTS ops low level clock ops descriptor DESCRIPTION Sets up low level clock operations for TI clock driver. This is used to provide various callbacks for the clock driver towards pl...
ti_cpufreq_get_efuse(9)
NAME ti_cpufreq_get_efuse - Parse and return efuse value present on SoC SYNOPSIS int ti_cpufreq_get_efuse (struct ti_cpufreq_data *opp_data , u32 *efuse_value ); ARGUMENTS opp_data pointer to ti_cpufreq_data context efuse_value Set to the value parsed from efuse DESCRIPTION Returns error code if efuse not...
ti_cpufreq_get_rev(9)
NAME ti_cpufreq_get_rev - Parse and return rev value present on SoC SYNOPSIS int ti_cpufreq_get_rev (struct ti_cpufreq_data *opp_data , u32 *revision_value ); ARGUMENTS opp_data pointer to ti_cpufreq_data context revision_value Set to the value parsed from revision register DESCRIPTION ...
ti_dt_clk_init_retry_clks(9)
NAME ti_dt_clk_init_retry_clks - init clocks from the retry list SYNOPSIS void ti_dt_clk_init_retry_clks (void ); ARGUMENTS void no arguments DESCRIPTION Initializes any clocks that have failed to initialize before, reasons being missing parent node(s) during earlier init. This typically happens only for ...
ti_dt_clk_name(9)
NAME ti_dt_clk_name - init clock name from first output name or node name SYNOPSIS const char * ti_dt_clk_name (struct device_node *np ); ARGUMENTS np device node DESCRIPTION Use the first clock-output-name for the clock name if found. Fall back to legacy naming based on node name. SEE ALSO Kernel file...
ti_dt_clockdomains_setup(9)
NAME ti_dt_clockdomains_setup - setup device tree clockdomains SYNOPSIS void ti_dt_clockdomains_setup (void ); ARGUMENTS void no arguments DESCRIPTION Initializes clockdomain nodes for a SoC. This parses through all the nodes with compatible = "ti,clockdomain", and add the clockdomain info for all the clock...
ti_dt_clocks_register(9)
NAME ti_dt_clocks_register - register DT alias clocks during boot SYNOPSIS void ti_dt_clocks_register (struct ti_dt_clk oclks[] ); ARGUMENTS oclks list of clocks to register DESCRIPTION Register alias or non-standard DT clock entries during boot. By default, DT clocks are found based on their clock-output-nam...
ti_emif_copy_pm_function_table(9)
NAME ti_emif_copy_pm_function_table - copy mapping of pm funcs in sram SYNOPSIS int ti_emif_copy_pm_function_table (struct gen_pool *sram_pool , void *dst ); ARGUMENTS sram_pool pointer to struct gen_pool where dst resides dst void * to address that table should be copied DESCRIPTION Returns 0 if s...
ti_emif_get_mem_type(9)
NAME ti_emif_get_mem_type - return type for memory type in use SYNOPSIS int ti_emif_get_mem_type (void ); ARGUMENTS void no arguments DESCRIPTION Returns memory type value read from EMIF or error code if fails SEE ALSO Kernel file ./drivers/memory/ti-emif-pm.c ti_emif_copy_pm_function_table(9) April 2026 ...
ti_errata814_bandgap_read_temp(9)
NAME ti_errata814_bandgap_read_temp - helper function to read dra7 sensor temperature SYNOPSIS u32 ti_errata814_bandgap_read_temp (struct ti_bandgap *bgp , u32 reg ); ARGUMENTS bgp pointer to ti_bandgap structure reg desired register (offset) to be read DESCRIPTION Function to read dra7 bandg...
ti_iodelay_alloc_pins(9)
NAME ti_iodelay_alloc_pins - Allocate structures needed for pins for iodelay SYNOPSIS int ti_iodelay_alloc_pins (struct device *dev , struct ti_iodelay_device *iod , u32 base_phy ); ARGUMENTS dev Device pointer iod iodelay device base_phy Base Physical Address RETURN 0 if all went ...
ti_iodelay_compute_dpe(9)
NAME ti_iodelay_compute_dpe - Compute equation for delay parameter SYNOPSIS u32 ti_iodelay_compute_dpe (u16 period , u16 ref , u16 delay , u16 delay_m ); ARGUMENTS period Period to use ref Reference Count delay Delay count delay_m Delay multiplier RETURN Computed delay ...
ti_iodelay_dt_node_to_map(9)
NAME ti_iodelay_dt_node_to_map - Map a device tree node to appropriate group SYNOPSIS int ti_iodelay_dt_node_to_map (struct pinctrl_dev *pctldev , struct device_node *np , struct pinctrl_map **map , unsigned int *num_maps ); ARGUMENTS pctldev pinctrl device representing IODelay device np Node Poi...
ti_iodelay_extract(9)
NAME ti_iodelay_extract - extract bits for a field SYNOPSIS u32 ti_iodelay_extract (u32 val , u32 mask ); ARGUMENTS val Register value mask Mask RETURN extracted value which is appropriately shifted SEE ALSO Kernel file ./drivers/pinctrl/ti/pinctrl-ti-iodelay.c struct ti_iodelay_reg_data(9)...
ti_iodelay_get_pingroup(9)
NAME ti_iodelay_get_pingroup - Find the group mapped by a group selector SYNOPSIS struct ti_iodelay_pingroup * ti_iodelay_get_pingroup (struct ti_iodelay_device *iod , unsigned int selector ); ARGUMENTS iod iodelay device selector Group Selector RETURN Corresponding group representing group select...
ti_iodelay_node_iterator(9)
NAME ti_iodelay_node_iterator - Iterate iodelay node SYNOPSIS int ti_iodelay_node_iterator (struct pinctrl_dev *pctldev , struct device_node *np , const struct of_phandle_args *pinctrl_spec , int *pins , int pin_index , void *data ); ARGUMENTS pctldev Pin controller driver np Device node ...
ti_iodelay_offset_to_pin(9)
NAME ti_iodelay_offset_to_pin - get a pin index based on the register offset SYNOPSIS int ti_iodelay_offset_to_pin (struct ti_iodelay_device *iod , unsigned int offset ); ARGUMENTS iod iodelay driver instance offset register offset from the base SEE ALSO Kernel file ./drivers/pinctrl/ti/pinctr...