id
stringlengths
4
63
text
stringlengths
153
8.81M
pm8001_chip_ssp_io_req(9)
NAME pm8001_chip_ssp_io_req - send a SSP task to FW SYNOPSIS int pm8001_chip_ssp_io_req (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information. ccb the ccb information this request used. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_hwi....
pm8001_chip_ssp_tm_req(9)
NAME pm8001_chip_ssp_tm_req - built the task management command. SYNOPSIS int pm8001_chip_ssp_tm_req (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb , struct sas_tmf_task *tmf ); ARGUMENTS pm8001_ha our hba card information. ccb the ccb information. tmf task manageme...
pm8001_configure_phy_settings(9)
NAME pm8001_configure_phy_settings - Configures PHY settings based on vendor ID. SYNOPSIS int pm8001_configure_phy_settings (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001_inter...
pm8001_ctl_aap_log_show(9)
NAME pm8001_ctl_aap_log_show - aap1 event log SYNOPSIS ssize_t pm8001_ctl_aap_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTION A sysfs '...
pm8001_ctl_bios_version_show(9)
NAME pm8001_ctl_bios_version_show - Bios version Display SYNOPSIS ssize_t pm8001_ctl_bios_version_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCR...
pm8001_ctl_fatal_log_show(9)
NAME pm8001_ctl_fatal_log_show - fatal error logging SYNOPSIS ssize_t pm8001_ctl_fatal_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute buf the buffer returned DESCRIPTION A sysfs '...
pm8001_ctl_fw_version_show(9)
NAME pm8001_ctl_fw_version_show - firmware version SYNOPSIS ssize_t pm8001_ctl_fw_version_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTION A...
pm8001_ctl_gsm_log_show(9)
NAME pm8001_ctl_gsm_log_show - gsm dump collection SYNOPSIS ssize_t pm8001_ctl_gsm_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTION A sy...
pm8001_ctl_host_sas_address_show(9)
NAME pm8001_ctl_host_sas_address_show - sas address SYNOPSIS ssize_t pm8001_ctl_host_sas_address_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRI...
pm8001_ctl_ib_queue_log_show(9)
NAME pm8001_ctl_ib_queue_log_show - Out bound Queue log SYNOPSIS ssize_t pm8001_ctl_ib_queue_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRI...
pm8001_ctl_ila_version_show(9)
NAME pm8001_ctl_ila_version_show - ila version SYNOPSIS ssize_t pm8001_ctl_ila_version_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTION A sy...
pm8001_ctl_inactive_fw_version_show(9)
NAME pm8001_ctl_inactive_fw_version_show - Inactive firmware version number SYNOPSIS ssize_t pm8001_ctl_inactive_fw_version_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf ...
pm8001_ctl_iop_log_show(9)
NAME pm8001_ctl_iop_log_show - IOP event log SYNOPSIS ssize_t pm8001_ctl_iop_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTION A sysfs 'r...
pm8001_ctl_logging_level_show(9)
NAME pm8001_ctl_logging_level_show - logging level SYNOPSIS ssize_t pm8001_ctl_logging_level_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPTIO...
pm8001_ctl_max_devices_show(9)
NAME pm8001_ctl_max_devices_show - max devices support SYNOPSIS ssize_t pm8001_ctl_max_devices_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRIPT...
pm8001_ctl_max_out_io_show(9)
NAME pm8001_ctl_max_out_io_show - max outstanding io supported SYNOPSIS ssize_t pm8001_ctl_max_out_io_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned D...
pm8001_ctl_max_sg_list_show(9)
NAME pm8001_ctl_max_sg_list_show - max sg list supported iff not 0.0 for no hardware limitation SYNOPSIS ssize_t pm8001_ctl_max_sg_list_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) ...
pm8001_ctl_mpi_interface_rev_show(9)
NAME pm8001_ctl_mpi_interface_rev_show - MPI interface revision number SYNOPSIS ssize_t pm8001_ctl_mpi_interface_rev_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buf...
pm8001_ctl_ob_queue_log_show(9)
NAME pm8001_ctl_ob_queue_log_show - Out bound Queue log SYNOPSIS ssize_t pm8001_ctl_ob_queue_log_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned DESCRI...
pm8001_ctl_sas_spec_support_show(9)
NAME pm8001_ctl_sas_spec_support_show - sas spec supported SYNOPSIS ssize_t pm8001_ctl_sas_spec_support_show (struct device *cdev , struct device_attribute *attr , char *buf ); ARGUMENTS cdev pointer to embedded class device attr device attribute (unused) buf the buffer returned ...
pm8001_dev_found_notify(9)
NAME pm8001_dev_found_notify - libsas notify a device is found. SYNOPSIS int pm8001_dev_found_notify (struct domain_device *dev ); ARGUMENTS dev the device structure which sas layer used. DESCRIPTION when libsas find a sas domain device, it should tell the LLDD that device is found, and then LLDD register th...
pm8001_dev_gone_notify(9)
NAME pm8001_dev_gone_notify - see the comments for "pm8001_dev_found_notify" SYNOPSIS void pm8001_dev_gone_notify (struct domain_device *dev ); ARGUMENTS dev the device structure which sas layer used. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8001_find_tag(9), pm8001_tag_free(9), ...
pm8001_find_dev(9)
NAME pm8001_find_dev - find a matching pm8001_device SYNOPSIS struct pm8001_device * pm8001_find_dev (struct pm8001_hba_info *pm8001_ha , u32 device_id ); ARGUMENTS pm8001_ha our hba card information device_id device ID to match against SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8...
pm8001_find_ha_by_dev(9)
NAME pm8001_find_ha_by_dev - from domain device which come from sas layer to find out our hba struct. SYNOPSIS struct pm8001_hba_info * pm8001_find_ha_by_dev (struct domain_device *dev ); ARGUMENTS dev the domain device which from sas layer. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm...
pm8001_find_tag(9)
NAME pm8001_find_tag - from sas task to find out tag that belongs to this task SYNOPSIS int pm8001_find_tag (struct sas_task *task , u32 *tag ); ARGUMENTS task the task sent to the LLDD tag the found tag associated with the task SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8...
pm8001_free(9)
NAME pm8001_free - free hba SYNOPSIS void pm8001_free (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba structure. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_tasklet(9), pm8001_interrupt_handler_msix(9), pm8001_interrupt_handler_intx(9), pm8001_alloc...
pm8001_get_attached_sas_addr(9)
NAME pm8001_get_attached_sas_addr - extract/generate attached SAS address SYNOPSIS void pm8001_get_attached_sas_addr (struct pm8001_phy *phy , u8 *sas_addr ); ARGUMENTS phy pointer to asd_phy sas_addr pointer to buffer where the SAS address is to be written DESCRIPTION This function extracts th...
pm8001_get_external_phy_settings(9)
NAME pm8001_get_external_phy_settings - Retrieves the external PHY settings SYNOPSIS void pm8001_get_external_phy_settings (struct pm8001_hba_info *pm8001_ha , struct pm8001_mpi3_phy_pg_trx_config *phycfg ); ARGUMENTS pm8001_ha our adapter phycfg PHY config page to populate SEE ALSO Kernel file ./driv...
pm8001_get_internal_phy_settings(9)
NAME pm8001_get_internal_phy_settings - Retrieves the internal PHY settings SYNOPSIS void pm8001_get_internal_phy_settings (struct pm8001_hba_info *pm8001_ha , struct pm8001_mpi3_phy_pg_trx_config *phycfg ); ARGUMENTS pm8001_ha our adapter phycfg PHY config page to populate SEE ALSO Kernel file ./driv...
pm8001_get_phy_mask(9)
NAME pm8001_get_phy_mask - Retrieves the mask that denotes if a PHY is int/ext SYNOPSIS void pm8001_get_phy_mask (struct pm8001_hba_info *pm8001_ha , int *phymask ); ARGUMENTS pm8001_ha our adapter phymask The PHY mask SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_...
pm8001_hw_event_ack_req(9)
NAME pm8001_hw_event_ack_req - For PM8001,some events need to acknowage to FW. SYNOPSIS void pm8001_hw_event_ack_req (struct pm8001_hba_info *pm8001_ha , u32 Qnum , u32 SEA , u32 port_id , u32 phyId , u32 param0 , u32 param1 ); ARGUMENTS pm8001_ha our hba card information Qnum the outbound queue mess...
pm8001_init(9)
NAME pm8001_init - initialize scsi transport template SYNOPSIS int pm8001_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001_interrupt_handler_msix(9), pm8001_interrupt_handler_intx(9), pm8001_alloc(9...
pm8001_init_ccb_tag(9)
NAME pm8001_init_ccb_tag - allocate memory to CCB and tag. SYNOPSIS int pm8001_init_ccb_tag (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001_interrupt_handler_ms...
pm8001_init_sas_add(9)
NAME pm8001_init_sas_add - initialize sas address SYNOPSIS int pm8001_init_sas_add (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our ha struct. DESCRIPTION Currently we just set the fixed SAS address to our HBA, for manufacture, it should read from the EEPROM SEE ALSO Kernel file ./drivers/scsi/pm8001...
pm8001_interrupt_handler_intx(9)
NAME pm8001_interrupt_handler_intx - main INTx interrupt handler. SYNOPSIS irqreturn_t pm8001_interrupt_handler_intx (int irq , void *dev_id ); ARGUMENTS irq interrupt number dev_id sas_ha structure. The HBA is retrieved from sas_ha structure. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_i...
pm8001_interrupt_handler_msix(9)
NAME pm8001_interrupt_handler_msix - main MSIX interrupt handler. It obtains the vector number and calls the equivalent bottom half or services directly. SYNOPSIS irqreturn_t pm8001_interrupt_handler_msix (int irq , void *opaque ); ARGUMENTS irq interrupt number opaque the passed outbound queue/v...
pm8001_ioremap(9)
NAME pm8001_ioremap - remap the pci high physical address to kernel virtual address so that we can access them. SYNOPSIS int pm8001_ioremap (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba structure. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9...
pm8001_mem_alloc(9)
NAME pm8001_mem_alloc - allocate memory for pm8001. SYNOPSIS int pm8001_mem_alloc (struct pci_dev *pdev , void **virt_addr , dma_addr_t *pphys_addr , u32 *pphys_addr_hi , u32 *pphys_addr_lo , u32 mem_size , u32 align ); ARGUMENTS pdev pci device. virt_addr the allocated virtual address pphys_...
pm8001_mpi_build_cmd(9)
NAME pm8001_mpi_build_cmd - build the message queue for transfer, update the PI to FW to tell the fw to get this message from IOMB. SYNOPSIS int pm8001_mpi_build_cmd (struct pm8001_hba_info *pm8001_ha , u32 q_index , u32 opCode , void *payload , size_t nb , u32 responseQueue ); ARGUMENTS pm8001_ha our hba card info...
pm8001_mpi_fw_flash_update_resp(9)
NAME pm8001_mpi_fw_flash_update_resp - Response from FW for flash update command. SYNOPSIS int pm8001_mpi_fw_flash_update_resp (struct pm8001_hba_info *pm8001_ha , void *piomb ); ARGUMENTS pm8001_ha our hba card information piomb IO message buffer SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_hwi...
pm8001_mpi_msg_consume(9)
NAME pm8001_mpi_msg_consume - get the MPI message from outbound queue message table. SYNOPSIS u32 pm8001_mpi_msg_consume (struct pm8001_hba_info *pm8001_ha , struct outbound_queue_table *circularQ , void **messagePtr1 , u8 *pBC ); ARGUMENTS pm8001_ha our hba card information circularQ the outbound queue ...
pm8001_mpi_msg_free_get(9)
NAME pm8001_mpi_msg_free_get - get the free message buffer for transfer inbound queue. SYNOPSIS int pm8001_mpi_msg_free_get (struct inbound_queue_table *circularQ , u16 messageSize , void **messagePtr ); ARGUMENTS circularQ the inbound queue we want to transfer to HBA. messageSize the message size of this ...
pm8001_mpi_reg_resp(9)
NAME pm8001_mpi_reg_resp - process register device ID response. SYNOPSIS int pm8001_mpi_reg_resp (struct pm8001_hba_info *pm8001_ha , void *piomb ); ARGUMENTS pm8001_ha our hba card information piomb IO message buffer DESCRIPTION when sas layer find a device it will notify LLDD, then the driver re...
pm8001_pci_alloc(9)
NAME pm8001_pci_alloc - initialize our ha card structure SYNOPSIS struct pm8001_hba_info * pm8001_pci_alloc (struct pci_dev *pdev , const struct pci_device_id *ent , struct Scsi_Host *shost ); ARGUMENTS pdev pci device. ent ent shost scsi host struct which has been initialized bef...
pm8001_pci_probe(9)
NAME pm8001_pci_probe - probe supported device SYNOPSIS int pm8001_pci_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev pci device which kernel has been prepared for. ent pci device id DESCRIPTION This function is the main initialization function, when register a...
pm8001_pci_resume(9)
NAME pm8001_pci_resume - power management resume main entry point SYNOPSIS int __maybe_unused pm8001_pci_resume (struct device *dev ); ARGUMENTS dev Device struct RETURN 0 on success, anything else on error. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_...
pm8001_pci_suspend(9)
NAME pm8001_pci_suspend - power management suspend main entry point SYNOPSIS int __maybe_unused pm8001_pci_suspend (struct device *dev ); ARGUMENTS dev Device struct RETURN 0 on success, anything else on error. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm80...
pm8001_phy_control(9)
NAME pm8001_phy_control - this function should be registered to sas_domain_function_template to provide libsas used, note: this is just control the HBA phy rather than other expander phy if you want control other phy, you should use SMP command. SYNOPSIS int pm8001_phy_control (struct asd_sas_phy *sas_phy , enum ...
pm8001_phy_init(9)
NAME pm8001_phy_init - initiate our adapter phys SYNOPSIS void pm8001_phy_init (struct pm8001_hba_info *pm8001_ha , int phy_id ); ARGUMENTS pm8001_ha our hba structure. phy_id phy id. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_free(9), pm8001_tasklet(9), pm8001_interrupt_handler_m...
pm8001_post_sas_ha_init(9)
NAME pm8001_post_sas_ha_init - initialize general hba struct defined in libsas SYNOPSIS void pm8001_post_sas_ha_init (struct Scsi_Host *shost , const struct pm8001_chip_info *chip_info ); ARGUMENTS shost scsi host which has been allocated outside chip_info our ha struct. SEE ALSO Kernel file ./drive...
pm8001_prep_sas_ha_init(9)
NAME pm8001_prep_sas_ha_init - allocate memory in general hba struct && init them. SYNOPSIS int pm8001_prep_sas_ha_init (struct Scsi_Host *shost , const struct pm8001_chip_info *chip_info ); ARGUMENTS shost scsi host which has been allocated outside. chip_info our ha struct. SEE ALSO Kernel file ./...
pm8001_queue_command(9)
NAME pm8001_queue_command - register for upper layer used, all IO commands sent to HBA are from this interface. SYNOPSIS int pm8001_queue_command (struct sas_task *task , gfp_t gfp_flags ); ARGUMENTS task the task to be execute. gfp_flags gfp_flags SEE ALSO Kernel file ./drivers/scsi/pm8001/pm...
pm8001_request_irq(9)
NAME pm8001_request_irq - register interrupt SYNOPSIS u32 pm8001_request_irq (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our ha struct. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001_interrupt_handler_msix(9), pm8001_interrupt_ha...
pm8001_scan_start(9)
NAME pm8001_scan_start - we should enable all HBA phys by sending the phy_start command to HBA. SYNOPSIS void pm8001_scan_start (struct Scsi_Host *shost ); ARGUMENTS shost the scsi host data. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8001_find_tag(9), pm8001_tag_free(9), pm8001_tag_a...
pm8001_set_phy_settings_ven_117c_12G(9)
NAME pm8001_set_phy_settings_ven_117c_12G - Configure ATTO 12Gb PHY settings SYNOPSIS int pm8001_set_phy_settings_ven_117c_12G (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our adapter SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001...
pm8001_setup_msix(9)
NAME pm8001_setup_msix - enable MSI-X interrupt SYNOPSIS u32 pm8001_setup_msix (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our ha struct. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm8001_free(9), pm8001_tasklet(9), pm8001_interrupt_handler_msix(9), pm8001_interrupt_...
pm8001_tag_alloc(9)
NAME pm8001_tag_alloc - allocate a empty tag for task used. SYNOPSIS int pm8001_tag_alloc (struct pm8001_hba_info *pm8001_ha , u32 *tag_out ); ARGUMENTS pm8001_ha our hba struct tag_out the found empty tag . SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8001_find_tag(9), pm8001_tag_...
pm8001_tag_free(9)
NAME pm8001_tag_free - free the no more needed tag SYNOPSIS void pm8001_tag_free (struct pm8001_hba_info *pm8001_ha , u32 tag ); ARGUMENTS pm8001_ha our hba struct tag the found tag associated with the task SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_sas.c pm8001_find_tag(9), pm8001_t...
pm8001_task_prep_ata(9)
NAME pm8001_task_prep_ata - the dispatcher function, prepare data for sata task SYNOPSIS int pm8001_task_prep_ata (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information ccb the ccb which attached to sata task SEE ALSO Kernel file ./dri...
pm8001_task_prep_internal_abort(9)
NAME pm8001_task_prep_internal_abort - the dispatcher function, prepare data for internal abort task SYNOPSIS int pm8001_task_prep_internal_abort (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information ccb the ccb which attached to sata task ...
pm8001_task_prep_smp(9)
NAME pm8001_task_prep_smp - the dispatcher function, prepare data for smp task SYNOPSIS int pm8001_task_prep_smp (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information ccb the ccb which attached to smp task SEE ALSO Kernel file ./drive...
pm8001_task_prep_ssp(9)
NAME pm8001_task_prep_ssp - the dispatcher function, prepare ssp data for ssp task SYNOPSIS int pm8001_task_prep_ssp (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information ccb the ccb which attached to ssp task SEE ALSO Kernel file ./d...
pm8001_task_prep_ssp_tm(9)
NAME pm8001_task_prep_ssp_tm - the dispatcher function, prepare task management data SYNOPSIS int pm8001_task_prep_ssp_tm (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb , struct sas_tmf_task *tmf ); ARGUMENTS pm8001_ha our hba card information ccb the ccb which attached to TM ...
pm8001_tasklet(9)
NAME pm8001_tasklet - tasklet for 64 msi-x interrupt handler SYNOPSIS void pm8001_tasklet (unsigned long opaque ); ARGUMENTS opaque the passed general host adapter struct NOTE pm8001_tasklet is common for pm8001 & pm80xx SEE ALSO Kernel file ./drivers/scsi/pm8001/pm8001_init.c pm8001_phy_init(9), pm800...
pm80xx_chip_init(9)
NAME pm80xx_chip_init - the main init function that initializes whole PM8001 chip. SYNOPSIS int pm80xx_chip_init (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), read_general_status_table(9), r...
pm80xx_chip_interrupt_disable(9)
NAME pm80xx_chip_interrupt_disable - disable PM8001 chip interrupt SYNOPSIS void pm80xx_chip_interrupt_disable (struct pm8001_hba_info *pm8001_ha , u8 vec ); ARGUMENTS pm8001_ha our hba card information vec interrupt number to disable SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_...
pm80xx_chip_interrupt_enable(9)
NAME pm80xx_chip_interrupt_enable - enable PM8001 chip interrupt SYNOPSIS void pm80xx_chip_interrupt_enable (struct pm8001_hba_info *pm8001_ha , u8 vec ); ARGUMENTS pm8001_ha our hba card information vec interrupt number to enable SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_c...
pm80xx_chip_isr(9)
NAME pm80xx_chip_isr - PM8001 isr handler. SYNOPSIS irqreturn_t pm80xx_chip_isr (struct pm8001_hba_info *pm8001_ha , u8 vec ); ARGUMENTS pm8001_ha our hba card information. vec irq number. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), read_general_status_tab...
pm80xx_chip_phy_ctl_req(9)
NAME pm80xx_chip_phy_ctl_req - support the local phy operation SYNOPSIS int pm80xx_chip_phy_ctl_req (struct pm8001_hba_info *pm8001_ha , u32 phyId , u32 phy_op ); ARGUMENTS pm8001_ha our hba card information. phyId the phy id which we wanted to operate phy_op phy operation to request SEE...
pm80xx_chip_phy_start_req(9)
NAME pm80xx_chip_phy_start_req - start phy via PHY_START COMMAND SYNOPSIS int pm80xx_chip_phy_start_req (struct pm8001_hba_info *pm8001_ha , u8 phy_id ); ARGUMENTS pm8001_ha our hba card information. phy_id the phy id which we wanted to start up. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi...
pm80xx_chip_phy_stop_req(9)
NAME pm80xx_chip_phy_stop_req - start phy via PHY_STOP COMMAND SYNOPSIS int pm80xx_chip_phy_stop_req (struct pm8001_hba_info *pm8001_ha , u8 phy_id ); ARGUMENTS pm8001_ha our hba card information. phy_id the phy id which we wanted to start up. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c ...
pm80xx_chip_smp_req(9)
NAME pm80xx_chip_smp_req - send an SMP task to FW SYNOPSIS int pm80xx_chip_smp_req (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information. ccb the ccb information this request used. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c ...
pm80xx_chip_soft_rst(9)
NAME pm80xx_chip_soft_rst - soft reset the PM8001 chip, so that all FW register status are reset to the originated status. SYNOPSIS int pm80xx_chip_soft_rst (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config...
pm80xx_chip_ssp_io_req(9)
NAME pm80xx_chip_ssp_io_req - send an SSP task to FW SYNOPSIS int pm80xx_chip_ssp_io_req (struct pm8001_hba_info *pm8001_ha , struct pm8001_ccb_info *ccb ); ARGUMENTS pm8001_ha our hba card information. ccb the ccb information this request used. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_h...
pm80xx_encrypt_update(9)
NAME pm80xx_encrypt_update - update flash with encryption information SYNOPSIS int pm80xx_encrypt_update (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), read_general_status_table(9), read_phy...
pm80xx_fatal_error_uevent_emit(9)
NAME pm80xx_fatal_error_uevent_emit - emits a single fatal error uevent SYNOPSIS void pm80xx_fatal_error_uevent_emit (struct pm8001_hba_info *pm8001_ha , enum fatal_error_reporter error_reporter ); ARGUMENTS pm8001_ha our hba card information error_reporter reporter of fatal error SEE AL...
pm80xx_fatal_errors(9)
NAME pm80xx_fatal_errors - returns non-zero *ONLY* when fatal errors SYNOPSIS int pm80xx_fatal_errors (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information DESCRIPTION Fatal errors are recoverable only after a host reboot. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c rea...
pm80xx_get_encrypt_info(9)
NAME pm80xx_get_encrypt_info - Check for encryption SYNOPSIS int pm80xx_get_encrypt_info (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), read_general_status_table(9), read_phy_attr_table(9), ...
pm80xx_hw_event_ack_req(9)
NAME pm80xx_hw_event_ack_req - For PM8001, some events need to acknowledge to FW. SYNOPSIS void pm80xx_hw_event_ack_req (struct pm8001_hba_info *pm8001_ha , u32 Qnum , u32 SEA , u32 port_id , u32 phyId , u32 param0 , u32 param1 ); ARGUMENTS pm8001_ha our hba card information Qnum the outbound queue m...
pm80xx_set_sas_protocol_timer_config(9)
NAME pm80xx_set_sas_protocol_timer_config - support the SAS Protocol Timer configuration page SYNOPSIS int pm80xx_set_sas_protocol_timer_config (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), ...
pm80xx_set_thermal_config(9)
NAME pm80xx_set_thermal_config - support the thermal configuration SYNOPSIS int pm80xx_set_thermal_config (struct pm8001_hba_info *pm8001_ha ); ARGUMENTS pm8001_ha our hba card information. SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), read_general_status_table(9), read_ph...
pm8xxx_vib_close(9)
NAME pm8xxx_vib_close - callback of input close callback SYNOPSIS void pm8xxx_vib_close (struct input_dev *dev ); ARGUMENTS dev input device pointer DESCRIPTION Turns off the vibrator. SEE ALSO Kernel file ./drivers/input/misc/pm8xxx-vibrator.c struct pm8xxx_vib(9), pm8xxx_vib_set(9), pm8xxx_work_handler(9)...
pm8xxx_vib_play_effect(9)
NAME pm8xxx_vib_play_effect - function to handle vib effects. SYNOPSIS int pm8xxx_vib_play_effect (struct input_dev *dev , void *data , struct ff_effect *effect ); ARGUMENTS dev input device pointer data data of effect effect effect to play DESCRIPTION Currently this driver suppor...
pm8xxx_vib_set(9)
NAME pm8xxx_vib_set - handler to start/stop vibration SYNOPSIS int pm8xxx_vib_set (struct pm8xxx_vib *vib , bool on ); ARGUMENTS vib pointer to vibrator structure on state to set SEE ALSO Kernel file ./drivers/input/misc/pm8xxx-vibrator.c struct pm8xxx_vib(9), pm8xxx_work_handler(9), pm8xxx_...
pm8xxx_work_handler(9)
NAME pm8xxx_work_handler - worker to set vibration level SYNOPSIS void pm8xxx_work_handler (struct work_struct *work ); ARGUMENTS work pointer to work_struct SEE ALSO Kernel file ./drivers/input/misc/pm8xxx-vibrator.c struct pm8xxx_vib(9), pm8xxx_vib_set(9), pm8xxx_vib_close(9), pm8xxx_vib_play_effect(9) Apr...
pm_clk_acquire(9)
NAME pm_clk_acquire - Acquire a device clock. SYNOPSIS void pm_clk_acquire (struct device *dev , struct pm_clock_entry *ce ); ARGUMENTS dev Device whose clock is to be acquired. ce PM clock entry corresponding to the clock. SEE ALSO Kernel file ./drivers/base/power/clock_ops.c pm_clk_list...
pm_clk_add(9)
NAME pm_clk_add - Start using a device clock for power management. SYNOPSIS int pm_clk_add (struct device *dev , const char *con_id ); ARGUMENTS dev Device whose clock is going to be used for power management. con_id Connection ID of the clock. DESCRIPTION Add the clock represented by con_id to ...
pm_clk_add_clk(9)
NAME pm_clk_add_clk - Start using a device clock for power management. SYNOPSIS int pm_clk_add_clk (struct device *dev , struct clk *clk ); ARGUMENTS dev Device whose clock is going to be used for power management. clk Clock pointer DESCRIPTION Add the clock to the list of clocks used for th...
pm_clk_add_notifier(9)
NAME pm_clk_add_notifier - Add bus type notifier for power management clocks. SYNOPSIS void pm_clk_add_notifier (const struct bus_type *bus , struct pm_clk_notifier_block *clknb ); ARGUMENTS bus Bus type to add the notifier to. clknb Notifier to be added to the given bus type. DESCRIPTION The n...
pm_clk_create(9)
NAME pm_clk_create - Create and initialize a device's list of PM clocks. SYNOPSIS int pm_clk_create (struct device *dev ); ARGUMENTS dev Device to create and initialize the list of PM clocks for. DESCRIPTION Allocate a struct pm_subsys_data object, initialize its lock and clock_list members and make the dev'...
pm_clk_destroy(9)
NAME pm_clk_destroy - Destroy a device's list of power management clocks. SYNOPSIS void pm_clk_destroy (struct device *dev ); ARGUMENTS dev Device to destroy the list of PM clocks for. DESCRIPTION Clear the dev's power.subsys_data field, remove the list of clock entries from the struct pm_subsys_data object ...
pm_clk_init(9)
NAME pm_clk_init - Initialize a device's list of power management clocks. SYNOPSIS void pm_clk_init (struct device *dev ); ARGUMENTS dev Device to initialize the list of PM clocks for. DESCRIPTION Initialize the lock and clock_list members of the device's pm_subsys_data object, set the count of clocks that m...
pm_clk_list_lock(9)
NAME pm_clk_list_lock - ensure exclusive access for modifying the PM clock entry list. SYNOPSIS void pm_clk_list_lock (struct pm_subsys_data *psd ); ARGUMENTS psd pm_subsys_data instance corresponding to the PM clock entry list and clk_op_might_sleep count to be modified. DESCRIPTION Get exclusive access be...
pm_clk_list_unlock(9)
NAME pm_clk_list_unlock - counterpart to pm_clk_list_lock(). SYNOPSIS void pm_clk_list_unlock (struct pm_subsys_data *psd ); ARGUMENTS psd the same pm_subsys_data instance previously passed to pm_clk_list_lock. SEE ALSO Kernel file ./drivers/base/power/clock_ops.c pm_clk_list_lock(9), pm_clk_op_lock(9), pm_c...
pm_clk_notify(9)
NAME pm_clk_notify - Notify routine for device addition and removal. SYNOPSIS int pm_clk_notify (struct notifier_block *nb , unsigned long action , void *data ); ARGUMENTS nb Notifier block object this function is a member of. action Operation being carried out by the caller. data ...
pm_clk_op_lock(9)
NAME pm_clk_op_lock - ensure exclusive access for performing clock operations. SYNOPSIS int pm_clk_op_lock (struct pm_subsys_data *psd , unsigned long *flags , const char *fn ); ARGUMENTS psd pm_subsys_data instance corresponding to the PM clock entry list and clk_op_might_sleep count being used. flag...
pm_clk_op_unlock(9)
NAME pm_clk_op_unlock - counterpart to pm_clk_op_lock(). SYNOPSIS void pm_clk_op_unlock (struct pm_subsys_data *psd , unsigned long *flags ); ARGUMENTS psd the same pm_subsys_data instance previously passed to pm_clk_op_lock. flags irq flags provided by pm_clk_op_lock. SEE ALSO Kernel file ./...
pm_clk_remove_clk(9)
NAME pm_clk_remove_clk - Stop using a device clock for power management. SYNOPSIS void pm_clk_remove_clk (struct device *dev , struct clk *clk ); ARGUMENTS dev Device whose clock should not be used for PM any more. clk Clock pointer DESCRIPTION Remove the clock pointed to by clk from the list...
pm_clk_resume(9)
NAME pm_clk_resume - Enable clocks in a device's PM clock list. SYNOPSIS int pm_clk_resume (struct device *dev ); ARGUMENTS dev Device to enable the clocks for. SEE ALSO Kernel file ./drivers/base/power/clock_ops.c pm_clk_list_lock(9), pm_clk_list_unlock(9), pm_clk_op_lock(9), pm_clk_op_unlock(9)...
pm_clk_suspend(9)
NAME pm_clk_suspend - Disable clocks in a device's PM clock list. SYNOPSIS int pm_clk_suspend (struct device *dev ); ARGUMENTS dev Device to disable the clocks for. SEE ALSO Kernel file ./drivers/base/power/clock_ops.c pm_clk_list_lock(9), pm_clk_list_unlock(9), pm_clk_op_lock(9), pm_clk_op_unloc...