Lines Matching +full:ts +full:- +full:series
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()
142 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
143 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \
145 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \
146 spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
155 struct timespec64 ts; in bfad_im_post_vendor_event() local
157 ktime_get_real_ts64(&ts); in bfad_im_post_vendor_event()
159 * 'unsigned long aen_tv_sec' overflows in y2106 on 32-bit in bfad_im_post_vendor_event()
163 entry->aen_tv_sec = ts.tv_sec; in bfad_im_post_vendor_event()
164 entry->aen_tv_usec = ts.tv_nsec / NSEC_PER_USEC; in bfad_im_post_vendor_event()
165 entry->bfad_num = drv->inst_no; in bfad_im_post_vendor_event()
166 entry->seq_num = cnt; in bfad_im_post_vendor_event()
167 entry->aen_category = cat; in bfad_im_post_vendor_event()
168 entry->aen_type = evt; in bfad_im_post_vendor_event()
169 if (drv->bfad_flags & BFAD_FC4_PROBE_DONE) in bfad_im_post_vendor_event()
170 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()