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.
70 return im_portp->p; in bfad_get_im_port()
91 struct bfad_im_s *im; member
127 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
128 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \
130 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \
131 spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
144 * 'unsigned long aen_tv_sec' overflows in y2106 on 32-bit in bfad_im_post_vendor_event()
148 entry->aen_tv_sec = ts.tv_sec; in bfad_im_post_vendor_event()
149 entry->aen_tv_usec = ts.tv_nsec / NSEC_PER_USEC; in bfad_im_post_vendor_event()
150 entry->bfad_num = drv->inst_no; in bfad_im_post_vendor_event()
151 entry->seq_num = cnt; in bfad_im_post_vendor_event()
152 entry->aen_category = cat; in bfad_im_post_vendor_event()
153 entry->aen_type = evt; in bfad_im_post_vendor_event()
154 if (drv->bfad_flags & BFAD_FC4_PROBE_DONE) in bfad_im_post_vendor_event()
155 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()
161 void bfad_destroy_workq(struct bfad_im_s *im);
186 * Macro to set the SCSI device sdev_bflags - sdev_bflags are used by the
187 * SCSI mid-layer to choose LUN Scanning mode REPORT_LUNS vs. Sequential Scan
196 list_for_each_entry(__itnim, &((__im_port)->itnim_mapped_list), \
198 __sdev = scsi_device_lookup((__im_port)->shost, \
199 __itnim->channel, \
200 __itnim->scsi_tgt_id, 0); \
203 __sdev->sdev_bflags |= scan_flags; \
205 __sdev->sdev_bflags &= ~scan_flags; \