id
stringlengths
4
63
text
stringlengths
153
8.81M
qlafx00_status_entry(9)
NAME qlafx00_status_entry - Process a Status IOCB entry. SYNOPSIS void qlafx00_status_entry (scsi_qla_host_t *vha , struct rsp_que *rsp , void *pkt ); ARGUMENTS vha SCSI driver HA context rsp response queue pkt Entry pointer SEE ALSO Kernel file ./drivers/scsi/qla2xxx/qla_mr.c...
qlcnic_83xx_config_vnic_opmode(9)
NAME qlcnic_83xx_config_vnic_opmode - SYNOPSIS int qlcnic_83xx_config_vnic_opmode (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure Identify virtual NIC operational modes. RETURN Success(0) or error code. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c qlcnic_83...
qlcnic_83xx_exec_template_cmd(9)
NAME qlcnic_83xx_exec_template_cmd - SYNOPSIS void qlcnic_83xx_exec_template_cmd (struct qlcnic_adapter *p_dev , char *p_buff ); ARGUMENTS p_dev adapter structure p_buff Poiter to instruction template DESCRIPTION Template provides instructions to stop, restart and initalize firmware. These instru...
qlcnic_83xx_idc_attach_driver(9)
NAME qlcnic_83xx_idc_attach_driver - SYNOPSIS void qlcnic_83xx_idc_attach_driver (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Re-attach and re-enable net interface RETURN None SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_idc_che...
qlcnic_83xx_idc_check_reset_ack_reg(9)
NAME qlcnic_83xx_idc_check_reset_ack_reg - SYNOPSIS int qlcnic_83xx_idc_check_reset_ack_reg (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Check ACK wait limit and clear the functions which failed to ACK Return 0 if all functions have acknowledged the reset request. SEE ALSO ...
qlcnic_83xx_idc_cold_state_handler(9)
NAME qlcnic_83xx_idc_cold_state_handler - SYNOPSIS int qlcnic_83xx_idc_cold_state_handler (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION If HW is up and running device will enter READY state. If firmware image from host needs to be loaded, device is forced to start with the f...
qlcnic_83xx_idc_detach_driver(9)
NAME qlcnic_83xx_idc_detach_driver - SYNOPSIS void qlcnic_83xx_idc_detach_driver (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure Detach net interface, stop TX and cleanup resources before the HW reset. RETURN None SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init...
qlcnic_83xx_idc_find_reset_owner_id(9)
NAME qlcnic_83xx_idc_find_reset_owner_id - SYNOPSIS int qlcnic_83xx_idc_find_reset_owner_id (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION NIC gets precedence over ISCSI and ISCSI has precedence over FCOE. Within the same class, function with lowest PCI ID assumes ownership ...
qlcnic_83xx_idc_init_state(9)
NAME qlcnic_83xx_idc_init_state - SYNOPSIS int qlcnic_83xx_idc_init_state (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Reset owner will restart the device from this state. Device will enter failed state if it remains in this state for more than DEV_INIT time limit. RETURN ...
qlcnic_83xx_idc_need_reset_state(9)
NAME qlcnic_83xx_idc_need_reset_state - SYNOPSIS int qlcnic_83xx_idc_need_reset_state (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Device will remain in this state until: Reset request ACK's are received from all the functions Wait time exceeds max time limit RETURN Error c...
qlcnic_83xx_idc_poll_dev_state(9)
NAME qlcnic_83xx_idc_poll_dev_state - SYNOPSIS void qlcnic_83xx_idc_poll_dev_state (struct work_struct *work ); ARGUMENTS work kernel work queue structure used to schedule the function DESCRIPTION Poll device state periodically and perform state specific actions defined by Inter Driver Communication (IDC) pro...
qlcnic_83xx_idc_ready_state(9)
NAME qlcnic_83xx_idc_ready_state - SYNOPSIS int qlcnic_83xx_idc_ready_state (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Perform IDC protocol specicifed actions after monitoring device state and events. RETURN Error code or Success(0) SEE ALSO Kernel file ./drivers/net/e...
qlcnic_83xx_idc_ready_state_entry(9)
NAME qlcnic_83xx_idc_ready_state_entry - SYNOPSIS int qlcnic_83xx_idc_ready_state_entry (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Perform ready state initialization, this routine will get invoked only once from READY state. RETURN Error code or Success(0) SEE ALSO Kerne...
qlcnic_83xx_idc_tx_soft_reset(9)
NAME qlcnic_83xx_idc_tx_soft_reset - SYNOPSIS int qlcnic_83xx_idc_tx_soft_reset (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Handle context deletion and recreation request from transmit routine Returns -EBUSY or Success (0) SEE ALSO Kernel file ./drivers/net/ethernet/qlog...
qlcnic_83xx_idc_vnic_pf_entry(9)
NAME qlcnic_83xx_idc_vnic_pf_entry - SYNOPSIS int qlcnic_83xx_idc_vnic_pf_entry (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Ensure vNIC mode privileged function starts only after vNIC mode is enabled by management function. If vNIC mode is ready, start initialization. RET...
qlcnic_83xx_init_mgmt_vnic(9)
NAME qlcnic_83xx_init_mgmt_vnic - SYNOPSIS int qlcnic_83xx_init_mgmt_vnic (struct qlcnic_adapter *adapter ); ARGUMENTS adapter adapter structure Management virtual NIC sets the operational mode of other vNIC's and configures embedded switch (ESWITCH). RETURN Success(0) or error code. SEE ALSO Kernel file ./driv...
qlt_lport_deregister(9)
NAME qlt_lport_deregister - Degister lport SYNOPSIS void qlt_lport_deregister (struct scsi_qla_host *vha ); ARGUMENTS vha Registered scsi_qla_host pointer SEE ALSO Kernel file ./drivers/scsi/qla2xxx/qla_target.c qlt_lport_register(9) April 2026 ...
qlt_lport_register(9)
NAME qlt_lport_register - register lport with external module SYNOPSIS int qlt_lport_register (void *target_lport_ptr , u64 phys_wwpn , u64 npiv_wwpn , u64 npiv_wwnn , int (*callback)(struct scsi_qla_host *, void *, u64, u64) ); ARGUMENTS target_lport_ptr pointer for tcm_qla2xxx specific lport data phys_wwpn ...
qm_drain_qp(9)
NAME qm_drain_qp - Drain a qp. SYNOPSIS int qm_drain_qp (struct hisi_qp *qp ); ARGUMENTS qp The qp we want to drain. DESCRIPTION If the device does not support stopping queue by sending mailbox, determine whether the queue is cleared by judging the tail pointers of sq and cq. SEE ALSO Kernel file ./drive...
qm_frozen(9)
NAME qm_frozen - Try to froze QM to cut continuous queue request. If there is user on the QM, return failure without doing anything. SYNOPSIS int qm_frozen (struct hisi_qm *qm ); ARGUMENTS qm The qm needed to be fronzen. DESCRIPTION This function frozes QM, then we can do SRIOV disabling. SEE ALSO Kernel ...
qm_hw_err_isolate(9)
NAME qm_hw_err_isolate - Try to set the isolation status of the uacce device according to user's configuration of error threshold. SYNOPSIS int qm_hw_err_isolate (struct hisi_qm *qm ); ARGUMENTS qm the uacce device SEE ALSO Kernel file ./drivers/crypto/hisilicon/qm.c struct qm_hw_err(9), hisi_qm_get_hw...
qm_invalid_queues(9)
NAME qm_invalid_queues - invalid all queues in use. SYNOPSIS void qm_invalid_queues (struct hisi_qm *qm ); ARGUMENTS qm The qm in which the queues will be invalidated. DESCRIPTION This function invalid all queues in use. If the doorbell command is sent to device in user space after the device is reset, the ...
qman_affine_channel(9)
NAME qman_affine_channel - return the channel ID of an portal SYNOPSIS u16 qman_affine_channel (int cpu ); ARGUMENTS cpu the cpu whose affine portal is the subject of the query DESCRIPTION If cpu is -1, the affine portal for the current CPU will be used. It is a bug to call this function for any value of cpu...
qman_affine_cpus(9)
NAME qman_affine_cpus - return a mask of cpus that have affine portals SYNOPSIS const cpumask_t * qman_affine_cpus (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./include/soc/fsl/qman.h qman_p_irqsource_add(9), qman_p_irqsource_remove(9), qman_affine_channel(9), qman_get_affine_portal(9), qman_s...
qman_alloc_cgrid_range(9)
NAME qman_alloc_cgrid_range - Allocate a contiguous range of CGR IDs SYNOPSIS int qman_alloc_cgrid_range (u32 *result , u32 count ); ARGUMENTS result is set by the API to the base CGR ID of the allocated range count the number of CGR IDs required DESCRIPTION Returns 0 on success, or a negative err...
qman_alloc_fqid_range(9)
NAME qman_alloc_fqid_range - Allocate a contiguous range of FQIDs SYNOPSIS int qman_alloc_fqid_range (u32 *result , u32 count ); ARGUMENTS result is set by the API to the base FQID of the allocated range count the number of FQIDs required DESCRIPTION Returns 0 on success, or a negative error code....
qman_alloc_pool_range(9)
NAME qman_alloc_pool_range - Allocate a contiguous range of pool-channel IDs SYNOPSIS int qman_alloc_pool_range (u32 *result , u32 count ); ARGUMENTS result is set by the API to the base pool-channel ID of the allocated range count the number of pool-channel IDs required DESCRIPTION Returns 0 on s...
qman_create_cgr(9)
NAME qman_create_cgr - Register a congestion group object SYNOPSIS int qman_create_cgr (struct qman_cgr *cgr , u32 flags , struct qm_mcc_initcgr *opts ); ARGUMENTS cgr the 'cgr' object, with fields filled in flags QMAN_CGR_FLAG_* values opts optional state of CGR settings DESCRIP...
qman_create_fq(9)
NAME qman_create_fq - Allocates a FQ SYNOPSIS int qman_create_fq (u32 fqid , u32 flags , struct qman_fq *fq ); ARGUMENTS fqid the index of the FQD to encapsulate, must be "Out of Service" flags bit-mask of QMAN_FQ_FLAG_*** options fq memory for storing the 'fq', with callbacks fi...
qman_delete_cgr(9)
NAME qman_delete_cgr - Deregisters a congestion group object SYNOPSIS int qman_delete_cgr (struct qman_cgr *cgr ); ARGUMENTS cgr the 'cgr' object to deregister DESCRIPTION "Unplugs" this CGR object from the portal affine to the cpu on which this API is executed. This must be excuted on the same affine portal...
qman_delete_cgr_safe(9)
NAME qman_delete_cgr_safe - Deregisters a congestion group object from any CPU SYNOPSIS void qman_delete_cgr_safe (struct qman_cgr *cgr ); ARGUMENTS cgr the 'cgr' object to deregister DESCRIPTION This will select the proper CPU and run there qman_delete_cgr. SEE ALSO Kernel file ./include/soc/fsl/qman.h...
qman_destroy_fq(9)
NAME qman_destroy_fq - Deallocates a FQ SYNOPSIS void qman_destroy_fq (struct qman_fq *fq ); ARGUMENTS fq the frame queue object to release DESCRIPTION The memory for this frame queue object ('fq' provided in qman_create_fq) is not deallocated but the caller regains ownership, to do with as desired. The FQ ...
qman_dqrr_get_ithresh(9)
NAME qman_dqrr_get_ithresh - Get coalesce interrupt threshold SYNOPSIS void qman_dqrr_get_ithresh (struct qman_portal *portal , u8 *ithresh ); ARGUMENTS portal portal to get the value for ithresh threshold pointer SEE ALSO Kernel file ./include/soc/fsl/qman.h qman_p_irqsource_add(9), qman_p_ir...
qman_dqrr_set_ithresh(9)
NAME qman_dqrr_set_ithresh - Set coalesce interrupt threshold SYNOPSIS int qman_dqrr_set_ithresh (struct qman_portal *portal , u8 ithresh ); ARGUMENTS portal portal to set the new value on ithresh new threshold value DESCRIPTION Returns 0 on success, or a negative error code. SEE ALSO Kernel file...
qman_enqueue(9)
NAME qman_enqueue - Enqueue a frame to a frame queue SYNOPSIS int qman_enqueue (struct qman_fq *fq , const struct qm_fd *fd ); ARGUMENTS fq the frame queue object to enqueue to fd a descriptor of the frame to be enqueued DESCRIPTION Fills an entry in the EQCR of portal qm to enqueue the ...
qman_fq_fqid(9)
NAME qman_fq_fqid - Queries the frame queue ID of a FQ object SYNOPSIS u32 qman_fq_fqid (struct qman_fq *fq ); ARGUMENTS fq the frame queue object to query SEE ALSO Kernel file ./include/soc/fsl/qman.h qman_p_irqsource_add(9), qman_p_irqsource_remove(9), qman_affine_cpus(9), qman_affine_channel(9), ...
qman_get_affine_portal(9)
NAME qman_get_affine_portal - return the portal pointer affine to cpu SYNOPSIS struct qman_portal * qman_get_affine_portal (int cpu ); ARGUMENTS cpu the cpu whose affine portal is the subject of the query SEE ALSO Kernel file ./include/soc/fsl/qman.h qman_p_irqsource_add(9), qman_p_irqsource_remove(9), ...
qman_init_fq(9)
NAME qman_init_fq - Initialises FQ fields, leaves the FQ "parked" or "scheduled" SYNOPSIS int qman_init_fq (struct qman_fq *fq , u32 flags , struct qm_mcc_initfq *opts ); ARGUMENTS fq the frame queue object to modify, must be 'parked' or new. flags bit-mask of QMAN_INITFQ_FLAG_*** options ...
qman_is_probed(9)
NAME qman_is_probed - Check if qman is probed SYNOPSIS int qman_is_probed (void ); ARGUMENTS void no arguments DESCRIPTION Returns 1 if the qman driver successfully probed, -1 if the qman driver failed to probe or 0 if the qman driver did not probed yet. SEE ALSO Kernel file ./include/soc/fsl/qman.h qma...
qman_oos_fq(9)
NAME qman_oos_fq - Puts a FQ "out of service" SYNOPSIS int qman_oos_fq (struct qman_fq *fq ); ARGUMENTS fq the frame queue object to be put out-of-service, must be 'retired' DESCRIPTION The frame queue must be retired and empty, and if any order restoration list was released as ERNs at the time of retiremen...
qman_p_irqsource_add(9)
NAME qman_p_irqsource_add - add processing sources to be interrupt-driven SYNOPSIS void qman_p_irqsource_add (struct qman_portal *p , u32 bits ); ARGUMENTS p -- undescribed -- bits bitmask of QM_PIRQ_**I processing sources DESCRIPTION Adds processing sources that should be interrupt-driven (...
qman_p_irqsource_remove(9)
NAME qman_p_irqsource_remove - remove processing sources from being int-driven SYNOPSIS void qman_p_irqsource_remove (struct qman_portal *p , u32 bits ); ARGUMENTS p -- undescribed -- bits bitmask of QM_PIRQ_**I processing sources DESCRIPTION Removes processing sources from being interrupt-d...
qman_p_poll_dqrr(9)
NAME qman_p_poll_dqrr - process DQRR (fast-path) entries SYNOPSIS int qman_p_poll_dqrr (struct qman_portal *p , unsigned int limit ); ARGUMENTS p -- undescribed -- limit the maximum number of DQRR entries to process DESCRIPTION Use of this function requires that DQRR processing not be interru...
qman_p_static_dequeue_add(9)
NAME qman_p_static_dequeue_add - Add pool channels to the portal SDQCR SYNOPSIS void qman_p_static_dequeue_add (struct qman_portal *p , u32 pools ); ARGUMENTS p -- undescribed -- pools bit-mask of pool channels, using QM_SDQCR_CHANNELS_POOL(n) DESCRIPTION Adds a set of pool channels to the po...
qman_portals_probed(9)
NAME qman_portals_probed - Check if all cpu bound qman portals are probed SYNOPSIS int qman_portals_probed (void ); ARGUMENTS void no arguments DESCRIPTION Returns 1 if all the required cpu bound qman portals successfully probed, -1 if probe errors appeared or 0 if the qman portals did not yet finished probin...
qman_query_cgr_congested(9)
NAME qman_query_cgr_congested - Queries CGR's congestion status SYNOPSIS int qman_query_cgr_congested (struct qman_cgr *cgr , bool *result ); ARGUMENTS cgr the 'cgr' object to query result returns 'cgr's congestion status, 1 (true) if congested SEE ALSO Kernel file ./include/soc/fsl/qman.h qm...
qman_query_fq_np(9)
NAME qman_query_fq_np - Queries non-programmable FQD fields SYNOPSIS int qman_query_fq_np (struct qman_fq *fq , struct qm_mcr_queryfq_np *np ); ARGUMENTS fq the frame queue object to be queried np storage for the queried FQD fields SEE ALSO Kernel file ./include/soc/fsl/qman.h qman_p_i...
qman_release_cgrid(9)
NAME qman_release_cgrid - Release the specified CGR ID SYNOPSIS int qman_release_cgrid (u32 id ); ARGUMENTS id the CGR ID to be released back to the resource pool DESCRIPTION This function can also be used to seed the allocator with CGR ID ranges that it can subsequently allocate from. Returns 0 on success...
qman_release_fqid(9)
NAME qman_release_fqid - Release the specified frame queue ID SYNOPSIS int qman_release_fqid (u32 fqid ); ARGUMENTS fqid the FQID to be released back to the resource pool DESCRIPTION This function can also be used to seed the allocator with FQID ranges that it can subsequently allocate from. Returns 0 on suc...
qman_release_pool(9)
NAME qman_release_pool - Release the specified pool-channel ID SYNOPSIS int qman_release_pool (u32 id ); ARGUMENTS id the pool-chan ID to be released back to the resource pool DESCRIPTION This function can also be used to seed the allocator with pool-channel ID ranges that it can subsequently allocate from....
qman_retire_fq(9)
NAME qman_retire_fq - Retires a FQ SYNOPSIS int qman_retire_fq (struct qman_fq *fq , u32 *flags ); ARGUMENTS fq the frame queue object to retire flags FQ flags (QMAN_FQ_STATE*) if retirement completes immediately DESCRIPTION Retires the frame queue. This returns zero if it succeeds immediatel...
qman_schedule_fq(9)
NAME qman_schedule_fq - Schedules a FQ SYNOPSIS int qman_schedule_fq (struct qman_fq *fq ); ARGUMENTS fq the frame queue object to schedule, must be 'parked' DESCRIPTION Schedules the frame queue, which must be Parked, which takes it to Tentatively-Scheduled or Truly-Scheduled depending on its fill-level. ...
qman_start_using_portal(9)
NAME qman_start_using_portal - register a device link for the portal user SYNOPSIS int qman_start_using_portal (struct qman_portal *p , struct device *dev ); ARGUMENTS p the portal that will be in use dev the device that will use the portal DESCRIPTION Makes sure that the devices that use t...
qman_update_cgr_safe(9)
NAME qman_update_cgr_safe - Modifies a congestion group object from any CPU SYNOPSIS int qman_update_cgr_safe (struct qman_cgr *cgr , struct qm_mcc_initcgr *opts ); ARGUMENTS cgr the 'cgr' object to modify opts state of the CGR settings DESCRIPTION This will select the proper CPU and modify th...
qmgr_stat_below_low_watermark(9)
NAME qmgr_stat_below_low_watermark - checks if a queue is below low watermark SYNOPSIS int qmgr_stat_below_low_watermark (unsigned int queue ); ARGUMENTS queue queue number DESCRIPTION Returns non-zero value if the queue is below low watermark. SEE ALSO Kernel file ./drivers/soc/ixp4xx/ixp4xx-qmgr.c qmgr_stat...
qmgr_stat_empty(9)
NAME qmgr_stat_empty - checks if a hardware queue is empty SYNOPSIS int qmgr_stat_empty (unsigned int queue ); ARGUMENTS queue queue number DESCRIPTION Returns non-zero value if the queue is empty. SEE ALSO Kernel file ./drivers/soc/ixp4xx/ixp4xx-qmgr.c qmgr_stat_below_low_watermark(9), qmgr_stat_full(9), qmg...
qmgr_stat_full(9)
NAME qmgr_stat_full - checks if a hardware queue is full SYNOPSIS int qmgr_stat_full (unsigned int queue ); ARGUMENTS queue queue number DESCRIPTION Returns non-zero value if the queue is full. SEE ALSO Kernel file ./drivers/soc/ixp4xx/ixp4xx-qmgr.c qmgr_stat_empty(9), qmgr_stat_below_low_watermark(9), qmgr_s...
qmgr_stat_overflow(9)
NAME qmgr_stat_overflow - checks if a hardware queue experienced overflow SYNOPSIS int qmgr_stat_overflow (unsigned int queue ); ARGUMENTS queue queue number DESCRIPTION Returns non-zero value if the queue experienced overflow. SEE ALSO Kernel file ./drivers/soc/ixp4xx/ixp4xx-qmgr.c qmgr_stat_empty(9), qmgr_s...
qmi_add_lookup(9)
NAME qmi_add_lookup - register a new lookup with the name service SYNOPSIS int qmi_add_lookup (struct qmi_handle *qmi , unsigned int service , unsigned int version , unsigned int instance ); ARGUMENTS qmi qmi handle service service id of the request version version number of the reques...
qmi_add_server(9)
NAME qmi_add_server - register a service with the name service SYNOPSIS int qmi_add_server (struct qmi_handle *qmi , unsigned int service , unsigned int version , unsigned int instance ); ARGUMENTS qmi qmi handle service type of the service version version of the service instan...
qmi_bye_cb(9)
NAME qmi_bye_cb - qmi bye message callback SYNOPSIS void qmi_bye_cb (struct qmi_handle *handle , unsigned int node ); ARGUMENTS handle QMI handle node id of the dying node DESCRIPTION This callback is invoked when the QMI bye control message is received from the QMI client. Handle the message ac...
qmi_calc_min_msg_len(9)
NAME qmi_calc_min_msg_len - Calculate the minimum length of a QMI message SYNOPSIS int qmi_calc_min_msg_len (const struct qmi_elem_info *ei_array , int level ); ARGUMENTS ei_array Struct info array describing the structure. level Level to identify the depth of the nested structures. RETURN Expected ...
qmi_decode(9)
NAME qmi_decode - Core Decode Function SYNOPSIS int qmi_decode (const struct qmi_elem_info *ei_array , void *out_c_struct , const void *in_buf , u32 in_buf_len , int dec_level ); ARGUMENTS ei_array Struct info array describing the structure to be decoded. out_c_struct Buffer to hold the ...
qmi_decode_basic_elem(9)
NAME qmi_decode_basic_elem - Decodes elements of basic/primary data type SYNOPSIS int qmi_decode_basic_elem (void *buf_dst , const void *buf_src , u32 elem_len , u32 elem_size ); ARGUMENTS buf_dst Buffer to store the decoded element. buf_src Buffer containing the elements in QMI wire format. e...
qmi_decode_message(9)
NAME qmi_decode_message - Decode QMI encoded message to C structure SYNOPSIS int qmi_decode_message (const void *buf , size_t len , const struct qmi_elem_info *ei , void *c_struct ); ARGUMENTS buf Buffer with encoded message len Amount of data in buf ei QMI message descriptor ...
qmi_decode_string_elem(9)
NAME qmi_decode_string_elem - Decodes elements of string data type SYNOPSIS int qmi_decode_string_elem (const struct qmi_elem_info *ei_array , void *buf_dst , const void *buf_src , u32 tlv_len , int dec_level ); ARGUMENTS ei_array Struct info array describing the string element. buf_dst Buffer to store...
qmi_decode_struct_elem(9)
NAME qmi_decode_struct_elem - Decodes elements of struct data type SYNOPSIS int qmi_decode_struct_elem (const struct qmi_elem_info *ei_array , void *buf_dst , const void *buf_src , u32 elem_len , u32 tlv_len , int dec_level ); ARGUMENTS ei_array Struct info array describing the struct element. buf_dst ...
qmi_encode(9)
NAME qmi_encode - Core Encode Function SYNOPSIS int qmi_encode (const struct qmi_elem_info *ei_array , void *out_buf , const void *in_c_struct , u32 out_buf_len , int enc_level ); ARGUMENTS ei_array Struct info array describing the structure to be encoded. out_buf Buffer to hold the encoded QMI message...
qmi_encode_basic_elem(9)
NAME qmi_encode_basic_elem - Encodes elements of basic/primary data type SYNOPSIS int qmi_encode_basic_elem (void *buf_dst , const void *buf_src , u32 elem_len , u32 elem_size ); ARGUMENTS buf_dst Buffer to store the encoded information. buf_src Buffer containing the elements to be encoded. el...
qmi_encode_message(9)
NAME qmi_encode_message - Encode C structure as QMI encoded message SYNOPSIS void * qmi_encode_message (int type , unsigned int msg_id , size_t *len , unsigned int txn_id , const struct qmi_elem_info *ei , const void *c_struct ); ARGUMENTS type Type of QMI message msg_id Message ID of the message ...
qmi_encode_string_elem(9)
NAME qmi_encode_string_elem - Encodes elements of string data type SYNOPSIS int qmi_encode_string_elem (const struct qmi_elem_info *ei_array , void *buf_dst , const void *buf_src , u32 out_buf_len , int enc_level ); ARGUMENTS ei_array Struct info array descibing the string element. buf_dst Buffer to st...
qmi_encode_struct_elem(9)
NAME qmi_encode_struct_elem - Encodes elements of struct data type SYNOPSIS int qmi_encode_struct_elem (const struct qmi_elem_info *ei_array , void *buf_dst , const void *buf_src , u32 elem_len , u32 out_buf_len , int enc_level ); ARGUMENTS ei_array Struct info array descibing the struct element. buf_dst ...
qmi_handle_init(9)
NAME qmi_handle_init - initialize a QMI client handle SYNOPSIS int qmi_handle_init (struct qmi_handle *qmi , size_t recv_buf_size , const struct qmi_ops *ops , const struct qmi_msg_handler *handlers ); ARGUMENTS qmi QMI handle to initialize recv_buf_size maximum size of incoming mes...
qmi_handle_net_reset(9)
NAME qmi_handle_net_reset - invoked to handle ENETRESET on a QMI handle SYNOPSIS void qmi_handle_net_reset (struct qmi_handle *qmi ); ARGUMENTS qmi the QMI context DESCRIPTION As a result of registering a name service with the QRTR all open sockets are flagged with ENETRESET and this function will be cal...
qmi_handle_release(9)
NAME qmi_handle_release - release the QMI client handle SYNOPSIS void qmi_handle_release (struct qmi_handle *qmi ); ARGUMENTS qmi QMI client handle DESCRIPTION This closes the underlying socket and stops any handling of QMI messages. SEE ALSO Kernel file ./drivers/soc/qcom/qmi_interface.c qmi_recv_new_serv...
qmi_invoke_handler(9)
NAME qmi_invoke_handler - find and invoke a handler for a message SYNOPSIS void qmi_invoke_handler (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , struct qmi_txn *txn , const void *buf , size_t len ); ARGUMENTS qmi qmi handle sq sockaddr of the sender txn transaction obje...
qmi_recv_bye(9)
NAME qmi_recv_bye - handler of BYE control message SYNOPSIS void qmi_recv_bye (struct qmi_handle *qmi , unsigned int node ); ARGUMENTS qmi qmi handle node id of the dying node DESCRIPTION Signals the client that all previously registered services on this node are now gone and then calls the by...
qmi_recv_del_client(9)
NAME qmi_recv_del_client - handler of DEL_CLIENT control message SYNOPSIS void qmi_recv_del_client (struct qmi_handle *qmi , unsigned int node , unsigned int port ); ARGUMENTS qmi qmi handle node node of the dying client port port of the dying client DESCRIPTION Signals the clie...
qmi_recv_del_server(9)
NAME qmi_recv_del_server - handler of DEL_SERVER control message SYNOPSIS void qmi_recv_del_server (struct qmi_handle *qmi , unsigned int node , unsigned int port ); ARGUMENTS qmi qmi handle node node of the dying server, a value of -1 matches all nodes port port of the dying ser...
qmi_recv_new_server(9)
NAME qmi_recv_new_server - handler of NEW_SERVER control message SYNOPSIS void qmi_recv_new_server (struct qmi_handle *qmi , unsigned int service , unsigned int instance , unsigned int node , unsigned int port ); ARGUMENTS qmi qmi handle service service id of the new server instance ins...
qmi_send_indication(9)
NAME qmi_send_indication - send an indication QMI message SYNOPSIS ssize_t qmi_send_indication (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , int msg_id , size_t len , const struct qmi_elem_info *ei , const void *c_struct ); ARGUMENTS qmi QMI client handle sq destination sockaddr ...
qmi_send_message(9)
NAME qmi_send_message - send a QMI message SYNOPSIS ssize_t qmi_send_message (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , struct qmi_txn *txn , int type , int msg_id , size_t len , const struct qmi_elem_info *ei , const void *c_struct ); ARGUMENTS qmi QMI client handle sq destination ...
qmi_send_request(9)
NAME qmi_send_request - send a request QMI message SYNOPSIS ssize_t qmi_send_request (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , struct qmi_txn *txn , int msg_id , size_t len , const struct qmi_elem_info *ei , const void *c_struct ); ARGUMENTS qmi QMI client handle sq destination soc...
qmi_send_response(9)
NAME qmi_send_response - send a response QMI message SYNOPSIS ssize_t qmi_send_response (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , struct qmi_txn *txn , int msg_id , size_t len , const struct qmi_elem_info *ei , const void *c_struct ); ARGUMENTS qmi QMI client handle sq destination ...
qmi_svc_disconnect_cb(9)
NAME qmi_svc_disconnect_cb - qmi client disconnected SYNOPSIS void qmi_svc_disconnect_cb (struct qmi_handle *handle , unsigned int node , unsigned int port ); ARGUMENTS handle QMI handle node id of the dying node port port of the dying client DESCRIPTION Invoked when the remote QMI...
qmi_txn_cancel(9)
NAME qmi_txn_cancel - cancel an ongoing transaction SYNOPSIS void qmi_txn_cancel (struct qmi_txn *txn ); ARGUMENTS txn transaction id SEE ALSO Kernel file ./drivers/soc/qcom/qmi_interface.c qmi_recv_new_server(9), qmi_recv_del_server(9), qmi_recv_bye(9), qmi_recv_del_client(9), qmi_add_lookup(9), qmi_a...
qmi_txn_init(9)
NAME qmi_txn_init - allocate transaction id within the given QMI handle SYNOPSIS int qmi_txn_init (struct qmi_handle *qmi , struct qmi_txn *txn , const struct qmi_elem_info *ei , void *c_struct ); ARGUMENTS qmi QMI handle txn transaction context ei description of how to decode...
qmi_txn_wait(9)
NAME qmi_txn_wait - wait for a response on a transaction SYNOPSIS int qmi_txn_wait (struct qmi_txn *txn , unsigned long timeout ); ARGUMENTS txn transaction handle timeout timeout, in jiffies DESCRIPTION If the transaction is decoded by the means of ei and c_struct the return value will be the re...
qmove(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 qmove — move batch jobs SYNOPSIS qmove destination job_id...
qmp_get(9)
NAME qmp_get - get a qmp handle from a device SYNOPSIS struct qmp * qmp_get (struct device *dev ); ARGUMENTS dev client device pointer RETURN handle to qmp device on success, ERR_PTR on failure SEE ALSO Kernel file ./drivers/soc/qcom/qcom_aoss.c struct qmp(9), qmp_send(9), qmp_put(9) April 2026 ...
qmp_put(9)
NAME qmp_put - release a qmp handle SYNOPSIS void qmp_put (struct qmp *qmp ); ARGUMENTS qmp qmp handle obtained from qmp_get SEE ALSO Kernel file ./drivers/soc/qcom/qcom_aoss.c struct qmp(9), qmp_send(9), qmp_get(9) April 2026 ...
qmp_send(9)
NAME qmp_send - send a message to the AOSS SYNOPSIS int qmp_send (struct qmp *qmp , const char *fmt , ... ); ARGUMENTS qmp qmp context fmt format string for message to be sent ... arguments for the format string DESCRIPTION Transmit message to AOSS and wait for the AOSS to ack...
qmsg(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 qmsg — send message to batch jobs SYNOPSIS qmsg [-EO] mes...
qos_max_notifier_call(9)
NAME qos_max_notifier_call - Callback for QoS max_freq changes. SYNOPSIS int qos_max_notifier_call (struct notifier_block *nb , unsigned long val , void *ptr ); ARGUMENTS nb Should be devfreq->nb_max val not used ptr not used SEE ALSO Kernel file ./drivers/devfreq/devfreq.c...
qos_min_notifier_call(9)
NAME qos_min_notifier_call - Callback for QoS min_freq changes. SYNOPSIS int qos_min_notifier_call (struct notifier_block *nb , unsigned long val , void *ptr ); ARGUMENTS nb Should be devfreq->nb_min val not used ptr not used SEE ALSO Kernel file ./drivers/devfreq/devfreq.c...
qos_notifier_call(9)
NAME qos_notifier_call - Common handler for QoS constraints. SYNOPSIS int qos_notifier_call (struct devfreq *devfreq ); ARGUMENTS devfreq the devfreq instance. SEE ALSO Kernel file ./drivers/devfreq/devfreq.c find_device_devfreq(9), devfreq_get_freq_range(9), devfreq_get_freq_level(9), devfreq_update_status(9)...
qp_iter_print(9)
NAME qp_iter_print - print the qp information to seq_file SYNOPSIS void qp_iter_print (struct seq_file *s , struct rvt_qp_iter *iter ); ARGUMENTS s the seq_file to emit the qp information on iter the iterator for the qp hash list SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/qp.c hfi1_se...
qp_stop_fail_cb(9)
NAME qp_stop_fail_cb - call request cb. SYNOPSIS void qp_stop_fail_cb (struct hisi_qp *qp ); ARGUMENTS qp stopped failed qp. DESCRIPTION Callback function should be called whether task completed or not. SEE ALSO Kernel file ./drivers/crypto/hisilicon/qm.c struct qm_hw_err(9), hisi_qm_get_hw_info(9)...
qp_to_rcd(9)
NAME qp_to_rcd - determine the receive context used by a qp SYNOPSIS struct hfi1_ctxtdata * qp_to_rcd (struct rvt_dev_info *rdi , struct rvt_qp *qp ); ARGUMENTS rdi rvt dev struct qp the qp DESCRIPTION This routine returns the receive context associated with a a qp's qpn. RETURN the context...
qp_to_sdma_engine(9)
NAME qp_to_sdma_engine - map a qp to a send engine SYNOPSIS struct sdma_engine * qp_to_sdma_engine (struct rvt_qp *qp , u8 sc5 ); ARGUMENTS qp the QP sc5 the 5 bit sc RETURN A send engine for the qp or NULL for SMI type qp. SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/qp.c hfi1_setup_w...