id
stringlengths
4
63
text
stringlengths
153
8.81M
register_virtio_device(9)
NAME register_virtio_device - register virtio device SYNOPSIS int register_virtio_device (struct virtio_device *dev ); ARGUMENTS dev virtio device to be registered DESCRIPTION On error, the caller must call put_device on &dev->dev (and not kfree), as another code path may have obtained a reference to dev. R...
register_wide_hw_breakpoint(9)
NAME register_wide_hw_breakpoint - register a wide breakpoint in the kernel SYNOPSIS struct perf_event * __percpu * register_wide_hw_breakpoint (struct perf_event_attr *attr , perf_overflow_handler_t triggered , void *context ); ARGUMENTS attr breakpoint attributes triggered callback to trigger when ...
registerrpc(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
regmap_add_irq_chip(9)
NAME regmap_add_irq_chip - Use standard regmap IRQ controller handling SYNOPSIS int regmap_add_irq_chip (struct regmap *map , int irq , int irq_flags , int irq_base , const struct regmap_irq_chip *chip , struct regmap_irq_chip_data **data ); ARGUMENTS map The regmap for the device. irq The IRQ...
regmap_add_irq_chip_fwnode(9)
NAME regmap_add_irq_chip_fwnode - Use standard regmap IRQ controller handling SYNOPSIS int regmap_add_irq_chip_fwnode (struct fwnode_handle *fwnode , struct regmap *map , int irq , int irq_flags , int irq_base , const struct regmap_irq_chip *chip , struct regmap_irq_chip_data **data ); ARGUMENTS fwnode The firmw...
regmap_async_complete(9)
NAME regmap_async_complete - Ensure all asynchronous I/O has completed. SYNOPSIS int regmap_async_complete (struct regmap *map ); ARGUMENTS map Map to operate on. DESCRIPTION Blocks until any pending asynchronous I/O has completed. Returns an error code for any failed I/O operations. SEE ALSO Kernel file ...
regmap_bulk_read(9)
NAME regmap_bulk_read - Read multiple sequential registers from the device SYNOPSIS int regmap_bulk_read (struct regmap *map , unsigned int reg , void *val , size_t val_count ); ARGUMENTS map Register map to read from reg First register to be read from val Pointer to store read...
regmap_bulk_write(9)
NAME regmap_bulk_write - Write multiple registers to the device SYNOPSIS int regmap_bulk_write (struct regmap *map , unsigned int reg , const void *val , size_t val_count ); ARGUMENTS map Register map to write to reg First register to be write from val Block of data to be writt...
regmap_can_raw_write(9)
NAME regmap_can_raw_write - Test if regmap_raw_write() is supported SYNOPSIS bool regmap_can_raw_write (struct regmap *map ); ARGUMENTS map Map to check. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bulk_alloc(9), devm_regmap_field_bulk_alloc(9), regmap_fie...
regmap_del_irq_chip(9)
NAME regmap_del_irq_chip - Stop interrupt handling for a regmap IRQ chip SYNOPSIS void regmap_del_irq_chip (int irq , struct regmap_irq_chip_data *d ); ARGUMENTS irq Primary IRQ for the device d regmap_irq_chip_data allocated by regmap_add_irq_chip DESCRIPTION This function also disposes of...
regmap_exit(9)
NAME regmap_exit - Free a previously allocated register map SYNOPSIS void regmap_exit (struct regmap *map ); ARGUMENTS map Register map to operate on. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bulk_alloc(9), devm_regmap_field_bulk_alloc(9), regmap_field_...
regmap_field_alloc(9)
NAME regmap_field_alloc - Allocate and initialise a register field. SYNOPSIS struct regmap_field * regmap_field_alloc (struct regmap *regmap , struct reg_field reg_field ); ARGUMENTS regmap regmap bank in which this register field is located. reg_field Register field with in the bank. DESCRIPTION The ...
regmap_field_bulk_alloc(9)
NAME regmap_field_bulk_alloc - Allocate and initialise a bulk register field. SYNOPSIS int regmap_field_bulk_alloc (struct regmap *regmap , struct regmap_field **rm_field , const struct reg_field *reg_field , int num_fields ); ARGUMENTS regmap regmap bank in which this register field is located. rm_field...
regmap_field_bulk_free(9)
NAME regmap_field_bulk_free - Free register field allocated using regmap_field_bulk_alloc. SYNOPSIS void regmap_field_bulk_free (struct regmap_field *field ); ARGUMENTS field regmap fields which should be freed. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bu...
regmap_field_free(9)
NAME regmap_field_free - Free register field allocated using regmap_field_alloc. SYNOPSIS void regmap_field_free (struct regmap_field *field ); ARGUMENTS field regmap field which should be freed. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bulk_alloc(9), dev...
regmap_field_read(9)
NAME regmap_field_read - Read a value to a single register field SYNOPSIS int regmap_field_read (struct regmap_field *field , unsigned int *val ); ARGUMENTS field Register field to read from val Pointer to store read value DESCRIPTION A value of zero will be returned on success, a negative errn...
regmap_field_read_poll_timeout(9)
NAME regmap_field_read_poll_timeout - Poll until a condition is met or timeout SYNOPSIS regmap_field_read_poll_timeout (field , val , cond , sleep_us , timeout_us ); ARGUMENTS field Regmap field to read from val Unsigned integer variable to read the value into cond Break condition...
regmap_field_test_bits(9)
NAME regmap_field_test_bits - Check if all specified bits are set in a register field. SYNOPSIS int regmap_field_test_bits (struct regmap_field *field , unsigned int bits ); ARGUMENTS field Register field to operate on bits Bits to test DESCRIPTION Returns negative errno if the underlying regmap...
regmap_field_update_bits_base(9)
NAME regmap_field_update_bits_base - Perform a read/modify/write cycle a register field. SYNOPSIS int regmap_field_update_bits_base (struct regmap_field *field , unsigned int mask , unsigned int val , bool *change , bool async , bool force ); ARGUMENTS field Register field to write to mask Bitmas...
regmap_fields_read(9)
NAME regmap_fields_read - Read a value to a single register field with port ID SYNOPSIS int regmap_fields_read (struct regmap_field *field , unsigned int id , unsigned int *val ); ARGUMENTS field Register field to read from id port ID val Pointer to store read value DESCRIPTION...
regmap_fields_update_bits_base(9)
NAME regmap_fields_update_bits_base - Perform a read/modify/write cycle a register field with port ID SYNOPSIS int regmap_fields_update_bits_base (struct regmap_field *field , unsigned int id , unsigned int mask , unsigned int val , bool *change , bool async , bool force ); ARGUMENTS field Register field to wri...
regmap_get_device(9)
NAME regmap_get_device - Obtain the device from a regmap SYNOPSIS struct device * regmap_get_device (struct regmap *map ); ARGUMENTS map Register map to operate on. DESCRIPTION Returns the underlying device that the regmap has been created for. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_reg...
regmap_get_max_register(9)
NAME regmap_get_max_register - Report the max register value SYNOPSIS int regmap_get_max_register (struct regmap *map ); ARGUMENTS map Register map to operate on. DESCRIPTION Report the max register value, mainly intended to for use by generic infrastructure built on top of regmap. SEE ALSO Kernel file ./...
regmap_get_raw_read_max(9)
NAME regmap_get_raw_read_max - Get the maximum size we can read SYNOPSIS size_t regmap_get_raw_read_max (struct regmap *map ); ARGUMENTS map Map to check. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bulk_alloc(9), devm_regmap_field_bulk_alloc(9), regmap_fi...
regmap_get_raw_write_max(9)
NAME regmap_get_raw_write_max - Get the maximum size we can read SYNOPSIS size_t regmap_get_raw_write_max (struct regmap *map ); ARGUMENTS map Map to check. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_regmap_field_alloc(9), regmap_field_bulk_alloc(9), devm_regmap_field_bulk_alloc(9), regmap_...
regmap_get_reg_stride(9)
NAME regmap_get_reg_stride - Report the register address stride SYNOPSIS int regmap_get_reg_stride (struct regmap *map ); ARGUMENTS map Register map to operate on. DESCRIPTION Report the register address stride, mainly intended to for use by generic infrastructure built on top of regmap. SEE ALSO Kernel fi...
regmap_get_val_bytes(9)
NAME regmap_get_val_bytes - Report the size of a register value SYNOPSIS int regmap_get_val_bytes (struct regmap *map ); ARGUMENTS map Register map to operate on. DESCRIPTION Report the size of a register value, mainly intended to for use by generic infrastructure built on top of regmap. SEE ALSO Kernel fi...
regmap_init(9)
NAME regmap_init - Initialise register map SYNOPSIS regmap_init (dev , bus , bus_context , config ); ARGUMENTS dev Device that will be interacted with bus Bus-specific callbacks to use with device bus_context Data passed to bus-specific callbacks config Configuration for r...
regmap_init_ac97(9)
NAME regmap_init_ac97 - Initialise AC'97 register map SYNOPSIS regmap_init_ac97 (ac97 , config ); ARGUMENTS ac97 Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kern...
regmap_init_fsi(9)
NAME regmap_init_fsi - Initialise register map SYNOPSIS regmap_init_fsi (fsi_dev , config ); ARGUMENTS fsi_dev Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel f...
regmap_init_i2c(9)
NAME regmap_init_i2c - Initialise register map SYNOPSIS regmap_init_i2c (i2c , config ); ARGUMENTS i2c Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel file ...
regmap_init_mdio(9)
NAME regmap_init_mdio - Initialise register map SYNOPSIS regmap_init_mdio (mdio_dev , config ); ARGUMENTS mdio_dev Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel...
regmap_init_mmio(9)
NAME regmap_init_mmio - Initialise register map SYNOPSIS regmap_init_mmio (dev , regs , config ); ARGUMENTS dev Device that will be interacted with regs Pointer to memory-mapped IO region config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on erro...
regmap_init_mmio_clk(9)
NAME regmap_init_mmio_clk - Initialise register map with register clock SYNOPSIS regmap_init_mmio_clk (dev , clk_id , regs , config ); ARGUMENTS dev Device that will be interacted with clk_id register clock consumer ID regs Pointer to memory-mapped IO region config Con...
regmap_init_sccb(9)
NAME regmap_init_sccb - Initialise register map SYNOPSIS regmap_init_sccb (i2c , config ); ARGUMENTS i2c Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel fil...
regmap_init_sdw(9)
NAME regmap_init_sdw - Initialise register map SYNOPSIS regmap_init_sdw (sdw , config ); ARGUMENTS sdw Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel file ...
regmap_init_sdw_mbq(9)
NAME regmap_init_sdw_mbq - Initialise register map SYNOPSIS regmap_init_sdw_mbq (sdw , config ); ARGUMENTS sdw Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kerne...
regmap_init_sdw_mbq_cfg(9)
NAME regmap_init_sdw_mbq_cfg - Initialise MBQ SDW register map with config SYNOPSIS regmap_init_sdw_mbq_cfg (dev , sdw , config , mbq_config ); ARGUMENTS dev -- undescribed -- sdw Device that will be interacted with config Configuration for register map mbq_config Propert...
regmap_init_slimbus(9)
NAME regmap_init_slimbus - Initialise register map SYNOPSIS regmap_init_slimbus (slimbus , config ); ARGUMENTS slimbus Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO K...
regmap_init_spi(9)
NAME regmap_init_spi - Initialise register map SYNOPSIS regmap_init_spi (dev , config ); ARGUMENTS dev Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel file ...
regmap_init_spi_avmm(9)
NAME regmap_init_spi_avmm - Initialize register map for Intel SPI Slave to AVMM Bus Bridge SYNOPSIS regmap_init_spi_avmm (spi , config ); ARGUMENTS spi Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid po...
regmap_init_spmi_base(9)
NAME regmap_init_spmi_base - Create regmap for the Base register space SYNOPSIS regmap_init_spmi_base (dev , config ); ARGUMENTS dev SPMI device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a str...
regmap_init_spmi_ext(9)
NAME regmap_init_spmi_ext - Create regmap for Ext register space SYNOPSIS regmap_init_spmi_ext (dev , config ); ARGUMENTS dev Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. ...
regmap_init_w1(9)
NAME regmap_init_w1 - Initialise register map SYNOPSIS regmap_init_w1 (w1_dev , config ); ARGUMENTS w1_dev Device that will be interacted with config Configuration for register map DESCRIPTION The return value will be an ERR_PTR on error or a valid pointer to a struct regmap. SEE ALSO Kernel file...
regmap_irq_chip_get_base(9)
NAME regmap_irq_chip_get_base - Retrieve interrupt base for a regmap IRQ chip SYNOPSIS int regmap_irq_chip_get_base (struct regmap_irq_chip_data *data ); ARGUMENTS data regmap irq controller to operate on. DESCRIPTION Useful for drivers to request their own IRQs. SEE ALSO Kernel file ./drivers/base/r...
regmap_irq_get_domain(9)
NAME regmap_irq_get_domain - Retrieve the irq_domain for the chip SYNOPSIS struct irq_domain * regmap_irq_get_domain (struct regmap_irq_chip_data *data ); ARGUMENTS data regmap_irq controller to operate on. DESCRIPTION Useful for drivers to request their own IRQs and for integration with subsystems. For ease...
regmap_irq_get_irq_reg_linear(9)
NAME regmap_irq_get_irq_reg_linear - Linear IRQ register mapping callback. SYNOPSIS unsigned int regmap_irq_get_irq_reg_linear (struct regmap_irq_chip_data *data , unsigned int base , int index ); ARGUMENTS data Data for the struct regmap_irq_chip base Base register index Register ...
regmap_irq_get_virq(9)
NAME regmap_irq_get_virq - Map an interrupt on a chip to a virtual IRQ SYNOPSIS int regmap_irq_get_virq (struct regmap_irq_chip_data *data , int irq ); ARGUMENTS data regmap irq controller to operate on. irq index of the interrupt requested in the chip IRQs. DESCRIPTION Useful for drivers to r...
regmap_irq_set_type_config_simple(9)
NAME regmap_irq_set_type_config_simple - Simple IRQ type configuration callback. SYNOPSIS int regmap_irq_set_type_config_simple (unsigned int **buf , unsigned int type , const struct regmap_irq *irq_data , int idx , void *irq_drv_data ); ARGUMENTS buf Buffer containing configuration register values, this is a...
regmap_might_sleep(9)
NAME regmap_might_sleep - Returns whether a regmap access might sleep. SYNOPSIS bool regmap_might_sleep (struct regmap *map ); ARGUMENTS map Register map to operate on. DESCRIPTION Returns true if an access to the register might sleep, else false. SEE ALSO Kernel file ./drivers/base/regmap/regmap.c devm_...
regmap_multi_reg_read(9)
NAME regmap_multi_reg_read - Read multiple non-sequential registers from the device SYNOPSIS int regmap_multi_reg_read (struct regmap *map , const unsigned int *regs , void *val , size_t val_count ); ARGUMENTS map Register map to read from regs Array of registers to read from val ...
regmap_multi_reg_write(9)
NAME regmap_multi_reg_write - Write multiple registers to the device SYNOPSIS int regmap_multi_reg_write (struct regmap *map , const struct reg_sequence *regs , int num_regs ); ARGUMENTS map Register map to write to regs Array of structures containing register,value to be written num_re...
regmap_multi_reg_write_bypassed(9)
NAME regmap_multi_reg_write_bypassed - Write multiple registers to the device but not the cache SYNOPSIS int regmap_multi_reg_write_bypassed (struct regmap *map , const struct reg_sequence *regs , int num_regs ); ARGUMENTS map Register map to write to regs Array of structures containing registe...
regmap_noinc_read(9)
NAME regmap_noinc_read - Read data from a register without incrementing the register number SYNOPSIS int regmap_noinc_read (struct regmap *map , unsigned int reg , void *val , size_t val_len ); ARGUMENTS map Register map to read from reg Register to read from val Pointer to dat...
regmap_noinc_write(9)
NAME regmap_noinc_write - Write data to a register without incrementing the register number SYNOPSIS int regmap_noinc_write (struct regmap *map , unsigned int reg , const void *val , size_t val_len ); ARGUMENTS map Register map to write to reg Register to write to val Pointer t...
regmap_raw_read(9)
NAME regmap_raw_read - Read raw data from the device SYNOPSIS int regmap_raw_read (struct regmap *map , unsigned int reg , void *val , size_t val_len ); ARGUMENTS map Register map to read from reg First register to be read from val Pointer to store read value val_len ...
regmap_raw_write(9)
NAME regmap_raw_write - Write raw values to one or more registers SYNOPSIS int regmap_raw_write (struct regmap *map , unsigned int reg , const void *val , size_t val_len ); ARGUMENTS map Register map to write to reg Initial register to write to val Block of data to be written, ...
regmap_raw_write_async(9)
NAME regmap_raw_write_async - Write raw values to one or more registers asynchronously SYNOPSIS int regmap_raw_write_async (struct regmap *map , unsigned int reg , const void *val , size_t val_len ); ARGUMENTS map Register map to write to reg Initial register to write to val Bl...
regmap_read(9)
NAME regmap_read - Read a value from a single register SYNOPSIS int regmap_read (struct regmap *map , unsigned int reg , unsigned int *val ); ARGUMENTS map Register map to read from reg Register to be read from val Pointer to store read value DESCRIPTION A value of zero will b...
regmap_read_bypassed(9)
NAME regmap_read_bypassed - Read a value from a single register direct from the device, bypassing the cache SYNOPSIS int regmap_read_bypassed (struct regmap *map , unsigned int reg , unsigned int *val ); ARGUMENTS map Register map to read from reg Register to be read from val P...
regmap_read_poll_timeout(9)
NAME regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs SYNOPSIS regmap_read_poll_timeout (map , addr , val , cond , sleep_us , timeout_us ); ARGUMENTS map Regmap to read from addr Address to poll val Unsigned integer variable to read the value into ...
regmap_read_poll_timeout_atomic(9)
NAME regmap_read_poll_timeout_atomic - Poll until a condition is met or a timeout occurs SYNOPSIS regmap_read_poll_timeout_atomic (map , addr , val , cond , delay_us , timeout_us ); ARGUMENTS map Regmap to read from addr Address to poll val Unsigned integer variable to read the ...
regmap_register_patch(9)
NAME regmap_register_patch - Register and apply register updates to be applied on device initialistion SYNOPSIS int regmap_register_patch (struct regmap *map , const struct reg_sequence *regs , int num_regs ); ARGUMENTS map Register map to apply updates to. regs Values to update. num_re...
regmap_reinit_cache(9)
NAME regmap_reinit_cache - Reinitialise the current register cache SYNOPSIS int regmap_reinit_cache (struct regmap *map , const struct regmap_config *config ); ARGUMENTS map Register map to operate on. config New configuration. Only the cache data will be used. DESCRIPTION Discard any existin...
regmap_sccb_read(9)
NAME regmap_sccb_read - Read data from SCCB slave device SYNOPSIS int regmap_sccb_read (void *context , unsigned int reg , unsigned int *val ); ARGUMENTS context Device that will be interacted with reg Register to be read from val Pointer to store read value DESCRIPTION This execu...
regmap_sccb_write(9)
NAME regmap_sccb_write - Write data to SCCB slave device SYNOPSIS int regmap_sccb_write (void *context , unsigned int reg , unsigned int val ); ARGUMENTS context Device that will be interacted with reg Register to write to val Value to be written DESCRIPTION This executes the SCCB...
regmap_test_bits(9)
NAME regmap_test_bits - Check if all specified bits are set in a register. SYNOPSIS int regmap_test_bits (struct regmap *map , unsigned int reg , unsigned int bits ); ARGUMENTS map Register map to operate on reg Register to read from bits Bits to test DESCRIPTION Returns 0 if a...
regmap_update_bits_base(9)
NAME regmap_update_bits_base - Perform a read/modify/write cycle on a register SYNOPSIS int regmap_update_bits_base (struct regmap *map , unsigned int reg , unsigned int mask , unsigned int val , bool *change , bool async , bool force ); ARGUMENTS map Register map to update reg Register to upd...
regmap_write(9)
NAME regmap_write - Write a value to a single register SYNOPSIS int regmap_write (struct regmap *map , unsigned int reg , unsigned int val ); ARGUMENTS map Register map to write to reg Register to write to val Value to be written DESCRIPTION A value of zero will be returned on...
regmap_write_async(9)
NAME regmap_write_async - Write a value to a single register asynchronously SYNOPSIS int regmap_write_async (struct regmap *map , unsigned int reg , unsigned int val ); ARGUMENTS map Register map to write to reg Register to write to val Value to be written DESCRIPTION A value ...
regmatch_t(3type)
NAME regcomp, regexec, regerror, regfree - POSIX regex functions LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <regex.h> int regcomp(regex_t *restrict preg, const char *restrict regex, int cflags); int regexec(const regex_t *restrict preg, const char *re...
regoff_t(3type)
NAME regcomp, regexec, regerror, regfree - POSIX regex functions LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <regex.h> int regcomp(regex_t *restrict preg, const char *restrict regex, int cflags); int regexec(const regex_t *restrict preg, const char *re...
regs_get_kernel_argument(9)
NAME regs_get_kernel_argument - get Nth function argument in kernel SYNOPSIS unsigned long regs_get_kernel_argument (struct pt_regs *regs , unsigned int n ); ARGUMENTS regs pt_regs of that context n function argument number (start from 0) DESCRIPTION regs_get_argument returns n th argument...
regs_get_kernel_stack_nth(9)
NAME regs_get_kernel_stack_nth - get Nth entry of the stack SYNOPSIS unsigned long regs_get_kernel_stack_nth (struct pt_regs *regs , unsigned int n ); ARGUMENTS regs pt_regs which contains kernel stack pointer. n stack entry number. DESCRIPTION regs_get_kernel_stack_nth returns n th entry of...
regs_get_kernel_stack_nth_addr(9)
NAME regs_get_kernel_stack_nth_addr - get the address of the Nth entry on stack SYNOPSIS unsigned long * regs_get_kernel_stack_nth_addr (struct pt_regs *regs , unsigned int n ); ARGUMENTS regs pt_regs which contains kernel stack pointer. n stack entry number. DESCRIPTION regs_get_kernel_stac...
regs_get_register(9)
NAME regs_get_register - get register value from its offset SYNOPSIS unsigned long regs_get_register (struct pt_regs *regs , unsigned int offset ); ARGUMENTS regs pt_regs from which register value is gotten. offset offset number of the register. DESCRIPTION regs_get_register returns the value of ...
regs_query_register_name(9)
NAME regs_query_register_name - query register name from its offset SYNOPSIS const char * regs_query_register_name (unsigned int offset ); ARGUMENTS offset the offset of a register in struct pt_regs. DESCRIPTION regs_query_register_name returns the name of a register from its offset in struct pt_regs. If the of...
regs_query_register_offset(9)
NAME regs_query_register_offset - query register offset from its name SYNOPSIS int regs_query_register_offset (const char *name ); ARGUMENTS name the name of a register DESCRIPTION regs_query_register_offset returns the offset of a register in struct pt_regs from its name. If the name is invalid, this returns...
regs_within_kernel_stack(9)
NAME regs_within_kernel_stack - check the address in the stack SYNOPSIS int regs_within_kernel_stack (struct pt_regs *regs , unsigned long addr ); ARGUMENTS regs pt_regs which contains kernel stack pointer. addr address which is checked. DESCRIPTION regs_within_kernel_stack checks addr is withi...
regulator_allow_bypass(9)
NAME regulator_allow_bypass - allow the regulator to go into bypass mode SYNOPSIS int regulator_allow_bypass (struct regulator *regulator , bool enable ); ARGUMENTS regulator Regulator to configure enable enable or disable bypass mode DESCRIPTION Allow the regulator to go into bypass mode if all o...
regulator_bulk_disable(9)
NAME regulator_bulk_disable - disable multiple regulator consumers SYNOPSIS int regulator_bulk_disable (int num_consumers , struct regulator_bulk_data *consumers ); ARGUMENTS num_consumers Number of consumers consumers Consumer data; clients are stored here. DESCRIPTION This convenience API allows consumer...
regulator_bulk_enable(9)
NAME regulator_bulk_enable - enable multiple regulator consumers SYNOPSIS int regulator_bulk_enable (int num_consumers , struct regulator_bulk_data *consumers ); ARGUMENTS num_consumers Number of consumers consumers Consumer data; clients are stored here. DESCRIPTION This convenience API allows consumers t...
regulator_bulk_force_disable(9)
NAME regulator_bulk_force_disable - force disable multiple regulator consumers SYNOPSIS int regulator_bulk_force_disable (int num_consumers , struct regulator_bulk_data *consumers ); ARGUMENTS num_consumers Number of consumers consumers Consumer data; clients are stored here. DESCRIPTION This convenience A...
regulator_bulk_free(9)
NAME regulator_bulk_free - free multiple regulator consumers SYNOPSIS void regulator_bulk_free (int num_consumers , struct regulator_bulk_data *consumers ); ARGUMENTS num_consumers Number of consumers consumers Consumer data; clients are stored here. DESCRIPTION This convenience API allows consumers to fre...
regulator_bulk_get(9)
NAME regulator_bulk_get - get multiple regulator consumers SYNOPSIS int regulator_bulk_get (struct device *dev , int num_consumers , struct regulator_bulk_data *consumers ); ARGUMENTS dev Device to supply num_consumers Number of consumers to register consumers Configuratio...
regulator_bulk_register_supply_alias(9)
NAME regulator_bulk_register_supply_alias - register multiple aliases SYNOPSIS int regulator_bulk_register_supply_alias (struct device *dev , const char *const *id , struct device *alias_dev , const char *const *alias_id , int num_id ); ARGUMENTS dev device that will be given as the regulator "consumer" ...
regulator_bulk_set_supply_names(9)
NAME regulator_bulk_set_supply_names - initialize the 'supply' fields in an array of regulator_bulk_data structs SYNOPSIS void regulator_bulk_set_supply_names (struct regulator_bulk_data *consumers , const char *const *supply_names , unsigned int num_supplies ); ARGUMENTS consumers array of regulator_bulk_data entr...
regulator_bulk_unregister_supply_alias(9)
NAME regulator_bulk_unregister_supply_alias - unregister multiple aliases SYNOPSIS void regulator_bulk_unregister_supply_alias (struct device *dev , const char *const *id , int num_id ); ARGUMENTS dev device that will be given as the regulator "consumer" id List of supply names or regulator I...
regulator_count_voltages(9)
NAME regulator_count_voltages - count regulator_list_voltage() selectors SYNOPSIS int regulator_count_voltages (struct regulator *regulator ); ARGUMENTS regulator regulator source RETURN Number of selectors for regulator, or negative error number. DESCRIPTION Selectors are numbered starting at zero, and typically...
regulator_desc_list_voltage_linear(9)
NAME regulator_desc_list_voltage_linear - List voltages with simple calculation SYNOPSIS int regulator_desc_list_voltage_linear (const struct regulator_desc *desc , unsigned int selector ); ARGUMENTS desc Regulator desc for regulator which volatges are to be listed selector Selector to convert into ...
regulator_desc_list_voltage_linear_range(9)
NAME regulator_desc_list_voltage_linear_range - List voltages for linear ranges SYNOPSIS int regulator_desc_list_voltage_linear_range (const struct regulator_desc *desc , unsigned int selector ); ARGUMENTS desc Regulator desc for regulator which volatges are to be listed selector Selector to convert...
regulator_dev_lookup(9)
NAME regulator_dev_lookup - lookup a regulator device. SYNOPSIS struct regulator_dev * regulator_dev_lookup (struct device *dev , const char *supply ); ARGUMENTS dev device for regulator "consumer". supply Supply name or regulator ID. RETURN pointer to struct regulator_dev or ERR_PTR encoded neg...
regulator_disable(9)
NAME regulator_disable - disable regulator output SYNOPSIS int regulator_disable (struct regulator *regulator ); ARGUMENTS regulator regulator source DESCRIPTION Disable the regulator output voltage or current. Calls to regulator_enable must be balanced with calls to regulator_disable. NOTE this will only disabl...
regulator_disable_deferred(9)
NAME regulator_disable_deferred - disable regulator output with delay SYNOPSIS int regulator_disable_deferred (struct regulator *regulator , int ms ); ARGUMENTS regulator regulator source ms milliseconds until the regulator is disabled DESCRIPTION Execute regulator_disable on the regulator after a...
regulator_disable_regmap(9)
NAME regulator_disable_regmap - standard disable() for regmap users SYNOPSIS int regulator_disable_regmap (struct regulator_dev *rdev ); ARGUMENTS rdev regulator to operate on DESCRIPTION Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their descriptor and th...
regulator_ena_gpio_ctrl(9)
NAME regulator_ena_gpio_ctrl - balance enable_count of each GPIO and actual GPIO pin control SYNOPSIS int regulator_ena_gpio_ctrl (struct regulator_dev *rdev , bool enable ); ARGUMENTS rdev regulator_dev structure enable enable GPIO at initial use? DESCRIPTION GPIO is enabled in case of initial u...
regulator_enable(9)
NAME regulator_enable - enable regulator output SYNOPSIS int regulator_enable (struct regulator *regulator ); ARGUMENTS regulator regulator source DESCRIPTION Request that the regulator be enabled with the regulator output at the predefined voltage or current value. Calls to regulator_enable must be balanced with...
regulator_enable_regmap(9)
NAME regulator_enable_regmap - standard enable() for regmap users SYNOPSIS int regulator_enable_regmap (struct regulator_dev *rdev ); ARGUMENTS rdev regulator to operate on DESCRIPTION Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their descriptor and then ...
regulator_event_forward_notifier(9)
NAME regulator_event_forward_notifier - notifier callback for supply events SYNOPSIS int regulator_event_forward_notifier (struct notifier_block *nb , unsigned long event , void *data ); ARGUMENTS nb notifier block embedded in the regulator event regulator event code data unused ...
regulator_event_work_fn(9)
NAME regulator_event_work_fn - process a deferred regulator event SYNOPSIS void regulator_event_work_fn (struct work_struct *work ); ARGUMENTS work work_struct queued by the notifier DESCRIPTION Calls the regulator's notifier chain in process context while holding the rdev lock, then releases the device refer...