• Home
  • Raw
  • Download

Lines Matching +full:sync +full:- +full:token

1 /* SPDX-License-Identifier: GPL-2.0 */
72 /* additional CIWs returned by extended Sense-ID */
88 static inline int do_sqbs(u64 token, unsigned char state, int queue, in do_sqbs() argument
95 " lgr 1,%[token]\n" in do_sqbs()
98 : [state] "a" ((unsigned long)state), [token] "d" (token) in do_sqbs()
106 static inline int do_eqbs(u64 token, unsigned char *state, int queue, in do_eqbs() argument
114 " lgr 1,%[token]\n" in do_eqbs()
118 : [token] "d" (token) in do_eqbs()
132 u8 sync:1; member
169 /* Sorted into order-2 buckets: 1, 2-3, 4-7, ... 64-127, 128. */
201 * sbal[] is read-only and starts on a new cacheline followed by read mostly.
240 /* upper-layer program handler */
265 struct siga_flag siga_flag; /* siga sync information from qdioac */
297 #define queue_type(q) q->irq_ptr->qib.qfmt
298 #define SCH_NO(q) (q->irq_ptr->schid.sch_no)
301 (irq->qib.qfmt == QDIO_IQDIO_QFMT || \
304 #define qperf(__qdev, __attr) ((__qdev)->perf_stat.(__attr))
309 if (qdev->perf_stat_enabled) \
310 (qdev->perf_stat.__attr)++; \
313 #define qperf_inc(__q, __attr) QDIO_PERF_STAT_INC((__q)->irq_ptr, __attr)
317 q->q_stats.nr_sbal_error += count; in account_sbals_error()
318 q->q_stats.nr_sbal_total += count; in account_sbals_error()
324 return (q->irq_ptr->nr_output_qs > 1) && in multicast_outbound()
325 (q->nr == q->irq_ptr->nr_output_qs - 1); in multicast_outbound()
328 #define pci_out_supported(irq) ((irq)->qib.ac & QIB_AC_OUTBOUND_PCI_SUPPORTED)
329 #define is_qebsm(q) (q->irq_ptr->sch_token != 0)
331 #define need_siga_in(q) (q->irq_ptr->siga_flag.input)
332 #define need_siga_out(q) (q->irq_ptr->siga_flag.output)
333 #define need_siga_sync(q) (unlikely(q->irq_ptr->siga_flag.sync))
335 (unlikely(q->irq_ptr->siga_flag.sync_after_ai))
337 (unlikely(q->irq_ptr->siga_flag.sync_out_after_pci))
340 for (i = 0; i < irq_ptr->nr_input_qs && \
341 ({ q = irq_ptr->input_qs[i]; 1; }); i++)
343 for (i = 0; i < irq_ptr->nr_output_qs && \
344 ({ q = irq_ptr->output_qs[i]; 1; }); i++)
348 #define sub_buf(bufnr, dec) QDIO_BUFNR((bufnr) - (dec))
352 (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) == 0)
354 (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) != 0)