id
stringlengths
4
63
text
stringlengths
153
8.81M
futimens(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 futimens, utimensat, utimes — set file access and modification ...
futimes(3)
NAME futimes, lutimes - change file timestamps LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/time.h> int futimes(int fd, const struct timeval tv[2]); int lutimes(const char *path, const struct timeval tv[2]); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ...
futimesat(2)
NAME futimesat - change timestamps of a file relative to a directory file descriptor LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/time.h> [[deprecated]] int futimesat(int dirfd, const char *path, ...
fw_caps_to_lmm(9)
NAME fw_caps_to_lmm - translate Firmware to ethtool Link Mode Mask SYNOPSIS void fw_caps_to_lmm (enum fw_port_type port_type , unsigned int fw_caps , unsigned long *link_mode_mask ); ARGUMENTS port_type Firmware Port Type fw_caps Firmware Port Capabilities link_mode_mask ethto...
fw_card_read_cycle_time(9)
NAME fw_card_read_cycle_time - read from Isochronous Cycle Timer Register of 1394 OHCI in MMIO region for controller card. SYNOPSIS int fw_card_read_cycle_time (struct fw_card *card , u32 *cycle_time ); ARGUMENTS card The instance of card for 1394 OHCI controller. cycle_time The mutual reference to va...
fw_core_add_address_handler(9)
NAME fw_core_add_address_handler - register for incoming requests SYNOPSIS int fw_core_add_address_handler (struct fw_address_handler *handler , const struct fw_address_region *region ); ARGUMENTS handler callback region region in the IEEE 1212 node space address range DESCRIPTION region->start, ->...
fw_core_remove_address_handler(9)
NAME fw_core_remove_address_handler - unregister an address handler SYNOPSIS void fw_core_remove_address_handler (struct fw_address_handler *handler ); ARGUMENTS handler callback DESCRIPTION To be called in process context. When fw_core_remove_address_handler returns, handler->callback is guaranteed to not run ...
fw_csr_string(9)
NAME fw_csr_string - reads a string from the configuration ROM SYNOPSIS int fw_csr_string (const u32 *directory , int key , char *buf , size_t size ); ARGUMENTS directory e.g. root directory or unit directory key the key of the preceding directory entry buf where to put the string ...
fw_devlink_create_devlink(9)
NAME fw_devlink_create_devlink - Create a device link from a consumer to fwnode SYNOPSIS int fw_devlink_create_devlink (struct device *con , struct fwnode_handle *sup_handle , struct fwnode_link *link ); ARGUMENTS con consumer device for the device link sup_handle fwnode handle of supplier li...
fw_elf_get_class(9)
NAME fw_elf_get_class - Get elf class SYNOPSIS u8 fw_elf_get_class (const struct firmware *fw ); ARGUMENTS fw the ELF firmware image DESCRIPTION Note that we use elf32_hdr to access the class since the start of the struct is the same for both elf class RETURN elf class of the firmware SEE ALSO Kernel file...
fw_get_request_speed(9)
NAME fw_get_request_speed - returns speed at which the @request was received SYNOPSIS int fw_get_request_speed (struct fw_request *request ); ARGUMENTS request firewire request data SEE ALSO Kernel file ./drivers/firewire/core-transaction.c __fw_send_request(9), fw_run_transaction(9), fw_core_add_address_...
fw_iso_context_flush_completions(9)
NAME fw_iso_context_flush_completions - process isochronous context in current process context. SYNOPSIS int fw_iso_context_flush_completions (struct fw_iso_context *ctx ); ARGUMENTS ctx the isochronous context DESCRIPTION Process the isochronous context in the current process context. The registered callb...
fw_iso_context_schedule_flush_completions(9)
NAME fw_iso_context_schedule_flush_completions - schedule work item to process isochronous context. SYNOPSIS void fw_iso_context_schedule_flush_completions (struct fw_iso_context *ctx ); ARGUMENTS ctx the isochronous context DESCRIPTION Schedule a work item on workqueue to process the isochronous context. Th...
fw_iso_resource_manage(9)
NAME fw_iso_resource_manage - Allocate or deallocate a channel and/or bandwidth SYNOPSIS void fw_iso_resource_manage (struct fw_card *card , int generation , u64 channels_mask , int *channel , int *bandwidth , bool allocate ); ARGUMENTS card card interface for this action generation bus generation ...
fw_iso_resources_allocate(9)
NAME fw_iso_resources_allocate - allocate isochronous channel and bandwidth SYNOPSIS int fw_iso_resources_allocate (struct fw_iso_resources *r , unsigned int max_payload_bytes , int speed ); ARGUMENTS r the resource manager max_payload_bytes the amount of data (including CIP heade...
fw_iso_resources_destroy(9)
NAME fw_iso_resources_destroy - destroy a resource manager SYNOPSIS void fw_iso_resources_destroy (struct fw_iso_resources *r ); ARGUMENTS r the resource manager that is no longer needed SEE ALSO Kernel file ./sound/firewire/iso-resources.c fw_iso_resources_init(9), fw_iso_resources_allocate(9), fw_iso_res...
fw_iso_resources_free(9)
NAME fw_iso_resources_free - frees allocated resources SYNOPSIS void fw_iso_resources_free (struct fw_iso_resources *r ); ARGUMENTS r the resource manager DESCRIPTION This function deallocates the channel and bandwidth, if allocated. SEE ALSO Kernel file ./sound/firewire/iso-resources.c fw_iso_resources_i...
fw_iso_resources_init(9)
NAME fw_iso_resources_init - initializes a &struct fw_iso_resources SYNOPSIS int fw_iso_resources_init (struct fw_iso_resources *r , struct fw_unit *unit ); ARGUMENTS r the resource manager to initialize unit the device unit for which the resources will be needed DESCRIPTION If the device do...
fw_iso_resources_update(9)
NAME fw_iso_resources_update - update resource allocations after a bus reset SYNOPSIS int fw_iso_resources_update (struct fw_iso_resources *r ); ARGUMENTS r the resource manager DESCRIPTION This function must be called from the driver's .update handler to reallocate any resources that were allocated bef...
fw_load_sysfs_fallback(9)
NAME fw_load_sysfs_fallback - load a firmware via the sysfs fallback mechanism SYNOPSIS int fw_load_sysfs_fallback (struct fw_sysfs *fw_sysfs , long timeout ); ARGUMENTS fw_sysfs firmware sysfs information for the firmware to load timeout timeout to wait for the load DESCRIPTION In charge of construct...
fw_queue_depth_show(9)
NAME fw_queue_depth_show - global credits SYNOPSIS ssize_t fw_queue_depth_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr ? buf the buffer returned DESCRIPTION This is firmware queue depth limit A sysf...
fw_rcode_string(9)
NAME fw_rcode_string - convert a firewire result code to an error description SYNOPSIS const char * fw_rcode_string (int rcode ); ARGUMENTS rcode the result code SEE ALSO Kernel file ./drivers/firewire/core-transaction.c __fw_send_request(9), fw_run_transaction(9), fw_core_add_address_handler(9), fw_core...
fw_request_get_timestamp(9)
NAME fw_request_get_timestamp - Get timestamp of the request. SYNOPSIS u32 fw_request_get_timestamp (const struct fw_request *request ); ARGUMENTS request The opaque pointer to request structure. DESCRIPTION Get timestamp when 1394 OHCI controller receives the asynchronous request subaction. The timestamp consis...
fw_reset_work_fn(9)
NAME fw_reset_work_fn - FW reset worker function SYNOPSIS void fw_reset_work_fn (struct work_struct *work ); ARGUMENTS work Work item DESCRIPTION Call ish_fw_reset_handler to complete FW reset SEE ALSO Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c ish_reg_read(9), ish_reg_write(9), _ish_read_fw...
fw_run_transaction(9)
NAME fw_run_transaction - send request and sleep until transaction is completed SYNOPSIS int fw_run_transaction (struct fw_card *card , int tcode , int destination_id , int generation , int speed , unsigned long long offset , void *payload , size_t length ); ARGUMENTS card card interface for this request ...
fw_send_request(9)
NAME fw_send_request - submit a request packet for transmission to generate callback for response subaction without time stamp. SYNOPSIS void fw_send_request (struct fw_card *card , struct fw_transaction *t , int tcode , int destination_id , int generation , int speed , unsigned long long offset , void *payload , si...
fw_send_request_with_tstamp(9)
NAME fw_send_request_with_tstamp - submit a request packet for transmission to generate callback for response with time stamp. SYNOPSIS void fw_send_request_with_tstamp (struct fw_card *card , struct fw_transaction *t , int tcode , int destination_id , int generation , int speed , unsigned long long offset , void ...
fw_send_response(9)
NAME fw_send_response - - send response packet for asynchronous transaction. SYNOPSIS void fw_send_response (struct fw_card *card , struct fw_request *request , int rcode ); ARGUMENTS card interface to send the response at. request firewire request data for the transaction. rcode resp...
fw_status_show(9)
NAME fw_status_show - mei device fw_status attribute show method SYNOPSIS ssize_t fw_status_show (struct device *device , struct device_attribute *attr , char *buf ); ARGUMENTS device device pointer attr attribute pointer buf char out buffer RETURN number of the bytes printed into...
fw_trace_get_first(9)
NAME fw_trace_get_first - Find first valid entry in trace SYNOPSIS void fw_trace_get_first (struct pvr_fw_trace_seq_data *trace_seq_data ); ARGUMENTS trace_seq_data Trace sequence data. DESCRIPTION Skips over invalid (usually zero) and ROGUE_FW_SF_FIRST entries. If the trace has no valid entries, this function w...
fw_trace_get_next(9)
NAME fw_trace_get_next - Advance trace index to next entry SYNOPSIS bool fw_trace_get_next (struct pvr_fw_trace_seq_data *trace_seq_data ); ARGUMENTS trace_seq_data Trace sequence data. RETURN * true if trace index is now pointing to a valid entry, or * false if trace index is pointing to an invalid entry, or has hi...
fw_ver_show(9)
NAME fw_ver_show - display ME FW version SYNOPSIS ssize_t fw_ver_show (struct device *device , struct device_attribute *attr , char *buf ); ARGUMENTS device device pointer attr attribute pointer buf char out buffer RETURN number of the bytes printed into buf or error SEE ALSO Ker...
fwcap_to_fwspeed(9)
NAME fwcap_to_fwspeed - return highest speed in Port Capabilities SYNOPSIS fw_port_cap32_t fwcap_to_fwspeed (fw_port_cap32_t acaps ); ARGUMENTS acaps advertised Port Capabilities DESCRIPTION Get the highest speed for the port from the advertised Port Capabilities. SEE ALSO Kernel file ./drivers/scsi/csiostor/...
fwcaps16_to_caps32(9)
NAME fwcaps16_to_caps32 - convert 16-bit Port Capabilities to 32-bits SYNOPSIS fw_port_cap32_t fwcaps16_to_caps32 (fw_port_cap16_t caps16 ); ARGUMENTS caps16 a 16-bit Port Capabilities value DESCRIPTION Returns the equivalent 32-bit Port Capabilities value. SEE ALSO Kernel file ./drivers/scsi/csiostor/csio_hw....
fwcaps32_to_caps16(9)
NAME fwcaps32_to_caps16 - convert 32-bit Port Capabilities to 16-bits SYNOPSIS fw_port_cap16_t fwcaps32_to_caps16 (fw_port_cap32_t caps32 ); ARGUMENTS caps32 a 32-bit Port Capabilities value DESCRIPTION Returns the equivalent 16-bit Port Capabilities value. Note that not all 32-bit Port Capabilities can be rep...
fwctl_alloc_device(9)
NAME fwctl_alloc_device - Allocate a fwctl SYNOPSIS fwctl_alloc_device (parent , ops , drv_struct , member ); ARGUMENTS parent Physical device that provides the FW interface ops Driver ops to register drv_struct member Name of the struct fwctl_device in drv_struct DESCRIPTIO...
fwctl_register(9)
NAME fwctl_register - Register a new device to the subsystem SYNOPSIS int fwctl_register (struct fwctl_device *fwctl ); ARGUMENTS fwctl Previously allocated fwctl_device DESCRIPTION On return the device is visible through sysfs and /dev, driver ops may be called. SEE ALSO Kernel file ./drivers/fwctl/main.c fw...
fwctl_unregister(9)
NAME fwctl_unregister - Unregister a device from the subsystem SYNOPSIS void fwctl_unregister (struct fwctl_device *fwctl ); ARGUMENTS fwctl Previously allocated and registered fwctl_device DESCRIPTION Undoes fwctl_register. On return no driver ops will be called. The caller must still call fwctl_p...
fwfault_count_show(9)
NAME fwfault_count_show - SysFS callback to show firmware fault count SYNOPSIS ssize_t fwfault_count_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device attr Device attribute buf Buffer to copy data into DESCRIPTION Displays the to...
fwfault_debug_show(9)
NAME fwfault_debug_show - show/store fwfault_debug SYNOPSIS ssize_t fwfault_debug_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr ? buf the buffer returned DESCRIPTION mpt3sas_fwfault_debug is command ...
fwide(3)
NAME fwide - set and determine the orientation of a FILE stream LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <wchar.h> int fwide(FILE *stream, int mode); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fwide(): _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE ...
fwide(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 fwide — set stream orientation SYNOPSIS #include <stdio.h> #in...
fwnode_connection_find_match(9)
NAME fwnode_connection_find_match - Find connection from a device node SYNOPSIS void * fwnode_connection_find_match (const struct fwnode_handle *fwnode , const char *con_id , void *data , devcon_match_fn_t match ); ARGUMENTS fwnode Device node with the connection con_id Identifier for the connection...
fwnode_connection_find_matches(9)
NAME fwnode_connection_find_matches - Find connections from a device node SYNOPSIS int fwnode_connection_find_matches (const struct fwnode_handle *fwnode , const char *con_id , void *data , devcon_match_fn_t match , void **matches , unsigned int matches_len ); ARGUMENTS fwnode Device node with the connection ...
fwnode_count_parents(9)
NAME fwnode_count_parents - Return the number of parents a node has SYNOPSIS unsigned int fwnode_count_parents (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode The node the parents of which are to be counted RETURN the number of parents a node has. SEE ALSO Kernel file ./drivers/base/property.c devic...
fwnode_device_is_available(9)
NAME fwnode_device_is_available - check if a device is available for use SYNOPSIS bool fwnode_device_is_available (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to the fwnode of the device. RETURN true if device is available for use. Otherwise, returns false. DESCRIPTION For fwnode node types ...
fwnode_dpll_pin_find(9)
NAME fwnode_dpll_pin_find - find dpll pin by firmware node reference SYNOPSIS struct dpll_pin * fwnode_dpll_pin_find (struct fwnode_handle *fwnode , dpll_tracker *tracker ); ARGUMENTS fwnode reference to firmware node tracker tracking object for the acquired reference DESCRIPTION Get existing object...
fwnode_find_reference(9)
NAME fwnode_find_reference - Find named reference to a fwnode_handle SYNOPSIS struct fwnode_handle * fwnode_find_reference (const struct fwnode_handle *fwnode , const char *name , unsigned int index ); ARGUMENTS fwnode Firmware node where to look for the reference name The name of the reference ...
fwnode_get_child_node_count(9)
NAME fwnode_get_child_node_count - return the number of child nodes for a given firmware node SYNOPSIS unsigned int fwnode_get_child_node_count (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to the parent firmware node RETURN the number of child nodes for a given firmware node. SEE ALSO Kernel...
fwnode_get_mac_address(9)
NAME fwnode_get_mac_address - Get the MAC from the firmware node SYNOPSIS int fwnode_get_mac_address (struct fwnode_handle *fwnode , char *addr ); ARGUMENTS fwnode Pointer to the firmware node addr Address of buffer to store the MAC in DESCRIPTION Search the firmware node for the best MAC address...
fwnode_get_name(9)
NAME fwnode_get_name - Return the name of a node SYNOPSIS const char * fwnode_get_name (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode The firmware node RETURN a pointer to the node name, or NULL. SEE ALSO Kernel file ./drivers/base/property.c device_property_present(9), fwnode_property_present(9),...
fwnode_get_name_prefix(9)
NAME fwnode_get_name_prefix - Return the prefix of node for printing purposes SYNOPSIS const char * fwnode_get_name_prefix (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode The firmware node RETURN the prefix of a node, intended to be printed right before the node. The prefix works also as a separator be...
fwnode_get_named_child_node(9)
NAME fwnode_get_named_child_node - Return first matching named child node handle SYNOPSIS struct fwnode_handle * fwnode_get_named_child_node (const struct fwnode_handle *fwnode , const char *childname ); ARGUMENTS fwnode Firmware node to find the named child node for. childname String to match child no...
fwnode_get_named_child_node_count(9)
NAME fwnode_get_named_child_node_count - number of child nodes with given name SYNOPSIS unsigned int fwnode_get_named_child_node_count (const struct fwnode_handle *fwnode , const char *name ); ARGUMENTS fwnode Node which child nodes are counted. name String to match child node name against. DESCR...
fwnode_get_next_available_child_node(9)
NAME fwnode_get_next_available_child_node - Return the next available child node handle for a node SYNOPSIS struct fwnode_handle * fwnode_get_next_available_child_node (const struct fwnode_handle *fwnode , struct fwnode_handle *child ); ARGUMENTS fwnode Firmware node to find the next child node for. chil...
fwnode_get_next_child_node(9)
NAME fwnode_get_next_child_node - Return the next child node handle for a node SYNOPSIS struct fwnode_handle * fwnode_get_next_child_node (const struct fwnode_handle *fwnode , struct fwnode_handle *child ); ARGUMENTS fwnode Firmware node to find the next child node for. child Handle to one of the n...
fwnode_get_next_parent(9)
NAME fwnode_get_next_parent - Iterate to the node's parent SYNOPSIS struct fwnode_handle * fwnode_get_next_parent (struct fwnode_handle *fwnode ); ARGUMENTS fwnode Firmware whose parent is retrieved DESCRIPTION This is like fwnode_get_parent except that it drops the refcount on the passed node, making it suitab...
fwnode_get_next_parent_dev(9)
NAME fwnode_get_next_parent_dev - Find device of closest ancestor fwnode SYNOPSIS struct device * fwnode_get_next_parent_dev (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode firmware node DESCRIPTION Given a firmware node (fwnode), this function finds its closest ancestor firmware node that has a corr...
fwnode_get_nth_parent(9)
NAME fwnode_get_nth_parent - Return an nth parent of a node SYNOPSIS struct fwnode_handle * fwnode_get_nth_parent (struct fwnode_handle *fwnode , unsigned int depth ); ARGUMENTS fwnode The node the parent of which is requested depth Distance of the parent from the node DESCRIPTION The caller is re...
fwnode_get_parent(9)
NAME fwnode_get_parent - Return parent firwmare node SYNOPSIS struct fwnode_handle * fwnode_get_parent (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Firmware whose parent is retrieved DESCRIPTION The caller is responsible for calling fwnode_handle_put on the returned fwnode pointer. RETURN parent fir...
fwnode_get_phy_mode(9)
NAME fwnode_get_phy_mode - Get phy mode for given firmware node SYNOPSIS int fwnode_get_phy_mode (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to the given node DESCRIPTION The function gets phy interface string from property 'phy-mode' or error case. SEE ALSO Kernel file ./drivers/base/pro...
fwnode_get_phy_node(9)
NAME fwnode_get_phy_node - Get the phy_node using the named reference. SYNOPSIS struct fwnode_handle * fwnode_get_phy_node (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to fwnode from which phy_node has to be obtained. DESCRIPTION Refer return conditions of fwnode_find_reference. For ACPI...
fwnode_get_u32_prop_for_name(9)
NAME fwnode_get_u32_prop_for_name - Find u32 property by name, or default value SYNOPSIS int fwnode_get_u32_prop_for_name (struct fwnode_handle *fwnode , const char *name , const char *props_title , const char *names_title , unsigned int default_val , unsigned int *val ); ARGUMENTS fwnode Pointer to firmware nod...
fwnode_gpiod_get_index(9)
NAME fwnode_gpiod_get_index - obtain a GPIO from firmware node SYNOPSIS struct gpio_desc * fwnode_gpiod_get_index (struct fwnode_handle *fwnode , const char *con_id , int index , enum gpiod_flags flags , const char *label ); ARGUMENTS fwnode handle of the firmware node con_id function within the GPI...
fwnode_graph_get_endpoint_by_id(9)
NAME fwnode_graph_get_endpoint_by_id - get endpoint by port and endpoint numbers SYNOPSIS struct fwnode_handle * fwnode_graph_get_endpoint_by_id (const struct fwnode_handle *fwnode , u32 port , u32 endpoint , unsigned long flags ); ARGUMENTS fwnode parent fwnode_handle containing the graph port id...
fwnode_graph_get_endpoint_count(9)
NAME fwnode_graph_get_endpoint_count - Count endpoints on a device node SYNOPSIS unsigned int fwnode_graph_get_endpoint_count (const struct fwnode_handle *fwnode , unsigned long flags ); ARGUMENTS fwnode The node related to a device flags fwnode lookup flags Count endpoints in a device node. DESCR...
fwnode_graph_get_next_endpoint(9)
NAME fwnode_graph_get_next_endpoint - Get next endpoint firmware node SYNOPSIS struct fwnode_handle * fwnode_graph_get_next_endpoint (const struct fwnode_handle *fwnode , struct fwnode_handle *prev ); ARGUMENTS fwnode Pointer to the parent firmware node prev Previous endpoint node or NULL to get t...
fwnode_graph_get_port_parent(9)
NAME fwnode_graph_get_port_parent - Return the device fwnode of a port endpoint SYNOPSIS struct fwnode_handle * fwnode_graph_get_port_parent (const struct fwnode_handle *endpoint ); ARGUMENTS endpoint Endpoint firmware node of the port DESCRIPTION The caller is responsible for calling fwnode_handle_put on the ret...
fwnode_graph_get_remote_endpoint(9)
NAME fwnode_graph_get_remote_endpoint - Return fwnode of a remote endpoint SYNOPSIS struct fwnode_handle * fwnode_graph_get_remote_endpoint (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Endpoint firmware node pointing to the remote endpoint DESCRIPTION Extracts firmware node of a remote endpoint the f...
fwnode_graph_get_remote_port(9)
NAME fwnode_graph_get_remote_port - Return fwnode of a remote port SYNOPSIS struct fwnode_handle * fwnode_graph_get_remote_port (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Endpoint firmware node pointing to the remote endpoint DESCRIPTION Extracts firmware node of a remote port the fwnode points to....
fwnode_graph_get_remote_port_parent(9)
NAME fwnode_graph_get_remote_port_parent - Return fwnode of a remote device SYNOPSIS struct fwnode_handle * fwnode_graph_get_remote_port_parent (const struct fwnode_handle *fwnode ); ARGUMENTS fwnode Endpoint firmware node pointing to the remote endpoint DESCRIPTION Extracts firmware node of a remote device the...
fwnode_graph_parse_endpoint(9)
NAME fwnode_graph_parse_endpoint - parse common endpoint node properties SYNOPSIS int fwnode_graph_parse_endpoint (const struct fwnode_handle *fwnode , struct fwnode_endpoint *endpoint ); ARGUMENTS fwnode pointer to endpoint fwnode_handle endpoint pointer to the fwnode endpoint data structure DESCRIP...
fwnode_handle_get(9)
NAME fwnode_handle_get - Obtain a reference to a device node SYNOPSIS struct fwnode_handle * fwnode_handle_get (struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to the device node to obtain the reference to. DESCRIPTION The caller is responsible for calling fwnode_handle_put on the returned fwnode point...
fwnode_handle_put(9)
NAME fwnode_handle_put - Drop reference to a device node SYNOPSIS void fwnode_handle_put (struct fwnode_handle *fwnode ); ARGUMENTS fwnode Pointer to the device node to drop the reference to. DESCRIPTION This has to be used when terminating device_for_each_child_node iteration with break or return to prevent st...
fwnode_iio_channel_get_by_name(9)
NAME fwnode_iio_channel_get_by_name - get description of all that is needed to access channel. SYNOPSIS struct iio_channel * fwnode_iio_channel_get_by_name (struct fwnode_handle *fwnode , const char *name ); ARGUMENTS fwnode Pointer to consumer Firmware node name -- undescribed -- SEE ALSO Kernel...
fwnode_iomap(9)
NAME fwnode_iomap - Maps the memory mapped IO for a given fwnode SYNOPSIS void __iomem * fwnode_iomap (struct fwnode_handle *fwnode , int index ); ARGUMENTS fwnode Pointer to the firmware node index Index of the IO range RETURN a pointer to the mapped memory. SEE ALSO Kernel file ./drivers/base...
fwnode_irq_get(9)
NAME fwnode_irq_get - Get IRQ directly from a fwnode SYNOPSIS int fwnode_irq_get (const struct fwnode_handle *fwnode , unsigned int index ); ARGUMENTS fwnode Pointer to the firmware node index Zero-based index of the IRQ RETURN Linux IRQ number on success. Negative errno on failure. SEE ALSO Kern...
fwnode_irq_get_byname(9)
NAME fwnode_irq_get_byname - Get IRQ from a fwnode using its name SYNOPSIS int fwnode_irq_get_byname (const struct fwnode_handle *fwnode , const char *name ); ARGUMENTS fwnode Pointer to the firmware node name IRQ name DESCRIPTION Find a match to the string name in the 'interrupt-names' string ar...
fwnode_is_ancestor_of(9)
NAME fwnode_is_ancestor_of - Test if @ancestor is ancestor of @child SYNOPSIS bool fwnode_is_ancestor_of (const struct fwnode_handle *ancestor , const struct fwnode_handle *child ); ARGUMENTS ancestor Firmware which is tested for being an ancestor child Firmware which is tested for being the child D...
fwnode_links_purge(9)
NAME fwnode_links_purge - Delete all links connected to a fwnode_handle. SYNOPSIS void fwnode_links_purge (struct fwnode_handle *fwnode ); ARGUMENTS fwnode fwnode whose links needs to be deleted DESCRIPTION Deletes all links connecting directly to a fwnode. SEE ALSO Kernel file ./drivers/base/core.c __fwn...
fwnode_links_purge_consumers(9)
NAME fwnode_links_purge_consumers - Delete all consumer links of fwnode_handle. SYNOPSIS void fwnode_links_purge_consumers (struct fwnode_handle *fwnode ); ARGUMENTS fwnode fwnode whose consumer links need to be deleted DESCRIPTION Deletes all consumer links connecting directly to fwnode. SEE ALSO Kernel file...
fwnode_links_purge_suppliers(9)
NAME fwnode_links_purge_suppliers - Delete all supplier links of fwnode_handle. SYNOPSIS void fwnode_links_purge_suppliers (struct fwnode_handle *fwnode ); ARGUMENTS fwnode fwnode whose supplier links need to be deleted DESCRIPTION Deletes all supplier links connecting directly to fwnode. SEE ALSO Kernel file...
fwnode_mdio_find_device(9)
NAME fwnode_mdio_find_device - Given a fwnode, find the mdio_device SYNOPSIS struct mdio_device * fwnode_mdio_find_device (struct fwnode_handle *fwnode ); ARGUMENTS fwnode pointer to the mdio_device's fwnode DESCRIPTION If successful, returns a pointer to the mdio_device with the embedded struct device refcount...
fwnode_name_eq(9)
NAME fwnode_name_eq - Return true if node name is equal SYNOPSIS bool fwnode_name_eq (const struct fwnode_handle *fwnode , const char *name ); ARGUMENTS fwnode The firmware node name The name to which to compare the node name DESCRIPTION Compare the name provided as an argument to the name of t...
fwnode_phy_find_device(9)
NAME fwnode_phy_find_device - For provided phy_fwnode, find phy_device. SYNOPSIS struct phy_device * fwnode_phy_find_device (struct fwnode_handle *phy_fwnode ); ARGUMENTS phy_fwnode Pointer to the phy's fwnode. DESCRIPTION If successful, returns a pointer to the phy_device with the embedded struct device refcount i...
fwnode_property_get_reference_args(9)
NAME fwnode_property_get_reference_args - Find a reference with arguments SYNOPSIS int fwnode_property_get_reference_args (const struct fwnode_handle *fwnode , const char *prop , const char *nargs_prop , unsigned int nargs , unsigned int index , struct fwnode_reference_args *args ); ARGUMENTS fwnode Firmware nod...
fwnode_property_match_property_string(9)
NAME fwnode_property_match_property_string - find a property string value in an array and return index SYNOPSIS int fwnode_property_match_property_string (const struct fwnode_handle *fwnode , const char *propname , const char * const *array , size_t n ); ARGUMENTS fwnode Firmware node to get the property of ...
fwnode_property_match_string(9)
NAME fwnode_property_match_string - find a string in an array and return index SYNOPSIS int fwnode_property_match_string (const struct fwnode_handle *fwnode , const char *propname , const char *string ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property holding the ar...
fwnode_property_present(9)
NAME fwnode_property_present - check if a property of a firmware node is present SYNOPSIS bool fwnode_property_present (const struct fwnode_handle *fwnode , const char *propname ); ARGUMENTS fwnode Firmware node whose property to check propname Name of the property RETURN true if property propname is...
fwnode_property_read_bool(9)
NAME fwnode_property_read_bool - Return the value for a boolean property of a firmware node SYNOPSIS bool fwnode_property_read_bool (const struct fwnode_handle *fwnode , const char *propname ); ARGUMENTS fwnode Firmware node whose property to check propname Name of the property DESCRIPTION Return if ...
fwnode_property_read_string(9)
NAME fwnode_property_read_string - return a string property of a firmware node SYNOPSIS int fwnode_property_read_string (const struct fwnode_handle *fwnode , const char *propname , const char **val ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property val ...
fwnode_property_read_string_array(9)
NAME fwnode_property_read_string_array - return string array property of a node SYNOPSIS int fwnode_property_read_string_array (const struct fwnode_handle *fwnode , const char *propname , const char **val , size_t nval ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the prope...
fwnode_property_read_u16_array(9)
NAME fwnode_property_read_u16_array - return a u16 array property of firmware node SYNOPSIS int fwnode_property_read_u16_array (const struct fwnode_handle *fwnode , const char *propname , u16 *val , size_t nval ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property ...
fwnode_property_read_u32_array(9)
NAME fwnode_property_read_u32_array - return a u32 array property of firmware node SYNOPSIS int fwnode_property_read_u32_array (const struct fwnode_handle *fwnode , const char *propname , u32 *val , size_t nval ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property ...
fwnode_property_read_u64_array(9)
NAME fwnode_property_read_u64_array - return a u64 array property firmware node SYNOPSIS int fwnode_property_read_u64_array (const struct fwnode_handle *fwnode , const char *propname , u64 *val , size_t nval ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property ...
fwnode_property_read_u8_array(9)
NAME fwnode_property_read_u8_array - return a u8 array property of firmware node SYNOPSIS int fwnode_property_read_u8_array (const struct fwnode_handle *fwnode , const char *propname , u8 *val , size_t nval ); ARGUMENTS fwnode Firmware node to get the property of propname Name of the property ...
fwnode_typec_mux_get(9)
NAME fwnode_typec_mux_get - Find USB Type-C Multiplexer SYNOPSIS struct typec_mux * fwnode_typec_mux_get (struct fwnode_handle *fwnode ); ARGUMENTS fwnode The caller device node DESCRIPTION Finds a mux linked to the caller. This function is primarily meant for the Type-C drivers. Returns a reference to the mu...
fwnode_typec_retimer_get(9)
NAME fwnode_typec_retimer_get - Find USB Type-C retimer. SYNOPSIS struct typec_retimer * fwnode_typec_retimer_get (struct fwnode_handle *fwnode ); ARGUMENTS fwnode The caller device node. DESCRIPTION Finds a retimer linked to the caller. This function is primarily meant for the Type-C drivers. Returns a referen...
fwnode_typec_switch_get(9)
NAME fwnode_typec_switch_get - Find USB Type-C orientation switch SYNOPSIS struct typec_switch * fwnode_typec_switch_get (struct fwnode_handle *fwnode ); ARGUMENTS fwnode The caller device node DESCRIPTION Finds a switch linked with dev. Returns a reference to the switch on success, NULL if no matching connecti...
fwnode_usb_role_switch_get(9)
NAME fwnode_usb_role_switch_get - Find USB role switch linked with the caller SYNOPSIS struct usb_role_switch * fwnode_usb_role_switch_get (struct fwnode_handle *fwnode ); ARGUMENTS fwnode The caller device node DESCRIPTION This is similar to the usb_role_switch_get function above, but it searches the switch us...