id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ab8500_charger_usb_cv(9) | NAME ab8500_charger_usb_cv - check if the usb charger is in CV mode
SYNOPSIS int ab8500_charger_usb_cv (struct ab8500_charger *di );
ARGUMENTS di pointer to the ab8500_charger structure
DESCRIPTION Returns ac charger CV mode (on success) else error code
SEE ALSO Kernel file ./drivers/power/supply/ab850... |
ab8500_charger_usb_en(9) | NAME ab8500_charger_usb_en - enable usb charging
SYNOPSIS int ab8500_charger_usb_en (struct ux500_charger *charger , int enable , int vset_uv , int ich_out_ua );
ARGUMENTS charger -- undescribed --
enable enable/disable flag
vset_uv charging voltage in microvolt
ich_out_ua charge... |
ab8500_charger_usb_get_property(9) | NAME ab8500_charger_usb_get_property - get the usb properties
SYNOPSIS int ab8500_charger_usb_get_property (struct power_supply *psy , enum power_supply_property psp , union power_supply_propval *val );
ARGUMENTS psy pointer to the power_supply structure
psp pointer to the power_supply_propert... |
ab8500_charger_usb_link_attach_work(9) | NAME ab8500_charger_usb_link_attach_work - work to detect USB type
SYNOPSIS void ab8500_charger_usb_link_attach_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Detect the type of USB plugged
SEE ALSO Kernel file ./drivers/power/supply/ab8500_charger.c s... |
ab8500_charger_usb_link_status_work(9) | NAME ab8500_charger_usb_link_status_work - work to detect USB type
SYNOPSIS void ab8500_charger_usb_link_status_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Detect the type of USB plugged
SEE ALSO Kernel file ./drivers/power/supply/ab8500_charger.c s... |
ab8500_charger_usbchargernotokr_handler(9) | NAME ab8500_charger_usbchargernotokr_handler - USB charger not ok detected
SYNOPSIS irqreturn_t ab8500_charger_usbchargernotokr_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kern... |
ab8500_charger_usbchthprotf_handler(9) | NAME ab8500_charger_usbchthprotf_handler - Die temp is below usb charger thermal protection threshold
SYNOPSIS irqreturn_t ab8500_charger_usbchthprotf_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_... |
ab8500_charger_usbchthprotr_handler(9) | NAME ab8500_charger_usbchthprotr_handler - Die temp is above usb charger thermal protection threshold
SYNOPSIS irqreturn_t ab8500_charger_usbchthprotr_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_... |
ab8500_charger_usblinkstatus_handler(9) | NAME ab8500_charger_usblinkstatus_handler - USB link status has changed
SYNOPSIS irqreturn_t ab8500_charger_usblinkstatus_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel f... |
ab8500_charger_vbuschdropend_handler(9) | NAME ab8500_charger_vbuschdropend_handler - VBUS drop removed
SYNOPSIS irqreturn_t ab8500_charger_vbuschdropend_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./dr... |
ab8500_charger_vbusdetf_handler(9) | NAME ab8500_charger_vbusdetf_handler - VBUS falling detected
SYNOPSIS irqreturn_t ab8500_charger_vbusdetf_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/... |
ab8500_charger_vbusdetr_handler(9) | NAME ab8500_charger_vbusdetr_handler - VBUS rising detected
SYNOPSIS irqreturn_t ab8500_charger_vbusdetr_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/p... |
ab8500_charger_vbusovv_handler(9) | NAME ab8500_charger_vbusovv_handler - VBUS overvoltage detected
SYNOPSIS irqreturn_t ab8500_charger_vbusovv_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_charger structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./driver... |
ab8500_charger_watchdog_kick(9) | NAME ab8500_charger_watchdog_kick - kick charger watchdog
SYNOPSIS int ab8500_charger_watchdog_kick (struct ux500_charger *charger );
ARGUMENTS charger -- undescribed --
DESCRIPTION Kick charger watchdog Returns error code in case of failure else 0(on success)
SEE ALSO Kernel file ./drivers/power/supply/ab8... |
ab8500_fg_acc_cur_work(9) | NAME ab8500_fg_acc_cur_work - average battery current
SYNOPSIS void ab8500_fg_acc_cur_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Updated the average battery current obtained from the coulomb counter.
SEE ALSO Kernel file ./drivers/power/supply/ab8500... |
ab8500_fg_add_cap_sample(9) | NAME ab8500_fg_add_cap_sample - Add capacity to average filter
SYNOPSIS int ab8500_fg_add_cap_sample (struct ab8500_fg *di , int sample );
ARGUMENTS di pointer to the ab8500_fg structure
sample the capacity in mAh to add to the filter
DESCRIPTION A capacity is added to the filter and a new mean... |
ab8500_fg_algorithm(9) | NAME ab8500_fg_algorithm - Entry point for the FG algorithm
SYNOPSIS void ab8500_fg_algorithm (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Entry point for the battery capacity calculation state machine
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c str... |
ab8500_fg_algorithm_calibrate(9) | NAME ab8500_fg_algorithm_calibrate - Internal columb counter offset calibration
SYNOPSIS void ab8500_fg_algorithm_calibrate (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_interrupts(9), struct ab85... |
ab8500_fg_algorithm_charging(9) | NAME ab8500_fg_algorithm_charging - FG algorithm for when charging
SYNOPSIS void ab8500_fg_algorithm_charging (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Battery capacity calculation state machine for when we're charging
SEE ALSO Kernel file ./drivers/power/supp... |
ab8500_fg_algorithm_discharging(9) | NAME ab8500_fg_algorithm_discharging - FG algorithm for when discharging
SYNOPSIS void ab8500_fg_algorithm_discharging (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Battery capacity calculation state machine for when we're discharging
SEE ALSO Kernel file ./driver... |
ab8500_fg_bat_voltage(9) | NAME ab8500_fg_bat_voltage - get battery voltage
SYNOPSIS int ab8500_fg_bat_voltage (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns battery voltage in microvolts (on success) else error code
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ... |
ab8500_fg_batt_ovv_handler(9) | NAME ab8500_fg_batt_ovv_handler - Battery OVV occured
SYNOPSIS irqreturn_t ab8500_fg_batt_ovv_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_fg structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/power/supply/ab85... |
ab8500_fg_battery_resistance(9) | NAME ab8500_fg_battery_resistance - Returns the battery inner resistance
SYNOPSIS int ab8500_fg_battery_resistance (struct ab8500_fg *di , int vbat_uncomp_uv );
ARGUMENTS di pointer to the ab8500_fg structure
vbat_uncomp_uv
Uncompensated VBAT voltage
DESCRIPTION Returns battery in... |
ab8500_fg_battok_calc(9) | NAME ab8500_fg_battok_calc - calculate the bit pattern corresponding to the target voltage.
SYNOPSIS int ab8500_fg_battok_calc (struct ab8500_fg *di , int target );
ARGUMENTS di pointer to the ab8500_fg structure
target target voltage
DESCRIPTION Returns bit pattern closest to the target voltag... |
ab8500_fg_battok_init_hw_register(9) | NAME ab8500_fg_battok_init_hw_register - init battok levels
SYNOPSIS int ab8500_fg_battok_init_hw_register (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_interrupts(9), struct ab8500_fg(9), ab850... |
ab8500_fg_calc_cap_charging(9) | NAME ab8500_fg_calc_cap_charging - Calculate remaining capacity while charging
SYNOPSIS int ab8500_fg_calc_cap_charging (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Return the capacity in mAh based on previous calculated capcity and the FG accumulator register value. ... |
ab8500_fg_calc_cap_discharge_fg(9) | NAME ab8500_fg_calc_cap_discharge_fg - Capacity in discharge with FG
SYNOPSIS int ab8500_fg_calc_cap_discharge_fg (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Return the capacity in mAh based on previous calculated capcity and the FG accumulator register value. This v... |
ab8500_fg_calc_cap_discharge_voltage(9) | NAME ab8500_fg_calc_cap_discharge_voltage - Capacity in discharge with voltage
SYNOPSIS int ab8500_fg_calc_cap_discharge_voltage (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Return the capacity in mAh based on the load compensated battery voltage. This value is added... |
ab8500_fg_calculate_scaled_capacity(9) | NAME ab8500_fg_calculate_scaled_capacity - Capacity scaling
SYNOPSIS int ab8500_fg_calculate_scaled_capacity (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Calculates the capacity to be shown to upper layers. Scales the capacity to have 100% as a reference from the actu... |
ab8500_fg_capacity_level(9) | NAME ab8500_fg_capacity_level - Get the battery capacity level
SYNOPSIS int ab8500_fg_capacity_level (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Get the battery capacity level based on the capacity in percent
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg... |
ab8500_fg_cc_convend_handler(9) | NAME ab8500_fg_cc_convend_handler - isr to get battery avg current.
SYNOPSIS irqreturn_t ab8500_fg_cc_convend_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_fg structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/p... |
ab8500_fg_cc_data_end_handler(9) | NAME ab8500_fg_cc_data_end_handler - end of data conversion isr.
SYNOPSIS irqreturn_t ab8500_fg_cc_data_end_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_fg structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/pow... |
ab8500_fg_cc_int_calib_handler(9) | NAME ab8500_fg_cc_int_calib_handler - end of calibration isr.
SYNOPSIS irqreturn_t ab8500_fg_cc_int_calib_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_fg structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/power... |
ab8500_fg_check_capacity_limits(9) | NAME ab8500_fg_check_capacity_limits - Check if capacity has changed
SYNOPSIS void ab8500_fg_check_capacity_limits (struct ab8500_fg *di , bool init );
ARGUMENTS di pointer to the ab8500_fg structure
init capacity is allowed to go up in init mode
DESCRIPTION Check if capacity or capacity limi... |
ab8500_fg_check_hw_failure_work(9) | NAME ab8500_fg_check_hw_failure_work - Check OVV_BAT condition
SYNOPSIS void ab8500_fg_check_hw_failure_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Work queue function for checking the OVV_BAT condition
SEE ALSO Kernel file ./drivers/power/supply/ab85... |
ab8500_fg_clear_cap_samples(9) | NAME ab8500_fg_clear_cap_samples - Clear average filter
SYNOPSIS void ab8500_fg_clear_cap_samples (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION The capacity filter is reset to zero.
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_interrupt... |
ab8500_fg_convert_mah_to_permille(9) | NAME ab8500_fg_convert_mah_to_permille - Capacity in mAh to permille
SYNOPSIS int ab8500_fg_convert_mah_to_permille (struct ab8500_fg *di , int cap_mah );
ARGUMENTS di pointer to the ab8500_fg structure
cap_mah capacity in mAh
DESCRIPTION Converts capacity in mAh to capacity in permille
SEE ALS... |
ab8500_fg_convert_mah_to_uwh(9) | NAME ab8500_fg_convert_mah_to_uwh - Capacity in mAh to uWh
SYNOPSIS int ab8500_fg_convert_mah_to_uwh (struct ab8500_fg *di , int cap_mah );
ARGUMENTS di pointer to the ab8500_fg structure
cap_mah capacity in mAh
DESCRIPTION Converts capacity in mAh to capacity in uWh
SEE ALSO Kernel file ./... |
ab8500_fg_convert_permille_to_mah(9) | NAME ab8500_fg_convert_permille_to_mah - Capacity in permille to mAh
SYNOPSIS int ab8500_fg_convert_permille_to_mah (struct ab8500_fg *di , int cap_pm );
ARGUMENTS di pointer to the ab8500_fg structure
cap_pm capacity in permille
DESCRIPTION Converts capacity in permille to capacity in mAh
SEE... |
ab8500_fg_coulomb_counter(9) | NAME ab8500_fg_coulomb_counter - enable coulomb counter
SYNOPSIS int ab8500_fg_coulomb_counter (struct ab8500_fg *di , bool enable );
ARGUMENTS di pointer to the ab8500_fg structure
enable enable/disable
DESCRIPTION Enable/Disable coulomb counter. On failure returns negative value.
SEE ALSO K... |
ab8500_fg_external_power_changed(9) | NAME ab8500_fg_external_power_changed - callback for power supply changes
SYNOPSIS void ab8500_fg_external_power_changed (struct power_supply *psy );
ARGUMENTS psy pointer to the structure power_supply
DESCRIPTION This function is the entry point of the pointer external_power_changed of the structure power_... |
ab8500_fg_fill_cap_sample(9) | NAME ab8500_fg_fill_cap_sample - Fill average filter
SYNOPSIS void ab8500_fg_fill_cap_sample (struct ab8500_fg *di , int sample );
ARGUMENTS di pointer to the ab8500_fg structure
sample the capacity in mAh to fill the filter with
DESCRIPTION The capacity filter is filled with a capacity in mAh
... |
ab8500_fg_get(9) | NAME ab8500_fg_get - returns a reference to the primary AB8500 fuel gauge (i.e. the first fuel gauge in the instance list)
SYNOPSIS struct ab8500_fg * ab8500_fg_get (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_interrupts(9), struct ab8500_f... |
ab8500_fg_get_property(9) | NAME ab8500_fg_get_property - get the fg properties
SYNOPSIS int ab8500_fg_get_property (struct power_supply *psy , enum power_supply_property psp , union power_supply_propval *val );
ARGUMENTS psy pointer to the power_supply structure
psp pointer to the power_supply_property structure
... |
ab8500_fg_init_hw_registers(9) | NAME ab8500_fg_init_hw_registers - Set up FG related registers
SYNOPSIS int ab8500_fg_init_hw_registers (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Set up battery OVV, low battery voltage registers
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct... |
ab8500_fg_inst_curr_blocking(9) | NAME ab8500_fg_inst_curr_blocking - battery instantaneous current
SYNOPSIS int ab8500_fg_inst_curr_blocking (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns battery instantenous current in microampere (on success) else error code
SEE ALSO Kernel file ./drivers/... |
ab8500_fg_inst_curr_done(9) | NAME ab8500_fg_inst_curr_done - check if fg conversion is done
SYNOPSIS int ab8500_fg_inst_curr_done (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns 1 if conversion done, 0 if still waiting
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct a... |
ab8500_fg_inst_curr_finalize(9) | NAME ab8500_fg_inst_curr_finalize - battery instantaneous current
SYNOPSIS int ab8500_fg_inst_curr_finalize (struct ab8500_fg *di , int *curr_ua );
ARGUMENTS di pointer to the ab8500_fg structure
curr_ua battery instantenous current in microampere (on success)
DESCRIPTION Returns 0 or an error c... |
ab8500_fg_inst_curr_start(9) | NAME ab8500_fg_inst_curr_start - start battery instantaneous current
SYNOPSIS int ab8500_fg_inst_curr_start (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns 0 or error code
NOTE This is part "one" and has to be called before ab8500_fg_inst_curr_finalize
SEE ALSO... |
ab8500_fg_inst_curr_started(9) | NAME ab8500_fg_inst_curr_started - check if fg conversion has started
SYNOPSIS int ab8500_fg_inst_curr_started (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns 1 if conversion started, 0 if still waiting
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c... |
ab8500_fg_instant_work(9) | NAME ab8500_fg_instant_work - Run the FG state machine instantly
SYNOPSIS void ab8500_fg_instant_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Work queue function for instant work
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_in... |
ab8500_fg_is_low_curr(9) | NAME ab8500_fg_is_low_curr - Low or high current mode
SYNOPSIS int ab8500_fg_is_low_curr (struct ab8500_fg *di , int curr_ua );
ARGUMENTS di pointer to the ab8500_fg structure
curr_ua the current to base or our decision on in microampere
DESCRIPTION Low current mode if the current consumption is... |
ab8500_fg_load_comp_volt_to_capacity(9) | NAME ab8500_fg_load_comp_volt_to_capacity - Load compensated voltage based capacity
SYNOPSIS int ab8500_fg_load_comp_volt_to_capacity (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns battery capacity based on battery voltage that is load compensated for the voltag... |
ab8500_fg_low_bat_work(9) | NAME ab8500_fg_low_bat_work - Check LOW_BAT condition
SYNOPSIS void ab8500_fg_low_bat_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Work queue function for checking the LOW_BAT condition
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ... |
ab8500_fg_lowbatf_handler(9) | NAME ab8500_fg_lowbatf_handler - Battery voltage is below LOW threshold
SYNOPSIS irqreturn_t ab8500_fg_lowbatf_handler (int irq , void *_di );
ARGUMENTS irq interrupt number
_di pointer to the ab8500_fg structure
DESCRIPTION Returns IRQ status(IRQ_HANDLED)
SEE ALSO Kernel file ./drivers/... |
ab8500_fg_periodic_work(9) | NAME ab8500_fg_periodic_work - Run the FG state machine periodically
SYNOPSIS void ab8500_fg_periodic_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Work queue function for periodic work
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500... |
ab8500_fg_reinit_work(9) | NAME ab8500_fg_reinit_work - work to reset the FG algorithm
SYNOPSIS void ab8500_fg_reinit_work (struct work_struct *work );
ARGUMENTS work pointer to the work_struct structure
DESCRIPTION Used to reset the current battery capacity to be able to retrigger a new voltage base capacity calculation. For test and ... |
ab8500_fg_sysfs_exit(9) | NAME ab8500_fg_sysfs_exit - de-init of sysfs entry
SYNOPSIS void ab8500_fg_sysfs_exit (struct ab8500_fg *di );
ARGUMENTS di pointer to the struct ab8500_chargalg
DESCRIPTION This function removes the entry in sysfs.
SEE ALSO Kernel file ./drivers/power/supply/ab8500_fg.c struct ab8500_fg_interrupts... |
ab8500_fg_sysfs_init(9) | NAME ab8500_fg_sysfs_init - init of sysfs entry
SYNOPSIS int ab8500_fg_sysfs_init (struct ab8500_fg *di );
ARGUMENTS di pointer to the struct ab8500_chargalg
DESCRIPTION This function adds an entry in sysfs. Returns error code in case of failure else 0(on success)
SEE ALSO Kernel file ./drivers/power/... |
ab8500_fg_uncomp_volt_to_capacity(9) | NAME ab8500_fg_uncomp_volt_to_capacity - Uncompensated voltage based capacity
SYNOPSIS int ab8500_fg_uncomp_volt_to_capacity (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION Returns battery capacity based on battery voltage that is not compensated for the voltage drop due... |
ab8500_fg_update_cap_scalers(9) | NAME ab8500_fg_update_cap_scalers - Capacity scaling
SYNOPSIS void ab8500_fg_update_cap_scalers (struct ab8500_fg *di );
ARGUMENTS di pointer to the ab8500_fg structure
DESCRIPTION To be called when state change from charge<->discharge to update the capacity scalers.
SEE ALSO Kernel file ./drivers/powe... |
ab8500_fg_volt_to_capacity(9) | NAME ab8500_fg_volt_to_capacity - Voltage based capacity
SYNOPSIS int ab8500_fg_volt_to_capacity (struct ab8500_fg *di , int voltage_uv );
ARGUMENTS di pointer to the ab8500_fg structure
voltage_uv The voltage to convert to a capacity in microvolt
DESCRIPTION Returns battery capacity in per mille b... |
ab8500_gpadc_ad_to_voltage(9) | NAME ab8500_gpadc_ad_to_voltage - Convert a raw ADC value to a voltage
SYNOPSIS int ab8500_gpadc_ad_to_voltage (struct ab8500_gpadc *gpadc , enum ab8500_gpadc_channel ch , int ad_value );
ARGUMENTS gpadc GPADC instance
ch the sampled channel this raw value is coming from
ad_value the... |
ab8500_gpadc_parse_channel(9) | NAME ab8500_gpadc_parse_channel - process devicetree channel configuration
SYNOPSIS int ab8500_gpadc_parse_channel (struct device *dev , struct fwnode_handle *fwnode , struct ab8500_gpadc_chan_info *ch , struct iio_chan_spec *iio_chan );
ARGUMENTS dev pointer to containing device
fwnode fw node f... |
ab8500_gpadc_parse_channels(9) | NAME ab8500_gpadc_parse_channels - Parse the GPADC channels from DT
SYNOPSIS int ab8500_gpadc_parse_channels (struct ab8500_gpadc *gpadc , struct iio_chan_spec **chans_parsed , unsigned int *nchans_parsed );
ARGUMENTS gpadc the GPADC to configure the channels for
chans_parsed
the IIO ... |
ab8500_load_comp_fg_bat_voltage(9) | NAME ab8500_load_comp_fg_bat_voltage - get load compensated battery voltage
SYNOPSIS int ab8500_load_comp_fg_bat_voltage (struct ab8500_fg *di , bool always );
ARGUMENTS di pointer to the ab8500_fg structure
always always return a voltage, also uncompensated
DESCRIPTION Returns compensated batt... |
ab8500_power_supply_changed(9) | NAME ab8500_power_supply_changed - a wrapper with local extensions for power_supply_changed
SYNOPSIS void ab8500_power_supply_changed (struct ab8500_charger *di , struct power_supply *psy );
ARGUMENTS di pointer to the ab8500_charger structure
psy pointer to power_supply_that have changed.
S... |
abort(3) | NAME abort - cause abnormal process termination
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
[[noreturn]] void abort(void);
DESCRIPTION The abort() function first unblocks the SIGABRT signal, and then raises that signal for the calling process (as though raise(3) was called). This ... |
abort(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 abort — generate an abnormal process abort
SYNOPSIS #include <... |
abort_creds(9) | NAME abort_creds - Discard a set of credentials and unlock the current task
SYNOPSIS void abort_creds (struct cred *new );
ARGUMENTS new The credentials that were going to be applied
DESCRIPTION Discard a set of credentials that were under construction and unlock the current task.
SEE ALSO Kernel file ./ker... |
abort_on_error(9) | NAME abort_on_error - Abort a repair if there is an error.
SYNOPSIS bool abort_on_error (int result , struct repair_completion *repair );
ARGUMENTS result The result to check.
repair The repair completion.
RETURN true if the result was an error.
SEE ALSO Kernel file ./drivers/md/dm-vdo/repair.... |
abort_packing(9) | NAME abort_packing - Abort packing a data_vio.
SYNOPSIS void abort_packing (struct data_vio *data_vio );
ARGUMENTS data_vio The data_vio to abort.
SEE ALSO Kernel file ./drivers/md/dm-vdo/packer.c vdo_get_compressed_block_fragment(9), assert_on_packer_thread(9), insert_in_sorted_list(9), make_bin(9), vdo_m... |
abort_repair(9) | NAME abort_repair - Handle a repair error.
SYNOPSIS void abort_repair (struct vdo_completion *completion );
ARGUMENTS completion The repair completion.
SEE ALSO Kernel file ./drivers/md/dm-vdo/repair.c as_repair_completion(9), abort_on_error(9), drain_slab_depot(9), flush_block_map_updates(9), handle_page... |
abort_scrubbing(9) | NAME abort_scrubbing - Abort scrubbing due to an error.
SYNOPSIS void abort_scrubbing (struct slab_scrubber *scrubber , int result );
ARGUMENTS scrubber The slab scrubber.
result The error.
SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_flush(9), is_reaping... |
abort_waiter(9) | NAME abort_waiter - Abort vios waiting to make journal entries when read-only.
SYNOPSIS void abort_waiter (struct vdo_waiter *waiter , void *context );
ARGUMENTS waiter A waiting data_vio.
context Not used.
DESCRIPTION This callback is invoked on all vios waiting to make slab journal entries after t... |
abs(3) | NAME abs, labs, llabs, imaxabs, uabs, ulabs, ullabs, umaxabs - compute the absolute value of an integer
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int abs(int j);
long labs(long j);
long long llabs(long long j);
unsigned int uabs(int j);
unsigned long ulab... |
abs(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 abs — return an integer absolute value
SYNOPSIS #include <stdl... |
abs(9) | NAME abs - return absolute value of an argument
SYNOPSIS abs (x );
ARGUMENTS x the value.
DESCRIPTION If it is unsigned type, x is converted to signed type first. char is treated as if it was signed (regardless of whether it really is) but the macro's return type is preserved as char. NOTE, for signed ... |
abs_diff(9) | NAME abs_diff - return absolute value of the difference between the arguments
SYNOPSIS abs_diff (a , b );
ARGUMENTS a the first argument
b the second argument
DESCRIPTION a and b have to be of the same type. With this restriction we compare signed to signed and unsigned to unsigned. ... |
absent_pages_in_range(9) | NAME absent_pages_in_range - Return number of page frames in holes within a range
SYNOPSIS unsigned long absent_pages_in_range (unsigned long start_pfn , unsigned long end_pfn );
ARGUMENTS start_pfn The start PFN to start searching for holes
end_pfn The end PFN to stop searching for holes
RETURN the nu... |
abx500_gpio_get(9) | NAME abx500_gpio_get - Get the particular GPIO value
SYNOPSIS int abx500_gpio_get (struct gpio_chip *chip , unsigned offset );
ARGUMENTS chip Gpio device
offset GPIO number to read
SEE ALSO Kernel file ./drivers/pinctrl/nomadik/pinctrl-abx500.c abx500_gpio_remove(9)
April 2026 ... |
abx500_gpio_remove(9) | NAME abx500_gpio_remove - remove Ab8500-gpio driver
SYNOPSIS void abx500_gpio_remove (struct platform_device *pdev );
ARGUMENTS pdev Platform device registered
SEE ALSO Kernel file ./drivers/pinctrl/nomadik/pinctrl-abx500.c abx500_gpio_get(9)
April 2026 ... |
acc_card_interrupt(9) | NAME acc_card_interrupt - handle the interrupts of an esdACC FPGA
SYNOPSIS irqreturn_t acc_card_interrupt (struct acc_ov *ov , struct acc_core *cores );
ARGUMENTS ov overview module structure
cores array of core structures
DESCRIPTION This function handles all interrupts pending for the ove... |
accel_debugfs_register(9) | NAME accel_debugfs_register - Register debugfs for device
SYNOPSIS void accel_debugfs_register (struct drm_device *dev );
ARGUMENTS dev Pointer to the device instance.
DESCRIPTION Creates common files for accelerators.
SEE ALSO Kernel file ./drivers/accel/drm_accel.c accel_set_device_instance_params(9), acc... |
accel_open(9) | NAME accel_open - open method for ACCEL file
SYNOPSIS int accel_open (struct inode *inode , struct file *filp );
ARGUMENTS inode device inode
filp file pointer.
DESCRIPTION This function must be used by drivers as their file_operations.open method. It looks up the correct ACCEL device and insta... |
accel_set_device_instance_params(9) | NAME accel_set_device_instance_params - Set some device parameters for accel device
SYNOPSIS void accel_set_device_instance_params (struct device *kdev , int index );
ARGUMENTS kdev Pointer to the device instance.
index The minor's index
DESCRIPTION This function creates the dev_t of the device ... |
accept(2) | NAME accept, accept4 - accept a connection on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/socket.h>
int accept(int sockfd, struct sockaddr *_Nullable restrict addr,
socklen_t *_Nullable restrict addrlen);
#define _GNU_SOURCE /* See feature_test_... |
accept(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 accept — accept a new connection on a socket
SYNOPSIS #include... |
accept4(2) | NAME accept, accept4 - accept a connection on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/socket.h>
int accept(int sockfd, struct sockaddr *_Nullable restrict addr,
socklen_t *_Nullable restrict addrlen);
#define _GNU_SOURCE /* See feature_test_... |
access(2) | NAME access, faccessat, faccessat2 - check user's permissions for a file
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <unistd.h>
int access(const char *path, int mode);
#include <fcntl.h> /* Definition of AT_* constants */
#include <unistd.h>
int faccessat(int dir... |
access(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 access, faccessat — determine accessibility of a file descripto... |
access.conf(5) | NAME access.conf - the login access control table file
DESCRIPTION The /etc/security/access.conf file specifies (user/group, host), (user/group, network/netmask), (user/group, tty), (user/group, X-$DISPLAY-value), or (user/group, pam-service-name) combinations for which a login will be either accepted or refused.
... |
access_irq_context(9) | NAME access_irq_context - Access to reply processing
SYNOPSIS bool access_irq_context (struct megasas_irq_context *irq_context );
ARGUMENTS irq_context IRQ context
DESCRIPTION Synchronize access to reply processing.
RETURN true on success, false on failure.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_s... |
access_remote_vm(9) | NAME access_remote_vm - access another process' address space
SYNOPSIS int access_remote_vm (struct mm_struct *mm , unsigned long addr , void *buf , int len , unsigned int gup_flags );
ARGUMENTS mm the mm_struct of the target address space
addr start address to access
buf sourc... |
accessdb(8) | NAME accessdb - dumps the content of a man-db database in a human readable format
SYNOPSIS /usr/sbin/accessdb [-d?V] [<index-file>]
DESCRIPTION accessdb will output the data contained within a man-db database in a human readable form. By default, it will dump the data from /var/cache/man/index.<db-type>, where <d... |
account_group_exec_runtime(9) | NAME account_group_exec_runtime - Maintain exec runtime for a thread group.
SYNOPSIS void account_group_exec_runtime (struct task_struct *tsk , unsigned long long ns );
ARGUMENTS tsk Pointer to task structure.
ns Time value by which to increment the sum_exec_runtime field of the thread_group_... |
account_group_system_time(9) | NAME account_group_system_time - Maintain stime for a thread group.
SYNOPSIS void account_group_system_time (struct task_struct *tsk , u64 cputime );
ARGUMENTS tsk Pointer to task structure.
cputime Time value by which to increment the stime field of the thread_group_cputime structure.
DESCRIPTIO... |
account_group_user_time(9) | NAME account_group_user_time - Maintain utime for a thread group.
SYNOPSIS void account_group_user_time (struct task_struct *tsk , u64 cputime );
ARGUMENTS tsk Pointer to task structure.
cputime Time value by which to increment the utime field of the thread_group_cputime structure.
DESCRIPTION If... |
account_locked_vm(9) | NAME account_locked_vm - account locked pages to an mm's locked_vm
SYNOPSIS int account_locked_vm (struct mm_struct *mm , unsigned long pages , bool inc );
ARGUMENTS mm mm to account against, may be NULL
pages number of pages to account
inc true if pages should be considered pos... |
acct(2) | NAME acct - switch process accounting on or off
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <unistd.h>
int acct(const char *_Nullable path);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
acct():
Since glibc 2.21:
_DEFAULT_SOURCE
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.