Home
last modified time | relevance | path

Searched refs:ha (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/linux/drivers/scsi/qla4xxx/
A Dql4_init.c92 ha->request_ptr = &ha->request_ring[ha->request_in]; in qla4xxx_init_rings()
98 ha->response_ptr = &ha->response_ring[ha->response_out]; in qla4xxx_init_rings()
383 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump()
394 ha->fw_dump_tmplt_hdr = ha->fw_dump; in qla4xxx_alloc_fw_dump()
630 if (is_qla4022(ha) || is_qla4032(ha)) in qla4xxx_config_nvram()
704 if (is_qla4022(ha) | is_qla4032(ha)) in qla4xxx_start_firmware_from_flash()
798 if (is_qla4022(ha) | is_qla4032(ha)) in qla4xxx_start_firmware()
960 ha->isp_ops->pci_config(ha); in qla4xxx_initialize_adapter()
962 ha->isp_ops->disable_intrs(ha); in qla4xxx_initialize_adapter()
975 if (is_qla8032(ha) || is_qla8042(ha)) in qla4xxx_initialize_adapter()
[all …]
A Dql4_isr.c487 ha->response_ptr = ha->response_ring; in qla4xxx_process_response_queue()
567 ha->isp_ops->complete_iocb(ha); in qla4xxx_process_response_queue()
577 ha->isp_ops->complete_iocb(ha); in qla4xxx_process_response_queue()
590 if (is_qla8032(ha) || is_qla8042(ha)) { in qla4_83xx_loopback_in_progress()
666 if (is_qla8032(ha) || is_qla8042(ha)) in qla4xxx_isr_decode_mailbox()
860 ha->aen_q[ha->aen_in].mbox_sts[i] = in qla4xxx_isr_decode_mailbox()
867 ha->host_no, ha->aen_in, in qla4xxx_isr_decode_mailbox()
1483 while (ha->aen_out != ha->aen_in) { in qla4xxx_process_aen()
1484 aen = &ha->aen_q[ha->aen_out]; in qla4xxx_process_aen()
1509 ha->host_no, ha->aen_out, in qla4xxx_process_aen()
[all …]
A Dql4_83xx.c333 first_owner = ha->isp_ops->rd_reg_direct(ha, in qla4_83xx_drv_lock()
532 ha->isp_ops->idc_unlock(ha); in qla4_83xx_need_reset_handler()
534 ha->isp_ops->idc_lock(ha); in qla4_83xx_need_reset_handler()
556 ha->isp_ops->idc_unlock(ha); in qla4_83xx_need_reset_handler()
558 ha->isp_ops->idc_lock(ha); in qla4_83xx_need_reset_handler()
1351 ha->isp_ops->idc_lock(ha); in qla4_83xx_isp_reset()
1390 ha->isp_ops->idc_unlock(ha); in qla4_83xx_isp_reset()
1393 ha->isp_ops->idc_lock(ha); in qla4_83xx_isp_reset()
1396 ha->isp_ops->idc_unlock(ha); in qla4_83xx_isp_reset()
1558 ha->isp_ops->idc_lock(ha); in qla4_83xx_disable_pause()
[all …]
A Dql4_nx.c3278 ha->isp_ops->idc_unlock(ha); in qla4_8xxx_device_bootstrap()
3284 ha->isp_ops->idc_lock(ha); in qla4_8xxx_device_bootstrap()
3390 ha->isp_ops->idc_lock(ha); in qla4_8xxx_need_qsnt_handler()
3392 ha->isp_ops->idc_unlock(ha); in qla4_8xxx_need_qsnt_handler()
3463 ha->isp_ops->idc_lock(ha); in qla4_8xxx_update_idc_reg()
3484 ha->isp_ops->idc_unlock(ha); in qla4_8xxx_update_idc_reg()
3514 ha->isp_ops->idc_lock(ha); in qla4_8xxx_device_state_handler()
3542 ha->isp_ops->idc_lock(ha); in qla4_8xxx_device_state_handler()
3573 ha->isp_ops->idc_lock(ha); in qla4_8xxx_device_state_handler()
3579 ha->isp_ops->idc_lock(ha); in qla4_8xxx_device_state_handler()
[all …]
A Dql4_glbl.h12 int qla4xxx_hw_reset(struct scsi_qla_host *ha);
16 int qla4xxx_soft_reset(struct scsi_qla_host *ha);
26 int qla4xxx_reset_target(struct scsi_qla_host *ha,
36 int qla4xxx_get_fwddb_entry(struct scsi_qla_host *ha,
55 int qla4xxx_disable_acb(struct scsi_qla_host *ha);
70 int qla4xxx_init_rings(struct scsi_qla_host *ha);
88 void qla4xxx_queue_iocb(struct scsi_qla_host *ha);
92 void qla4xxx_pci_config(struct scsi_qla_host *ha);
98 void qla4xxx_free_irqs(struct scsi_qla_host *ha);
100 void qla4xxx_wake_dpc(struct scsi_qla_host *ha);
[all …]
A Dql4_nvram.c14 writel(cmd, isp_nvram(ha)); in eeprom_cmd()
15 readl(isp_nvram(ha)); in eeprom_cmd()
40 eeprom_cmd(ha->eeprom_cmd_data, ha); in fm93c56a_select()
52 eeprom_cmd(ha->eeprom_cmd_data | AUBURN_EEPROM_DO_1, ha); in fm93c56a_cmd()
72 eeprom_cmd(ha->eeprom_cmd_data | dataBit, ha); in fm93c56a_cmd()
94 eeprom_cmd(ha->eeprom_cmd_data | dataBit, ha); in fm93c56a_cmd()
111 eeprom_cmd(ha->eeprom_cmd_data, ha); in fm93c56a_deselect()
141 fm93c56a_select(ha); in eeprom_readword()
143 fm93c56a_datain(ha, value); in eeprom_readword()
144 fm93c56a_deselect(ha); in eeprom_readword()
[all …]
A Dql4_mbx.c42 ha->isp_ops->interrupt_service_routine(ha, intr_status); in qla4xxx_process_mbox_intr()
55 if (is_qla8032(ha) || is_qla8042(ha)) { in qla4xxx_is_intr_poll_mode()
99 if (is_qla40XX(ha)) { in qla4xxx_mailbox_command()
143 ha->isp_ops->idc_lock(ha); in qla4xxx_mailbox_command()
145 ha->isp_ops->idc_unlock(ha); in qla4xxx_mailbox_command()
161 ha->isp_ops->queue_mailbox_command(ha, mbx_cmd, inCount); in qla4xxx_mailbox_command()
193 ha->isp_ops->process_mailbox_interrupt(ha, outCount); in qla4xxx_mailbox_command()
225 } else if (is_qla8032(ha) || is_qla8042(ha)) { in qla4xxx_mailbox_command()
377 if (is_qla8022(ha)) in qla4xxx_set_ifcb()
378 qla4_82xx_wr_32(ha, ha->nx_db_wr_ptr, 0); in qla4xxx_set_ifcb()
[all …]
A Dql4_iocb.c21 cnt = (uint16_t) ha->isp_ops->rd_shdw_req_q_out(ha); in qla4xxx_space_in_req_ring()
23 ha->req_q_count = cnt - ha->request_in; in qla4xxx_space_in_req_ring()
41 ha->request_ptr = ha->request_ring; in qla4xxx_advance_req_ring_ptr()
110 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_marker_iocb()
159 ha = srb->ha; in qla4xxx_build_scsi_iocbs()
220 qla4_82xx_wr_32(ha, ha->nx_db_wr_ptr, ha->request_in); in qla4_82xx_queue_iocb()
369 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_command_to_isp()
388 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_send_passthru0() local
442 ha->isp_ops->queue_iocb(ha); in qla4xxx_send_passthru0()
458 mrb->ha = ha; in qla4xxx_get_new_mrb()
[all …]
A Dql4_os.c1821 ha = ddb_entry->ha; in qla4xxx_conn_get_stats()
3116 ddb_entry->ha = ha; in qla4xxx_session_create()
3141 ha = ddb_entry->ha; in qla4xxx_session_destroy()
3204 ha = ddb_entry->ha; in qla4xxx_conn_create()
3223 ha = ddb_entry->ha; in qla4xxx_conn_bind()
3254 ha = ddb_entry->ha; in qla4xxx_conn_start()
3332 ha = ddb_entry->ha; in qla4xxx_conn_destroy()
3355 ha = task_data->ha; in qla4xxx_task_work()
3395 ha = ddb_entry->ha; in qla4xxx_alloc_pdu()
3406 task_data->ha = ha; in qla4xxx_alloc_pdu()
[all …]
A Dql4_attr.c19 if (is_qla40XX(ha)) in qla4_8xxx_sysfs_read_fw_dump()
40 if (is_qla40XX(ha)) in qla4_8xxx_sysfs_write_fw_dump()
77 ha->isp_ops->idc_lock(ha); in qla4_8xxx_sysfs_write_fw_dump()
85 ((is_qla8032(ha) || is_qla8042(ha)) && in qla4_8xxx_sysfs_write_fw_dump()
97 ha->isp_ops->idc_unlock(ha); in qla4_8xxx_sysfs_write_fw_dump()
160 ha->fw_info.fw_major, ha->fw_info.fw_minor, in qla4xxx_fw_version_show()
161 ha->fw_info.fw_patch, ha->fw_info.fw_build); in qla4xxx_fw_version_show()
164 ha->fw_info.fw_major, ha->fw_info.fw_minor, in qla4xxx_fw_version_show()
165 ha->fw_info.fw_patch, ha->fw_info.fw_build); in qla4xxx_fw_version_show()
191 ha->fw_info.bootload_major, ha->fw_info.bootload_minor, in qla4xxx_optrom_version_show()
[all …]
A Dql4_bsg.c29 if (ql4xxx_reset_active(ha)) { in qla4xxx_read_flash()
159 if (is_qla4010(ha)) in qla4xxx_get_acb_state()
218 if (!(is_qla4010(ha) || is_qla4022(ha) || is_qla4032(ha))) in qla4xxx_read_nvram()
233 ((is_qla4022(ha) || is_qla4032(ha)) && in qla4xxx_read_nvram()
289 if (!(is_qla4010(ha) || is_qla4022(ha) || is_qla4032(ha))) in qla4xxx_update_nvram()
304 ((is_qla4022(ha) || is_qla4032(ha)) && in qla4xxx_update_nvram()
356 if (is_qla4010(ha)) in qla4xxx_restore_defaults()
402 if (is_qla4010(ha)) in qla4xxx_bsg_get_acb()
534 ha->notify_idc_comp = 0; in qla4_83xx_wait_for_loopback_config_comp()
685 if (is_qla8032(ha) || is_qla8042(ha)) { in qla4xxx_execute_diag_loopback_cmd()
[all …]
A Dql4_dbg.c36 if (is_qla8022(ha)) { in qla4xxx_dump_registers()
59 if (is_qla4010(ha)) { in qla4xxx_dump_registers()
63 } else if (is_qla4022(ha) | is_qla4032(ha)) { in qla4xxx_dump_registers()
81 if (is_qla4010(ha)) { in qla4xxx_dump_registers()
103 } else if (is_qla4022(ha) | is_qla4032(ha)) { in qla4xxx_dump_registers()
125 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
141 if (is_qla8022(ha)) { in qla4_8xxx_dump_peg_reg()
142 ql4_printk(KERN_INFO, ha, in qla4_8xxx_dump_peg_reg()
154 } else if (is_qla8032(ha) || is_qla8042(ha)) { in qla4_8xxx_dump_peg_reg()
155 ql4_printk(KERN_INFO, ha, in qla4_8xxx_dump_peg_reg()
[all …]
A Dql4_inline.h26 (ha->fw_ddb_index_map[fw_ddb_index] != in qla4xxx_lookup_ddb_by_fw_index()
40 if (is_qla4022(ha) | is_qla4032(ha)) { in __qla4xxx_enable_intrs()
42 &ha->reg->u1.isp4022.intr_mask); in __qla4xxx_enable_intrs()
43 readl(&ha->reg->u1.isp4022.intr_mask); in __qla4xxx_enable_intrs()
46 readl(&ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
48 set_bit(AF_INTERRUPTS_ON, &ha->flags); in __qla4xxx_enable_intrs()
54 if (is_qla4022(ha) | is_qla4032(ha)) { in __qla4xxx_disable_intrs()
57 readl(&ha->reg->u1.isp4022.intr_mask); in __qla4xxx_disable_intrs()
60 readl(&ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
71 __qla4xxx_enable_intrs(ha); in qla4xxx_enable_intrs()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_sup.c27 if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA2300(ha)) { in qla2x00_lock_nvram_access()
59 if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA2300(ha)) { in qla2x00_unlock_nvram_access()
939 ha->flt_region_fdt, ha->flt_region_flt, ha->flt_region_npiv_conf, in qla2xxx_get_flt_info()
1280 if (!IS_QLA25XX(ha) && !IS_QLA81XX(ha) && !IS_QLA83XX(ha) && in qla24xx_write_flash_data()
1763 if (!IS_QLA83XX(ha) && !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla83xx_select_led_port()
1784 if (!IS_QLA83XX(ha) && !IS_QLA81XX(ha) && !IS_QLA27XX(ha) && in qla83xx_beacon_blink()
1881 if (IS_QLA2031(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) in qla24xx_beacon_on()
1921 if (IS_QLA2031(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) in qla24xx_beacon_off()
2318 ha->isp_ops->disable_intrs(ha); in qla2x00_suspend_hba()
2325 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_suspend_hba()
[all …]
A Dqla_nx.c1645 ha->iobase = ha->nx_pcibase; in qla82xx_iospace_config()
1647 ha->iobase = ha->nx_pcibase + 0xbc000 + (ha->pdev->devfn << 11); in qla82xx_iospace_config()
1671 ha->msix_count = ha->max_rsp_queues + 1; in qla82xx_iospace_config()
1675 ha->nx_pcibase, ha->iobase, in qla82xx_iospace_config()
1676 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1680 ha->nx_pcibase, ha->iobase, in qla82xx_iospace_config()
1681 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1706 ha->chip_revision = ha->pdev->revision; in qla82xx_pci_config()
1724 ha->isp_ops->disable_intrs(ha); in qla82xx_reset_chip()
2261 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla82xx_init_flags()
[all …]
A Dqla_os.c398 ha->base_qpair->hw = ha; in qla_init_base_qpair()
410 ha->base_qpair->pdev = ha->pdev; in qla_init_base_qpair()
412 if (IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha)) in qla_init_base_qpair()
2744 ha->device_type, ha->port_no, ha->fw_srisc_address); in qla2x00_set_isp_flags()
2911 if (IS_QLA24XX(ha) || IS_QLA25XX(ha) || IS_QLA81XX(ha) || in qla2x00_probe_one()
2912 IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) in qla2x00_probe_one()
3121 ha->isp_ops, ha->flash_conf_off, ha->flash_data_off, in qla2x00_probe_one()
3279 if (ha->mqenable || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla2x00_probe_one()
4111 ha->init_cb, ha->gid_list, ha->srb_mempool, ha->s_dma_pool); in qla2x00_mem_alloc()
4381 ha->flt, ha->flt_dma); in qla2x00_mem_alloc()
[all …]
A Dqla_dfs.c223 dma_free_coherent(&ha->pdev->dev, qla2x00_gid_list_size(ha), in qla2x00_dfs_tgt_port_database_show()
401 ha->fce_mb[0], ha->fce_mb[2], ha->fce_mb[3], ha->fce_mb[4], in qla2x00_dfs_fce_show()
402 ha->fce_mb[5], ha->fce_mb[6]); in qla2x00_dfs_fce_show()
461 memset(ha->fce, 0, fce_calc_size(ha->fce_bufs)); in qla2x00_dfs_fce_release()
462 rval = qla2x00_enable_fce_trace(vha, ha->fce_dma, ha->fce_bufs, in qla2x00_dfs_fce_release()
463 ha->fce_mb, &ha->fce_bufs); in qla2x00_dfs_fce_release()
511 if (!(IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha))) { in qla_dfs_naqp_write()
562 if (!IS_QLA25XX(ha) && !IS_QLA81XX(ha) && !IS_QLA83XX(ha) && in qla2x00_dfs_setup()
563 !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_dfs_setup()
565 if (!ha->fce) in qla2x00_dfs_setup()
[all …]
A Dqla_init.c2851 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_reset_chip()
2876 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_reset_chip()
3264 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_chip_diag()
3485 if (IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) in qla2x00_alloc_fw_dump()
4137 if (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA6312(ha)) { in qla2x00_update_fw_options()
4155 if (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA6312(ha)) { in qla2x00_update_fw_options()
4220 if (IS_QLA25XX(ha) || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla24xx_update_fw_options()
4334 if (ha->mqenable || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla24xx_config_rings()
7281 ha->fce_dma, ha->fce_bufs, ha->fce_mb, in qla2x00_abort_isp()
9075 ha->fce_dma, ha->fce_bufs, ha->fce_mb, in qla82xx_restart_isp()
[all …]
A Dqla_attr.c212 ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); in qla2x00_sysfs_read_nvram()
271 ha->isp_ops->read_nvram(vha, ha->nvram, ha->nvram_base, in qla2x00_sysfs_write_nvram()
580 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
583 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
622 ha->isp_ops->read_nvram(vha, ha->vpd, ha->vpd_base, count); in qla2x00_sysfs_write_vpd()
748 if (IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) { in qla2x00_sysfs_write_reset()
1134 ha->product_id[0], ha->product_id[1], ha->product_id[2], in qla2x00_isp_id_show()
1368 if (!IS_QLA2031(ha) && !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_beacon_config_show()
1389 if (!IS_QLA2031(ha) && !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_beacon_config_store()
1549 if (!IS_QLA81XX(ha) && !IS_QLA8031(ha) && !IS_QLA8044(ha) && in qla2x00_mpi_version_show()
[all …]
A Dqla_mid.c36 mutex_lock(&ha->vport_lock); in qla24xx_allocate_vp_id()
37 vp_id = find_first_zero_bit(ha->vp_idx_map, ha->max_npiv_vports + 1); in qla24xx_allocate_vp_id()
47 ha->num_vhosts++; in qla24xx_allocate_vp_id()
103 ha->num_vhosts--; in qla24xx_deallocate_vp_id()
488 if (ha->num_vhosts > ha->max_npiv_vports) { in qla24xx_vport_create_req_sanity_check()
492 ha->num_vhosts, ha->max_npiv_vports); in qla24xx_vport_create_req_sanity_check()
531 ha->dpc_active = 0; in qla24xx_create_vhost()
567 ha->cur_vport_count++; in qla24xx_create_vhost()
738 que_id = find_first_zero_bit(ha->req_qid_map, ha->max_req_queues); in qla25xx_create_req_que()
861 que_id = find_first_zero_bit(ha->rsp_qid_map, ha->max_rsp_queues); in qla25xx_create_rsp_que()
[all …]
A Dqla_mr.c146 QLAFX00_SET_HST_INTR(ha, ha->mbx_intr_code); in qlafx00_mailbox_command()
155 QLAFX00_SET_HST_INTR(ha, ha->mbx_intr_code); in qlafx00_mailbox_command()
513 ha->chip_revision = ha->pdev->revision; in qlafx00_pci_config()
640 ha->isp_ops->disable_intrs(ha); in qlafx00_soft_reset()
796 ha->max_req_queues = ha->max_rsp_queues = 1; in qlafx00_iospace_config()
800 ha->bars, ha->cregbase, ha->iobase); in qlafx00_iospace_config()
1421 qla2x00_request_irqs(ha, ha->rsp_q_map[0]); in qlafx00_rescan_isp()
1435 ha->req_que_off, ha->rsp_que_len); in qlafx00_rescan_isp()
2796 ha->aenmb[0], ha->aenmb[1], ha->aenmb[2], ha->aenmb[3]); in qlafx00_async_event()
2831 ha->aenmb[0], ha->aenmb[1], ha->aenmb[2], ha->aenmb[3], in qlafx00_async_event()
[all …]
/linux/drivers/scsi/
A Dips.c697 free_irq(ha->pcidev->irq, ha); in ips_release()
925 ret = (*ha->func.reset) (ha); in __ips_eh_reset()
1237 (*ha->func.intr) (ha); in do_ipsintr()
2402 (*ha->func.statinit) (ha); in ips_hainit()
2405 (*ha->func.enableint) (ha); in ips_hainit()
4601 (*ha->func.reset) (ha); in ips_flush_and_reset()
5029 if ((*ha->func.init) (ha)) in ips_reset_copperhead()
5574 (*ha->func.intr) (ha); in ips_wait()
5791 memcpy(ha->conf, ha->ioctl_data, sizeof(*ha->conf)); in ips_read_config()
5828 memcpy(ha->ioctl_data, ha->nvram, sizeof(*ha->nvram)); in ips_readwrite_page5()
[all …]
A Dqla1280.c676 &bdp->name[0], ha->fwver1, ha->fwver2, ha->fwver3, in qla1280_info()
1096 qla1280_isr(ha, &ha->done_q); in qla1280_intr_handler()
1894 ha->request_ring_ptr = ha->request_ring; in qla1280_init_rings()
1909 ha->response_ring_ptr = ha->response_ring; in qla1280_init_rings()
2953 ha->request_ring_ptr = ha->request_ring; in qla1280_64bit_start_scsi()
3201 ha->request_ring_ptr = ha->request_ring; in qla1280_32bit_start_scsi()
3316 ha->request_ring_ptr = ha->request_ring; in qla1280_isp_cmd()
4300 ha->response_ring, ha->response_dma); in qla1280_probe_one()
4304 ha->request_ring, ha->request_dma); in qla1280_probe_one()
4334 ha->request_ring, ha->request_dma); in qla1280_remove_one()
[all …]
/linux/net/core/
A Ddev_addr_lists.c30 if (!ha) in __hw_addr_create()
39 return ha; in __hw_addr_create()
54 if (ha && !memcmp(addr, ha->addr, addr_len) && in __hw_addr_add_ex()
94 if (!ha) in __hw_addr_add_ex()
247 if (ha->sync_cnt == ha->refcount) { in __hw_addr_sync_multiple()
319 if (!ha->sync_cnt || ha->refcount != 1) in __hw_addr_sync_dev()
376 if ((ha->sync_cnt << 1) <= ha->refcount) in __hw_addr_ref_sync_dev()
380 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev()
392 if ((ha->sync_cnt << 1) >= ha->refcount) in __hw_addr_ref_sync_dev()
395 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev()
[all …]
/linux/drivers/scsi/libsas/
A Dsas_event.c32 struct sas_ha_struct *ha) in sas_queue_event() argument
38 rc = sas_queue_work(ha, work); in sas_queue_event()
52 spin_lock_irq(&ha->lock); in __sas_drain_work()
53 spin_unlock_irq(&ha->lock); in __sas_drain_work()
55 drain_workqueue(ha->event_q); in __sas_drain_work()
56 drain_workqueue(ha->disco_q); in __sas_drain_work()
58 spin_lock_irq(&ha->lock); in __sas_drain_work()
67 spin_unlock_irq(&ha->lock); in __sas_drain_work()
78 __sas_drain_work(ha); in sas_drain_work()
138 struct sas_ha_struct *ha = phy->ha; in sas_notify_port_event() local
[all …]

Completed in 215 milliseconds

12345678910>>...18