id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
gobj_to_entity(9) | NAME gobj_to_entity - returns the struct &media_entity pointer from the @gobj contained on it.
SYNOPSIS gobj_to_entity (gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_e... |
gobj_to_intf(9) | NAME gobj_to_intf - returns the struct &media_interface pointer from the @gobj contained on it.
SYNOPSIS gobj_to_intf (gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_en... |
gobj_to_link(9) | NAME gobj_to_link - returns the struct &media_link pointer from the @gobj contained on it.
SYNOPSIS gobj_to_link (gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_... |
gobj_to_pad(9) | NAME gobj_to_pad - returns the struct &media_pad pointer from the @gobj contained on it.
SYNOPSIS gobj_to_pad (gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_enu... |
goldfish_pipe_open(9) | NAME goldfish_pipe_open - open a channel to the AVD
SYNOPSIS int goldfish_pipe_open (struct inode *inode , struct file *file );
ARGUMENTS inode inode of device
file file struct of opener
DESCRIPTION Create a new pipe link between the emulator and the use application. Each new request produces a... |
goodix_check_cfg(9) | NAME goodix_check_cfg - Checks if config fw is valid
SYNOPSIS int goodix_check_cfg (struct goodix_ts_data *ts , const u8 *cfg , int len );
ARGUMENTS ts goodix_ts_data pointer
cfg firmware config data
len config data length
SEE ALSO Kernel file ./drivers/input/touchscreen/go... |
goodix_config_cb(9) | NAME goodix_config_cb - Callback to finish device init
SYNOPSIS void goodix_config_cb (const struct firmware *cfg , void *ctx );
ARGUMENTS cfg firmware config
ctx our goodix_ts_data pointer
DESCRIPTION request_firmware_wait callback that finishes initialization of the device.
SEE ALSO Kernel... |
goodix_configure_dev(9) | NAME goodix_configure_dev - Finish device initialization
SYNOPSIS int goodix_configure_dev (struct goodix_ts_data *ts );
ARGUMENTS ts our goodix_ts_data pointer
DESCRIPTION Must be called from probe to finish initialization of the device. Contains the common initialization code for both devices that decl... |
goodix_get_gpio_config(9) | NAME goodix_get_gpio_config - Get GPIO config from ACPI/DT
SYNOPSIS int goodix_get_gpio_config (struct goodix_ts_data *ts );
ARGUMENTS ts goodix_ts_data pointer
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_process_events(9), goodix_ts_irq_h... |
goodix_hid_get_raw_report(9) | NAME goodix_hid_get_raw_report - Process hidraw GET REPORT operation
SYNOPSIS int goodix_hid_get_raw_report (struct hid_device *hid , unsigned char reportnum , u8 *buf , size_t len , unsigned char report_type );
ARGUMENTS hid hid device instance
reportnum Report ID
buf Buffer for sto... |
goodix_hid_parse(9) | NAME goodix_hid_parse - hid-core .parse() callback
SYNOPSIS int goodix_hid_parse (struct hid_device *hid );
ARGUMENTS hid hid device instance
DESCRIPTION This function gets called during call to hid_add_device
RETURN 0 on success and non zero on error
SEE ALSO Kernel file ./drivers/hid/hid-goodix-spi.c goo... |
goodix_hid_set_raw_report(9) | NAME goodix_hid_set_raw_report - process hidraw SET REPORT operation
SYNOPSIS int goodix_hid_set_raw_report (struct hid_device *hid , unsigned char reportnum , __u8 *buf , size_t len , unsigned char report_type );
ARGUMENTS hid HID device
reportnum Report ID
buf Buffer for communicat... |
goodix_i2c_read(9) | NAME goodix_i2c_read - read data from a register of the i2c slave device.
SYNOPSIS int goodix_i2c_read (struct i2c_client *client , u16 reg , u8 *buf , int len );
ARGUMENTS client i2c device.
reg the register to read from.
buf raw write data buffer.
len length of t... |
goodix_i2c_test(9) | NAME goodix_i2c_test - I2C test function to check if the device answers.
SYNOPSIS int goodix_i2c_test (struct i2c_client *client );
ARGUMENTS client the i2c client
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_process_events(9), goodix_ts_irq_ha... |
goodix_i2c_write(9) | NAME goodix_i2c_write - write data to a register of the i2c slave device.
SYNOPSIS int goodix_i2c_write (struct i2c_client *client , u16 reg , const u8 *buf , int len );
ARGUMENTS client i2c device.
reg the register to write to.
buf raw data buffer to write.
len le... |
goodix_process_events(9) | NAME goodix_process_events - Process incoming events
SYNOPSIS void goodix_process_events (struct goodix_ts_data *ts );
ARGUMENTS ts our goodix_ts_data pointer
DESCRIPTION Called when the IRQ is triggered. Read the current device state, and push the input events to the user space.
SEE ALSO Kernel file ... |
goodix_read_config(9) | NAME goodix_read_config - Read the embedded configuration of the panel
SYNOPSIS void goodix_read_config (struct goodix_ts_data *ts );
ARGUMENTS ts our goodix_ts_data pointer
DESCRIPTION Must be called during probe
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c... |
goodix_read_version(9) | NAME goodix_read_version - Read goodix touchscreen version
SYNOPSIS int goodix_read_version (struct goodix_ts_data *ts );
ARGUMENTS ts our goodix_ts_data pointer
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_process_events(9), goodix_ts_irq_... |
goodix_reset(9) | NAME goodix_reset - Reset device during power on
SYNOPSIS int goodix_reset (struct goodix_ts_data *ts );
ARGUMENTS ts goodix_ts_data pointer
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_process_events(9), goodix_ts_irq_handler(9), goodix_c... |
goodix_reset_no_int_sync(9) | NAME goodix_reset_no_int_sync - Reset device, leaving interrupt line in output mode
SYNOPSIS int goodix_reset_no_int_sync (struct goodix_ts_data *ts );
ARGUMENTS ts goodix_ts_data pointer
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_process_event... |
goodix_send_cfg(9) | NAME goodix_send_cfg - Write fw config to device
SYNOPSIS int goodix_send_cfg (struct goodix_ts_data *ts , const u8 *cfg , int len );
ARGUMENTS ts goodix_ts_data pointer
cfg config firmware to write to device
len config data length
SEE ALSO Kernel file ./drivers/input/tou... |
goodix_ts_irq_handler(9) | NAME goodix_ts_irq_handler - The IRQ handler
SYNOPSIS irqreturn_t goodix_ts_irq_handler (int irq , void *dev_id );
ARGUMENTS irq interrupt number.
dev_id private data pointer.
SEE ALSO Kernel file ./drivers/input/touchscreen/goodix.c goodix_i2c_read(9), goodix_i2c_write(9), goodix_pro... |
gource(1) | NAME Gource - a software version control visualization
SYNOPSIS gource [options] [path]
DESCRIPTION gource is an OpenGL-based 3D visualisation tool for source control repositories.
The repository is displayed as a tree where the root of the repository is the centre, directories are branches and files are... |
gov_update_cpu_data(9) | NAME gov_update_cpu_data - Update CPU load data.
SYNOPSIS void gov_update_cpu_data (struct dbs_data *dbs_data );
ARGUMENTS dbs_data Top-level governor data pointer.
DESCRIPTION Update CPU load data for all CPUs in the domain governed by dbs_data (that may be a single policy or a bunch of them if governor tunables... |
gparted(8) | NAME gparted - GNOME Partition Editor for manipulating disk partitions.
SYNOPSIS gparted [device]...
DESCRIPTION The gparted application is the GNOME partition editor for creating, reorganizing, and deleting disk partitions.
A disk device can be subdivided into one or more partitions. The gparted application... |
gpasswd(1) | NAME gpasswd - administer /etc/group and /etc/gshadow
SYNOPSIS
gpasswd [option] group
DESCRIPTION The gpasswd command is used to administer /etc/group, and /etc/gshadow. Every group can have administrators, members and a password.
System administrators can use the -A option to define group administrat... |
gpg(1) | NAME gpg - OpenPGP encryption and signing tool
SYNOPSIS gpg [--homedir dir] [--options file] [options] command [args]
DESCRIPTION gpg is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a tool to provide digital encryption and signing services using the OpenPGP standard. gpg features complete key management a... |
gpg-agent(1) | NAME gpg-agent - Secret key management for GnuPG
SYNOPSIS gpg-agent [--homedir dir] [--options file] [options] gpg-agent [--homedir dir] [--options file] [options] --server gpg-agent [--homedir dir] [--options file] [options] --daemon [command_line]
DESCRIPTION gpg-agent is a daemon to manage secret (private) keys in... |
gpg-card(1) | NAME gpg-card - Administrate Smart Cards
SYNOPSIS gpg-card [options] gpg-card [options] command { -- command }
DESCRIPTION The gpg-card is used to administrate smart cards and USB tokens. It provides a superset of features from gpg --card-edit an can be considered a frontend to scdaemon which is a daemon started by... |
gpg-check-pattern(1) | NAME gpg-check-pattern - Check a passphrase on stdin against the patternfile
SYNOPSIS gpg-check-pattern [options] patternfile
DESCRIPTION gpg-check-pattern checks a passphrase given on stdin against a specified pattern file.
The pattern file is line based with comment lines beginning on the first position ... |
gpg-connect-agent(1) | NAME gpg-connect-agent - Communicate with a running agent
SYNOPSIS gpg-connect-agent [options][commands]
DESCRIPTION The gpg-connect-agent is a utility to communicate with a running gpg-agent. It is useful to check out the commands gpg-agent provides using the Assuan interface. It might also be useful for scrip... |
gpg-mail-tube(1) | NAME gpg-mail-tube - Encrypt rfc822 formatted mail in a pipeline
SYNOPSIS gpg-mail-tube [options] recipients
DESCRIPTION gpg-mail-tube takes RFC-822 formatted mail on stdin and turns it into a PGP/MIME encrypted mail which is then written to stdout.
The recipients must be plain mail addresses (e.g. foo@exampl... |
gpg-preset-passphrase(1) | NAME gpg-preset-passphrase - Put a passphrase into gpg-agent's cache
SYNOPSIS gpg-preset-passphrase [options] [command] cache-id
DESCRIPTION The gpg-preset-passphrase is a utility to seed the internal cache of a running gpg-agent with passphrases. It is mainly useful for unattended machines, where the usual pinen... |
gpg-wks-client(1) | NAME gpg-wks-client - Client for the Web Key Service
SYNOPSIS gpg-wks-client [options] --supported user-id gpg-wks-client [options] --check user-id gpg-wks-client [options] --create fingerprint user-id gpg-wks-client [options] --receive gpg-wks-client [options] --read gpg-wks-client [options] --mirror gpg-wks-client [... |
gpg-wks-server(1) | NAME gpg-wks-server - Server providing the Web Key Service
SYNOPSIS gpg-wks-server [options] --receive gpg-wks-server [options] --cron gpg-wks-server [options] --list-domains gpg-wks-server [options] --check-key user-id gpg-wks-server [options] --install-key file user-id gpg-wks-server [options] --remove-key user-id g... |
gpgconf(1) | NAME gpgconf - Modify .gnupg home directories
SYNOPSIS gpgconf [options] --list-components gpgconf [options] --list-options component gpgconf [options] --change-options component
DESCRIPTION The gpgconf is a utility to automatically and reasonable safely query and modify configuration files in the ‘.gnupg’ home dir... |
gpgparsemail(1) | NAME gpgparsemail - Parse a mail message into an annotated format
SYNOPSIS gpgparsemail [options] [file]
DESCRIPTION The gpgparsemail is a utility currently only useful for debugging. Run it with --help for usage information.
GnuPG 2.4.9 ... |
gpgsm(1) | NAME gpgsm - CMS encryption and signing tool
SYNOPSIS gpgsm [--homedir dir] [--options file] [options] command [args]
DESCRIPTION gpgsm is a tool similar to gpg to provide digital encryption and signing services on X.509 certificates and the CMS protocol. It is mainly used as a backend for S/MIME mail processing... |
gpgtar(1) | NAME gpgtar - Encrypt or sign files into an archive
SYNOPSIS gpgtar [options] filename1 [ filename2, ... ] directory1 [ directory2, ... ]
DESCRIPTION gpgtar encrypts or signs files into an archive. It is an gpg-ized tar using the same format as used by PGP's PGP Zip.
OPTIONS gpgtar understands these options:
... |
gpgv(1) | NAME gpgv - Verify OpenPGP signatures
SYNOPSIS gpgv [options] signed_files
DESCRIPTION gpgv is an OpenPGP signature verification tool.
This program is actually a stripped-down version of gpg which is only able to check signatures. It is somewhat smaller than the fully-blown gpg and uses a different (and simp... |
gpio_chrdev_open(9) | NAME gpio_chrdev_open - open the chardev for ioctl operations
SYNOPSIS int gpio_chrdev_open (struct inode *inode , struct file *file );
ARGUMENTS inode inode for this chardev
file file struct for storing private data
RETURN 0 on success, or negative errno on failure.
SEE ALSO Kernel file ./driv... |
gpio_chrdev_release(9) | NAME gpio_chrdev_release - close chardev after ioctl operations
SYNOPSIS int gpio_chrdev_release (struct inode *inode , struct file *file );
ARGUMENTS inode inode for this chardev
file file struct for storing private data
RETURN 0 on success, or negative errno on failure.
SEE ALSO Kernel file .... |
gpio_data_ro_bug(9) | NAME gpio_data_ro_bug - test if HW bug exists or not
SYNOPSIS int gpio_data_ro_bug (struct zynq_gpio *gpio );
ARGUMENTS gpio Pointer to driver data struct
RETURN 0 if bug doesnot exist, 1 if bug exists.
SEE ALSO Kernel file ./drivers/gpio/gpio-zynq.c struct zynq_gpio(9), struct zynq_platform_data(9)... |
gpio_device_find(9) | NAME gpio_device_find - find a specific GPIO device
SYNOPSIS struct gpio_device * gpio_device_find (const void *data , int (*match)(struct gpio_chip *gc, const void *data) );
ARGUMENTS data data to pass to match function
match Callback function to check gpio_chip
RETURN New reference to struct g... |
gpio_device_find_by_fwnode(9) | NAME gpio_device_find_by_fwnode - wrapper around gpio_device_find() finding the GPIO device by its fwnode
SYNOPSIS struct gpio_device * gpio_device_find_by_fwnode (const struct fwnode_handle *fwnode );
ARGUMENTS fwnode Firmware node to lookup
RETURN Reference to the GPIO device or NULL. Reference must be releas... |
gpio_device_find_by_label(9) | NAME gpio_device_find_by_label - wrapper around gpio_device_find() finding the GPIO device by its backing chip's label
SYNOPSIS struct gpio_device * gpio_device_find_by_label (const char *label );
ARGUMENTS label Label to lookup
RETURN Reference to the GPIO device or NULL. Reference must be released with gpio_... |
gpio_device_get(9) | NAME gpio_device_get - Increase the reference count of this GPIO device
SYNOPSIS struct gpio_device * gpio_device_get (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device to increase the refcount for
RETURN Pointer to gdev.
SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get... |
gpio_device_get_base(9) | NAME gpio_device_get_base - Get the base GPIO number allocated by this device
SYNOPSIS int gpio_device_get_base (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device
RETURN First GPIO number in the global GPIO numberspace for this device.
SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9),... |
gpio_device_get_chip(9) | NAME gpio_device_get_chip - Get the gpio_chip implementation of this GPIO device
SYNOPSIS struct gpio_chip * gpio_device_get_chip (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device
RETURN Address of the GPIO chip backing this device.
DESCRIPTION *DEPRECATED* Until we can get rid of all non-driver users... |
gpio_device_get_desc(9) | NAME gpio_device_get_desc - get the GPIO descriptor corresponding to the given hardware number for this GPIO device
SYNOPSIS struct gpio_desc * gpio_device_get_desc (struct gpio_device *gdev , unsigned int hwnum );
ARGUMENTS gdev GPIO device to get the descriptor from
hwnum hardware number of the... |
gpio_device_get_label(9) | NAME gpio_device_get_label - Get the label of this GPIO device
SYNOPSIS const char * gpio_device_get_label (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device
RETURN Pointer to the string containing the GPIO device label. The string's lifetime is tied to that of the underlying GPIO device.
SEE ALSO Kerne... |
gpio_device_put(9) | NAME gpio_device_put - Decrease the reference count of this GPIO device and possibly free all resources associated with it.
SYNOPSIS void gpio_device_put (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device to decrease the reference count for
SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9)... |
gpio_device_to_device(9) | NAME gpio_device_to_device - Retrieve the address of the underlying struct device.
SYNOPSIS struct device * gpio_device_to_device (struct gpio_device *gdev );
ARGUMENTS gdev GPIO device for which to return the address.
DESCRIPTION This does not increase the reference count of the GPIO device nor the underlyin... |
gpio_generic_chip_init(9) | NAME gpio_generic_chip_init - Initialize a generic GPIO chip.
SYNOPSIS int gpio_generic_chip_init (struct gpio_generic_chip *chip , const struct gpio_generic_chip_config *cfg );
ARGUMENTS chip Generic GPIO chip to set up.
cfg Generic GPIO chip configuration.
DESCRIPTION Returns 0 on success, n... |
gpio_generic_chip_set(9) | NAME gpio_generic_chip_set - Set the GPIO line value of the generic GPIO chip.
SYNOPSIS int gpio_generic_chip_set (struct gpio_generic_chip *chip , unsigned int offset , int value );
ARGUMENTS chip Generic GPIO chip to use.
offset Hardware offset of the line to set.
value New GPIO li... |
gpio_generic_read_reg(9) | NAME gpio_generic_read_reg - Read a register using the underlying callback.
SYNOPSIS unsigned long gpio_generic_read_reg (struct gpio_generic_chip *chip , void __iomem *reg );
ARGUMENTS chip Generic GPIO chip to use.
reg Register to read.
RETURN value read from register.
SEE ALSO Kernel file ... |
gpio_generic_write_reg(9) | NAME gpio_generic_write_reg - Write a register using the underlying callback.
SYNOPSIS void gpio_generic_write_reg (struct gpio_generic_chip *chip , void __iomem *reg , unsigned long val );
ARGUMENTS chip Generic GPIO chip to use.
reg Register to write to.
val New value to write... |
gpio_keys_attr_show_helper(9) | NAME gpio_keys_attr_show_helper - fill in stringified bitmap of buttons
SYNOPSIS ssize_t gpio_keys_attr_show_helper (struct gpio_keys_drvdata *ddata , char *buf , unsigned int type , bool only_disabled );
ARGUMENTS ddata pointer to drvdata
buf buffer where stringified bitmap is written
t... |
gpio_keys_attr_store_helper(9) | NAME gpio_keys_attr_store_helper - enable/disable buttons based on given bitmap
SYNOPSIS ssize_t gpio_keys_attr_store_helper (struct gpio_keys_drvdata *ddata , const char *buf , unsigned int type );
ARGUMENTS ddata pointer to drvdata
buf buffer from userspace that contains stringified bitmap
... |
gpio_keys_disable_button(9) | NAME gpio_keys_disable_button - disables given GPIO button
SYNOPSIS void gpio_keys_disable_button (struct gpio_button_data *bdata );
ARGUMENTS bdata button data for button to be disabled
DESCRIPTION Disables button pointed by bdata. This is done by masking IRQ line. After this function is called, button won't... |
gpio_keys_enable_button(9) | NAME gpio_keys_enable_button - enables given GPIO button
SYNOPSIS void gpio_keys_enable_button (struct gpio_button_data *bdata );
ARGUMENTS bdata button data for button to be disabled
DESCRIPTION Enables given button pointed by bdata. Make sure that bdata->disable_lock is locked when entering this function to... |
gpio_led_register_device(9) | NAME gpio_led_register_device - register a gpio-led device
SYNOPSIS struct platform_device * gpio_led_register_device (int id , const struct gpio_led_platform_data *pdata );
ARGUMENTS id platform ID
pdata the platform data used for the new device
DESCRIPTION Makes a copy of pdata and pdata->le... |
gpio_reg_init(9) | NAME gpio_reg_init - add a fixed in/out register as gpio
SYNOPSIS struct gpio_chip * gpio_reg_init (struct device *dev , void __iomem *reg , int base , int num , const char *label , u32 direction , u32 def_out , const char *const *names , struct irq_domain *irqdom , const int *irqs );
ARGUMENTS dev optional s... |
gpio_regmap_register(9) | NAME gpio_regmap_register - Register a generic regmap GPIO controller
SYNOPSIS struct gpio_regmap * gpio_regmap_register (const struct gpio_regmap_config *config );
ARGUMENTS config configuration for gpio_regmap
RETURN A pointer to the registered gpio_regmap or ERR_PTR error value.
SEE ALSO Kernel file ./drive... |
gpio_regmap_unregister(9) | NAME gpio_regmap_unregister - Unregister a generic regmap GPIO controller
SYNOPSIS void gpio_regmap_unregister (struct gpio_regmap *gpio );
ARGUMENTS gpio gpio_regmap device to unregister
SEE ALSO Kernel file ./drivers/gpio/gpio-regmap.c gpio_regmap_register(9), devm_gpio_regmap_register(9)
April 2026 ... |
gpio_request_one(9) | NAME gpio_request_one - request a single GPIO with initial configuration
SYNOPSIS int gpio_request_one (unsigned gpio , unsigned long flags , const char *label );
ARGUMENTS gpio the GPIO number
flags GPIO configuration as specified by GPIOF_*
label a literal description string of th... |
gpio_set_debounce_timeout(9) | NAME gpio_set_debounce_timeout - Set debounce timeout
SYNOPSIS int gpio_set_debounce_timeout (struct gpio_desc *desc , unsigned int debounce );
ARGUMENTS desc GPIO descriptor to set the debounce timeout
debounce Debounce timeout in microseconds
DESCRIPTION The function calls the certain GPIO driver... |
gpio_to_desc(9) | NAME gpio_to_desc - Convert a GPIO number to its descriptor
SYNOPSIS struct gpio_desc * gpio_to_desc (unsigned gpio );
ARGUMENTS gpio global GPIO number
RETURN The GPIO descriptor associated with the given GPIO, or NULL if no GPIO with the given number exists in the system.
SEE ALSO Kernel file ./drivers/g... |
gpio_to_pin(9) | NAME gpio_to_pin - GPIO range GPIO number to pin number translation
SYNOPSIS int gpio_to_pin (struct pinctrl_gpio_range *range , struct gpio_chip *gc , unsigned int offset );
ARGUMENTS range GPIO range used for the translation
gc GPIO chip structure from the GPIO subsystem
offset h... |
gpiochip_add_data(9) | NAME gpiochip_add_data - register a gpio_chip
SYNOPSIS gpiochip_add_data (gc , data );
ARGUMENTS gc the chip to register, with gc->base initialized
data driver-private data associated with this chip
CONTEXT potentially before irqs will work
DESCRIPTION When gpiochip_add_data is called very e... |
gpiochip_add_irqchip(9) | NAME gpiochip_add_irqchip - adds an IRQ chip to a GPIO chip
SYNOPSIS int gpiochip_add_irqchip (struct gpio_chip *gc , struct lock_class_key *lock_key , struct lock_class_key *request_key );
ARGUMENTS gc the GPIO chip to add the IRQ chip to
lock_key lockdep class for IRQ lock
request_key lo... |
gpiochip_add_pin_range_with_pins(9) | NAME gpiochip_add_pin_range_with_pins - add a range for GPIO <-> pin mapping
SYNOPSIS int gpiochip_add_pin_range_with_pins (struct gpio_chip *gc , const char *pinctl_name , unsigned int gpio_offset , unsigned int pin_offset , unsigned int const *pins , unsigned int npins );
ARGUMENTS gc the gpiochip to add t... |
gpiochip_add_pingroup_range(9) | NAME gpiochip_add_pingroup_range - add a range for GPIO <-> pin mapping
SYNOPSIS int gpiochip_add_pingroup_range (struct gpio_chip *gc , struct pinctrl_dev *pctldev , unsigned int gpio_offset , const char *pin_group );
ARGUMENTS gc the gpiochip to add the range for
pctldev the pin controller to m... |
gpiochip_dup_line_label(9) | NAME gpiochip_dup_line_label - Get a copy of the consumer label.
SYNOPSIS char * gpiochip_dup_line_label (struct gpio_chip *gc , unsigned int offset );
ARGUMENTS gc GPIO chip controlling this line.
offset Hardware offset of the line.
RETURN Pointer to a copy of the consumer label if the line is... |
gpiochip_free_hogs(9) | NAME gpiochip_free_hogs - Scan gpio-controller chip and release GPIO hog
SYNOPSIS void gpiochip_free_hogs (struct gpio_chip *gc );
ARGUMENTS gc gpio chip to act on
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_to_chip(9)... |
gpiochip_free_own_desc(9) | NAME gpiochip_free_own_desc - Free GPIO requested by the chip driver
SYNOPSIS void gpiochip_free_own_desc (struct gpio_desc *desc );
ARGUMENTS desc GPIO descriptor to free
DESCRIPTION Function frees the given GPIO requested previously with gpiochip_request_own_desc.
SEE ALSO Kernel file ./drivers/gpio/gpio... |
gpiochip_fwd_create(9) | NAME gpiochip_fwd_create - Create a new GPIO forwarder
SYNOPSIS struct gpiochip_fwd * gpiochip_fwd_create (struct device *dev , unsigned int ngpios , struct gpio_desc *descs[] , unsigned long features );
ARGUMENTS dev Parent device pointer
ngpios Number of GPIOs in the forwarder.
descs ... |
gpiochip_fwd_desc_add(9) | NAME gpiochip_fwd_desc_add - Add a GPIO desc in the forwarder
SYNOPSIS int gpiochip_fwd_desc_add (struct gpiochip_fwd *fwd , struct gpio_desc *desc , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
desc GPIO descriptor to register
offset offset for the GPIO in the forwarder
RE... |
gpiochip_fwd_desc_free(9) | NAME gpiochip_fwd_desc_free - Remove a GPIO desc from the forwarder
SYNOPSIS void gpiochip_fwd_desc_free (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset offset of GPIO desc to remove
SEE ALSO Kernel file ./drivers/gpio/gpio-aggregator.c gpiochip_fwd_g... |
gpiochip_fwd_get_data(9) | NAME gpiochip_fwd_get_data - Get driver-private data for the GPIO forwarder
SYNOPSIS void * gpiochip_fwd_get_data (struct gpiochip_fwd *fwd );
ARGUMENTS fwd GPIO forwarder
RETURN The driver-private data for the GPIO forwarder
SEE ALSO Kernel file ./drivers/gpio/gpio-aggregator.c gpiochip_fwd_get_gpioc... |
gpiochip_fwd_get_gpiochip(9) | NAME gpiochip_fwd_get_gpiochip - Get the GPIO chip for the GPIO forwarder
SYNOPSIS struct gpio_chip * gpiochip_fwd_get_gpiochip (struct gpiochip_fwd *fwd );
ARGUMENTS fwd GPIO forwarder
RETURN The GPIO chip for the GPIO forwarder
SEE ALSO Kernel file ./drivers/gpio/gpio-aggregator.c gpiochip_fwd_get_data... |
gpiochip_fwd_gpio_direction_input(9) | NAME gpiochip_fwd_gpio_direction_input - Set a GPIO forwarder line direction to input
SYNOPSIS int gpiochip_fwd_gpio_direction_input (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
RETURN 0 on success, or negative errno on failure.
S... |
gpiochip_fwd_gpio_direction_output(9) | NAME gpiochip_fwd_gpio_direction_output - Set a GPIO forwarder line direction to output
SYNOPSIS int gpiochip_fwd_gpio_direction_output (struct gpiochip_fwd *fwd , unsigned int offset , int value );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
value value to set
RETUR... |
gpiochip_fwd_gpio_get(9) | NAME gpiochip_fwd_gpio_get - Return a GPIO forwarder line's value
SYNOPSIS int gpiochip_fwd_gpio_get (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
RETURN The GPIO's logical value, i.e. taking the ACTIVE_LOW status into account, or n... |
gpiochip_fwd_gpio_get_direction(9) | NAME gpiochip_fwd_gpio_get_direction - Return the current direction of a GPIO forwarder line
SYNOPSIS int gpiochip_fwd_gpio_get_direction (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
RETURN 0 for output, 1 for input, or an error co... |
gpiochip_fwd_gpio_get_multiple(9) | NAME gpiochip_fwd_gpio_get_multiple - Get values for multiple GPIO forwarder lines
SYNOPSIS int gpiochip_fwd_gpio_get_multiple (struct gpiochip_fwd *fwd , unsigned long *mask , unsigned long *bits );
ARGUMENTS fwd GPIO forwarder
mask bit mask array; one bit per line; BITS_PER_LONG bits per word... |
gpiochip_fwd_gpio_request(9) | NAME gpiochip_fwd_gpio_request - Request a line of the GPIO forwarder
SYNOPSIS int gpiochip_fwd_gpio_request (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line to request
RETURN 0 on success, or negative errno on failure.
SEE ALSO Kerne... |
gpiochip_fwd_gpio_set(9) | NAME gpiochip_fwd_gpio_set - Assign value to a GPIO forwarder line.
SYNOPSIS int gpiochip_fwd_gpio_set (struct gpiochip_fwd *fwd , unsigned int offset , int value );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
value value to set
RETURN 0 on success, or negative errno... |
gpiochip_fwd_gpio_set_config(9) | NAME gpiochip_fwd_gpio_set_config - Set @config for a GPIO forwarder line
SYNOPSIS int gpiochip_fwd_gpio_set_config (struct gpiochip_fwd *fwd , unsigned int offset , unsigned long config );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
config Same packed config format as... |
gpiochip_fwd_gpio_set_multiple(9) | NAME gpiochip_fwd_gpio_set_multiple - Assign values to multiple GPIO forwarder lines
SYNOPSIS int gpiochip_fwd_gpio_set_multiple (struct gpiochip_fwd *fwd , unsigned long *mask , unsigned long *bits );
ARGUMENTS fwd GPIO forwarder
mask bit mask array; one bit per output; BITS_PER_LONG bits per ... |
gpiochip_fwd_gpio_to_irq(9) | NAME gpiochip_fwd_gpio_to_irq - Return the IRQ corresponding to a GPIO forwarder line
SYNOPSIS int gpiochip_fwd_gpio_to_irq (struct gpiochip_fwd *fwd , unsigned int offset );
ARGUMENTS fwd GPIO forwarder
offset the offset of the line
RETURN The Linux IRQ corresponding to the passed line, or an e... |
gpiochip_fwd_register(9) | NAME gpiochip_fwd_register - Register a GPIO forwarder
SYNOPSIS int gpiochip_fwd_register (struct gpiochip_fwd *fwd , void *data );
ARGUMENTS fwd GPIO forwarder
data driver-private data associated with this forwarder
RETURN 0 on success, or negative errno on failure.
SEE ALSO Kernel file ... |
gpiochip_generic_config(9) | NAME gpiochip_generic_config - apply configuration for a pin
SYNOPSIS int gpiochip_generic_config (struct gpio_chip *gc , unsigned int offset , unsigned long config );
ARGUMENTS gc the gpiochip owning the GPIO
offset the offset of the GPIO to apply the configuration
config the confi... |
gpiochip_generic_free(9) | NAME gpiochip_generic_free - free the gpio function from a pin
SYNOPSIS void gpiochip_generic_free (struct gpio_chip *gc , unsigned int offset );
ARGUMENTS gc the gpiochip to request the gpio function for
offset the offset of the GPIO to free from GPIO function
SEE ALSO Kernel file ./drivers/... |
gpiochip_generic_request(9) | NAME gpiochip_generic_request - request the gpio function for a pin
SYNOPSIS int gpiochip_generic_request (struct gpio_chip *gc , unsigned int offset );
ARGUMENTS gc the gpiochip owning the GPIO
offset the offset of the GPIO to request for GPIO function
RETURN 0 on success, or negative errno on... |
gpiochip_get_data(9) | NAME gpiochip_get_data - get per-subdriver data for the chip
SYNOPSIS void * gpiochip_get_data (struct gpio_chip *gc );
ARGUMENTS gc GPIO chip
RETURN The per-subdriver data for the chip.
SEE ALSO Kernel file ./drivers/gpio/gpiolib.c gpio_to_desc(9), gpio_device_get_desc(9), desc_to_gpio(9), gpiod_hwg... |
gpiochip_irq_domain_activate(9) | NAME gpiochip_irq_domain_activate - Lock a GPIO to be used as an IRQ
SYNOPSIS int gpiochip_irq_domain_activate (struct irq_domain *domain , struct irq_data *data , bool reserve );
ARGUMENTS domain The IRQ domain used by this IRQ chip
data Outermost irq_data associated with the IRQ
reserve ... |
gpiochip_irq_domain_deactivate(9) | NAME gpiochip_irq_domain_deactivate - Unlock a GPIO used as an IRQ
SYNOPSIS void gpiochip_irq_domain_deactivate (struct irq_domain *domain , struct irq_data *data );
ARGUMENTS domain The IRQ domain used by this IRQ chip
data Outermost irq_data associated with the IRQ
DESCRIPTION This function is ... |
gpiochip_irq_map(9) | NAME gpiochip_irq_map - maps an IRQ into a GPIO irqchip
SYNOPSIS int gpiochip_irq_map (struct irq_domain *d , unsigned int irq , irq_hw_number_t hwirq );
ARGUMENTS d the irqdomain used by this irqchip
irq the global irq number used by this GPIO irqchip irq
hwirq the local IRQ/G... |
gpiochip_irqchip_add_domain(9) | NAME gpiochip_irqchip_add_domain - adds an irqdomain to a gpiochip
SYNOPSIS int gpiochip_irqchip_add_domain (struct gpio_chip *gc , struct irq_domain *domain );
ARGUMENTS gc the gpiochip to add the irqchip to
domain the irqdomain to add to the gpiochip
DESCRIPTION This function adds an IRQ doma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.