id
stringlengths
4
63
text
stringlengths
153
8.81M
qcomtee_supp_recv(9)
NAME qcomtee_supp_recv - Wait for a request for the supplicant. SYNOPSIS int qcomtee_supp_recv (struct tee_context *ctx , u32 *op , u32 *num_params , struct tee_param *params ); ARGUMENTS ctx TEE context. op requested operation on the object. num_params number of elements in the para...
qcomtee_supp_send(9)
NAME qcomtee_supp_send - Submit a response for a request. SYNOPSIS int qcomtee_supp_send (struct tee_context *ctx , u32 errno , u32 num_params , struct tee_param *params ); ARGUMENTS ctx TEE context. errno return value for the request. num_params number of elements in the parameter arra...
qcomtee_update_args(9)
NAME qcomtee_update_args - Parse the QTEE response in the inbound buffer. SYNOPSIS int qcomtee_update_args (struct qcomtee_arg *u , struct qcomtee_object_invoke_ctx *oic ); ARGUMENTS u array of arguments for the invocation. oic context to use for the invocation. DESCRIPTION u must be the...
qcomtee_user_object_select(9)
NAME qcomtee_user_object_select - Select a request for a user object. SYNOPSIS int qcomtee_user_object_select (struct tee_context *ctx , struct tee_param *params , int num_params , void __user *uaddr , size_t size , struct qcomtee_user_object_request_data *data ); ARGUMENTS ctx context to look for a user obje...
qcomtee_user_object_submit(9)
NAME qcomtee_user_object_submit - Submit a response for a user object. SYNOPSIS int qcomtee_user_object_submit (struct tee_context *ctx , struct tee_param *params , int num_params , int req_id , int errno ); ARGUMENTS ctx context to look for a user object. params returned parameters. num_...
qcomtee_user_param_to_object(9)
NAME qcomtee_user_param_to_object - OBJREF parameter to &struct qcomtee_object. SYNOPSIS int qcomtee_user_param_to_object (struct qcomtee_object **object , struct tee_param *param , struct tee_context *ctx ); ARGUMENTS object object returned. param TEE parameter. ctx context in whic...
qdel(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 qdel — delete batch jobs SYNOPSIS qdel job_identifier... ...
qdio_activate(9)
NAME qdio_activate - activate queues on a qdio subchannel SYNOPSIS int qdio_activate (struct ccw_device *cdev ); ARGUMENTS cdev associated cdev SEE ALSO Kernel file ./drivers/s390/cio/qdio_main.c do_siga_output(9), qdio_do_eqbs(9), qdio_do_sqbs(9), qdio_get_ssqd_desc(9), qdio_shutdown(9), qdio_free(9)...
qdio_add_bufs_to_input_queue(9)
NAME qdio_add_bufs_to_input_queue - process buffers on an Input Queue SYNOPSIS int qdio_add_bufs_to_input_queue (struct ccw_device *cdev , unsigned int q_nr , unsigned int bufnr , unsigned int count ); ARGUMENTS cdev associated ccw_device for the qdio subchannel q_nr queue number bufnr ...
qdio_add_bufs_to_output_queue(9)
NAME qdio_add_bufs_to_output_queue - process buffers on an Output Queue SYNOPSIS int qdio_add_bufs_to_output_queue (struct ccw_device *cdev , unsigned int q_nr , unsigned int bufnr , unsigned int count , struct qaob *aob ); ARGUMENTS cdev associated ccw_device for the qdio subchannel q_nr queue ...
qdio_alloc_buffers(9)
NAME qdio_alloc_buffers - allocate qdio buffers SYNOPSIS int qdio_alloc_buffers (struct qdio_buffer **buf , unsigned int count ); ARGUMENTS buf array of pointers to qdio buffers count number of qdio buffers to allocate SEE ALSO Kernel file ./drivers/s390/cio/qdio_setup.c qdio_free_buffers(9), q...
qdio_allocate(9)
NAME qdio_allocate - allocate qdio queues and associated data SYNOPSIS int qdio_allocate (struct ccw_device *cdev , unsigned int no_input_qs , unsigned int no_output_qs ); ARGUMENTS cdev associated ccw device no_input_qs allocate this number of Input Queues no_output_qs alloc...
qdio_do_eqbs(9)
NAME qdio_do_eqbs - extract buffer states for QEBSM SYNOPSIS int qdio_do_eqbs (struct qdio_q *q , unsigned char *state , int start , int count , int auto_ack ); ARGUMENTS q queue to manipulate state state of the extracted buffers start buffer number to start at count ...
qdio_do_sqbs(9)
NAME qdio_do_sqbs - set buffer states for QEBSM SYNOPSIS int qdio_do_sqbs (struct qdio_q *q , unsigned char state , int start , int count ); ARGUMENTS q queue to manipulate state new state of the buffers start first buffer number to change count how many buffers to ...
qdio_establish(9)
NAME qdio_establish - establish queues on a qdio subchannel SYNOPSIS int qdio_establish (struct ccw_device *cdev , struct qdio_initialize *init_data ); ARGUMENTS cdev associated ccw device init_data initialization data SEE ALSO Kernel file ./drivers/s390/cio/qdio_main.c do_siga_output(9), qd...
qdio_free(9)
NAME qdio_free - free data structures for a qdio subchannel SYNOPSIS int qdio_free (struct ccw_device *cdev ); ARGUMENTS cdev associated ccw device SEE ALSO Kernel file ./drivers/s390/cio/qdio_main.c do_siga_output(9), qdio_do_eqbs(9), qdio_do_sqbs(9), qdio_get_ssqd_desc(9), qdio_shutdown(9), qdio_all...
qdio_free_buffers(9)
NAME qdio_free_buffers - free qdio buffers SYNOPSIS void qdio_free_buffers (struct qdio_buffer **buf , unsigned int count ); ARGUMENTS buf array of pointers to qdio buffers count number of qdio buffers to free SEE ALSO Kernel file ./drivers/s390/cio/qdio_setup.c qdio_alloc_buffers(9), qdio_rese...
qdio_get_ssqd_desc(9)
NAME qdio_get_ssqd_desc - get qdio subchannel description SYNOPSIS int qdio_get_ssqd_desc (struct ccw_device *cdev , struct qdio_ssqd_desc *data ); ARGUMENTS cdev ccw device to get description for data where to store the ssqd DESCRIPTION Returns 0 or an error code. The results of the chsc are s...
qdio_reset_buffers(9)
NAME qdio_reset_buffers - reset qdio buffers SYNOPSIS void qdio_reset_buffers (struct qdio_buffer **buf , unsigned int count ); ARGUMENTS buf array of pointers to qdio buffers count number of qdio buffers that will be zeroed SEE ALSO Kernel file ./drivers/s390/cio/qdio_setup.c qdio_free_buffers...
qdio_shutdown(9)
NAME qdio_shutdown - shut down a qdio subchannel SYNOPSIS int qdio_shutdown (struct ccw_device *cdev , int how ); ARGUMENTS cdev associated ccw device how use halt or clear to shutdown SEE ALSO Kernel file ./drivers/s390/cio/qdio_main.c do_siga_output(9), qdio_do_eqbs(9), qdio_do_sqbs...
qdio_start_irq(9)
NAME qdio_start_irq - enable interrupt processing for the device SYNOPSIS int qdio_start_irq (struct ccw_device *cdev ); ARGUMENTS cdev associated ccw_device for the qdio subchannel DESCRIPTION Return codes 0 - success 1 - irqs not started since new data is available SEE ALSO Kernel file ./drivers/s390/cio...
qdio_stop_irq(9)
NAME qdio_stop_irq - disable interrupt processing for the device SYNOPSIS int qdio_stop_irq (struct ccw_device *cdev ); ARGUMENTS cdev associated ccw_device for the qdio subchannel DESCRIPTION Return codes 0 - interrupts were already disabled 1 - interrupts successfully disabled SEE ALSO Kernel file ./driv...
qdma_alloc_queue_resources(9)
NAME qdma_alloc_queue_resources - Allocate queue resources SYNOPSIS int qdma_alloc_queue_resources (struct dma_chan *chan ); ARGUMENTS chan DMA channel SEE ALSO Kernel file ./drivers/dma/amd/qdma/qdma.c qdma_free_vdesc(9), qdma_free_queue_resources(9) April 2026 ...
qdma_free_queue_resources(9)
NAME qdma_free_queue_resources - Free queue resources SYNOPSIS void qdma_free_queue_resources (struct dma_chan *chan ); ARGUMENTS chan DMA channel SEE ALSO Kernel file ./drivers/dma/amd/qdma/qdma.c qdma_free_vdesc(9), qdma_alloc_queue_resources(9) April 2026 ...
qdma_free_vdesc(9)
NAME qdma_free_vdesc - Free descriptor SYNOPSIS void qdma_free_vdesc (struct virt_dma_desc *vdesc ); ARGUMENTS vdesc Virtual DMA descriptor SEE ALSO Kernel file ./drivers/dma/amd/qdma/qdma.c qdma_free_queue_resources(9), qdma_alloc_queue_resources(9) April 2026 ...
qe_pin_free(9)
NAME qe_pin_free - Free a pin SYNOPSIS void qe_pin_free (struct qe_pin *qe_pin ); ARGUMENTS qe_pin pointer to the qe_pin structure CONTEXT any DESCRIPTION This function frees the qe_pin structure and makes a pin available for further qe_pin_request calls. SEE ALSO Kernel file ./drivers/soc/fsl/qe/gpio.c qe_pi...
qe_pin_request(9)
NAME qe_pin_request - Request a QE pin SYNOPSIS struct qe_pin * qe_pin_request (struct device *dev , int index ); ARGUMENTS dev device to get the pin from index index of the pin in the device tree CONTEXT non-atomic DESCRIPTION This function return qe_pin so that you could use it with the rest...
qe_pin_set_dedicated(9)
NAME qe_pin_set_dedicated - Revert a pin to a dedicated peripheral function mode SYNOPSIS void qe_pin_set_dedicated (struct qe_pin *qe_pin ); ARGUMENTS qe_pin pointer to the qe_pin structure CONTEXT any DESCRIPTION This function resets a pin to a dedicated peripheral function that has been set up by the firmwa...
qe_pin_set_gpio(9)
NAME qe_pin_set_gpio - Set a pin to the GPIO mode SYNOPSIS void qe_pin_set_gpio (struct qe_pin *qe_pin ); ARGUMENTS qe_pin pointer to the qe_pin structure CONTEXT any DESCRIPTION This function sets a pin to the GPIO mode. SEE ALSO Kernel file ./drivers/soc/fsl/qe/gpio.c qe_pin_request(9), qe_pin_free(9), qe_p...
qecvt(3)
NAME qecvt, qfcvt, qgcvt - convert a floating-point number to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> [[deprecated]] char *qecvt(long double number, int ndigits, int *restrict decpt, int *restrict sign); [[deprecated]] char *qfcvt(l...
qecvt_r(3)
NAME ecvt_r, fcvt_r, qecvt_r, qfcvt_r - convert a floating-point number to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> [[deprecated]] int ecvt_r(double number, int ndigits, int *restrict decpt, int *restrict sign, ...
qed_add_tlv(9)
NAME qed_add_tlv - place a given tlv on the tlv buffer at next offset SYNOPSIS void * qed_add_tlv (struct qed_hwfn *p_hwfn , u8 **offset , u16 type , u16 length ); ARGUMENTS p_hwfn HW device data. offset offset. type Type length Length. RETURN pointer to the newly placed...
qed_arfs_mode_configure(9)
NAME qed_arfs_mode_configure - Enable or disable rfs mode. It must accept at least one of tcp or udp true and at least one of ipv4 or ipv6 true to enable rfs mode. SYNOPSIS void qed_arfs_mode_configure (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , struct qed_arfs_config_params *p_cfg_params ); ARGUMENTS p_hwfn ...
qed_chain_advance_page(9)
NAME qed_chain_advance_page - Advance the next element across pages for a linked chain. SYNOPSIS void qed_chain_advance_page (struct qed_chain *p_chain , void **p_next_elem , void *idx_to_inc , void *page_to_inc ); ARGUMENTS p_chain P_chain. p_next_elem P_next_elem. idx_to_inc Idx_to_inc. ...
qed_chain_alloc(9)
NAME qed_chain_alloc - Allocate and initialize a chain. SYNOPSIS int qed_chain_alloc (struct qed_dev *cdev , struct qed_chain *chain , struct qed_chain_init_params *params ); ARGUMENTS cdev Main device structure. chain Chain to be processed. params Chain initialization parameters. R...
qed_chain_consume(9)
NAME qed_chain_consume - A Chain in which the driver utilizes data written by a different source (i.e., FW) should use this to access passed buffers. SYNOPSIS void * qed_chain_consume (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN void*, a pointer to the next buffer written. SEE ALSO Kernel fi...
qed_chain_free(9)
NAME qed_chain_free - Free chain DMA memory. SYNOPSIS void qed_chain_free (struct qed_dev *cdev , struct qed_chain *chain ); ARGUMENTS cdev Main device structure. chain Chain to free. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_chain.c qed_chain_alloc(9) April 2026 ...
qed_chain_get_capacity(9)
NAME qed_chain_get_capacity - Get the maximum number of BDs in chain SYNOPSIS u32 qed_chain_get_capacity (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN number of unusable BDs. SEE ALSO Kernel file ./include/linux/qed/qed_chain.h qed_chain_advance_page(9), qed_chain_return_produced(9...
qed_chain_get_last_elem(9)
NAME qed_chain_get_last_elem - Returns a pointer to the last element of the chain. SYNOPSIS void * qed_chain_get_last_elem (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN void*. SEE ALSO Kernel file ./include/linux/qed/qed_chain.h qed_chain_advance_page(9), qed_chain_return_produced(9), ...
qed_chain_pbl_zero_mem(9)
NAME qed_chain_pbl_zero_mem - set chain memory to 0. SYNOPSIS void qed_chain_pbl_zero_mem (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN Void. SEE ALSO Kernel file ./include/linux/qed/qed_chain.h qed_chain_advance_page(9), qed_chain_return_produced(9), qed_chain_produce(9), qed_chain_get_cap...
qed_chain_produce(9)
NAME qed_chain_produce - A chain in which the driver "Produces" elements should use this to get a pointer to the next element which can be "Produced". It's driver responsibility to validate that the chain has room for new ele‐ ment. SYNOPSIS void * qed_chain_produce (struct qed_chain *p_chain ); ARGUMENTS p_chain ...
qed_chain_recycle_consumed(9)
NAME qed_chain_recycle_consumed - Returns an element which was previously consumed; Increments producers so they could be written to FW. SYNOPSIS void qed_chain_recycle_consumed (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN Void. SEE ALSO Kernel file ./include/linux/qed/qed_chain.h qed_cha...
qed_chain_reset(9)
NAME qed_chain_reset - Resets the chain to its start state. SYNOPSIS void qed_chain_reset (struct qed_chain *p_chain ); ARGUMENTS p_chain pointer to a previously allocated chain. DESCRIPTION Return Void. SEE ALSO Kernel file ./include/linux/qed/qed_chain.h qed_chain_advance_page(9), qed_chain_return_...
qed_chain_return_produced(9)
NAME qed_chain_return_produced - A chain in which the driver "Produces" elements should use this API to indicate previous produced elements are now consumed. SYNOPSIS void qed_chain_return_produced (struct qed_chain *p_chain ); ARGUMENTS p_chain Chain. RETURN Void. SEE ALSO Kernel file ./include/linux/qed/qed_...
qed_chain_set_prod(9)
NAME qed_chain_set_prod - sets the prod to the given value. SYNOPSIS void qed_chain_set_prod (struct qed_chain *p_chain , u32 prod_idx , void *p_prod_elem ); ARGUMENTS p_chain Chain. prod_idx Prod Idx. p_prod_elem Prod elem. DESCRIPTION Return Void. SEE ALSO Kernel file ./include/linux/qed/...
qed_concrete_to_sw_fid(9)
NAME qed_concrete_to_sw_fid - Get the sw function id from the concrete value. SYNOPSIS u8 qed_concrete_to_sw_fid (struct qed_dev *cdev , u32 concrete_fid ); ARGUMENTS cdev Qed dev pointer. concrete_fid Concrete fid. RETURN inline u8. SEE ALSO Kernel file ./drivers/net/ethernet/qlog...
qed_configure_rfs_ntuple_filter(9)
NAME qed_configure_rfs_ntuple_filter - This ramrod should be used to add or remove arfs hw filter SYNOPSIS int qed_configure_rfs_ntuple_filter (struct qed_hwfn *p_hwfn , struct qed_spq_comp_cb *p_cb , struct qed_ntuple_filter_params *p_params ); ARGUMENTS p_hwfn HW device data. p_cb Used for QED_S...
qed_consq_alloc(9)
NAME qed_consq_alloc - Allocates & initializes an ConsQ struct. SYNOPSIS int qed_consq_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_spq_post(9), qed_spq_alloc(9), qed_spq_setup...
qed_consq_free(9)
NAME qed_consq_free - deallocates the given ConsQ struct. SYNOPSIS void qed_consq_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. DESCRIPTION Return Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_spq_post(9), qed_spq_alloc(9), qed_sp...
qed_consq_setup(9)
NAME qed_consq_setup - Reset the ConsQ to its start state. SYNOPSIS void qed_consq_setup (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. DESCRIPTION Return Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed_spq_post(9), qed_spq_alloc(9), qed_...
qed_cxt_acquire_cid(9)
NAME qed_cxt_acquire_cid - Acquire a new cid of a specific protocol type. SYNOPSIS int qed_cxt_acquire_cid (struct qed_hwfn *p_hwfn , enum protocol_type type , u32 *p_cid ); ARGUMENTS p_hwfn HW device data. type Type. p_cid Pointer cid. RETURN Int. SEE ALSO Kernel file ./drivers/ne...
qed_cxt_cfg_ilt_compute(9)
NAME qed_cxt_cfg_ilt_compute - Compute ILT init parameters. SYNOPSIS int qed_cxt_cfg_ilt_compute (struct qed_hwfn *p_hwfn , u32 *last_line ); ARGUMENTS p_hwfn HW device data. last_line Last_line. RETURN Int SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), ...
qed_cxt_cfg_ilt_compute_excess(9)
NAME qed_cxt_cfg_ilt_compute_excess - How many lines can be decreased. SYNOPSIS u32 qed_cxt_cfg_ilt_compute_excess (struct qed_hwfn *p_hwfn , u32 used_lines ); ARGUMENTS p_hwfn HW device data. used_lines Used lines. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_...
qed_cxt_get_cid_info(9)
NAME qed_cxt_get_cid_info - Returns the context info for a specific cidi. SYNOPSIS int qed_cxt_get_cid_info (struct qed_hwfn *p_hwfn , struct qed_cxt_info *p_info ); ARGUMENTS p_hwfn HW device data. p_info In/out. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_...
qed_cxt_get_tid_mem_info(9)
NAME qed_cxt_get_tid_mem_info - Returns the tid mem info. SYNOPSIS int qed_cxt_get_tid_mem_info (struct qed_hwfn *p_hwfn , struct qed_tid_mem *p_info ); ARGUMENTS p_hwfn HW device data. p_info in/out. RETURN int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_i...
qed_cxt_hw_init_common(9)
NAME qed_cxt_hw_init_common - Initailze ILT and DQ, common phase, per path. SYNOPSIS void qed_cxt_hw_init_common (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_c...
qed_cxt_hw_init_pf(9)
NAME qed_cxt_hw_init_pf - Initailze ILT and DQ, PF phase, per path. SYNOPSIS void qed_cxt_hw_init_pf (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info...
qed_cxt_mngr_alloc(9)
NAME qed_cxt_mngr_alloc - Allocate and init the context manager struct. SYNOPSIS int qed_cxt_mngr_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_cxt_set_pf...
qed_cxt_mngr_free(9)
NAME qed_cxt_mngr_free - Context manager free. SYNOPSIS void qed_cxt_mngr_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_cxt_set_pf_params(9), qed_cxt_cfg_i...
qed_cxt_mngr_setup(9)
NAME qed_cxt_mngr_setup - Reset the acquired CIDs. SYNOPSIS void qed_cxt_mngr_setup (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_cxt_set_pf_params(9), qed_cxt_cfg_ilt_comput...
qed_cxt_release_cid(9)
NAME qed_cxt_release_cid - Release a cid. SYNOPSIS void qed_cxt_release_cid (struct qed_hwfn *p_hwfn , u32 cid ); ARGUMENTS p_hwfn HW device data. cid Cid. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_cxt...
qed_cxt_set_pf_params(9)
NAME qed_cxt_set_pf_params - Set the PF params for cxt init. SYNOPSIS int qed_cxt_set_pf_params (struct qed_hwfn *p_hwfn , u32 rdma_tasks ); ARGUMENTS p_hwfn HW device data. rdma_tasks Requested maximum. RETURN int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_in...
qed_cxt_tables_alloc(9)
NAME qed_cxt_tables_alloc - Allocate ILT shadow, Searcher T2, acquired map. SYNOPSIS int qed_cxt_tables_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_cxt.h qed_cxt_get_cid_info(9), qed_cxt_get_tid_mem_info(9), qed_cxt_s...
qed_db_rec_handler(9)
NAME qed_db_rec_handler - Doorbell Recovery handler. Run doorbell recovery in case of PF overflow (and flush DORQ if needed). SYNOPSIS int qed_db_rec_handler (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ); ARGUMENTS p_hwfn HW device data. p_ptt P_ptt. RETURN Int. SEE ALSO Kernel file ./d...
qed_db_recovery_add(9)
NAME qed_db_recovery_add - add doorbell information to the doorbell recovery mechanism. SYNOPSIS int qed_db_recovery_add (struct qed_dev *cdev , void __iomem *db_addr , void *db_data , enum qed_db_rec_width db_width , enum qed_db_rec_space db_space ); ARGUMENTS cdev Qed dev pointer. db_addr Doorbel...
qed_db_recovery_del(9)
NAME qed_db_recovery_del - remove doorbell information from the doorbell recovery mechanism. db_data serves as key (db_addr is not unique). SYNOPSIS int qed_db_recovery_del (struct qed_dev *cdev , void __iomem *db_addr , void *db_data ); ARGUMENTS cdev Qed dev pointer. db_addr doorbell address. ...
qed_dbg_alloc_user_data(9)
NAME qed_dbg_alloc_user_data - Allocates user debug data. SYNOPSIS enum dbg_status qed_dbg_alloc_user_data (struct qed_hwfn *p_hwfn , void **user_data_ptr ); ARGUMENTS p_hwfn HW device data. user_data_ptr (OUT) a pointer to the allocated memory. RETURN dbg_status. SEE ALSO Kernel fi...
qed_dbg_fw_asserts_dump(9)
NAME qed_dbg_fw_asserts_dump - Reads the FW Asserts and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_fw_asserts_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_p...
qed_dbg_fw_asserts_get_dump_buf_size(9)
NAME qed_dbg_fw_asserts_get_dump_buf_size - Returns the required buffer size for FW Asserts results. SYNOPSIS enum dbg_status qed_dbg_fw_asserts_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing t...
qed_dbg_get_status_str(9)
NAME qed_dbg_get_status_str - Returns a string for the specified status. SYNOPSIS const char * qed_dbg_get_status_str (enum dbg_status status ); ARGUMENTS status A debug status code. RETURN A string for the specified status. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h qed_dbg_set_bi...
qed_dbg_grc_config(9)
NAME qed_dbg_grc_config - Sets the value of a GRC parameter. SYNOPSIS enum dbg_status qed_dbg_grc_config (struct qed_hwfn *p_hwfn , enum dbg_grc_params grc_param , u32 val ); ARGUMENTS p_hwfn HW device data. grc_param GRC parameter. val Value to set. RETURN Error if one of the followin...
qed_dbg_grc_dump(9)
NAME qed_dbg_grc_dump - Dumps GRC data into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_grc_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the re...
qed_dbg_grc_get_dump_buf_size(9)
NAME qed_dbg_grc_get_dump_buf_size - Returns the required buffer size for GRC Dump. SYNOPSIS enum dbg_status qed_dbg_grc_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. bu...
qed_dbg_grc_set_params_default(9)
NAME qed_dbg_grc_set_params_default - Reverts all GRC parameters to their default value. SYNOPSIS void qed_dbg_grc_set_params_default (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h qed_dbg_set_bin_ptr(9), ...
qed_dbg_idle_chk_dump(9)
NAME qed_dbg_idle_chk_dump - Performs idle check and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_idle_chk_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dbg_idle_chk_get_dump_buf_size(9)
NAME qed_dbg_idle_chk_get_dump_buf_size - Returns the required buffer size for idle check results. SYNOPSIS enum dbg_status qed_dbg_idle_chk_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the r...
qed_dbg_igu_fifo_dump(9)
NAME qed_dbg_igu_fifo_dump - Reads the IGU fifo and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_igu_fifo_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dbg_igu_fifo_get_dump_buf_size(9)
NAME qed_dbg_igu_fifo_get_dump_buf_size - Returns the required buffer size for the IGU fifo results. SYNOPSIS enum dbg_status qed_dbg_igu_fifo_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the...
qed_dbg_mcp_trace_dump(9)
NAME qed_dbg_mcp_trace_dump - Performs mcp trace and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_mcp_trace_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dbg_mcp_trace_get_dump_buf_size(9)
NAME qed_dbg_mcp_trace_get_dump_buf_size - Returns the required buffer size for mcp trace results. SYNOPSIS enum dbg_status qed_dbg_mcp_trace_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the ...
qed_dbg_mcp_trace_set_meta_data(9)
NAME qed_dbg_mcp_trace_set_meta_data - Sets the MCP Trace meta data. SYNOPSIS void qed_dbg_mcp_trace_set_meta_data (struct qed_hwfn *p_hwfn , const u32 *meta_buf ); ARGUMENTS p_hwfn HW device data. meta_buf Meta buffer. RETURN Void. DESCRIPTION Needed in case the MCP Trace dump doesn't contain the m...
qed_dbg_parse_attn(9)
NAME qed_dbg_parse_attn - Parses and prints attention registers values in the specified results struct. SYNOPSIS enum dbg_status qed_dbg_parse_attn (struct qed_hwfn *p_hwfn , struct dbg_attn_block_result *results ); ARGUMENTS p_hwfn HW device data. results Pointer to the attention read results RETUR...
qed_dbg_print_attn(9)
NAME qed_dbg_print_attn - Prints attention registers values in the specified results struct. SYNOPSIS enum dbg_status qed_dbg_print_attn (struct qed_hwfn *p_hwfn , struct dbg_attn_block_result *results ); ARGUMENTS p_hwfn HW device data. results Pointer to the attention read results RETURN Error if ...
qed_dbg_protection_override_dump(9)
NAME qed_dbg_protection_override_dump - Reads protection override window entries and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_protection_override_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p...
qed_dbg_protection_override_get_dump_buf_size(9)
NAME qed_dbg_protection_override_get_dump_buf_size - Returns the required buffer size for protection override window results. SYNOPSIS enum dbg_status qed_dbg_protection_override_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dbg_read_attn(9)
NAME qed_dbg_read_attn - Reads the attention registers of the specified block and type, and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_read_attn (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum block_id block , enum dbg_attn_type attn_type , bool clear_status , struct dbg_att...
qed_dbg_reg_fifo_dump(9)
NAME qed_dbg_reg_fifo_dump - Reads the reg fifo and writes the results into the specified buffer. SYNOPSIS enum dbg_status qed_dbg_reg_fifo_dump (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32 *num_dumped_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dbg_reg_fifo_get_dump_buf_size(9)
NAME qed_dbg_reg_fifo_get_dump_buf_size - Returns the required buffer size for grc trace fifo results. SYNOPSIS enum dbg_status qed_dbg_reg_fifo_get_dump_buf_size (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing t...
qed_dbg_set_bin_ptr(9)
NAME qed_dbg_set_bin_ptr - Sets a pointer to the binary data with debug arrays. SYNOPSIS enum dbg_status qed_dbg_set_bin_ptr (struct qed_hwfn *p_hwfn , const u8 * const bin_ptr ); ARGUMENTS p_hwfn HW device data. bin_ptr A pointer to the binary data with debug arrays. RETURN enum dbg status. SEE AL...
qed_dbg_user_set_bin_ptr(9)
NAME qed_dbg_user_set_bin_ptr - Sets a pointer to the binary data with debug arrays. SYNOPSIS enum dbg_status qed_dbg_user_set_bin_ptr (struct qed_hwfn *p_hwfn , const u8 * const bin_ptr ); ARGUMENTS p_hwfn HW device data. bin_ptr a pointer to the binary data with debug arrays. RETURN dbg_status. S...
qed_dmae_host2grc(9)
NAME qed_dmae_host2grc - Copy data from source addr to dmae registers using the given ptt. SYNOPSIS int qed_dmae_host2grc (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u64 source_addr , u32 grc_addr , u32 size_in_dwords , struct qed_dmae_params *p_params ); ARGUMENTS p_hwfn HW device data. p_ptt ...
qed_dmae_host2host(9)
NAME qed_dmae_host2host - Copy data from to source address to a destination adrress (for SRIOV) using the given ptt. SYNOPSIS int qed_dmae_host2host (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , dma_addr_t source_addr , dma_addr_t dest_addr , u32 size_in_dwords , struct qed_dmae_params *p_params ); ARGUMENTS p_h...
qed_dmae_idx_to_go_cmd(9)
NAME qed_dmae_idx_to_go_cmd - Map the idx to dmae cmd this is declared here since other files will require it. SYNOPSIS u32 qed_dmae_idx_to_go_cmd (u8 idx ); ARGUMENTS idx Index RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_alloc(9), qed_ptt_pool_...
qed_dmae_info_alloc(9)
NAME qed_dmae_info_alloc - Init the dmae_info structure which is part of p_hwfn. SYNOPSIS int qed_dmae_info_alloc (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_alloc(9), qed_ptt_pool_free(9)...
qed_dmae_info_free(9)
NAME qed_dmae_info_free - Free the dmae_info structure which is part of p_hwfn. SYNOPSIS void qed_dmae_info_free (struct qed_hwfn *p_hwfn ); ARGUMENTS p_hwfn HW device data. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h qed_gtt_init(9), qed_ptt_pool_alloc(9), qed_ptt_pool_free(9)...
qed_dmae_to_grc(9)
NAME qed_dmae_to_grc - Internal function for writing from host to wide-bus registers (split registers are not supported yet). SYNOPSIS int qed_dmae_to_grc (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , __le32 *p_data , u32 addr , u32 len_in_dwords ); ARGUMENTS p_hwfn HW device data. p_ptt PTT w...
qed_dp_tlv_list(9)
NAME qed_dp_tlv_list - list the types and lengths of the tlvs on the buffer SYNOPSIS void qed_dp_tlv_list (struct qed_hwfn *p_hwfn , void *tlvs_list ); ARGUMENTS p_hwfn HW device data. tlvs_list Tlvs_list. RETURN Void. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h qed_iov_is_vali...
qed_enable_context_validation(9)
NAME qed_enable_context_validation - Enable and configure context validation. SYNOPSIS void qed_enable_context_validation (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ); ARGUMENTS p_hwfn HW device data. p_ptt Ptt window used for writing the registers. RETURN Void. SEE ALSO Kernel file ./dri...
qed_eq_alloc(9)
NAME qed_eq_alloc - Allocates & initializes an EQ struct. SYNOPSIS int qed_eq_alloc (struct qed_hwfn *p_hwfn , u16 num_elem ); ARGUMENTS p_hwfn HW device data. num_elem number of elements in the eq. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion...
qed_eq_completion(9)
NAME qed_eq_completion - Completes currently pending EQ elements. SYNOPSIS int qed_eq_completion (struct qed_hwfn *p_hwfn , void *cookie ); ARGUMENTS p_hwfn HW device data. cookie Cookie. RETURN Int. SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sp.h qed_eth_cqe_completion(9), qed...