Lines Matching +full:im +full:-

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
47 * struct bfad_cmd_priv - private data per SCSI command.
86 return im_portp->p; in bfad_get_im_port()
107 struct bfad_im_s *im; member
143 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
144 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \
146 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \
147 spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
160 * 'unsigned long aen_tv_sec' overflows in y2106 on 32-bit in bfad_im_post_vendor_event()
164 entry->aen_tv_sec = ts.tv_sec; in bfad_im_post_vendor_event()
165 entry->aen_tv_usec = ts.tv_nsec / NSEC_PER_USEC; in bfad_im_post_vendor_event()
166 entry->bfad_num = drv->inst_no; in bfad_im_post_vendor_event()
167 entry->seq_num = cnt; in bfad_im_post_vendor_event()
168 entry->aen_category = cat; in bfad_im_post_vendor_event()
169 entry->aen_type = evt; in bfad_im_post_vendor_event()
170 if (drv->bfad_flags & BFAD_FC4_PROBE_DONE) in bfad_im_post_vendor_event()
171 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()
177 void bfad_destroy_workq(struct bfad_im_s *im);
202 * Macro to set the SCSI device sdev_bflags - sdev_bflags are used by the
203 * SCSI mid-layer to choose LUN Scanning mode REPORT_LUNS vs. Sequential Scan
212 list_for_each_entry(__itnim, &((__im_port)->itnim_mapped_list), \
214 __sdev = scsi_device_lookup((__im_port)->shost, \
215 __itnim->channel, \
216 __itnim->scsi_tgt_id, 0); \
219 __sdev->sdev_bflags |= scan_flags; \
221 __sdev->sdev_bflags &= ~scan_flags; \