id
stringlengths
4
63
text
stringlengths
153
8.81M
ipr_gen_sense(9)
NAME ipr_gen_sense - Generate SCSI sense data from an IOASA SYNOPSIS void ipr_gen_sense (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), ipr_reinit_ipr_cmnd(9), ipr_init_i...
ipr_get_autosense(9)
NAME ipr_get_autosense - Copy autosense data to sense buffer SYNOPSIS int ipr_get_autosense (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function copies the autosense buffer to the buffer in the scsi_cmd, if there is autosense available. Return value: 1 if autosense was ava...
ipr_get_chip_info(9)
NAME ipr_get_chip_info - Find adapter chip information SYNOPSIS const struct ipr_chip_t * ipr_get_chip_info (const struct pci_device_id *dev_id ); ARGUMENTS dev_id PCI device id struct DESCRIPTION Return value: ptr to chip information on success / NULL on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ...
ipr_get_error(9)
NAME ipr_get_error - Find the specfied IOASC in the ipr_error_table. SYNOPSIS u32 ipr_get_error (u32 ioasc ); ARGUMENTS ioasc IOASC DESCRIPTION This function will return the index of into the ipr_error_table for the specified IOASC. If the IOASC is not in the table, 0 will be returned, which points to the en...
ipr_get_free_ipr_cmnd(9)
NAME ipr_get_free_ipr_cmnd - Get a free IPR Cmnd block and initialize it SYNOPSIS struct ipr_cmnd * ipr_get_free_ipr_cmnd (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: pointer to ipr command struct SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ...
ipr_get_ioa_dump(9)
NAME ipr_get_ioa_dump - Perform a dump of the driver and adapter. SYNOPSIS void ipr_get_ioa_dump (struct ipr_ioa_cfg *ioa_cfg , struct ipr_dump *dump ); ARGUMENTS ioa_cfg ioa config struct dump dump struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_h...
ipr_get_ldump_data_section(9)
NAME ipr_get_ldump_data_section - Dump IOA memory SYNOPSIS int ipr_get_ldump_data_section (struct ipr_ioa_cfg *ioa_cfg , u32 start_addr , __be32 *dest , u32 length_in_words ); ARGUMENTS ioa_cfg ioa config struct start_addr adapter address to dump dest destination kernel buffer leng...
ipr_get_max_scsi_speed(9)
NAME ipr_get_max_scsi_speed - Determine max SCSI speed for a given bus SYNOPSIS u32 ipr_get_max_scsi_speed (struct ipr_ioa_cfg *ioa_cfg , u8 bus , u8 bus_width ); ARGUMENTS ioa_cfg ioa config struct bus SCSI bus bus_width bus width DESCRIPTION Return value: SCSI bus speed in units of 10...
ipr_get_mode_page(9)
NAME ipr_get_mode_page - Locate specified mode page SYNOPSIS void * ipr_get_mode_page (struct ipr_mode_pages *mode_pages , u32 page_code , u32 len ); ARGUMENTS mode_pages mode page buffer page_code page code to find len minimum required length for mode page DESCRIPTION Return value: pointe...
ipr_get_sis64_dump_data_section(9)
NAME ipr_get_sis64_dump_data_section - Dump IOA memory SYNOPSIS int ipr_get_sis64_dump_data_section (struct ipr_ioa_cfg *ioa_cfg , u32 start_addr , __be32 *dest , u32 length_in_words ); ARGUMENTS ioa_cfg ioa config struct start_addr adapter address to dump dest destination kernel buffer ...
ipr_get_unit_check_buffer(9)
NAME ipr_get_unit_check_buffer - Get the unit check buffer from the IOA SYNOPSIS void ipr_get_unit_check_buffer (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Fetches the unit check buffer from the adapter by clocking the data through the mailbox register. Return value: nothing ...
ipr_halt(9)
NAME ipr_halt - Issue shutdown prepare to all adapters SYNOPSIS int ipr_halt (struct notifier_block *nb , ulong event , void *buf ); ARGUMENTS nb Notifier block event Notifier event buf Notifier data (unused) DESCRIPTION Return value: NOTIFY_OK on success / NOTIFY_DONE on failu...
ipr_halt_done(9)
NAME ipr_halt_done - Shutdown prepare completion SYNOPSIS void ipr_halt_done (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), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9),...
ipr_handle_config_change(9)
NAME ipr_handle_config_change - Handle a config change from the adapter SYNOPSIS void ipr_handle_config_change (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ...
ipr_handle_log_data(9)
NAME ipr_handle_log_data - Log an adapter error. SYNOPSIS void ipr_handle_log_data (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION This function logs an adapter error to the system. Return value: none SEE ALSO Kern...
ipr_handle_other_interrupt(9)
NAME ipr_handle_other_interrupt - Handle "other" interrupts SYNOPSIS irqreturn_t ipr_handle_other_interrupt (struct ipr_ioa_cfg *ioa_cfg , u32 int_reg ); ARGUMENTS ioa_cfg ioa config struct int_reg interrupt register DESCRIPTION Return value: IRQ_NONE / IRQ_HANDLED SEE ALSO Kernel file ./drivers...
ipr_init(9)
NAME ipr_init - Module entry point SYNOPSIS int ipr_init (void ); ARGUMENTS void no arguments DESCRIPTION Return value: 0 on success / negative value on failure 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_g...
ipr_init_dump_entry_hdr(9)
NAME ipr_init_dump_entry_hdr - Initialize a dump entry header. SYNOPSIS void ipr_init_dump_entry_hdr (struct ipr_dump_entry_header *hdr ); ARGUMENTS hdr dump entry header struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_r...
ipr_init_ioa_cfg(9)
NAME ipr_init_ioa_cfg - Initialize IOA config struct SYNOPSIS void ipr_init_ioa_cfg (struct ipr_ioa_cfg *ioa_cfg , struct Scsi_Host *host , struct pci_dev *pdev ); ARGUMENTS ioa_cfg ioa config struct host scsi host struct pdev PCI dev struct DESCRIPTION Return value: none SEE ALSO ...
ipr_init_ioa_mem(9)
NAME ipr_init_ioa_mem - Initialize ioa_cfg control block SYNOPSIS void ipr_init_ioa_mem (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa cfg 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_init_ioadl(9)
NAME ipr_init_ioadl - initialize the ioadl for the correct SIS type SYNOPSIS void ipr_init_ioadl (struct ipr_cmnd *ipr_cmd , dma_addr_t dma_addr , u32 len , int flags ); ARGUMENTS ipr_cmd ipr command struct dma_addr dma address len transfer length flags ioadl flag value D...
ipr_init_ipr_cmnd(9)
NAME ipr_init_ipr_cmnd - Initialize an IPR Cmnd block SYNOPSIS void ipr_init_ipr_cmnd (struct ipr_cmnd *ipr_cmd , void (*fast_done) (struct ipr_cmnd *) ); ARGUMENTS ipr_cmd ipr command struct fast_done fast done function call-back DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/...
ipr_init_regs(9)
NAME ipr_init_regs - Initialize IOA registers SYNOPSIS void ipr_init_regs (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_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9), __ipr_g...
ipr_init_res_entry(9)
NAME ipr_init_res_entry - Initialize a resource entry struct. SYNOPSIS void ipr_init_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 ...
ipr_init_res_table(9)
NAME ipr_init_res_table - Initialize the resource table SYNOPSIS int ipr_init_res_table (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function looks through the existing resource table, comparing it with the config table. This function will take care of old/new devices an...
ipr_initialize_bus_attr(9)
NAME ipr_initialize_bus_attr - Initialize SCSI bus attributes to default values SYNOPSIS void ipr_initialize_bus_attr (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_lock_and_done(9), ipr_...
ipr_initiate_ioa_bringdown(9)
NAME ipr_initiate_ioa_bringdown - Bring down an adapter SYNOPSIS void ipr_initiate_ioa_bringdown (struct ipr_ioa_cfg *ioa_cfg , enum ipr_shutdown_type shutdown_type ); ARGUMENTS ioa_cfg ioa config struct shutdown_type shutdown type DESCRIPTION This function will initiate bringing down ...
ipr_initiate_ioa_reset(9)
NAME ipr_initiate_ioa_reset - Initiate an adapter reset SYNOPSIS void ipr_initiate_ioa_reset (struct ipr_ioa_cfg *ioa_cfg , enum ipr_shutdown_type shutdown_type ); ARGUMENTS ioa_cfg ioa config struct shutdown_type shutdown type DESCRIPTION This function will initiate the reset of the g...
ipr_inquiry_page_supported(9)
NAME ipr_inquiry_page_supported - Is the given inquiry page supported SYNOPSIS int ipr_inquiry_page_supported (struct ipr_inquiry_page0 *page0 , u8 page ); ARGUMENTS page0 inquiry page 0 buffer page page code. DESCRIPTION This function determines if the specified inquiry page is supported. Retu...
ipr_internal_cmd_done(9)
NAME ipr_internal_cmd_done - Op done function for an internally generated op. SYNOPSIS void ipr_internal_cmd_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is the op done function for an internally generated, blocking op. It simply wakes the sleeping thread. Ret...
ipr_ioa_bringdown_done(9)
NAME ipr_ioa_bringdown_done - IOA bring down completion. SYNOPSIS int ipr_ioa_bringdown_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function processes the completion of an adapter bring down. It wakes any reset sleepers. Return value: IPR_RC_JOB_RETURN SEE ALSO Kern...
ipr_ioa_info(9)
NAME ipr_ioa_info - Get information about the card/driver SYNOPSIS const char * ipr_ioa_info (struct Scsi_Host *host ); ARGUMENTS host scsi host struct DESCRIPTION Return value: pointer to buffer with description string SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ...
ipr_ioa_reset_done(9)
NAME ipr_ioa_reset_done - IOA reset completion. SYNOPSIS int ipr_ioa_reset_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function processes the completion of an adapter reset. It schedules any necessary mid-layer add/removes and wakes any reset sleepers. Return value: ...
ipr_ioafp_cap_inquiry(9)
NAME ipr_ioafp_cap_inquiry - Send a Page 0xD0 Inquiry to the adapter. SYNOPSIS int ipr_ioafp_cap_inquiry (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Page 0xD0 inquiry to the adapter to retrieve adapter capabilities. Return value: IPR_RC_JOB_CONTINUE / IPR_...
ipr_ioafp_identify_hrrq(9)
NAME ipr_ioafp_identify_hrrq - Send Identify Host RRQ. SYNOPSIS int ipr_ioafp_identify_hrrq (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function send an Identify Host Request Response Queue command to establish the HRRQ with the adapter. Return value: IPR_RC_JOB_RETURN SE...
ipr_ioafp_inquiry(9)
NAME ipr_ioafp_inquiry - Send an Inquiry to the adapter. SYNOPSIS void ipr_ioafp_inquiry (struct ipr_cmnd *ipr_cmd , u8 flags , u8 page , dma_addr_t dma_addr , u8 xfer_len ); ARGUMENTS ipr_cmd ipr command struct flags flags to send page page to inquire dma_addr DMA address ...
ipr_ioafp_mode_select_page24(9)
NAME ipr_ioafp_mode_select_page24 - Issue Mode Select to IOA SYNOPSIS int ipr_ioafp_mode_select_page24 (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function enables dual IOA RAID support if possible. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/i...
ipr_ioafp_mode_select_page28(9)
NAME ipr_ioafp_mode_select_page28 - Issue Mode Select Page 28 to IOA SYNOPSIS int ipr_ioafp_mode_select_page28 (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sets up the SCSI bus attributes and sends a Mode Select for Page 28 to activate them. Return value: IPR_RC_JO...
ipr_ioafp_mode_sense_page24(9)
NAME ipr_ioafp_mode_sense_page24 - Issue Page 24 Mode Sense to IOA SYNOPSIS int ipr_ioafp_mode_sense_page24 (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function send a mode sense to the IOA to retrieve the IOA Advanced Function Control mode page. Return value: IPR_RC_JOB_R...
ipr_ioafp_mode_sense_page28(9)
NAME ipr_ioafp_mode_sense_page28 - Issue Mode Sense Page 28 to IOA SYNOPSIS int ipr_ioafp_mode_sense_page28 (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function send a Page 28 mode sense to the IOA to retrieve SCSI bus attributes. Return value: IPR_RC_JOB_RETURN SEE ALSO ...
ipr_ioafp_page0_inquiry(9)
NAME ipr_ioafp_page0_inquiry - Send a Page 0 Inquiry to the adapter. SYNOPSIS int ipr_ioafp_page0_inquiry (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Page 0 inquiry to the adapter to retrieve supported inquiry pages. Return value: IPR_RC_JOB_CONTINUE / IPR...
ipr_ioafp_page3_inquiry(9)
NAME ipr_ioafp_page3_inquiry - Send a Page 3 Inquiry to the adapter. SYNOPSIS int ipr_ioafp_page3_inquiry (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Page 3 inquiry to the adapter to retrieve software VPD information. Return value: IPR_RC_JOB_CONTINUE / IP...
ipr_ioafp_pageC4_inquiry(9)
NAME ipr_ioafp_pageC4_inquiry - Send a Page 0xC4 Inquiry to the adapter. SYNOPSIS int ipr_ioafp_pageC4_inquiry (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Page 0xC4 inquiry to the adapter to retrieve software VPD information. Return value: IPR_RC_JOB_CONTI...
ipr_ioafp_query_ioa_cfg(9)
NAME ipr_ioafp_query_ioa_cfg - Send a Query IOA Config to the adapter. SYNOPSIS int ipr_ioafp_query_ioa_cfg (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a Query IOA Configuration command to the adapter to retrieve the IOA configuration table. Return value: IP...
ipr_ioafp_set_caching_parameters(9)
NAME ipr_ioafp_set_caching_parameters - Issue Set Cache parameters service action SYNOPSIS int ipr_ioafp_set_caching_parameters (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)...
ipr_ioafp_std_inquiry(9)
NAME ipr_ioafp_std_inquiry - Send a Standard Inquiry to the adapter. SYNOPSIS int ipr_ioafp_std_inquiry (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a standard inquiry to the adapter. Return value: IPR_RC_JOB_RETURN SEE ALSO Kernel file ./drivers/scsi/ip...
ipr_is_af_dasd_device(9)
NAME ipr_is_af_dasd_device - Determine if a resource is an AF DASD SYNOPSIS int ipr_is_af_dasd_device (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if AF DASD / 0 if not AF DASD SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_vset...
ipr_is_device(9)
NAME ipr_is_device - Determine if the hostrcb structure is related to a device SYNOPSIS int ipr_is_device (struct ipr_hostrcb *hostrcb ); ARGUMENTS hostrcb host resource control blocks struct DESCRIPTION Return value: 1 if AF / 0 if not AF SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is...
ipr_is_gata(9)
NAME ipr_is_gata - Determine if a resource is a generic ATA resource SYNOPSIS int ipr_is_gata (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if GATA / 0 if not GATA SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_af_dasd_device(9),...
ipr_is_gscsi(9)
NAME ipr_is_gscsi - Determine if a resource is a generic scsi resource SYNOPSIS int ipr_is_gscsi (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if GSCSI / 0 if not GSCSI SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_af_dasd_devic...
ipr_is_ioa_resource(9)
NAME ipr_is_ioa_resource - Determine if a resource is the IOA SYNOPSIS int ipr_is_ioa_resource (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if IOA / 0 if not IOA SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_af_dasd_device(9), ipr_is_vset_device(9), i...
ipr_is_naca_model(9)
NAME ipr_is_naca_model - Determine if a resource is using NACA queueing model SYNOPSIS int ipr_is_naca_model (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if NACA queueing model / 0 if not NACA queueing model SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_...
ipr_is_same_device(9)
NAME ipr_is_same_device - Determine if two devices are the same. SYNOPSIS int ipr_is_same_device (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: 1 if the devi...
ipr_is_scsi_disk(9)
NAME ipr_is_scsi_disk - Determine if a resource is a SCSI disk SYNOPSIS int ipr_is_scsi_disk (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if SCSI disk / 0 if not SCSI disk SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_af_dasd_d...
ipr_is_vset_device(9)
NAME ipr_is_vset_device - Determine if a resource is a VSET SYNOPSIS int ipr_is_vset_device (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: 1 if VSET / 0 if not VSET SEE ALSO Kernel file ./drivers/scsi/ipr.h ipr_is_ioa_resource(9), ipr_is_af_dasd_device(9), i...
ipr_isr(9)
NAME ipr_isr - Interrupt service routine SYNOPSIS irqreturn_t ipr_isr (int irq , void *devp ); ARGUMENTS irq irq number devp pointer to ioa config struct DESCRIPTION Return value: IRQ_NONE / IRQ_HANDLED SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ...
ipr_isr_eh(9)
NAME ipr_isr_eh - Interrupt service routine error handler SYNOPSIS void ipr_isr_eh (struct ipr_ioa_cfg *ioa_cfg , char *msg , u16 number ); ARGUMENTS ioa_cfg ioa config struct msg message to log number various meanings depending on the caller/message DESCRIPTION Return value: none S...
ipr_isr_mhrrq(9)
NAME ipr_isr_mhrrq - Interrupt service routine SYNOPSIS irqreturn_t ipr_isr_mhrrq (int irq , void *devp ); ARGUMENTS irq irq number devp pointer to ioa config struct DESCRIPTION Return value: IRQ_NONE / IRQ_HANDLED SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_an...
ipr_lock_and_done(9)
NAME ipr_lock_and_done - Acquire lock and complete command SYNOPSIS void ipr_lock_and_done (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_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9), __ipr_get_...
ipr_log64_fabric_path(9)
NAME ipr_log64_fabric_path - Log a fabric path error SYNOPSIS void ipr_log64_fabric_path (struct ipr_hostrcb *hostrcb , struct ipr_hostrcb64_fabric_desc *fabric ); ARGUMENTS hostrcb hostrcb struct fabric fabric descriptor DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ...
ipr_log64_path_elem(9)
NAME ipr_log64_path_elem - Log a fabric path element. SYNOPSIS void ipr_log64_path_elem (struct ipr_hostrcb *hostrcb , struct ipr_hostrcb64_config_element *cfg ); ARGUMENTS hostrcb hostrcb struct cfg fabric path element struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scs...
ipr_log_array_error(9)
NAME ipr_log_array_error - Log an array configuration error. SYNOPSIS void ipr_log_array_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_t...
ipr_log_cache_error(9)
NAME ipr_log_cache_error - Log a cache error. SYNOPSIS void ipr_log_cache_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), i...
ipr_log_config_error(9)
NAME ipr_log_config_error - Log a configuration error. SYNOPSIS void ipr_log_config_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_ho...
ipr_log_dual_ioa_error(9)
NAME ipr_log_dual_ioa_error - Log a dual adapter error. SYNOPSIS void ipr_log_dual_ioa_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc...
ipr_log_enhanced_array_error(9)
NAME ipr_log_enhanced_array_error - Log an array configuration error. SYNOPSIS void ipr_log_enhanced_array_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/...
ipr_log_enhanced_cache_error(9)
NAME ipr_log_enhanced_cache_error - Log a cache error. SYNOPSIS void ipr_log_enhanced_cache_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ip...
ipr_log_enhanced_config_error(9)
NAME ipr_log_enhanced_config_error - Log a configuration error. SYNOPSIS void ipr_log_enhanced_config_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ip...
ipr_log_enhanced_dual_ioa_error(9)
NAME ipr_log_enhanced_dual_ioa_error - Log an enhanced dual adapter error. SYNOPSIS void ipr_log_enhanced_dual_ioa_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./...
ipr_log_ext_vpd(9)
NAME ipr_log_ext_vpd - Log the passed extended VPD to the error log. SYNOPSIS void ipr_log_ext_vpd (struct ipr_ext_vpd *vpd ); ARGUMENTS vpd vendor/product id/sn/wwn struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ip...
ipr_log_ext_vpd_compact(9)
NAME ipr_log_ext_vpd_compact - Log the passed extended VPD compactly. SYNOPSIS void ipr_log_ext_vpd_compact (char *prefix , struct ipr_hostrcb *hostrcb , struct ipr_ext_vpd *vpd ); ARGUMENTS prefix string to print at start of printk hostrcb hostrcb pointer vpd vendor/product id/sn/wwn...
ipr_log_fabric_error(9)
NAME ipr_log_fabric_error - Log a fabric error. SYNOPSIS void ipr_log_fabric_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ip...
ipr_log_fabric_path(9)
NAME ipr_log_fabric_path - Log a fabric path error SYNOPSIS void ipr_log_fabric_path (struct ipr_hostrcb *hostrcb , struct ipr_hostrcb_fabric_desc *fabric ); ARGUMENTS hostrcb hostrcb struct fabric fabric descriptor DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_...
ipr_log_generic_error(9)
NAME ipr_log_generic_error - Log an adapter error. SYNOPSIS void ipr_log_generic_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(...
ipr_log_hex_data(9)
NAME ipr_log_hex_data - Log additional hex IOA error data. SYNOPSIS void ipr_log_hex_data (struct ipr_ioa_cfg *ioa_cfg , __be32 *data , int len ); ARGUMENTS ioa_cfg ioa config struct data IOA error data len data length DESCRIPTION Return value: none SEE ALSO Kernel file ./driv...
ipr_log_path_elem(9)
NAME ipr_log_path_elem - Log a fabric path element. SYNOPSIS void ipr_log_path_elem (struct ipr_hostrcb *hostrcb , struct ipr_hostrcb_config_element *cfg ); ARGUMENTS hostrcb hostrcb struct cfg fabric path element struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr....
ipr_log_sis64_array_error(9)
NAME ipr_log_sis64_array_error - Log a sis64 array error. SYNOPSIS void ipr_log_sis64_array_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ip...
ipr_log_sis64_config_error(9)
NAME ipr_log_sis64_config_error - Log a device error. SYNOPSIS void ipr_log_sis64_config_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_t...
ipr_log_sis64_device_error(9)
NAME ipr_log_sis64_device_error - Log a cache error. SYNOPSIS void ipr_log_sis64_device_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_tr...
ipr_log_sis64_fabric_error(9)
NAME ipr_log_sis64_fabric_error - Log a sis64 fabric error. SYNOPSIS void ipr_log_sis64_fabric_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ...
ipr_log_sis64_service_required_error(9)
NAME ipr_log_sis64_service_required_error - Log a sis64 service required error. SYNOPSIS void ipr_log_sis64_service_required_error (struct ipr_ioa_cfg *ioa_cfg , struct ipr_hostrcb *hostrcb ); ARGUMENTS ioa_cfg ioa config struct hostrcb hostrcb struct DESCRIPTION Return value: none SEE ALSO Kernel ...
ipr_log_vpd(9)
NAME ipr_log_vpd - Log the passed VPD to the error log. SYNOPSIS void ipr_log_vpd (struct ipr_vpd *vpd ); ARGUMENTS vpd vendor/product id/sn struct DESCRIPTION Return value: none 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...
ipr_log_vpd_compact(9)
NAME ipr_log_vpd_compact - Log the passed extended VPD compactly. SYNOPSIS void ipr_log_vpd_compact (char *prefix , struct ipr_hostrcb *hostrcb , struct ipr_vpd *vpd ); ARGUMENTS prefix string to print at start of printk hostrcb hostrcb pointer vpd vendor/product id/sn struct DESCRIP...
ipr_mask_and_clear_interrupts(9)
NAME ipr_mask_and_clear_interrupts - Mask all and clear specified interrupts SYNOPSIS void ipr_mask_and_clear_interrupts (struct ipr_ioa_cfg *ioa_cfg , u32 clr_ints ); ARGUMENTS ioa_cfg ioa config struct clr_ints interrupts to clear DESCRIPTION This function masks all interrupts on the adapter, then c...
ipr_match_lun(9)
NAME ipr_match_lun - Match function for specified LUN SYNOPSIS int ipr_match_lun (struct ipr_cmnd *ipr_cmd , void *device ); ARGUMENTS ipr_cmd ipr command struct device device to match (sdev) RETURN 1 if command matches sdev / 0 if command does not match sdev SEE ALSO Kernel file ./drivers/scsi...
ipr_modify_ioafp_mode_page_28(9)
NAME ipr_modify_ioafp_mode_page_28 - Modify IOAFP Mode Page 28 SYNOPSIS void ipr_modify_ioafp_mode_page_28 (struct ipr_ioa_cfg *ioa_cfg , struct ipr_mode_pages *mode_pages ); ARGUMENTS ioa_cfg ioa config struct mode_pages mode page 28 buffer DESCRIPTION Updates mode page 28 based on driver configuration...
ipr_oper_timeout(9)
NAME ipr_oper_timeout - Adapter timed out transitioning to operational SYNOPSIS void ipr_oper_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 fil...
ipr_pci_error_detected(9)
NAME ipr_pci_error_detected - Called when a PCI error is detected. SYNOPSIS pci_ers_result_t ipr_pci_error_detected (struct pci_dev *pdev , pci_channel_state_t state ); ARGUMENTS pdev PCI device struct state PCI channel state DESCRIPTION Called when a PCI error is detected. Return value: PCI_ER...
ipr_pci_frozen(9)
NAME ipr_pci_frozen - Called when slot has experienced a PCI bus error. SYNOPSIS void ipr_pci_frozen (struct pci_dev *pdev ); ARGUMENTS pdev PCI device struct DESCRIPTION This routine is called to tell us that the PCI bus is down. Can't do anything here, except put the device driver into a holding pattern, wa...
ipr_pci_mmio_enabled(9)
NAME ipr_pci_mmio_enabled - Called when MMIO has been re-enabled SYNOPSIS pci_ers_result_t ipr_pci_mmio_enabled (struct pci_dev *pdev ); ARGUMENTS pdev PCI device struct DESCRIPTION This routine is called to tell us that the MMIO access to the IOA has been restored SEE ALSO Kernel file ./drivers/scsi/ipr.c...
ipr_pci_perm_failure(9)
NAME ipr_pci_perm_failure - Called when PCI slot is dead for good. SYNOPSIS void ipr_pci_perm_failure (struct pci_dev *pdev ); ARGUMENTS pdev PCI device struct DESCRIPTION This routine is called when the PCI bus has permanently failed. SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lo...
ipr_pci_slot_reset(9)
NAME ipr_pci_slot_reset - Called when PCI slot has been reset. SYNOPSIS pci_ers_result_t ipr_pci_slot_reset (struct pci_dev *pdev ); ARGUMENTS pdev PCI device struct DESCRIPTION This routine is called by the pci error recovery code after the PCI slot has been reset, just before we should resume normal operati...
ipr_probe(9)
NAME ipr_probe - Adapter hot plug add entry point SYNOPSIS int ipr_probe (struct pci_dev *pdev , const struct pci_device_id *dev_id ); ARGUMENTS pdev pci device struct dev_id pci device ID DESCRIPTION Return value: 0 on success / non-zero on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ...
ipr_probe_ioa_part2(9)
NAME ipr_probe_ioa_part2 - Initializes IOAs found in ipr_probe_ioa(..) SYNOPSIS void ipr_probe_ioa_part2 (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa cfg struct DESCRIPTION This is the second phase of adapter initialization This function takes care of initilizing the adapter to the point where it can ac...
ipr_process_ccn(9)
NAME ipr_process_ccn - Op done function for a CCN. SYNOPSIS void ipr_process_ccn (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is the op done function for a configuration change notification host controlled async from the adapter. Return value: none SEE ALSO Kernel...
ipr_process_error(9)
NAME ipr_process_error - Op done function for an adapter error log. SYNOPSIS void ipr_process_error (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is the op done function for an error log host controlled async from the adapter. It will log the error and send the HCAM ...
ipr_queuecommand(9)
NAME ipr_queuecommand - Queue a mid-layer request SYNOPSIS enum scsi_qc_status ipr_queuecommand (struct Scsi_Host *shost , struct scsi_cmnd *scsi_cmd ); ARGUMENTS shost scsi host struct scsi_cmd scsi command struct DESCRIPTION This function queues a request generated by the mid-layer. Return value:...
ipr_read_dump(9)
NAME ipr_read_dump - Dump the adapter SYNOPSIS ssize_t ipr_read_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 struct buf...
ipr_read_trace(9)
NAME ipr_read_trace - Dump the adapter trace SYNOPSIS ssize_t ipr_read_trace (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 struct ...
ipr_reinit_ipr_cmnd(9)
NAME ipr_reinit_ipr_cmnd - Re-initialize an IPR Cmnd block for reuse SYNOPSIS void ipr_reinit_ipr_cmnd (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), ipr_init_ipr_cmnd(9),...