id
stringlengths
4
63
text
stringlengths
153
8.81M
ipr_reinit_ipr_cmnd_for_erp(9)
NAME ipr_reinit_ipr_cmnd_for_erp - Re-initialize a cmnd block to be used for ERP SYNOPSIS void ipr_reinit_ipr_cmnd_for_erp (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), i...
ipr_release_dump(9)
NAME ipr_release_dump - Free adapter dump memory SYNOPSIS void ipr_release_dump (struct kref *kref ); ARGUMENTS kref kref struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9), __ipr...
ipr_remove(9)
NAME ipr_remove - IOA hot plug remove entry point SYNOPSIS void ipr_remove (struct pci_dev *pdev ); ARGUMENTS pdev pci device struct DESCRIPTION Adapter hot plug remove entry point. Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_c...
ipr_reset_alert(9)
NAME ipr_reset_alert - Alert the adapter of a pending reset SYNOPSIS int ipr_reset_alert (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function alerts the adapter that it will be reset. If memory space is not currently enabled, proceed directly to running BIST on the adapte...
ipr_reset_allowed(9)
NAME ipr_reset_allowed - Query whether or not IOA can be reset SYNOPSIS int ipr_reset_allowed (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 if reset not allowed / non-zero if reset is allowed SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr...
ipr_reset_bist_done(9)
NAME ipr_reset_bist_done - BIST has completed on the adapter. SYNOPSIS int ipr_reset_bist_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Unblock config space and resume the reset process. Return value: IPR_RC_JOB_CONTINUE SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_...
ipr_reset_block_config_access(9)
NAME ipr_reset_block_config_access - Block config access to the IOA SYNOPSIS int ipr_reset_block_config_access (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This attempts to block config access to the IOA Return value: IPR_RC_JOB_CONTINUE SEE ALSO Kernel file ./drivers/scsi/i...
ipr_reset_block_config_access_wait(9)
NAME ipr_reset_block_config_access_wait - Wait for permission to block config access SYNOPSIS int ipr_reset_block_config_access_wait (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This attempts to block config access to the IOA. Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETUR...
ipr_reset_cancel_hcam(9)
NAME ipr_reset_cancel_hcam - Cancel outstanding HCAMs SYNOPSIS int ipr_reset_cancel_hcam (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Cancel any oustanding HCAMs to the IOA. Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/ipr.c ip...
ipr_reset_cancel_hcam_done(9)
NAME ipr_reset_cancel_hcam_done - Check for outstanding commands SYNOPSIS int ipr_reset_cancel_hcam_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Ensure nothing is outstanding to the IOA and proceed with IOA disconnect. Otherwise reset the IOA. Return value: IPR_RC_JOB_RETUR...
ipr_reset_cmd_failed(9)
NAME ipr_reset_cmd_failed - Handle failure of IOA reset command SYNOPSIS int ipr_reset_cmd_failed (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function handles the failure of an IOA bringup command. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/ip...
ipr_reset_enable_ioa(9)
NAME ipr_reset_enable_ioa - Enable the IOA following a reset. SYNOPSIS int ipr_reset_enable_ioa (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function reinitializes some control blocks and enables destructive diagnostics on the adapter. Return value: IPR_RC_JOB_RETURN SEE A...
ipr_reset_freeze(9)
NAME ipr_reset_freeze - Hold off all I/O activity SYNOPSIS int ipr_reset_freeze (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION If the PCI slot is frozen, hold off all I/O activity; then, as soon as the slot is available again, initiate an adapter reset. SEE ALSO Kernel file ./...
ipr_reset_get_unit_check_job(9)
NAME ipr_reset_get_unit_check_job - Call to get the unit check buffer. SYNOPSIS int ipr_reset_get_unit_check_job (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function will call to get the unit check buffer. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/s...
ipr_reset_ioa_job(9)
NAME ipr_reset_ioa_job - Adapter reset job SYNOPSIS void ipr_reset_ioa_job (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is the job router for the adapter reset job. Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_...
ipr_reset_mode_sense_failed(9)
NAME ipr_reset_mode_sense_failed - Handle failure of IOAFP mode sense SYNOPSIS int ipr_reset_mode_sense_failed (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function handles the failure of a Mode Sense to the IOAFP. Some adapters do not handle all mode pages. Return value: ...
ipr_reset_mode_sense_page24_failed(9)
NAME ipr_reset_mode_sense_page24_failed - Handle failure of IOAFP mode sense SYNOPSIS int ipr_reset_mode_sense_page24_failed (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function handles the failure of a Mode Sense to the IOAFP. Some adapters do not handle all mode pages. ...
ipr_reset_next_stage(9)
NAME ipr_reset_next_stage - Process IPL stage change based on feedback register. SYNOPSIS int ipr_reset_next_stage (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ...
ipr_reset_quiesce_done(9)
NAME ipr_reset_quiesce_done - Complete IOA disconnect SYNOPSIS int ipr_reset_quiesce_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION Freeze the adapter to complete quiesce processing Return value: IPR_RC_JOB_CONTINUE SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook...
ipr_reset_reset_work(9)
NAME ipr_reset_reset_work - Pulse a PCIe fundamental reset SYNOPSIS void ipr_reset_reset_work (struct work_struct *work ); ARGUMENTS work work struct DESCRIPTION This pulses warm reset to a slot. SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9)...
ipr_reset_restore_cfg_space(9)
NAME ipr_reset_restore_cfg_space - Restore PCI config space. SYNOPSIS int ipr_reset_restore_cfg_space (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function restores the saved PCI config space of the adapter, fails all outstanding ops back to the callers, and fetches the dump...
ipr_reset_shutdown_ioa(9)
NAME ipr_reset_shutdown_ioa - Shutdown the adapter SYNOPSIS int ipr_reset_shutdown_ioa (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function issues an adapter shutdown of the specified type to the specified adapter as part of the adapter reset job. Return value: IPR_RC_JOB_...
ipr_reset_slot_reset(9)
NAME ipr_reset_slot_reset - Reset the PCI slot of the adapter. SYNOPSIS int ipr_reset_slot_reset (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This asserts PCI reset to the adapter. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ...
ipr_reset_slot_reset_done(9)
NAME ipr_reset_slot_reset_done - Clear PCI reset to the adapter SYNOPSIS int ipr_reset_slot_reset_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This clears PCI reset to the adapter and delays two seconds. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/sc...
ipr_reset_start_bist(9)
NAME ipr_reset_start_bist - Run BIST on the adapter. SYNOPSIS int ipr_reset_start_bist (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function runs BIST on the adapter, then delays 2 seconds. Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETURN SEE ALSO Kernel file ./dr...
ipr_reset_start_timer(9)
NAME ipr_reset_start_timer - Start a timer for adapter reset job SYNOPSIS void ipr_reset_start_timer (struct ipr_cmnd *ipr_cmd , unsigned long timeout ); ARGUMENTS ipr_cmd ipr command struct timeout timeout value DESCRIPTION This function is used in adapter reset processing for timing events. If th...
ipr_reset_timer_done(9)
NAME ipr_reset_timer_done - Adapter reset timer function SYNOPSIS void ipr_reset_timer_done (struct timer_list *t ); ARGUMENTS t Timer context used to fetch ipr command struct DESCRIPTION This function is used in adapter reset processing for timing events. If the reset_cmd pointer in the IOA config struc...
ipr_reset_ucode_download(9)
NAME ipr_reset_ucode_download - Download microcode to the adapter SYNOPSIS int ipr_reset_ucode_download (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function checks to see if it there is microcode to download to the adapter. If there is, a download is performed. Return valu...
ipr_reset_ucode_download_done(9)
NAME ipr_reset_ucode_download_done - Microcode download completion SYNOPSIS int ipr_reset_ucode_download_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function unmaps the microcode download buffer. Return value: IPR_RC_JOB_CONTINUE SEE ALSO Kernel file ./drivers/sc...
ipr_reset_wait_for_dump(9)
NAME ipr_reset_wait_for_dump - Wait for a dump to timeout. SYNOPSIS int ipr_reset_wait_for_dump (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is invoked when an adapter dump has run out of processing time. Return value: IPR_RC_JOB_CONTINUE SEE ALSO Kernel file ...
ipr_reset_wait_to_start_bist(9)
NAME ipr_reset_wait_to_start_bist - Wait for permission to reset IOA. SYNOPSIS int ipr_reset_wait_to_start_bist (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function waits for adapter permission to run BIST, then runs BIST. If the adapter does not give permission after a re...
ipr_save_pcix_cmd_reg(9)
NAME ipr_save_pcix_cmd_reg - Save PCI-X command register SYNOPSIS int ipr_save_pcix_cmd_reg (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / -EIO on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_...
ipr_scan_finished(9)
NAME ipr_scan_finished - Report whether scan is done SYNOPSIS int ipr_scan_finished (struct Scsi_Host *shost , unsigned long elapsed_time ); ARGUMENTS shost scsi host struct elapsed_time elapsed time DESCRIPTION Return value: 0 if scan in progress / 1 if scan is complete SEE ALSO Ke...
ipr_scsi_bus_speed_limit(9)
NAME ipr_scsi_bus_speed_limit - Limit the SCSI speed based on SES table SYNOPSIS void ipr_scsi_bus_speed_limit (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Looks through the config table checking for SES devices. If the SES device is in the SES table indicating a maximum SCSI b...
ipr_scsi_done(9)
NAME ipr_scsi_done - mid-layer done function SYNOPSIS void ipr_scsi_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is invoked by the interrupt handler for ops generated by the SCSI mid-layer Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_...
ipr_scsi_eh_done(9)
NAME ipr_scsi_eh_done - mid-layer done function for aborted ops SYNOPSIS void ipr_scsi_eh_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is invoked by the interrupt handler for ops generated by the SCSI mid-layer which are being aborted. Return value: none SEE ...
ipr_sdev_configure(9)
NAME ipr_sdev_configure - Configure a SCSI device SYNOPSIS int ipr_sdev_configure (struct scsi_device *sdev , struct queue_limits *lim ); ARGUMENTS sdev scsi device struct lim queue limits DESCRIPTION This function configures the specified scsi device. Return value: 0 on success SEE ALSO Ker...
ipr_sdev_destroy(9)
NAME ipr_sdev_destroy - Unconfigure a SCSI device SYNOPSIS void ipr_sdev_destroy (struct scsi_device *sdev ); ARGUMENTS sdev scsi device struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_c...
ipr_sdev_init(9)
NAME ipr_sdev_init - Prepare for commands to a device. SYNOPSIS int ipr_sdev_init (struct scsi_device *sdev ); ARGUMENTS sdev scsi device struct DESCRIPTION This function saves a pointer to the resource entry in the scsi device struct if the device exists. We can then use this pointer in ipr_queuecommand whe...
ipr_sdt_copy(9)
NAME ipr_sdt_copy - Copy Smart Dump Table to kernel buffer SYNOPSIS int ipr_sdt_copy (struct ipr_ioa_cfg *ioa_cfg , unsigned long pci_address , u32 length ); ARGUMENTS ioa_cfg ioa config struct pci_address adapter address length length of data to copy DESCRIPTION Copy data from PCI adapter t...
ipr_sdt_is_fmt2(9)
NAME ipr_sdt_is_fmt2 - Determine if a SDT address is in format 2 SYNOPSIS int ipr_sdt_is_fmt2 (u32 sdt_word ); ARGUMENTS sdt_word SDT address DESCRIPTION Return value: 1 if format 2 / 0 if not SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_af_dasd_device(9), ipr_is_vset_device(9), ipr_i...
ipr_send_blocking_cmd(9)
NAME ipr_send_blocking_cmd - Send command and sleep on its completion. SYNOPSIS void ipr_send_blocking_cmd (struct ipr_cmnd *ipr_cmd , void (*timeout_func) (struct timer_list *) , u32 timeout ); ARGUMENTS ipr_cmd ipr command struct timeout_func function to invoke if command times out ...
ipr_send_command(9)
NAME ipr_send_command - Send driver initiated requests. SYNOPSIS void ipr_send_command (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a command to the adapter using the correct write call. In the case of sis64, calculate the ioarcb size required. Then or in the...
ipr_send_hcam(9)
NAME ipr_send_hcam - Send an HCAM to the adapter. SYNOPSIS void ipr_send_hcam (struct ipr_ioa_cfg *ioa_cfg , u8 type , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct type HCAM type hostrcb hostrcb struct DESCRIPTION This function will send a Host Controlled Async co...
ipr_set_affinity_nobalance(9)
NAME ipr_set_affinity_nobalance - SYNOPSIS void ipr_set_affinity_nobalance (struct ipr_ioa_cfg *ioa_cfg , bool flag ); ARGUMENTS ioa_cfg ipr_ioa_cfg struct for an ipr device flag bool true: ensable "IRQ_NO_BALANCING" bit for msix interrupt false: disable "IRQ_NO_BALANCING" bit for msix interrupt D...
ipr_set_pcix_cmd_reg(9)
NAME ipr_set_pcix_cmd_reg - Setup PCI-X command register SYNOPSIS int ipr_set_pcix_cmd_reg (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / -EIO on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_r...
ipr_set_sup_dev_dflt(9)
NAME ipr_set_sup_dev_dflt - Initialize a Set Supported Device buffer SYNOPSIS void ipr_set_sup_dev_dflt (struct ipr_supported_device *supported_dev , struct ipr_std_inq_vpids *vpids ); ARGUMENTS supported_dev supported device struct vpids vendor product id struct DESCRIPTION Return value: none SEE ALS...
ipr_set_supported_devs(9)
NAME ipr_set_supported_devs - Send Set Supported Devices for a device SYNOPSIS int ipr_set_supported_devs (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Set Supported Devices to the adapter Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETURN SEE ALSO Kernel...
ipr_show_adapter_handle(9)
NAME ipr_show_adapter_handle - Show the adapter's resource handle for this device SYNOPSIS ssize_t ipr_show_adapter_handle (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device struct attr device attribute structure buf buffer DESCRIPTION Retur...
ipr_show_adapter_state(9)
NAME ipr_show_adapter_state - Show the adapter's state SYNOPSIS ssize_t ipr_show_adapter_state (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device struct attr device attribute (unused) buf buffer DESCRIPTION Return value: number of bytes prin...
ipr_show_device_id(9)
NAME ipr_show_device_id - Show the device_id for this device. SYNOPSIS ssize_t ipr_show_device_id (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device struct attr device attribute structure buf buffer DESCRIPTION Return value: number of bytes ...
ipr_show_fw_type(9)
NAME ipr_show_fw_type - Show the adapter's firmware type. SYNOPSIS ssize_t ipr_show_fw_type (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer DESCRIPTION Return value: number of bytes p...
ipr_show_fw_version(9)
NAME ipr_show_fw_version - Show the firmware version SYNOPSIS ssize_t ipr_show_fw_version (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer DESCRIPTION Return value: number of bytes pri...
ipr_show_log_level(9)
NAME ipr_show_log_level - Show the adapter's error logging level SYNOPSIS ssize_t ipr_show_log_level (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer DESCRIPTION Return value: number o...
ipr_show_raw_mode(9)
NAME ipr_show_raw_mode - Show the adapter's raw mode SYNOPSIS ssize_t ipr_show_raw_mode (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer DESCRIPTION Return value: number of bytes print...
ipr_show_resource_path(9)
NAME ipr_show_resource_path - Show the resource path or the resource address for this device. SYNOPSIS ssize_t ipr_show_resource_path (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device struct attr device attribute structure buf buffer DESCRI...
ipr_show_resource_type(9)
NAME ipr_show_resource_type - Show the resource type for this device. SYNOPSIS ssize_t ipr_show_resource_type (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device struct attr device attribute structure buf buffer DESCRIPTION Return value: numb...
ipr_shutdown(9)
NAME ipr_shutdown - Shutdown handler. SYNOPSIS void ipr_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev pci device struct DESCRIPTION This function is invoked upon system shutdown/reboot. It will issue an adapter shutdown to the adapter to flush the write cache. Return value: none SEE ALSO Kernel file ...
ipr_store_adapter_state(9)
NAME ipr_store_adapter_state - Change adapter state SYNOPSIS ssize_t ipr_store_adapter_state (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev device struct attr device attribute (unused) buf buffer count buffer s...
ipr_store_diagnostics(9)
NAME ipr_store_diagnostics - IOA Diagnostics interface SYNOPSIS ssize_t ipr_store_diagnostics (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev device struct attr device attribute (unused) buf buffer count buffer ...
ipr_store_iopoll_weight(9)
NAME ipr_store_iopoll_weight - Change the adapter's polling mode SYNOPSIS ssize_t ipr_store_iopoll_weight (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer c...
ipr_store_log_level(9)
NAME ipr_store_log_level - Change the adapter's error logging level SYNOPSIS ssize_t ipr_store_log_level (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer co...
ipr_store_raw_mode(9)
NAME ipr_store_raw_mode - Change the adapter's raw mode SYNOPSIS ssize_t ipr_store_raw_mode (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device struct attr device attribute (unused) buf buffer count buf...
ipr_store_reset_adapter(9)
NAME ipr_store_reset_adapter - Reset the adapter SYNOPSIS ssize_t ipr_store_reset_adapter (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev device struct attr device attribute (unused) buf buffer count buffer size...
ipr_store_update_fw(9)
NAME ipr_store_update_fw - Update the firmware on the adapter SYNOPSIS ssize_t ipr_store_update_fw (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev device struct attr device attribute (unused) buf buffer count bu...
ipr_target_destroy(9)
NAME ipr_target_destroy - Destroy a SCSI target SYNOPSIS void ipr_target_destroy (struct scsi_target *starget ); ARGUMENTS starget scsi target struct SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9), __ipr_get_free_ipr_cmn...
ipr_test_intr(9)
NAME ipr_test_intr - Handle the interrupt generated in ipr_test_msi(). SYNOPSIS irqreturn_t ipr_test_intr (int irq , void *devp ); ARGUMENTS irq IRQ number devp PCI device struct DESCRIPTION Simply set the msi_received flag to 1 indicating that Message Signaled Interrupts are supported. Retur...
ipr_test_msi(9)
NAME ipr_test_msi - Test for Message Signaled Interrupt (MSI) support. SYNOPSIS int ipr_test_msi (struct ipr_ioa_cfg *ioa_cfg , struct pci_dev *pdev ); ARGUMENTS ioa_cfg ioa config struct pdev PCI device struct DESCRIPTION This routine sets up and initiates a test interrupt to determine if the...
ipr_timeout(9)
NAME ipr_timeout - An internally generated op has timed out. SYNOPSIS void ipr_timeout (struct timer_list *t ); ARGUMENTS t Timer context used to fetch ipr command struct DESCRIPTION This function blocks host requests and initiates an adapter reset. Return value: none SEE ALSO Kernel file ./drivers/s...
ipr_trc_hook(9)
NAME ipr_trc_hook - Add a trace entry to the driver trace SYNOPSIS void ipr_trc_hook (struct ipr_cmnd *ipr_cmd , u8 type , u32 add_data ); ARGUMENTS ipr_cmd ipr command struct type trace type add_data additional data DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/s...
ipr_unit_check_no_data(9)
NAME ipr_unit_check_no_data - Log a unit check/no data error log SYNOPSIS void ipr_unit_check_no_data (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Logs an error indicating the adapter unit checked, but for some reason, we were unable to fetch the unit check buffer. Return valu...
ipr_update_ioa_ucode(9)
NAME ipr_update_ioa_ucode - Update IOA's microcode SYNOPSIS int ipr_update_ioa_ucode (struct ipr_ioa_cfg *ioa_cfg , struct ipr_sglist *sglist ); ARGUMENTS ioa_cfg ioa config struct sglist scatter/gather list DESCRIPTION Initiate an adapter reset to update the IOA's microcode Return value: 0 on succe...
ipr_update_res_entry(9)
NAME ipr_update_res_entry - Update the resource entry. SYNOPSIS void ipr_update_res_entry (struct ipr_resource_entry *res , struct ipr_config_table_entry_wrapper *cfgtew ); ARGUMENTS res resource entry struct cfgtew config table entry wrapper struct DESCRIPTION Return value: none SEE ALSO Kerne...
ipr_wait_for_ops(9)
NAME ipr_wait_for_ops - Wait for matching commands to complete SYNOPSIS int ipr_wait_for_ops (struct ipr_ioa_cfg *ioa_cfg , void *device , int (*match)(struct ipr_cmnd *, void *) ); ARGUMENTS ioa_cfg ioa config struct device device to match (sdev) match match function to use RETURN SUC...
ipr_wait_for_pci_err_recovery(9)
NAME ipr_wait_for_pci_err_recovery - Wait for any PCI error recovery to complete during probe time SYNOPSIS void ipr_wait_for_pci_err_recovery (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: None SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr...
ipr_wait_iodbg_ack(9)
NAME ipr_wait_iodbg_ack - Wait for an IODEBUG ACK from the IOA SYNOPSIS int ipr_wait_iodbg_ack (struct ipr_ioa_cfg *ioa_cfg , int max_delay ); ARGUMENTS ioa_cfg ioa config struct max_delay max delay in micro-seconds to wait DESCRIPTION Waits for an IODEBUG ACK from the IOA, doing busy looping. Return ...
ipr_worker_thread(9)
NAME ipr_worker_thread - Worker thread SYNOPSIS void ipr_worker_thread (struct work_struct *work ); ARGUMENTS work ioa config struct DESCRIPTION Called at task level from a work thread. This function takes care of adding and removing device from the mid-layer as configuration changes are detected by the adapt...
ipr_write_dump(9)
NAME ipr_write_dump - Setup dump state of adapter SYNOPSIS ssize_t ipr_write_dump (struct file *filp , struct kobject *kobj , const struct bin_attribute *bin_attr , char *buf , loff_t off , size_t count ); ARGUMENTS filp open sysfs file kobj kobject struct bin_attr bin_attribute struc...
iproc_gpio_irq_set_mask(9)
NAME iproc_gpio_irq_set_mask - mask/unmask a GPIO interrupt SYNOPSIS void iproc_gpio_irq_set_mask (struct irq_data *d , bool unmask ); ARGUMENTS d IRQ chip data unmask mask/unmask GPIO interrupt SEE ALSO Kernel file ./drivers/pinctrl/bcm/pinctrl-iproc-gpio.c iproc_set_bit(9) April 2026 ...
iproc_set_bit(9)
NAME iproc_set_bit - set or clear one bit (corresponding to the GPIO pin) in a Iproc GPIO register SYNOPSIS void iproc_set_bit (struct iproc_gpio *chip , unsigned int reg , unsigned gpio , bool set ); ARGUMENTS chip Iproc GPIO device reg register offset gpio GPIO pin set ...
ips_adjust(9)
NAME ips_adjust - adjust power clamp based on thermal state SYNOPSIS int ips_adjust (void *data ); ARGUMENTS data ips driver structure DESCRIPTION Wake up every 5s or so and check whether we should adjust the power clamp. Check CPU and GPU load to determine which needs adjustment. There are several things ...
ips_cpu_busy(9)
NAME ips_cpu_busy - is CPU busy? SYNOPSIS bool ips_cpu_busy (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Check CPU for load to see whether we should increase its thermal budget. RETURN True if the CPU could use more power, false otherwise. SEE ALSO Kernel file ./drivers/platform...
ips_cpu_lower(9)
NAME ips_cpu_lower - lower CPU power clamp SYNOPSIS void ips_cpu_lower (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Lower CPU power clamp b IPS_CPU_STEP if possible. We do this by adjusting the TURBO_POWER_CURRENT_LIMIT MSR down, going as low as the platform limits will allow (thou...
ips_cpu_raise(9)
NAME ips_cpu_raise - raise CPU power clamp SYNOPSIS void ips_cpu_raise (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Raise the CPU power clamp by IPS_CPU_STEP, in accordance with TDP for this platform. We do this by adjusting the TURBO_POWER_CURRENT_LIMIT MSR upwards (as long as we ...
ips_detect_cpu(9)
NAME ips_detect_cpu - detect whether CPU supports IPS SYNOPSIS struct ips_mcp_limits * ips_detect_cpu (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Walk our list and see if we're on a supported CPU. If we find one, return the limits for it. RETURN the ips_mcp_limits struct that mat...
ips_disable_cpu_turbo(9)
NAME ips_disable_cpu_turbo - disable turbo mode on all CPUs SYNOPSIS void ips_disable_cpu_turbo (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Disable turbo mode by setting the disable bit in IA32_PERF_CTL on all logical threads. SEE ALSO Kernel file ./drivers/platform/x86/intel_...
ips_disable_gpu_turbo(9)
NAME ips_disable_gpu_turbo - notify the gfx driver to disable turbo mode SYNOPSIS void ips_disable_gpu_turbo (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Request that the graphics driver disable turbo mode. SEE ALSO Kernel file ./drivers/platform/x86/intel_ips.c ips_cpu_busy(9),...
ips_enable_cpu_turbo(9)
NAME ips_enable_cpu_turbo - enable turbo mode on all CPUs SYNOPSIS void ips_enable_cpu_turbo (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Enable turbo mode by clearing the disable bit in IA32_PERF_CTL on all logical threads. SEE ALSO Kernel file ./drivers/platform/x86/intel_ips...
ips_enable_gpu_turbo(9)
NAME ips_enable_gpu_turbo - notify the gfx driver turbo is available SYNOPSIS void ips_enable_gpu_turbo (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Call into the graphics driver indicating that it can safely use turbo mode. SEE ALSO Kernel file ./drivers/platform/x86/intel_ips.c...
ips_get_i915_syms(9)
NAME ips_get_i915_syms - try to get GPU control methods from i915 driver SYNOPSIS bool ips_get_i915_syms (struct ips_driver *ips ); ARGUMENTS ips IPS driver DESCRIPTION The i915 driver exports several interfaces to allow the IPS driver to monitor and control graphics turbo mode. If we can find them, we c...
ips_gpu_busy(9)
NAME ips_gpu_busy - is GPU busy? SYNOPSIS bool ips_gpu_busy (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Check GPU for load to see whether we should increase its thermal budget. We need to call into the i915 driver in this case. RETURN True if the GPU could use more power, false o...
ips_gpu_lower(9)
NAME ips_gpu_lower - lower GPU power clamp SYNOPSIS void ips_gpu_lower (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Lower GPU frequency/power if possible. Need to call i915. SEE ALSO Kernel file ./drivers/platform/x86/intel_ips.c ips_cpu_busy(9), ips_cpu_raise(9), ips_cpu_low...
ips_gpu_raise(9)
NAME ips_gpu_raise - raise GPU power clamp SYNOPSIS void ips_gpu_raise (struct ips_driver *ips ); ARGUMENTS ips IPS driver struct DESCRIPTION Raise the GPU frequency/power if possible. We need to call into the i915 driver in this case. SEE ALSO Kernel file ./drivers/platform/x86/intel_ips.c ips_cpu_busy...
ips_irq_handler(9)
NAME ips_irq_handler - handle temperature triggers and other IPS events SYNOPSIS irqreturn_t ips_irq_handler (int irq , void *arg ); ARGUMENTS irq irq number arg unused DESCRIPTION Handle temperature limit trigger events, generally by lowering the clamps. If we're at a critical limit, we cla...
ips_monitor(9)
NAME ips_monitor - temp/power monitoring thread SYNOPSIS int ips_monitor (void *data ); ARGUMENTS data ips driver structure DESCRIPTION This is the main function for the IPS driver. It monitors power and temperature in the MCP and adjusts CPU and GPU power clamps accordingly. We keep a 5s moving average of...
iptfs_alloc_skb(9)
NAME iptfs_alloc_skb - Allocate a new `skb`. SYNOPSIS struct sk_buff * iptfs_alloc_skb (struct sk_buff *tpl , u32 len , bool l3resv ); ARGUMENTS tpl the skb to copy required meta-data from. len the linear length of the head data, zero is fine. l3resv true if skb reserve needs to s...
iptfs_complete_inner_skb(9)
NAME iptfs_complete_inner_skb - finish preparing the inner packet for gro recv. SYNOPSIS void iptfs_complete_inner_skb (struct xfrm_state *x , struct sk_buff *skb ); ARGUMENTS x xfrm state skb the inner packet DESCRIPTION Finish the standard xfrm processing on the inner packet prior ...
iptfs_copy_create_frag(9)
NAME iptfs_copy_create_frag - create an inner fragment skb. SYNOPSIS struct sk_buff * iptfs_copy_create_frag (struct skb_seq_state *st , u32 offset , u32 copy_len ); ARGUMENTS st The source packet data. offset offset in st of the new fragment data. copy_len the amount of data to copy ...
iptfs_copy_create_frags(9)
NAME iptfs_copy_create_frags - create and send N-1 fragments of a larger skb. SYNOPSIS int iptfs_copy_create_frags (struct sk_buff **skbp , struct xfrm_iptfs_data *xtfs , u32 mtu ); ARGUMENTS skbp the source packet skb (IN), skb holding the last fragment in the fragment stream (OUT). xtfs IPTFS ...
iptfs_drop_timer(9)
NAME iptfs_drop_timer - Handle drop timer expiry. SYNOPSIS enum hrtimer_restart iptfs_drop_timer (struct hrtimer *me ); ARGUMENTS me the timer DESCRIPTION This is similar to our input function. The drop timer is set when we start an in progress reassembly, and also when we save a future packet in the windo...