Home
last modified time | relevance | path

Searched refs:irq_ptr (Results 1 – 6 of 6) sorted by relevance

/drivers/s390/cio/
Dqdio_setup.c101 static void set_impl_params(struct qdio_irq *irq_ptr, in set_impl_params() argument
110 if (!irq_ptr) in set_impl_params()
113 irq_ptr->qib.pfmt = qib_param_field_format; in set_impl_params()
115 memcpy(irq_ptr->qib.parm, qib_param_field, in set_impl_params()
121 for_each_input_queue(irq_ptr, q, i) { in set_impl_params()
130 for_each_output_queue(irq_ptr, q, i) { in set_impl_params()
157 int qdio_allocate_qs(struct qdio_irq *irq_ptr, int nr_input_qs, int nr_output_qs) in qdio_allocate_qs() argument
161 rc = __qdio_allocate_qs(irq_ptr->input_qs, nr_input_qs); in qdio_allocate_qs()
164 rc = __qdio_allocate_qs(irq_ptr->output_qs, nr_output_qs); in qdio_allocate_qs()
168 static void setup_queues_misc(struct qdio_q *q, struct qdio_irq *irq_ptr, in setup_queues_misc() argument
[all …]
Dqdio_thinint.c78 void tiqdio_add_input_queues(struct qdio_irq *irq_ptr) in tiqdio_add_input_queues() argument
81 list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list); in tiqdio_add_input_queues()
83 xchg(irq_ptr->dsci, 1 << 7); in tiqdio_add_input_queues()
86 void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr) in tiqdio_remove_input_queues() argument
90 q = irq_ptr->input_qs[0]; in tiqdio_remove_input_queues()
101 static inline int has_multiple_inq_on_dsci(struct qdio_irq *irq_ptr) in has_multiple_inq_on_dsci() argument
103 return irq_ptr->nr_input_qs > 1; in has_multiple_inq_on_dsci()
106 static inline int references_shared_dsci(struct qdio_irq *irq_ptr) in references_shared_dsci() argument
108 return irq_ptr->dsci == &q_indicators[TIQDIO_SHARED_IND].ind; in references_shared_dsci()
111 static inline int shared_ind(struct qdio_irq *irq_ptr) in shared_ind() argument
[all …]
Dqdio_main.c135 nr += q->irq_ptr->nr_input_qs; in qdio_do_eqbs()
137 ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, in qdio_do_eqbs()
144 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); in qdio_do_eqbs()
150 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS part:%02x", in qdio_do_eqbs()
157 q->handler(q->irq_ptr->cdev, QDIO_ERROR_GET_BUF_STATE, in qdio_do_eqbs()
158 q->nr, q->first_to_kick, count, q->irq_ptr->int_parm); in qdio_do_eqbs()
186 nr += q->irq_ptr->nr_input_qs; in qdio_do_sqbs()
188 ccq = do_sqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count); in qdio_do_sqbs()
196 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "SQBS again:%2d", ccq); in qdio_do_sqbs()
203 q->handler(q->irq_ptr->cdev, QDIO_ERROR_SET_BUF_STATE, in qdio_do_sqbs()
[all …]
Dqdio_debug.c61 struct qdio_irq *irq_ptr) in qdio_allocate_dbf() argument
79 DBF_EVENT("irq:%8lx", (unsigned long)irq_ptr); in qdio_allocate_dbf()
84 irq_ptr->debug_area = qdio_get_dbf_entry(text); in qdio_allocate_dbf()
85 if (irq_ptr->debug_area) in qdio_allocate_dbf()
86 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf reused"); in qdio_allocate_dbf()
88 irq_ptr->debug_area = debug_register(text, 2, 1, 16); in qdio_allocate_dbf()
89 if (!irq_ptr->debug_area) in qdio_allocate_dbf()
91 if (debug_register_view(irq_ptr->debug_area, in qdio_allocate_dbf()
93 debug_unregister(irq_ptr->debug_area); in qdio_allocate_dbf()
96 debug_set_level(irq_ptr->debug_area, DBF_WARN); in qdio_allocate_dbf()
[all …]
Dqdio.h266 struct qdio_irq *irq_ptr; member
314 #define queue_type(q) q->irq_ptr->qib.qfmt
315 #define SCH_NO(q) (q->irq_ptr->schid.sch_no)
325 struct qdio_irq *qdev = (__q)->irq_ptr; \
339 return (q->irq_ptr->nr_output_qs > 1) && in multicast_outbound()
340 (q->nr == q->irq_ptr->nr_output_qs - 1); in multicast_outbound()
344 (q->irq_ptr->qib.ac & QIB_AC_OUTBOUND_PCI_SUPPORTED)
345 #define is_qebsm(q) (q->irq_ptr->sch_token != 0)
347 #define need_siga_in(q) (q->irq_ptr->siga_flag.input)
348 #define need_siga_out(q) (q->irq_ptr->siga_flag.output)
[all …]
Dqdio_debug.h79 struct qdio_irq *irq_ptr);
80 void qdio_setup_debug_entries(struct qdio_irq *irq_ptr,
82 void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr);