id
stringlengths
4
63
text
stringlengths
153
8.81M
ufshcd_pci_remove(9)
NAME ufshcd_pci_remove - de-allocate PCI/SCSI host and host memory space data structure memory SYNOPSIS void ufshcd_pci_remove (struct pci_dev *pdev ); ARGUMENTS pdev pointer to PCI handle SEE ALSO Kernel file ./drivers/ufs/host/ufshcd-pci.c ufshcd_pci_probe(9) April 2026 ...
ufshcd_pltfrm_init(9)
NAME ufshcd_pltfrm_init - probe routine of the driver SYNOPSIS int ufshcd_pltfrm_init (struct platform_device *pdev , const struct ufs_hba_variant_ops *vops ); ARGUMENTS pdev pointer to Platform device handle vops pointer to variant ops RETURN 0 on success, non-zero value on failure. SEE ALSO ...
ufshcd_pltfrm_remove(9)
NAME ufshcd_pltfrm_remove - Remove ufshcd platform SYNOPSIS void ufshcd_pltfrm_remove (struct platform_device *pdev ); ARGUMENTS pdev pointer to Platform device handle SEE ALSO Kernel file ./drivers/ufs/host/ufshcd-pltfrm.c ufshcd_parse_regulator_info(9), ufshcd_parse_clock_min_max_freq(9), ufshcd_negotiate_p...
ufshcd_pm_qos_exit(9)
NAME ufshcd_pm_qos_exit - remove request from PM QoS SYNOPSIS void ufshcd_pm_qos_exit (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_print_pwr_info(9), ufshcd_wait_fo...
ufshcd_pm_qos_init(9)
NAME ufshcd_pm_qos_init - initialize PM QoS request SYNOPSIS void ufshcd_pm_qos_init (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_print_pwr_info(9), ufshcd_wait_for...
ufshcd_pm_qos_update(9)
NAME ufshcd_pm_qos_update - update PM QoS request SYNOPSIS void ufshcd_pm_qos_update (struct ufs_hba *hba , bool on ); ARGUMENTS hba per adapter instance on If True, vote for perf PM QoS mode otherwise power save mode SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9),...
ufshcd_prepare_req_desc_hdr(9)
NAME ufshcd_prepare_req_desc_hdr - Fill UTP Transfer request descriptor header according to request descriptor according to request SYNOPSIS void ufshcd_prepare_req_desc_hdr (struct ufs_hba *hba , struct ufshcd_lrb *lrbp , u8 *upiu_flags , enum dma_data_direction cmd_dir , int ehs_length ); ARGUMENTS hba per ...
ufshcd_prepare_utp_query_req_upiu(9)
NAME ufshcd_prepare_utp_query_req_upiu - fill the utp_transfer_req_desc for query request SYNOPSIS void ufshcd_prepare_utp_query_req_upiu (struct ufs_hba *hba , struct scsi_cmnd *cmd , u8 upiu_flags ); ARGUMENTS hba UFS hba cmd SCSI command pointer upiu_flags flags SEE ALSO Kernel f...
ufshcd_prepare_utp_scsi_cmd_upiu(9)
NAME ufshcd_prepare_utp_scsi_cmd_upiu - fills the utp_transfer_req_desc, for scsi commands SYNOPSIS void ufshcd_prepare_utp_scsi_cmd_upiu (struct scsi_cmnd *cmd , u8 upiu_flags ); ARGUMENTS cmd SCSI command upiu_flags flags SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), u...
ufshcd_print_pwr_info(9)
NAME ufshcd_print_pwr_info - print power params as saved in hba power info SYNOPSIS void ufshcd_print_pwr_info (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_wait_for_re...
ufshcd_print_trs_all(9)
NAME ufshcd_print_trs_all - print trs for all started requests. SYNOPSIS void ufshcd_print_trs_all (struct ufs_hba *hba , bool pr_prdt ); ARGUMENTS hba per-adapter instance. pr_prdt need to print prdt or not. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_d...
ufshcd_probe_hba(9)
NAME ufshcd_probe_hba - probe hba to detect device and initialize it SYNOPSIS int ufshcd_probe_hba (struct ufs_hba *hba , bool init_dev_params ); ARGUMENTS hba per-adapter instance init_dev_params whether or not to call ufshcd_device_params_init. DESCRIPTION Execute link-startup an...
ufshcd_process_probe_result(9)
NAME ufshcd_process_probe_result - Process the ufshcd_probe_hba() result. SYNOPSIS void ufshcd_process_probe_result (struct ufs_hba *hba , ktime_t probe_start , int ret ); ARGUMENTS hba UFS host controller instance. probe_start time when the ufshcd_probe_hba call started. ret ufshcd_pr...
ufshcd_query_attr(9)
NAME ufshcd_query_attr - API function for sending attribute requests SYNOPSIS int ufshcd_query_attr (struct ufs_hba *hba , enum query_opcode opcode , enum attr_idn idn , u8 index , u8 selector , u32 *attr_val ); ARGUMENTS hba per-adapter instance opcode attribute opcode idn attrib...
ufshcd_query_attr_retry(9)
NAME ufshcd_query_attr_retry - API function for sending query attribute with retries SYNOPSIS int ufshcd_query_attr_retry (struct ufs_hba *hba , enum query_opcode opcode , enum attr_idn idn , u8 index , u8 selector , u32 *attr_val ); ARGUMENTS hba per-adapter instance opcode attribute opcode ...
ufshcd_query_descriptor_retry(9)
NAME ufshcd_query_descriptor_retry - API function for sending descriptor requests SYNOPSIS int ufshcd_query_descriptor_retry (struct ufs_hba *hba , enum query_opcode opcode , enum desc_idn idn , u8 index , u8 selector , u8 *desc_buf , int *buf_len ); ARGUMENTS hba per-adapter instance opcode attr...
ufshcd_query_flag(9)
NAME ufshcd_query_flag - API function for sending flag query requests SYNOPSIS int ufshcd_query_flag (struct ufs_hba *hba , enum query_opcode opcode , enum flag_idn idn , u8 index , bool *flag_res ); ARGUMENTS hba per-adapter instance opcode flag query to perform idn flag idn to a...
ufshcd_queuecommand(9)
NAME ufshcd_queuecommand - main entry point for SCSI requests SYNOPSIS enum scsi_qc_status ufshcd_queuecommand (struct Scsi_Host *host , struct scsi_cmnd *cmd ); ARGUMENTS host SCSI host pointer cmd command from SCSI Midlayer RETURN 0 for success, non-zero in case of failure. SEE ALSO Kernel ...
ufshcd_quirk_dl_nac_errors(9)
NAME ufshcd_quirk_dl_nac_errors - This function checks if error handling is to recover from the DL NAC errors or not. SYNOPSIS bool ufshcd_quirk_dl_nac_errors (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance RETURN true if error handling is required, false otherwise. SEE ALSO Kernel file ./drive...
ufshcd_quirk_override_pa_h8time(9)
NAME ufshcd_quirk_override_pa_h8time - Ensures proper adjustment of PA_HIBERN8TIME. SYNOPSIS void ufshcd_quirk_override_pa_h8time (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance DESCRIPTION Some UFS devices require specific adjustments to the PA_HIBERN8TIME parameter to ensure proper hibernation t...
ufshcd_quirk_tune_host_pa_tactivate(9)
NAME ufshcd_quirk_tune_host_pa_tactivate - Ensures that host PA_TACTIVATE is less than device PA_TACTIVATE time. SYNOPSIS int ufshcd_quirk_tune_host_pa_tactivate (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance DESCRIPTION Some UFS devices require host PA_TACTIVATE to be lower than device PA_TACTIV...
ufshcd_read_desc_param(9)
NAME ufshcd_read_desc_param - read the specified descriptor parameter SYNOPSIS int ufshcd_read_desc_param (struct ufs_hba *hba , enum desc_idn desc_id , int desc_index , u8 param_offset , u8 *param_read_buf , u8 param_size ); ARGUMENTS hba Pointer to adapter instance desc_id descriptor idn value ...
ufshcd_read_string_desc(9)
NAME ufshcd_read_string_desc - read string descriptor SYNOPSIS int ufshcd_read_string_desc (struct ufs_hba *hba , u8 desc_index , u8 **buf , enum ufs_descr_fmt fmt ); ARGUMENTS hba pointer to adapter instance desc_index descriptor index buf pointer to buffer where descriptor would be ...
ufshcd_read_unit_desc_param(9)
NAME ufshcd_read_unit_desc_param - read the specified unit descriptor parameter SYNOPSIS int ufshcd_read_unit_desc_param (struct ufs_hba *hba , int lun , enum unit_desc_param param_offset , u8 *param_read_buf , u32 param_size ); ARGUMENTS hba Pointer to adapter instance lun lun id para...
ufshcd_ready_for_uic_cmd(9)
NAME ufshcd_ready_for_uic_cmd - Check if controller is ready to accept UIC commands SYNOPSIS bool ufshcd_ready_for_uic_cmd (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance RETURN true on success, else false. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_...
ufshcd_remove(9)
NAME ufshcd_remove - de-allocate SCSI host and host memory space data structure memory SYNOPSIS void ufshcd_remove (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_pri...
ufshcd_reset_and_restore(9)
NAME ufshcd_reset_and_restore - reset and re-initialize host/device SYNOPSIS int ufshcd_reset_and_restore (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance DESCRIPTION Reset and recover device, host and re-establish link. This is helpful to recover the communication in fatal error conditions. RETUR...
ufshcd_reset_intr_aggr(9)
NAME ufshcd_reset_intr_aggr - Reset interrupt aggregation values. SYNOPSIS void ufshcd_reset_intr_aggr (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_print_pwr_info(...
ufshcd_resume(9)
NAME ufshcd_resume - helper function for resume operations SYNOPSIS int ufshcd_resume (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance DESCRIPTION This function basically turns on the regulators, clocks and irqs of the hba. RETURN 0 for success and non-zero for failure. SEE ALSO Kernel file ./d...
ufshcd_rmwl(9)
NAME ufshcd_rmwl - perform read/modify/write for a controller register SYNOPSIS void ufshcd_rmwl (struct ufs_hba *hba , u32 mask , u32 val , u32 reg ); ARGUMENTS hba per adapter instance mask mask to apply on read value val actual value to write reg register addr...
ufshcd_runtime_resume(9)
NAME ufshcd_runtime_resume - runtime resume routine SYNOPSIS int ufshcd_runtime_resume (struct device *dev ); ARGUMENTS dev Device associated with the UFS controller. DESCRIPTION This function basically brings controller to active state. Following operations are done in this function: 1. Turn on all the cont...
ufshcd_runtime_suspend(9)
NAME ufshcd_runtime_suspend - runtime suspend callback SYNOPSIS int ufshcd_runtime_suspend (struct device *dev ); ARGUMENTS dev Device associated with the UFS controller. DESCRIPTION Check the description of ufshcd_suspend function for more details. RETURN 0 for success and non-zero for failure. SEE ALSO K...
ufshcd_scale_clks(9)
NAME ufshcd_scale_clks - scale up or scale down UFS controller clocks SYNOPSIS int ufshcd_scale_clks (struct ufs_hba *hba , unsigned long freq , bool scale_up ); ARGUMENTS hba per adapter instance freq frequency to scale scale_up True if scaling up and false if scaling down RETURN 0...
ufshcd_scale_gear(9)
NAME ufshcd_scale_gear - scale up/down UFS gear SYNOPSIS int ufshcd_scale_gear (struct ufs_hba *hba , u32 target_gear , bool scale_up ); ARGUMENTS hba per adapter instance target_gear target gear to scale to scale_up True for scaling up gear and false for scaling down RETURN 0 for success;...
ufshcd_scsi_add_wlus(9)
NAME ufshcd_scsi_add_wlus - Adds required W-LUs SYNOPSIS int ufshcd_scsi_add_wlus (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance DESCRIPTION UFS device specification requires the UFS devices to support 4 well known logical units: "REPORT_LUNS" (address: 01h) "UFS Device" (address: 50h) "RPMB" (...
ufshcd_scsi_cmd_status(9)
NAME ufshcd_scsi_cmd_status - Update SCSI command result based on SCSI status SYNOPSIS int ufshcd_scsi_cmd_status (struct scsi_cmnd *cmd , int scsi_status ); ARGUMENTS cmd SCSI command scsi_status SCSI command status RETURN value base on SCSI command status. SEE ALSO Kernel file ./drivers/ufs/core...
ufshcd_scsi_to_upiu_lun(9)
NAME ufshcd_scsi_to_upiu_lun - maps scsi LUN to UPIU LUN SYNOPSIS u8 ufshcd_scsi_to_upiu_lun (unsigned int scsi_lun ); ARGUMENTS scsi_lun scsi LUN id RETURN UPIU LUN id SEE ALSO Kernel file ./drivers/ufs/core/ufshcd-priv.h enum ufs_descr_fmt(9), ufs_is_valid_unit_desc_lun(9) April 2026 ...
ufshcd_sdev_configure(9)
NAME ufshcd_sdev_configure - adjust SCSI device configurations SYNOPSIS int ufshcd_sdev_configure (struct scsi_device *sdev , struct queue_limits *lim ); ARGUMENTS sdev pointer to SCSI device lim queue limits RETURN 0 (success). SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enabl...
ufshcd_sdev_destroy(9)
NAME ufshcd_sdev_destroy - remove SCSI device configurations SYNOPSIS void ufshcd_sdev_destroy (struct scsi_device *sdev ); ARGUMENTS sdev pointer to SCSI device SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd_print_pwr_info(9)...
ufshcd_sdev_init(9)
NAME ufshcd_sdev_init - handle initial SCSI device configurations SYNOPSIS int ufshcd_sdev_init (struct scsi_device *sdev ); ARGUMENTS sdev pointer to SCSI device RETURN success. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9), ufshcd...
ufshcd_send_bsg_uic_cmd(9)
NAME ufshcd_send_bsg_uic_cmd - Send UIC commands requested via BSG layer and retrieve the result SYNOPSIS int ufshcd_send_bsg_uic_cmd (struct ufs_hba *hba , struct uic_command *uic_cmd ); ARGUMENTS hba per adapter instance uic_cmd UIC command RETURN 0 only if success. SEE ALSO Kernel file ./dr...
ufshcd_send_command(9)
NAME ufshcd_send_command - Send SCSI or device management commands SYNOPSIS void ufshcd_send_command (struct ufs_hba *hba , struct scsi_cmnd *cmd , struct ufs_hw_queue *hwq ); ARGUMENTS hba per adapter instance cmd SCSI command or device management command pointer hwq pointer t...
ufshcd_send_uic_cmd(9)
NAME ufshcd_send_uic_cmd - Send UIC commands and retrieve the result SYNOPSIS int ufshcd_send_uic_cmd (struct ufs_hba *hba , struct uic_command *uic_cmd ); ARGUMENTS hba per adapter instance uic_cmd UIC command RETURN 0 only if success. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_...
ufshcd_set_clk_freq(9)
NAME ufshcd_set_clk_freq - set UFS controller clock frequencies SYNOPSIS int ufshcd_set_clk_freq (struct ufs_hba *hba , bool scale_up ); ARGUMENTS hba per adapter instance scale_up If True, set max possible frequency othewise set low frequency RETURN 0 if successful; < 0 upon failure. SEE ALSO Ke...
ufshcd_set_dev_pwr_mode(9)
NAME ufshcd_set_dev_pwr_mode - sends START STOP UNIT command to set device power mode SYNOPSIS int ufshcd_set_dev_pwr_mode (struct ufs_hba *hba , enum ufs_dev_pwr_mode pwr_mode ); ARGUMENTS hba per adapter instance pwr_mode device power mode to set RETURN 0 if requested power mode is set successfu...
ufshcd_set_dma_mask(9)
NAME ufshcd_set_dma_mask - Set dma mask based on the controller addressing capability SYNOPSIS int ufshcd_set_dma_mask (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance RETURN 0 for success, non-zero for failure. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_dis...
ufshcd_set_variant(9)
NAME ufshcd_set_variant - set variant specific data to the hba SYNOPSIS void ufshcd_set_variant (struct ufs_hba *hba , void *variant ); ARGUMENTS hba per adapter instance variant pointer to variant specific data SEE ALSO Kernel file ./include/ufs/ufshcd.h struct uic_command(9), struct ufshc...
ufshcd_setup_links(9)
NAME ufshcd_setup_links - associate link b/w device wlun and other luns SYNOPSIS void ufshcd_setup_links (struct ufs_hba *hba , struct scsi_device *sdev ); ARGUMENTS hba pointer to ufs hba sdev pointer to SCSI device SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), uf...
ufshcd_sgl_to_prdt(9)
NAME ufshcd_sgl_to_prdt - SG list to PRTD (Physical Region Description Table, 4DW format) SYNOPSIS void ufshcd_sgl_to_prdt (struct ufs_hba *hba , struct ufshcd_lrb *lrbp , int sg_entries , struct scatterlist *sg_list ); ARGUMENTS hba per-adapter instance lrbp pointer to local reference block ...
ufshcd_sl_intr(9)
NAME ufshcd_sl_intr - Interrupt service routine SYNOPSIS irqreturn_t ufshcd_sl_intr (struct ufs_hba *hba , u32 intr_status ); ARGUMENTS hba per adapter instance intr_status contains interrupts generated by the controller RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If invalid interrupt S...
ufshcd_suspend(9)
NAME ufshcd_suspend - helper function for suspend operations SYNOPSIS int ufshcd_suspend (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance DESCRIPTION This function will put disable irqs, turn off clocks and set vreg and hba-vreg in lpm mode. RETURN 0 upon success; < 0 upon failure. SEE ALSO Kerne...
ufshcd_system_resume(9)
NAME ufshcd_system_resume - system resume callback SYNOPSIS int ufshcd_system_resume (struct device *dev ); ARGUMENTS dev Device associated with the UFS controller. DESCRIPTION Executed after waking the system up from a sleep state in which the contents of main memory were preserved. RETURN 0 for success an...
ufshcd_system_suspend(9)
NAME ufshcd_system_suspend - system suspend callback SYNOPSIS int ufshcd_system_suspend (struct device *dev ); ARGUMENTS dev Device associated with the UFS controller. DESCRIPTION Executed before putting the system into a sleep state in which the contents of main memory are preserved. RETURN 0 for success a...
ufshcd_threaded_intr(9)
NAME ufshcd_threaded_intr - Threaded interrupt service routine SYNOPSIS irqreturn_t ufshcd_threaded_intr (int irq , void *__hba ); ARGUMENTS irq irq number __hba pointer to adapter instance RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If invalid interrupt SEE ALSO Kernel file ./d...
ufshcd_tmc_handler(9)
NAME ufshcd_tmc_handler - handle task management function completion SYNOPSIS irqreturn_t ufshcd_tmc_handler (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If invalid interrupt SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_ena...
ufshcd_transfer_req_compl(9)
NAME ufshcd_transfer_req_compl - handle SCSI and query command completion SYNOPSIS irqreturn_t ufshcd_transfer_req_compl (struct ufs_hba *hba ); ARGUMENTS hba per adapter instance RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If invalid interrupt SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c...
ufshcd_transfer_rsp_status(9)
NAME ufshcd_transfer_rsp_status - Get overall status of the response SYNOPSIS int ufshcd_transfer_rsp_status (struct ufs_hba *hba , struct scsi_cmnd *cmd , struct cq_entry *cqe ); ARGUMENTS hba per adapter instance cmd SCSI command cqe pointer to the completion queue entry RET...
ufshcd_try_to_abort_task(9)
NAME ufshcd_try_to_abort_task - abort a specific task SYNOPSIS int ufshcd_try_to_abort_task (struct ufs_hba *hba , int tag ); ARGUMENTS hba Pointer to adapter instance tag Tag of the task to be aborted DESCRIPTION Abort the pending command in device by sending UFS_ABORT_TASK task managem...
ufshcd_uic_change_pwr_mode(9)
NAME ufshcd_uic_change_pwr_mode - Perform the UIC power mode chage using DME_SET primitives. SYNOPSIS int ufshcd_uic_change_pwr_mode (struct ufs_hba *hba , u8 mode ); ARGUMENTS hba per adapter instance mode powr mode value RETURN 0 on success, non-zero value on failure. SEE ALSO Kernel file ...
ufshcd_uic_cmd_compl(9)
NAME ufshcd_uic_cmd_compl - handle completion of uic command SYNOPSIS irqreturn_t ufshcd_uic_cmd_compl (struct ufs_hba *hba , u32 intr_status ); ARGUMENTS hba per adapter instance intr_status interrupt status generated by the controller RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If inva...
ufshcd_uic_pwr_ctrl(9)
NAME ufshcd_uic_pwr_ctrl - executes UIC commands (which affects the link power state) and waits for it to take effect. SYNOPSIS int ufshcd_uic_pwr_ctrl (struct ufs_hba *hba , struct uic_command *cmd ); ARGUMENTS hba per adapter instance cmd UIC command to execute DESCRIPTION DME operations l...
ufshcd_update_uic_error(9)
NAME ufshcd_update_uic_error - check and set fatal UIC error flags. SYNOPSIS irqreturn_t ufshcd_update_uic_error (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance RETURN IRQ_HANDLED - If interrupt is valid IRQ_NONE - If invalid interrupt SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd...
ufshcd_upiu_wlun_to_scsi_wlun(9)
NAME ufshcd_upiu_wlun_to_scsi_wlun - maps UPIU W-LUN id to SCSI W-LUN ID SYNOPSIS u16 ufshcd_upiu_wlun_to_scsi_wlun (u8 upiu_wlun_id ); ARGUMENTS upiu_wlun_id UPIU W-LUN id RETURN SCSI W-LUN id. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_intr(9), ufshcd_print_trs_all(9...
ufshcd_utmrl_clear(9)
NAME ufshcd_utmrl_clear - Clear a bit in UTMRLCLR register SYNOPSIS void ufshcd_utmrl_clear (struct ufs_hba *hba , u32 pos ); ARGUMENTS hba per adapter instance pos position of the bit to be cleared SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_enable_intr(9), ufshcd_disable_int...
ufshcd_utrl_clear(9)
NAME ufshcd_utrl_clear - Clear requests from the controller request list. SYNOPSIS void ufshcd_utrl_clear (struct ufs_hba *hba , u32 mask ); ARGUMENTS hba per adapter instance mask mask with one bit set for each request to be cleared SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufshcd_e...
ufshcd_verify_dev_init(9)
NAME ufshcd_verify_dev_init - Verify device initialization SYNOPSIS int ufshcd_verify_dev_init (struct ufs_hba *hba ); ARGUMENTS hba per-adapter instance DESCRIPTION Send NOP OUT UPIU and wait for NOP IN response to check whether the device Transport Protocol (UTP) layer is ready after a reset. If the U...
ufshcd_wait_for_register(9)
NAME ufshcd_wait_for_register - wait for register value to change SYNOPSIS int ufshcd_wait_for_register (struct ufs_hba *hba , u32 reg , u32 mask , u32 val , unsigned long interval_us , unsigned long timeout_ms ); ARGUMENTS hba per-adapter interface reg mmio register offset mask ...
ufshcd_wait_for_uic_cmd(9)
NAME ufshcd_wait_for_uic_cmd - Wait for completion of an UIC command SYNOPSIS int ufshcd_wait_for_uic_cmd (struct ufs_hba *hba , struct uic_command *uic_cmd ); ARGUMENTS hba per adapter instance uic_cmd UIC command RETURN 0 only if success. SEE ALSO Kernel file ./drivers/ufs/core/ufshcd.c ufs...
ugetrlimit(2)
NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/resource.h> int getrlimit(int resource, struct rlimit *rlim); int setrlimit(int resource, const struct rlimit *rlim); int prlimit(pid_t pid, int resource, ...
uid_t(3type)
NAME pid_t, uid_t, gid_t, id_t - process/user/group identifier LIBRARY Standard C library (libc) SYNOPSIS #include <sys/types.h> typedef /* ... */ pid_t; typedef /* ... */ uid_t; typedef /* ... */ gid_t; typedef /* ... */ id_t; DESCRIPTION pid_t is a type used for storing process IDs, pr...
uif_close(9)
NAME uif_close - close user interfaces for an UBI device. SYNOPSIS void uif_close (struct ubi_device *ubi ); ARGUMENTS ubi UBI device description object DESCRIPTION Note, since this function un-registers UBI volume device objects (vol->dev), the memory allocated voe the volumes is freed as well (in the relea...
uif_init(9)
NAME uif_init - initialize user interfaces for an UBI device. SYNOPSIS int uif_init (struct ubi_device *ubi ); ARGUMENTS ubi UBI device description object DESCRIPTION This function initializes various user interfaces for an UBI device. If the initialization fails at an early stage, this function frees all th...
uimaxabs(3)
NAME abs, labs, llabs, imaxabs, uabs, ulabs, ullabs, umaxabs - compute the absolute value of an integer LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int abs(int j); long labs(long j); long long llabs(long long j); unsigned int uabs(int j); unsigned long ulab...
uint16_t(3type)
NAME intN_t, int8_t, int16_t, int32_t, int64_t, uintN_t, uint8_t, uint16_t, uint32_t, uint64_t - fixed-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ int8_t; typedef /* ... */ int16_t; typedef /* ... */ int32_t; typedef /* ... *...
uint32_t(3type)
NAME intN_t, int8_t, int16_t, int32_t, int64_t, uintN_t, uint8_t, uint16_t, uint32_t, uint64_t - fixed-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ int8_t; typedef /* ... */ int16_t; typedef /* ... */ int32_t; typedef /* ... *...
uint64_t(3type)
NAME intN_t, int8_t, int16_t, int32_t, int64_t, uintN_t, uint8_t, uint16_t, uint32_t, uint64_t - fixed-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ int8_t; typedef /* ... */ int16_t; typedef /* ... */ int32_t; typedef /* ... *...
uint8_t(3type)
NAME intN_t, int8_t, int16_t, int32_t, int64_t, uintN_t, uint8_t, uint16_t, uint32_t, uint64_t - fixed-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ int8_t; typedef /* ... */ int16_t; typedef /* ... */ int32_t; typedef /* ... *...
uintN_t(3type)
NAME intN_t, int8_t, int16_t, int32_t, int64_t, uintN_t, uint8_t, uint16_t, uint32_t, uint64_t - fixed-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ int8_t; typedef /* ... */ int16_t; typedef /* ... */ int32_t; typedef /* ... *...
uintmax_t(3type)
NAME intmax_t, uintmax_t - greatest-width basic integer types LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ intmax_t; typedef /* ... */ uintmax_t; #define INTMAX_WIDTH /* ... */ #define UINTMAX_WIDTH INTMAX_WIDTH #define INTMAX_MAX /* 2**(I...
uintptr_t(3type)
NAME intptr_t, uintptr_t - integer types wide enough to hold pointers LIBRARY Standard C library (libc) SYNOPSIS #include <stdint.h> typedef /* ... */ intptr_t; typedef /* ... */ uintptr_t; #define INTPTR_WIDTH /* ... */ #define UINTPTR_WIDTH INTPTR_WIDTH #define INTPTR_MAX /...
uio_event_notify(9)
NAME uio_event_notify - trigger an interrupt event SYNOPSIS void uio_event_notify (struct uio_info *info ); ARGUMENTS info UIO device capabilities SEE ALSO Kernel file ./drivers/uio/uio.c uio_interrupt_handler(9), uio_interrupt_thread(9), __uio_register_device(9), __devm_uio_register_device(9), uio_unregister...
uio_interrupt_handler(9)
NAME uio_interrupt_handler - hardware interrupt handler SYNOPSIS irqreturn_t uio_interrupt_handler (int irq , void *dev_id ); ARGUMENTS irq IRQ number, can be UIO_IRQ_CYCLIC for cyclic timer dev_id Pointer to the devices uio_device structure SEE ALSO Kernel file ./drivers/uio/uio.c uio_event_not...
uio_interrupt_thread(9)
NAME uio_interrupt_thread - irq thread handler SYNOPSIS irqreturn_t uio_interrupt_thread (int irq , void *dev_id ); ARGUMENTS irq IRQ number dev_id Pointer to the devices uio_device structure SEE ALSO Kernel file ./drivers/uio/uio.c uio_event_notify(9), uio_interrupt_handler(9), __uio_register_d...
uio_register_device(9)
NAME uio_register_device - register a new userspace IO device SYNOPSIS uio_register_device (parent , info ); ARGUMENTS parent parent device info UIO device capabilities DESCRIPTION returns zero on success or a negative error code. SEE ALSO Kernel file ./include/linux/uio_driver.h struct uio_mem(...
uio_unregister_device(9)
NAME uio_unregister_device - unregister a industrial IO device SYNOPSIS void uio_unregister_device (struct uio_info *info ); ARGUMENTS info UIO device capabilities SEE ALSO Kernel file ./drivers/uio/uio.c uio_event_notify(9), uio_interrupt_handler(9), uio_interrupt_thread(9), __uio_register_device(9), __devm_...
ul(1)
NAME ul - do underlining SYNOPSIS ul [options] [file...] DESCRIPTION ul reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use, as specified by the environment variable TERM. The terminfo database is rea...
ulabs(3)
NAME abs, labs, llabs, imaxabs, uabs, ulabs, ullabs, umaxabs - compute the absolute value of an integer LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int abs(int j); long labs(long j); long long llabs(long long j); unsigned int uabs(int j); unsigned long ulab...
ulckpwdf(3)
NAME shadow, getspnam - encrypted password file routines SYNTAX #include <shadow.h> struct spwd *getspent(); struct spwd *getspnam(char *name); void setspent(); void endspent(); struct spwd *fgetspent(FILE *fp); struct spwd *sgetspent(char *cp); int putspent(stru...
uldrx_handler(9)
NAME uldrx_handler - response queue handler for ULD queues SYNOPSIS int uldrx_handler (struct sge_rspq *q , const __be64 *rsp , const struct pkt_gl *gl ); ARGUMENTS q the response queue that received the packet rsp the response queue descriptor holding the offload message gl ...
ulimit(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 ulimit — set or report file size limit SYNOPSIS ulimit [-...
ulimit(3)
NAME ulimit - get and set user limits LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <ulimit.h> [[deprecated]] long ulimit(int cmd, long newlimit); DESCRIPTION Warning: this routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit, see bash(1). ...
ulimit(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 ulimit — get and set process limits SYNOPSIS #include <ulimit....
ulimit.h(0p)
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 ulimit.h — ulimit commands SYNOPSIS #include <ulimit.h> DESCR...
ulite_resume(9)
NAME ulite_resume - Resume the device. SYNOPSIS int __maybe_unused ulite_resume (struct device *dev ); ARGUMENTS dev handle to the device structure. RETURN 0 on success, errno otherwise. SEE ALSO Kernel file ./drivers/tty/serial/uartlite.c struct uartlite_data(9), ulite_suspend(9) April 2026 ...
ulite_suspend(9)
NAME ulite_suspend - Stop the device. SYNOPSIS int __maybe_unused ulite_suspend (struct device *dev ); ARGUMENTS dev handle to the device structure. RETURN 0 always. SEE ALSO Kernel file ./drivers/tty/serial/uartlite.c struct uartlite_data(9), ulite_resume(9) April 2026 ...
ullabs(3)
NAME abs, labs, llabs, imaxabs, uabs, ulabs, ullabs, umaxabs - compute the absolute value of an integer LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int abs(int j); long labs(long j); long long llabs(long long j); unsigned int uabs(int j); unsigned long ulab...
ulockmgr_server(1)
NAME ulockmgr_server - Lock Manager Server for FUSE filesystems SYNOPSIS ulockmgr_server DESCRIPTION Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also aims to provide a secure method for non privileged users to create and mount t...
ulpi_register_interface(9)
NAME ulpi_register_interface - instantiate new ULPI device SYNOPSIS struct ulpi * ulpi_register_interface (struct device *dev , const struct ulpi_ops *ops ); ARGUMENTS dev USB controller's device interface ops ULPI register access DESCRIPTION Allocates and registers a ULPI device and an inter...
ulpi_unregister_driver(9)
NAME ulpi_unregister_driver - unregister a driver with the ULPI bus SYNOPSIS void ulpi_unregister_driver (struct ulpi_driver *drv ); ARGUMENTS drv driver to unregister DESCRIPTION Unregisters a driver with the ULPI bus. SEE ALSO Kernel file ./drivers/usb/common/ulpi.c __ulpi_register_driver(9), ulpi_registe...
ulpi_unregister_interface(9)
NAME ulpi_unregister_interface - unregister ULPI interface SYNOPSIS void ulpi_unregister_interface (struct ulpi *ulpi ); ARGUMENTS ulpi struct ulpi_interface DESCRIPTION Unregisters a ULPI device and it's interface that was created with ulpi_create_interface. SEE ALSO Kernel file ./drivers/usb/common/ulpi.c ...