/linux-6.3-rc2/drivers/scsi/qla4xxx/ |
A D | ql4_init.c | 92 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 D | ql4_isr.c | 487 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 D | ql4_83xx.c | 333 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 D | ql4_glbl.h | 12 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 D | ql4_nx.c | 3278 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 D | ql4_nvram.c | 14 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 D | ql4_mbx.c | 42 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 D | ql4_iocb.c | 21 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 D | ql4_attr.c | 19 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 D | ql4_os.c | 1821 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 D | ql4_bsg.c | 29 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 D | ql4_dbg.c | 36 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 D | ql4_inline.h | 26 (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 …]
|
A D | ql4_def.h | 273 struct scsi_qla_host *ha; member 296 struct scsi_qla_host *ha; member 885 return is_qla4032(ha) || is_qla4022(ha) || is_qla4010(ha); in is_qla40XX() 905 return is_qla8022(ha) || is_qla8032(ha) || is_qla8042(ha); in is_qla80XX() 929 return (is_qla4010(ha) ? in isp_semaphore() 936 return (is_qla4010(ha) ? in isp_nvram() 943 return (is_qla4010(ha) ? in isp_ext_hw_conf() 950 return (is_qla4010(ha) ? in isp_port_status() 957 return (is_qla4010(ha) ? in isp_port_ctrl() 1058 return ha->isp_ops->rd_reg_direct(ha, ha->reg_tbl[crb_reg]); in qla4_8xxx_rd_direct() [all …]
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_sup.c | 27 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 D | qla_nx.c | 1645 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 D | qla_os.c | 426 ha->base_qpair->hw = ha; in qla_init_base_qpair() 440 if (IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha)) in qla_init_base_qpair() 2804 ha->device_type, ha->port_no, ha->fw_srisc_address); in qla2x00_set_isp_flags() 2992 if (IS_QLA24XX(ha) || IS_QLA25XX(ha) || IS_QLA81XX(ha) || in qla2x00_probe_one() 2993 IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) in qla2x00_probe_one() 3202 ha->isp_ops, ha->flash_conf_off, ha->flash_data_off, in qla2x00_probe_one() 3359 if (ha->mqenable || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla2x00_probe_one() 3886 if (IS_QLA25XX(ha) || IS_QLA2031(ha) || IS_QLA27XX(ha) || in qla2x00_remove_one() 4198 ha->init_cb, ha->gid_list, ha->srb_mempool, ha->s_dma_pool); in qla2x00_mem_alloc() 4468 ha->flt, ha->flt_dma); in qla2x00_mem_alloc() [all …]
|
A D | qla_dfs.c | 223 dma_free_coherent(&ha->pdev->dev, qla2x00_gid_list_size(ha), in qla2x00_dfs_tgt_port_database_show() 407 ha->fce_mb[0], ha->fce_mb[2], ha->fce_mb[3], ha->fce_mb[4], in qla2x00_dfs_fce_show() 408 ha->fce_mb[5], ha->fce_mb[6]); in qla2x00_dfs_fce_show() 467 memset(ha->fce, 0, fce_calc_size(ha->fce_bufs)); in qla2x00_dfs_fce_release() 468 rval = qla2x00_enable_fce_trace(vha, ha->fce_dma, ha->fce_bufs, in qla2x00_dfs_fce_release() 469 ha->fce_mb, &ha->fce_bufs); in qla2x00_dfs_fce_release() 610 if (!(IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha))) { in qla_dfs_naqp_write() 661 if (!IS_QLA25XX(ha) && !IS_QLA81XX(ha) && !IS_QLA83XX(ha) && in qla2x00_dfs_setup() 662 !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_dfs_setup() 664 if (!ha->fce) in qla2x00_dfs_setup() [all …]
|
A D | qla_init.c | 2905 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_reset_chip() 2930 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_reset_chip() 3318 if (IS_QLA2100(ha) || IS_QLA2200(ha) || IS_QLA2300(ha)) { in qla2x00_chip_diag() 4207 if (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA6312(ha)) { in qla2x00_update_fw_options() 4225 if (IS_QLA2300(ha) || IS_QLA2312(ha) || IS_QLA6312(ha)) { in qla2x00_update_fw_options() 4290 if (IS_QLA25XX(ha) || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla24xx_update_fw_options() 4404 if (ha->mqenable || IS_QLA83XX(ha) || IS_QLA27XX(ha) || in qla24xx_config_rings() 4941 if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA2300(ha)) in qla2x00_nvram_config() 7309 ha->fce_dma, ha->fce_bufs, ha->fce_mb, in qla2x00_abort_isp() 9107 ha->fce_dma, ha->fce_bufs, ha->fce_mb, in qla82xx_restart_isp() [all …]
|
A D | qla_attr.c | 212 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() 1131 ha->product_id[0], ha->product_id[1], ha->product_id[2], in qla2x00_isp_id_show() 1365 if (!IS_QLA2031(ha) && !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_beacon_config_show() 1386 if (!IS_QLA2031(ha) && !IS_QLA27XX(ha) && !IS_QLA28XX(ha)) in qla2x00_beacon_config_store() 1471 ha->fw_revision[0], ha->fw_revision[1], ha->fw_revision[2], in qla2x00_optrom_fw_version_show() 1546 if (!IS_QLA81XX(ha) && !IS_QLA8031(ha) && !IS_QLA8044(ha) && in qla2x00_mpi_version_show() [all …]
|
A D | qla_mr.c | 146 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() 2797 ha->aenmb[0], ha->aenmb[1], ha->aenmb[2], ha->aenmb[3]); in qlafx00_async_event() 2832 ha->aenmb[0], ha->aenmb[1], ha->aenmb[2], ha->aenmb[3], in qlafx00_async_event() [all …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | ips.c | 699 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() 2401 (*ha->func.statinit) (ha); in ips_hainit() 2404 (*ha->func.enableint) (ha); in ips_hainit() 4598 (*ha->func.reset) (ha); in ips_flush_and_reset() 5026 if ((*ha->func.init) (ha)) in ips_reset_copperhead() 5571 (*ha->func.intr) (ha); in ips_wait() 5788 memcpy(ha->conf, ha->ioctl_data, sizeof(*ha->conf)); in ips_read_config() 5825 memcpy(ha->ioctl_data, ha->nvram, sizeof(*ha->nvram)); in ips_readwrite_page5() [all …]
|
A D | qla1280.c | 669 &bdp->name[0], ha->fwver1, ha->fwver2, ha->fwver3, in qla1280_info() 1089 qla1280_isr(ha, &ha->done_q); in qla1280_intr_handler() 1887 ha->request_ring_ptr = ha->request_ring; in qla1280_init_rings() 1902 ha->response_ring_ptr = ha->response_ring; in qla1280_init_rings() 2946 ha->request_ring_ptr = ha->request_ring; in qla1280_64bit_start_scsi() 3194 ha->request_ring_ptr = ha->request_ring; in qla1280_32bit_start_scsi() 3309 ha->request_ring_ptr = ha->request_ring; in qla1280_isp_cmd() 4292 ha->response_ring, ha->response_dma); in qla1280_probe_one() 4296 ha->request_ring, ha->request_dma); in qla1280_probe_one() 4326 ha->request_ring, ha->request_dma); in qla1280_remove_one() [all …]
|
/linux-6.3-rc2/drivers/scsi/libsas/ |
A D | sas_event.c | 45 spin_lock_irq(&ha->lock); in sas_queue_deferred_work() 50 pm_runtime_put(ha->dev); in sas_queue_deferred_work() 61 spin_lock_irq(&ha->lock); in __sas_drain_work() 79 __sas_drain_work(ha); in sas_drain_work() 128 struct sas_ha_struct *ha = phy->ha; in sas_port_event_worker() local 131 pm_runtime_put(ha->dev); in sas_port_event_worker() 139 struct sas_ha_struct *ha = phy->ha; in sas_phy_event_worker() local 142 pm_runtime_put(ha->dev); in sas_phy_event_worker() 149 struct sas_ha_struct *ha = phy->ha; in sas_defer_event() local 167 struct sas_ha_struct *ha = phy->ha; in sas_notify_port_event() local [all …]
|
/linux-6.3-rc2/net/core/ |
A D | dev_addr_lists.c | 61 if (!ha) in __hw_addr_create() 70 return ha; in __hw_addr_create() 119 if (!ha) in __hw_addr_add_ex() 198 if (!ha) in __hw_addr_del_ex() 253 if (ha->sync_cnt == ha->refcount) { in __hw_addr_sync_multiple() 325 if (!ha->sync_cnt || ha->refcount != 1) in __hw_addr_sync_dev() 382 if ((ha->sync_cnt << 1) <= ha->refcount) in __hw_addr_ref_sync_dev() 386 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev() 398 if ((ha->sync_cnt << 1) >= ha->refcount) in __hw_addr_ref_sync_dev() 401 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev() [all …]
|