Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/cio/ !
Dqdio_setup.c91 void qdio_free_queues(struct qdio_irq *irq_ptr) in qdio_free_queues() argument
93 __qdio_free_queues(irq_ptr->input_qs, irq_ptr->max_input_qs); in qdio_free_queues()
94 irq_ptr->max_input_qs = 0; in qdio_free_queues()
96 __qdio_free_queues(irq_ptr->output_qs, irq_ptr->max_output_qs); in qdio_free_queues()
97 irq_ptr->max_output_qs = 0; in qdio_free_queues()
123 int qdio_allocate_qs(struct qdio_irq *irq_ptr, int nr_input_qs, int nr_output_qs) in qdio_allocate_qs() argument
127 rc = __qdio_allocate_qs(irq_ptr->input_qs, nr_input_qs); in qdio_allocate_qs()
131 rc = __qdio_allocate_qs(irq_ptr->output_qs, nr_output_qs); in qdio_allocate_qs()
133 __qdio_free_queues(irq_ptr->input_qs, nr_input_qs); in qdio_allocate_qs()
137 irq_ptr->max_input_qs = nr_input_qs; in qdio_allocate_qs()
[all …]
Dqdio_main.c125 nr += q->irq_ptr->nr_input_qs; in qdio_do_eqbs()
127 ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, in qdio_do_eqbs()
138 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "EQBS part:%02x", in qdio_do_eqbs()
143 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); in qdio_do_eqbs()
149 q->handler(q->irq_ptr->cdev, QDIO_ERROR_GET_BUF_STATE, q->nr, in qdio_do_eqbs()
150 q->first_to_check, count, q->irq_ptr->int_parm); in qdio_do_eqbs()
176 nr += q->irq_ptr->nr_input_qs; in qdio_do_sqbs()
178 ccq = do_sqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count); in qdio_do_sqbs()
188 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "SQBS again:%2d", ccq); in qdio_do_sqbs()
195 q->handler(q->irq_ptr->cdev, QDIO_ERROR_SET_BUF_STATE, q->nr, in qdio_do_sqbs()
[all …]
Dqdio_debug.c61 int qdio_allocate_dbf(struct qdio_irq *irq_ptr) in qdio_allocate_dbf() argument
66 DBF_EVENT("irq:%8lx", (unsigned long)irq_ptr); in qdio_allocate_dbf()
70 dev_name(&irq_ptr->cdev->dev)); in qdio_allocate_dbf()
71 irq_ptr->debug_area = qdio_get_dbf_entry(text); in qdio_allocate_dbf()
72 if (irq_ptr->debug_area) in qdio_allocate_dbf()
73 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf reused"); in qdio_allocate_dbf()
75 irq_ptr->debug_area = debug_register(text, 2, 1, 16); in qdio_allocate_dbf()
76 if (!irq_ptr->debug_area) in qdio_allocate_dbf()
78 if (debug_register_view(irq_ptr->debug_area, in qdio_allocate_dbf()
80 debug_unregister(irq_ptr->debug_area); in qdio_allocate_dbf()
[all …]
Dqdio_thinint.c70 static inline int references_shared_dsci(struct qdio_irq *irq_ptr) in references_shared_dsci() argument
72 return irq_ptr->dsci == &q_indicators[TIQDIO_SHARED_IND].ind; in references_shared_dsci()
75 int test_nonshared_ind(struct qdio_irq *irq_ptr) in test_nonshared_ind() argument
77 if (!is_thinint_irq(irq_ptr)) in test_nonshared_ind()
79 if (references_shared_dsci(irq_ptr)) in test_nonshared_ind()
81 if (*irq_ptr->dsci) in test_nonshared_ind()
137 static int set_subchannel_ind(struct qdio_irq *irq_ptr, int reset) in set_subchannel_ind() argument
139 struct chsc_scssc_area *scssc = (void *)irq_ptr->chsc_page; in set_subchannel_ind()
148 subchannel_indicator_addr = virt_to_phys(irq_ptr->dsci); in set_subchannel_ind()
151 rc = chsc_sadc(irq_ptr->schid, scssc, summary_indicator_addr, in set_subchannel_ind()
[all …]
Dqdio.h212 struct qdio_irq *irq_ptr; member
264 #define queue_type(q) q->irq_ptr->qib.qfmt
265 #define SCH_NO(q) (q->irq_ptr->schid.sch_no)
280 #define qperf_inc(__q, __attr) QDIO_PERF_STAT_INC((__q)->irq_ptr, __attr)
291 return (q->irq_ptr->nr_output_qs > 1) && in multicast_outbound()
292 (q->nr == q->irq_ptr->nr_output_qs - 1); in multicast_outbound()
304 #define is_qebsm(q) (q->irq_ptr->sch_token != 0)
310 #define for_each_input_queue(irq_ptr, q, i) \ argument
311 for (i = 0; i < irq_ptr->nr_input_qs && \
312 ({ q = irq_ptr->input_qs[i]; 1; }); i++)
[all …]
Dqdio_debug.h67 int qdio_allocate_dbf(struct qdio_irq *irq_ptr);
68 void qdio_setup_debug_entries(struct qdio_irq *irq_ptr);
69 void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr);