id
stringlengths
4
63
text
stringlengths
153
8.81M
gpiochip_irqchip_remove(9)
NAME gpiochip_irqchip_remove - removes an irqchip added to a gpiochip SYNOPSIS void gpiochip_irqchip_remove (struct gpio_chip *gc ); ARGUMENTS gc the gpiochip to remove the irqchip from DESCRIPTION This is called only from gpiochip_remove SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), g...
gpiochip_lock_as_irq(9)
NAME gpiochip_lock_as_irq - lock a GPIO to be used as IRQ SYNOPSIS int gpiochip_lock_as_irq (struct gpio_chip *gc , unsigned int offset ); ARGUMENTS gc the chip the GPIO to lock belongs to offset the offset of the GPIO to lock as IRQ DESCRIPTION This is used directly by GPIO drivers that want t...
gpiochip_query_valid_mask(9)
NAME gpiochip_query_valid_mask - return the GPIO validity information SYNOPSIS const unsigned long * gpiochip_query_valid_mask (const struct gpio_chip *gc ); ARGUMENTS gc gpio chip which validity information is queried RETURN bitmap representing valid GPIOs or NULL if all GPIOs are valid DESCRIPTION Some G...
gpiochip_remove(9)
NAME gpiochip_remove - unregister a gpio_chip SYNOPSIS void gpiochip_remove (struct gpio_chip *gc ); ARGUMENTS gc the chip to unregister DESCRIPTION A gpio_chip with any GPIOs still requested may not be removed. SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), de...
gpiochip_remove_pin_ranges(9)
NAME gpiochip_remove_pin_ranges - remove all the GPIO <-> pin mappings SYNOPSIS void gpiochip_remove_pin_ranges (struct gpio_chip *gc ); ARGUMENTS gc the chip to remove all the mappings for SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_h...
gpiochip_request_own_desc(9)
NAME gpiochip_request_own_desc - Allow GPIO chip to request its own descriptor SYNOPSIS struct gpio_desc * gpiochip_request_own_desc (struct gpio_chip *gc , unsigned int hwnum , const char *label , enum gpio_lookup_flags lflags , enum gpiod_flags dflags ); ARGUMENTS gc GPIO chip hwnum hardware ...
gpiochip_set_hierarchical_irqchip(9)
NAME gpiochip_set_hierarchical_irqchip - connects a hierarchical irqchip to a gpiochip SYNOPSIS void gpiochip_set_hierarchical_irqchip (struct gpio_chip *gc , struct irq_chip *irqchip ); ARGUMENTS gc the gpiochip to set the irqchip hierarchical handler to irqchip the irqchip to handle this level ...
gpiochip_unlock_as_irq(9)
NAME gpiochip_unlock_as_irq - unlock a GPIO used as IRQ SYNOPSIS void gpiochip_unlock_as_irq (struct gpio_chip *gc , unsigned int offset ); ARGUMENTS gc the chip the GPIO to lock belongs to offset the offset of the GPIO to lock as IRQ DESCRIPTION This is used directly by GPIO drivers that want ...
gpiod_add_hogs(9)
NAME gpiod_add_hogs - register a set of GPIO hogs from machine code SYNOPSIS void gpiod_add_hogs (struct gpiod_hog *hogs ); ARGUMENTS hogs table of gpio hog entries with a zeroed sentinel at the end SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), ...
gpiod_add_lookup_table(9)
NAME gpiod_add_lookup_table - register GPIO device consumers SYNOPSIS void gpiod_add_lookup_table (struct gpiod_lookup_table *table ); ARGUMENTS table table of consumers to register SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_hwgpio(9), g...
gpiod_add_lookup_tables(9)
NAME gpiod_add_lookup_tables - register GPIO device consumers SYNOPSIS void gpiod_add_lookup_tables (struct gpiod_lookup_table **tables , size_t n ); ARGUMENTS tables list of tables of consumers to register n number of tables in the list SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to...
gpiod_cansleep(9)
NAME gpiod_cansleep - report whether gpio value access may sleep SYNOPSIS int gpiod_cansleep (const struct gpio_desc *desc ); ARGUMENTS desc gpio to check RETURN 0 for non-sleepable, 1 for sleepable, or an error code in case of error. SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_de...
gpiod_configure_flags(9)
NAME gpiod_configure_flags - helper function to configure a given GPIO SYNOPSIS int gpiod_configure_flags (struct gpio_desc *desc , const char *con_id , unsigned long lflags , enum gpiod_flags dflags ); ARGUMENTS desc gpio whose value will be assigned con_id function within the GPIO consumer ...
gpiod_count(9)
NAME gpiod_count - return the number of GPIOs associated with a device / function SYNOPSIS int gpiod_count (struct device *dev , const char *con_id ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within the GPIO consumer RETURN The number of GPIOs associated w...
gpiod_direction_input(9)
NAME gpiod_direction_input - set the GPIO direction to input SYNOPSIS int gpiod_direction_input (struct gpio_desc *desc ); ARGUMENTS desc GPIO to set to input DESCRIPTION Set the direction of the passed GPIO to input, such as gpiod_get_value can be called safely on it. RETURN 0 on success, or negative errno ...
gpiod_direction_output(9)
NAME gpiod_direction_output - set the GPIO direction to output SYNOPSIS int gpiod_direction_output (struct gpio_desc *desc , int value ); ARGUMENTS desc GPIO to set to output value initial output value of the GPIO DESCRIPTION Set the direction of the passed GPIO to output, such as gpiod_set_...
gpiod_direction_output_raw(9)
NAME gpiod_direction_output_raw - set the GPIO direction to output SYNOPSIS int gpiod_direction_output_raw (struct gpio_desc *desc , int value ); ARGUMENTS desc GPIO to set to output value initial output value of the GPIO DESCRIPTION Set the direction of the passed GPIO to output, such as gp...
gpiod_disable_hw_timestamp_ns(9)
NAME gpiod_disable_hw_timestamp_ns - Disable hardware timestamp. SYNOPSIS int gpiod_disable_hw_timestamp_ns (struct gpio_desc *desc , unsigned long flags ); ARGUMENTS desc GPIO to disable. flags Flags related to GPIO edge, same value as used during enable call. RETURN 0 on success, or negative e...
gpiod_enable_hw_timestamp_ns(9)
NAME gpiod_enable_hw_timestamp_ns - Enable hardware timestamp in nanoseconds. SYNOPSIS int gpiod_enable_hw_timestamp_ns (struct gpio_desc *desc , unsigned long flags ); ARGUMENTS desc GPIO to enable. flags Flags related to GPIO edge. RETURN 0 on success, or negative errno on failure. SEE ALSO K...
gpiod_export(9)
NAME gpiod_export - export a GPIO through sysfs SYNOPSIS int gpiod_export (struct gpio_desc *desc , bool direction_may_change ); ARGUMENTS desc GPIO to make available, already requested direction_may_change true if userspace may change GPIO direction CONTEXT arch_initcall or later ...
gpiod_export_link(9)
NAME gpiod_export_link - create a sysfs link to an exported GPIO node SYNOPSIS int gpiod_export_link (struct device *dev , const char *name , struct gpio_desc *desc ); ARGUMENTS dev device under which to create symlink name name of the symlink desc GPIO to create symlink to, alre...
gpiod_get(9)
NAME gpiod_get - obtain a GPIO for a given GPIO function SYNOPSIS struct gpio_desc * gpiod_get (struct device *dev , const char *con_id , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within the GPIO consumer flags optiona...
gpiod_get_array(9)
NAME gpiod_get_array - obtain multiple GPIOs from a multi-index GPIO function SYNOPSIS struct gpio_descs * gpiod_get_array (struct device *dev , const char *con_id , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within the GPIO consumer...
gpiod_get_array_optional(9)
NAME gpiod_get_array_optional - obtain multiple GPIOs from a multi-index GPIO function SYNOPSIS struct gpio_descs * gpiod_get_array_optional (struct device *dev , const char *con_id , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within...
gpiod_get_array_value(9)
NAME gpiod_get_array_value - read values from an array of GPIOs SYNOPSIS int gpiod_get_array_value (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap desc_arra...
gpiod_get_array_value_cansleep(9)
NAME gpiod_get_array_value_cansleep - read values from an array of GPIOs SYNOPSIS int gpiod_get_array_value_cansleep (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap...
gpiod_get_direction(9)
NAME gpiod_get_direction - return the current direction of a GPIO SYNOPSIS int gpiod_get_direction (struct gpio_desc *desc ); ARGUMENTS desc GPIO to get the direction of RETURN 0 for output, 1 for input, or an error code in case of error. DESCRIPTION This function may sleep if gpiod_cansleep is true. SEE AL...
gpiod_get_index(9)
NAME gpiod_get_index - obtain a GPIO from a multi-index GPIO function SYNOPSIS struct gpio_desc * gpiod_get_index (struct device *dev , const char *con_id , unsigned int idx , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within the GPI...
gpiod_get_index_optional(9)
NAME gpiod_get_index_optional - obtain an optional GPIO from a multi-index GPIO function SYNOPSIS struct gpio_desc * gpiod_get_index_optional (struct device *dev , const char *con_id , unsigned int index , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_i...
gpiod_get_optional(9)
NAME gpiod_get_optional - obtain an optional GPIO for a given GPIO function SYNOPSIS struct gpio_desc * gpiod_get_optional (struct device *dev , const char *con_id , enum gpiod_flags flags ); ARGUMENTS dev GPIO consumer, can be NULL for system-global GPIOs con_id function within the GPIO consumer...
gpiod_get_raw_array_value(9)
NAME gpiod_get_raw_array_value - read raw values from an array of GPIOs SYNOPSIS int gpiod_get_raw_array_value (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap ...
gpiod_get_raw_array_value_cansleep(9)
NAME gpiod_get_raw_array_value_cansleep - read raw values from an array of GPIOs SYNOPSIS int gpiod_get_raw_array_value_cansleep (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / ...
gpiod_get_raw_value(9)
NAME gpiod_get_raw_value - return a gpio's raw value SYNOPSIS int gpiod_get_raw_value (const struct gpio_desc *desc ); ARGUMENTS desc gpio whose value will be returned RETURN The GPIO's raw value, i.e. the value of the physical line disregarding its ACTIVE_LOW status, or negative errno on failure. DESCRIPTIO...
gpiod_get_raw_value_cansleep(9)
NAME gpiod_get_raw_value_cansleep - return a gpio's raw value SYNOPSIS int gpiod_get_raw_value_cansleep (const struct gpio_desc *desc ); ARGUMENTS desc gpio whose value will be returned RETURN The GPIO's raw value, i.e. the value of the physical line disregarding its ACTIVE_LOW status, or negative errno on fa...
gpiod_get_value(9)
NAME gpiod_get_value - return a gpio's value SYNOPSIS int gpiod_get_value (const struct gpio_desc *desc ); ARGUMENTS desc gpio whose value will be returned RETURN The GPIO's logical value, i.e. taking the ACTIVE_LOW status into account, or negative errno on failure. DESCRIPTION This function can be called fr...
gpiod_get_value_cansleep(9)
NAME gpiod_get_value_cansleep - return a gpio's value SYNOPSIS int gpiod_get_value_cansleep (const struct gpio_desc *desc ); ARGUMENTS desc gpio whose value will be returned RETURN The GPIO's logical value, i.e. taking the ACTIVE_LOW status into account, or negative errno on failure. DESCRIPTION This functio...
gpiod_hog(9)
NAME gpiod_hog - Hog the specified GPIO desc given the provided flags SYNOPSIS int gpiod_hog (struct gpio_desc *desc , const char *name , unsigned long lflags , enum gpiod_flags dflags ); ARGUMENTS desc gpio whose value will be assigned name gpio line name lflags bitmask of gpio_loo...
gpiod_hwgpio(9)
NAME gpiod_hwgpio - Return the GPIO number of the passed descriptor relative to its chip. SYNOPSIS int gpiod_hwgpio (const struct gpio_desc *desc ); ARGUMENTS desc GPIO descriptor RETURN Hardware offset of the GPIO represented by the descriptor. SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9...
gpiod_is_active_low(9)
NAME gpiod_is_active_low - test whether a GPIO is active-low or not SYNOPSIS int gpiod_is_active_low (const struct gpio_desc *desc ); ARGUMENTS desc the gpio descriptor to test RETURN 1 if the GPIO is active-low, 0 otherwise. SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_...
gpiod_is_equal(9)
NAME gpiod_is_equal - Check if two GPIO descriptors refer to the same pin. SYNOPSIS bool gpiod_is_equal (const struct gpio_desc *desc , const struct gpio_desc *other ); ARGUMENTS desc Descriptor to compare. other The second descriptor to compare against. RETURN True if the descriptors refer to t...
gpiod_is_shared(9)
NAME gpiod_is_shared - check if this GPIO can be shared by multiple consumers SYNOPSIS bool gpiod_is_shared (const struct gpio_desc *desc ); ARGUMENTS desc GPIO to inspect RETURN True if this GPIO can be shared by multiple consumers at once. False if it's a regular, exclusive GPIO. NOTE This function returni...
gpiod_put(9)
NAME gpiod_put - dispose of a GPIO descriptor SYNOPSIS void gpiod_put (struct gpio_desc *desc ); ARGUMENTS desc GPIO descriptor to dispose of DESCRIPTION No descriptor can be used after gpiod_put has been called on it. SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9)...
gpiod_put_array(9)
NAME gpiod_put_array - dispose of multiple GPIO descriptors SYNOPSIS void gpiod_put_array (struct gpio_descs *descs ); ARGUMENTS descs struct gpio_descs containing an array of descriptors SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_hwgpio...
gpiod_remove_lookup_table(9)
NAME gpiod_remove_lookup_table - unregister GPIO device consumers SYNOPSIS void gpiod_remove_lookup_table (struct gpiod_lookup_table *table ); ARGUMENTS table table of consumers to unregister SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_hw...
gpiod_set_array_value(9)
NAME gpiod_set_array_value - assign values to an array of GPIOs SYNOPSIS int gpiod_set_array_value (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap desc_arra...
gpiod_set_array_value_cansleep(9)
NAME gpiod_set_array_value_cansleep - assign values to an array of GPIOs SYNOPSIS int gpiod_set_array_value_cansleep (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap...
gpiod_set_config(9)
NAME gpiod_set_config - sets @config for a GPIO SYNOPSIS int gpiod_set_config (struct gpio_desc *desc , unsigned long config ); ARGUMENTS desc descriptor of the GPIO for which to set the configuration config Same packed config format as generic pinconf RETURN 0 on success, -ENOTSUPP if the contro...
gpiod_set_consumer_name(9)
NAME gpiod_set_consumer_name - set the consumer name for the descriptor SYNOPSIS int gpiod_set_consumer_name (struct gpio_desc *desc , const char *name ); ARGUMENTS desc gpio to set the consumer name on name the new consumer name RETURN 0 on success, or negative errno on failure. SEE ALSO Kern...
gpiod_set_debounce(9)
NAME gpiod_set_debounce - sets @debounce time for a GPIO SYNOPSIS int gpiod_set_debounce (struct gpio_desc *desc , unsigned int debounce ); ARGUMENTS desc descriptor of the GPIO for which to set debounce time debounce debounce time in microseconds RETURN 0 on success, -ENOTSUPP if the controller do...
gpiod_set_raw_array_value(9)
NAME gpiod_set_raw_array_value - assign values to an array of GPIOs SYNOPSIS int gpiod_set_raw_array_value (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / value bitmap d...
gpiod_set_raw_array_value_cansleep(9)
NAME gpiod_set_raw_array_value_cansleep - assign values to an array of GPIOs SYNOPSIS int gpiod_set_raw_array_value_cansleep (unsigned int array_size , struct gpio_desc **desc_array , struct gpio_array *array_info , unsigned long *value_bitmap ); ARGUMENTS array_size number of elements in the descriptor array / valu...
gpiod_set_raw_value(9)
NAME gpiod_set_raw_value - assign a gpio's raw value SYNOPSIS int gpiod_set_raw_value (struct gpio_desc *desc , int value ); ARGUMENTS desc gpio whose value will be assigned value value to assign DESCRIPTION Set the raw value of the GPIO, i.e. the value of its physical line without regard for ...
gpiod_set_raw_value_cansleep(9)
NAME gpiod_set_raw_value_cansleep - assign a gpio's raw value SYNOPSIS int gpiod_set_raw_value_cansleep (struct gpio_desc *desc , int value ); ARGUMENTS desc gpio whose value will be assigned value value to assign DESCRIPTION Set the raw value of the GPIO, i.e. the value of its physical line wit...
gpiod_set_transitory(9)
NAME gpiod_set_transitory - Lose or retain GPIO state on suspend or reset SYNOPSIS int gpiod_set_transitory (struct gpio_desc *desc , bool transitory ); ARGUMENTS desc descriptor of the GPIO for which to configure persistence transitory True to lose state on suspend or reset, false for persistence RE...
gpiod_set_value(9)
NAME gpiod_set_value - assign a gpio's value SYNOPSIS int gpiod_set_value (struct gpio_desc *desc , int value ); ARGUMENTS desc gpio whose value will be assigned value value to assign DESCRIPTION Set the logical value of the GPIO, i.e. taking its ACTIVE_LOW, OPEN_DRAIN and OPEN_SOURCE flags int...
gpiod_set_value_cansleep(9)
NAME gpiod_set_value_cansleep - assign a gpio's value SYNOPSIS int gpiod_set_value_cansleep (struct gpio_desc *desc , int value ); ARGUMENTS desc gpio whose value will be assigned value value to assign DESCRIPTION Set the logical value of the GPIO, i.e. taking its ACTIVE_LOW status into account ...
gpiod_set_value_nocheck(9)
NAME gpiod_set_value_nocheck - set a GPIO line value without checking SYNOPSIS int gpiod_set_value_nocheck (struct gpio_desc *desc , int value ); ARGUMENTS desc the descriptor to set the value on value value to set DESCRIPTION This sets the value of a GPIO line backing a descriptor, applying dif...
gpiod_to_chip(9)
NAME gpiod_to_chip - Return the GPIO chip to which a GPIO descriptor belongs SYNOPSIS struct gpio_chip * gpiod_to_chip (const struct gpio_desc *desc ); ARGUMENTS desc descriptor to return the chip of DESCRIPTION *DEPRECATED* This function is unsafe and should not be used. Using the chip address without taking...
gpiod_to_gpio_device(9)
NAME gpiod_to_gpio_device - Return the GPIO device to which this descriptor belongs. SYNOPSIS struct gpio_device * gpiod_to_gpio_device (struct gpio_desc *desc ); ARGUMENTS desc Descriptor for which to return the GPIO device. DESCRIPTION This *DOES NOT* increase the reference count of the GPIO device as it's ...
gpiod_to_irq(9)
NAME gpiod_to_irq - return the IRQ corresponding to a GPIO SYNOPSIS int gpiod_to_irq (const struct gpio_desc *desc ); ARGUMENTS desc gpio whose IRQ will be returned (already requested) RETURN The IRQ corresponding to the passed GPIO, or an error code in case of error. SEE ALSO Kernel file ./drivers/gpio/gp...
gpiod_toggle_active_low(9)
NAME gpiod_toggle_active_low - toggle whether a GPIO is active-low or not SYNOPSIS void gpiod_toggle_active_low (struct gpio_desc *desc ); ARGUMENTS desc the gpio descriptor to change SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_hwgpio(9)...
gpiod_unexport(9)
NAME gpiod_unexport - reverse effect of gpiod_export() SYNOPSIS void gpiod_unexport (struct gpio_desc *desc ); ARGUMENTS desc GPIO to make unavailable DESCRIPTION This is implicit on gpiod_free. SEE ALSO Kernel file ./drivers/gpio/gpiolib-sysfs.c gpiod_export(9), gpiod_export_link(9) April 2026 ...
gpiotools_get(9)
NAME gpiotools_get - Get value from specific line SYNOPSIS int gpiotools_get (const char *device_name , unsigned int line ); ARGUMENTS device_name The name of gpiochip without prefix "/dev/", such as "gpiochip0" line number of line, such as 2. RETURN On success return 0; On failure return the errno. ...
gpiotools_get_values(9)
NAME gpiotools_get_values - Get the value of gpio(s) SYNOPSIS int gpiotools_get_values (const int fd , struct gpio_v2_line_values *values ); ARGUMENTS fd The fd returned by gpiotools_request_line. values The array of values get from hardware. RETURN On success return 0; On failure return the er...
gpiotools_gets(9)
NAME gpiotools_gets - Get values from specific lines. SYNOPSIS int gpiotools_gets (const char *device_name , unsigned int *lines , unsigned int num_lines , unsigned int *values ); ARGUMENTS device_name The name of gpiochip without prefix "/dev/", such as "gpiochip0". lines An array desired lines, specif...
gpiotools_release_line(9)
NAME gpiotools_release_line - Release the line(s) of gpiochip SYNOPSIS int gpiotools_release_line (const int fd ); ARGUMENTS fd The fd returned by gpiotools_request_line. RETURN On success return 0; On failure return the errno. SEE ALSO Kernel file ./tools/gpio/gpio-utils.c Kernel API(9), gpiotools_request...
gpiotools_request_line(9)
NAME gpiotools_request_line - request gpio lines in a gpiochip SYNOPSIS int gpiotools_request_line (const char *device_name , unsigned int *lines , unsigned int num_lines , struct gpio_v2_line_config *config , const char *consumer ); ARGUMENTS device_name The name of gpiochip without prefix "/dev/", such as "gpiochip...
gpiotools_set(9)
NAME gpiotools_set - Set value to specific line SYNOPSIS int gpiotools_set (const char *device_name , unsigned int line , unsigned int value ); ARGUMENTS device_name The name of gpiochip without prefix "/dev/", such as "gpiochip0" line number of line, such as 2. value The value of gpio, m...
gpiotools_set_values(9)
NAME gpiotools_set_values - Set the value of gpio(s) SYNOPSIS int gpiotools_set_values (const int fd , struct gpio_v2_line_values *values ); ARGUMENTS fd The fd returned by gpiotools_request_line. values The array of values want to set. RETURN On success return 0; On failure return the errno. ...
gpiotools_sets(9)
NAME gpiotools_sets - Set values to specific lines. SYNOPSIS int gpiotools_sets (const char *device_name , unsigned int *lines , unsigned int num_lines , unsigned int *values ); ARGUMENTS device_name The name of gpiochip without prefix "/dev/", such as "gpiochip0". lines An array desired lines, specifie...
gpl(7)
NAME gpl - GNU General Public License DESCRIPTION GNU General Public License Version 3, 29 June 2007 Copyright (c) 2007 Free Software Foundation, Inc. <https://www.fsf.org> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allow...
gpmc_calc_divider(9)
NAME gpmc_calc_divider - calculate GPMC_FCLK divider for sync_clk GPMC_CLK period. SYNOPSIS int gpmc_calc_divider (unsigned int sync_clk ); ARGUMENTS sync_clk GPMC_CLK period in ps. RETURN Returns at least 1 if GPMC_FCLK can be divided to GPMC_CLK. Else, returns -1. SEE ALSO Kernel file ./drivers/memory/omap-...
gpmc_calc_waitmonitoring_divider(9)
NAME gpmc_calc_waitmonitoring_divider - calculate proper GPMCFCLKDIVIDER based on WAITMONITORINGTIME WAITMONITORINGTIME will be _at least_ as long as desired, i.e. read --> don't sample bus too early write --> data is longer on bus SYNOPSIS int gpmc_calc_waitmonitoring_divider (unsigned int wait_monitoring ); ARGUM...
gpmc_configure(9)
NAME gpmc_configure - write request to configure gpmc SYNOPSIS int gpmc_configure (int cmd , int wval ); ARGUMENTS cmd command type wval value to write return status of the operation SEE ALSO Kernel file ./drivers/memory/omap-gpmc.c gpmc_get_clk_period(9), get_gpmc_timing_reg(9),...
gpmc_cs_program_settings(9)
NAME gpmc_cs_program_settings - programs non-timing related settings SYNOPSIS int gpmc_cs_program_settings (int cs , struct gpmc_settings *p ); ARGUMENTS cs GPMC chip-select to program p pointer to GPMC settings structure DESCRIPTION Programs non-timing related settings for a GPMC c...
gpmc_cs_remap(9)
NAME gpmc_cs_remap - remaps a chip-select physical base address SYNOPSIS int gpmc_cs_remap (int cs , u32 base ); ARGUMENTS cs chip-select to remap base physical base address to re-map chip-select to DESCRIPTION Re-maps a chip-select to a new physical base address specified by "base". Returns ...
gpmc_cs_set_timings(9)
NAME gpmc_cs_set_timings - program timing parameters for Chip Select Region. SYNOPSIS int gpmc_cs_set_timings (int cs , const struct gpmc_timings *t , const struct gpmc_settings *s ); ARGUMENTS cs Chip Select Region. t GPMC timing parameters. s GPMC timing settings. RETUR...
gpmc_get_clk_period(9)
NAME gpmc_get_clk_period - get period of selected clock domain in ps SYNOPSIS unsigned long gpmc_get_clk_period (int cs , enum gpmc_clk_domain cd ); ARGUMENTS cs Chip Select Region. cd Clock Domain. DESCRIPTION GPMC_CS_CONFIG1 GPMCFCLKDIVIDER for cs has to be setup prior to calling this fun...
gpmc_omap_get_nand_ops(9)
NAME gpmc_omap_get_nand_ops - Get the GPMC NAND interface SYNOPSIS struct gpmc_nand_ops * gpmc_omap_get_nand_ops (struct gpmc_nand_regs *reg , int cs ); ARGUMENTS reg the GPMC NAND register map exclusive for NAND use. cs GPMC chip select number on which the NAND sits. The register map returne...
gpmc_omap_onenand_set_timings(9)
NAME gpmc_omap_onenand_set_timings - set optimized sync timings. SYNOPSIS int gpmc_omap_onenand_set_timings (struct device *dev , int cs , int freq , int latency , struct gpmc_onenand_info *info ); ARGUMENTS dev -- undescribed -- cs Chip Select Region freq Chip frequency ...
gpmc_probe_generic_child(9)
NAME gpmc_probe_generic_child - configures the gpmc for a child device SYNOPSIS int gpmc_probe_generic_child (struct platform_device *pdev , struct device_node *child ); ARGUMENTS pdev pointer to gpmc platform device child pointer to device-tree node for child device DESCRIPTION Allocates and co...
gpmc_read_settings_dt(9)
NAME gpmc_read_settings_dt - read gpmc settings from device-tree SYNOPSIS void gpmc_read_settings_dt (struct device_node *np , struct gpmc_settings *p ); ARGUMENTS np pointer to device-tree node for a gpmc child device p pointer to gpmc settings structure DESCRIPTION Reads the GPMC setting...
gpstate_timer_handler(9)
NAME gpstate_timer_handler - SYNOPSIS void gpstate_timer_handler (struct timer_list *t ); ARGUMENTS t Timer context used to fetch global pstate info struct DESCRIPTION This handler brings down the global pstate closer to the local pstate according quadratic equation. Queues a new timer if it is still not e...
gpuvm_to_vm(9)
NAME gpuvm_to_vm - Return the embedding xe_vm from a struct drm_gpuvm pointer SYNOPSIS struct xe_vm * gpuvm_to_vm (struct drm_gpuvm *gpuvm ); ARGUMENTS gpuvm The struct drm_gpuvm pointer RETURN Pointer to the embedding struct xe_vm. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_vm.h xe_vm_has_scratch(9), K...
grab_cache_page_nowait(9)
NAME grab_cache_page_nowait - returns locked page at given index in given cache SYNOPSIS struct page * grab_cache_page_nowait (struct address_space *mapping , pgoff_t index ); ARGUMENTS mapping target address_space index the page index DESCRIPTION Returns locked page at given index in given cache, ...
grab_empty_leb(9)
NAME grab_empty_leb - grab an empty LEB to use as GC LEB and run commit. SYNOPSIS int grab_empty_leb (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This is a helper function for 'ubifs_rcvry_gc_commit' which grabs an empty LEB to be used as GC LEB (c->gc_lnum), and th...
grab_runnable_context(9)
NAME grab_runnable_context - try to find a runnable context SYNOPSIS struct spu_context * grab_runnable_context (int prio , int node ); ARGUMENTS prio -- undescribed -- node -- undescribed -- DESCRIPTION Remove the highest priority context on the runqueue and return it to the caller. Returns N...
grab_super(9)
NAME grab_super - acquire an active reference to a superblock SYNOPSIS bool grab_super (struct super_block *sb ); ARGUMENTS sb superblock to acquire DESCRIPTION Acquire a temporary reference on a superblock and try to trade it for an active reference. This is used in sget{_fc}() to wait for a superblock to...
grant_none_oplock(9)
NAME grant_none_oplock - grant none oplock or none lease SYNOPSIS void grant_none_oplock (struct oplock_info *opinfo_new , struct lease_ctx_info *lctx ); ARGUMENTS opinfo_new new oplock info object lctx lease context information RETURN 0 SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opin...
grant_read_oplock(9)
NAME grant_read_oplock - grant level2 oplock or read lease SYNOPSIS void grant_read_oplock (struct oplock_info *opinfo_new , struct lease_ctx_info *lctx ); ARGUMENTS opinfo_new new oplock info object lctx lease context information RETURN 0 SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_op...
grant_write_oplock(9)
NAME grant_write_oplock - grant exclusive/batch oplock or write lease SYNOPSIS void grant_write_oplock (struct oplock_info *opinfo_new , int req_oplock , struct lease_ctx_info *lctx ); ARGUMENTS opinfo_new new oplock info object req_oplock request oplock lctx lease context information RETURN...
grantpt(3)
NAME grantpt - grant access to the slave pseudoterminal LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _XOPEN_SOURCE #include <stdlib.h> int grantpt(int fd); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): grantpt(): Since glibc 2.24: _XOP...
grantpt(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 grantpt — grant access to the slave pseudo-terminal device SYN...
graphml2gv(1)
NAME graphml2gv - GRAPHML-DOT converter SYNOPSIS graphml2gv [ -?v ] [ -ggname ] [ -ooutfile ] [ files ] DESCRIPTION graphml2gv converts a graph specified in the GRAPHML format to a graph in the GV (formerly DOT) format. OPTIONS The following options are supported: -v Turns on verbose mode -? ...
graphviz(7)
NAME graphviz - rich set of graph drawing tools SYNOPSIS This manpage has been written to fulfil the need of a centralized documentation presenting all available tools in the graphviz package. AVAILABLE TOOLS Graph layout programs dot filter for hierarchical layouts of graphs neato filter for symmetric la...
grep(1)
NAME grep - print lines that match patterns SYNOPSIS grep [OPTION]... PATTERNS [FILE]... grep [OPTION]... -e PATTERNS ... [FILE]... grep [OPTION]... -f PATTERN_FILE ... [FILE]... DESCRIPTION grep searches for patterns in each FILE. In the synopsis's first form, which is used if no -e or -f options are present, the...
grep(1p)
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 grep — search a file for a pattern SYNOPSIS grep [-E|-F] ...
ground_panel.3x(3)
NAME panel - panel stack extension for curses SYNOPSIS #include <panel.h> PANEL *new_panel(WINDOW *win); int bottom_panel(PANEL *pan); int top_panel(PANEL *pan); int show_panel(PANEL *pan); void update_panels(void); int hide_panel(PANEL *pan); WINDOW *panel_window(co...
group(5)
NAME group - user group file DESCRIPTION The /etc/group file is a text file that defines the groups on the system. There is one entry per line, with the following format: group_name:password:GID:user_list The fields are as follows: group_name the name of the group. pa...
group.conf(5)
NAME group.conf - configuration file for the pam_group module DESCRIPTION The pam_group PAM module does not authenticate the user, but instead it grants group memberships (in the credential setting phase of the authentication module) to the user. Such memberships are based on the service they are applying for. ...