Searched refs:irq_ptr (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/drivers/s390/cio/ |
D | qdio_setup.c | 53 static void set_impl_params(struct qdio_irq *irq_ptr, in set_impl_params() argument 62 if (!irq_ptr) in set_impl_params() 65 irq_ptr->qib.pfmt = qib_param_field_format; in set_impl_params() 67 memcpy(irq_ptr->qib.parm, qib_param_field, in set_impl_params() 73 for_each_input_queue(irq_ptr, q, i) { in set_impl_params() 82 for_each_output_queue(irq_ptr, q, i) { in set_impl_params() 109 int qdio_allocate_qs(struct qdio_irq *irq_ptr, int nr_input_qs, int nr_output_qs) in qdio_allocate_qs() argument 113 rc = __qdio_allocate_qs(irq_ptr->input_qs, nr_input_qs); in qdio_allocate_qs() 116 rc = __qdio_allocate_qs(irq_ptr->output_qs, nr_output_qs); in qdio_allocate_qs() 120 static void setup_queues_misc(struct qdio_q *q, struct qdio_irq *irq_ptr, in setup_queues_misc() argument [all …]
|
D | qdio_thinint.c | 75 void tiqdio_add_input_queues(struct qdio_irq *irq_ptr) in tiqdio_add_input_queues() argument 78 BUG_ON(irq_ptr->nr_input_qs < 1); in tiqdio_add_input_queues() 79 list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list); in tiqdio_add_input_queues() 81 xchg(irq_ptr->dsci, 1 << 7); in tiqdio_add_input_queues() 84 void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr) in tiqdio_remove_input_queues() argument 88 BUG_ON(irq_ptr->nr_input_qs < 1); in tiqdio_remove_input_queues() 89 q = irq_ptr->input_qs[0]; in tiqdio_remove_input_queues() 100 static inline int has_multiple_inq_on_dsci(struct qdio_irq *irq_ptr) in has_multiple_inq_on_dsci() argument 102 return irq_ptr->nr_input_qs > 1; in has_multiple_inq_on_dsci() 105 static inline int references_shared_dsci(struct qdio_irq *irq_ptr) in references_shared_dsci() argument [all …]
|
D | qdio_main.c | 136 BUG_ON(!q->irq_ptr->sch_token); in qdio_do_eqbs() 140 nr += q->irq_ptr->nr_input_qs; in qdio_do_eqbs() 142 ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, in qdio_do_eqbs() 149 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); in qdio_do_eqbs() 156 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS part:%02x", in qdio_do_eqbs() 170 q->handler(q->irq_ptr->cdev, QDIO_ERROR_ACTIVATE_CHECK_CONDITION, in qdio_do_eqbs() 171 q->nr, q->first_to_kick, count, q->irq_ptr->int_parm); in qdio_do_eqbs() 197 BUG_ON(!q->irq_ptr->sch_token); in qdio_do_sqbs() 201 nr += q->irq_ptr->nr_input_qs; in qdio_do_sqbs() 203 ccq = do_sqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count); in qdio_do_sqbs() [all …]
|
D | qdio_debug.c | 23 struct qdio_irq *irq_ptr) in qdio_allocate_dbf() argument 40 DBF_EVENT("irq:%8lx", (unsigned long)irq_ptr); in qdio_allocate_dbf() 44 irq_ptr->debug_area = debug_register(text, 2, 1, 16); in qdio_allocate_dbf() 45 debug_register_view(irq_ptr->debug_area, &debug_hex_ascii_view); in qdio_allocate_dbf() 46 debug_set_level(irq_ptr->debug_area, DBF_WARN); in qdio_allocate_dbf() 47 DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf created"); in qdio_allocate_dbf() 69 *(u32 *)q->irq_ptr->dsci, in qstat_show() 115 if (!q->irq_ptr->perf_stat_enabled) { in qstat_show() 173 struct qdio_irq *irq_ptr = m->private; in qperf_show() local 177 if (!irq_ptr) in qperf_show() [all …]
|
D | qdio.h | 309 struct qdio_irq *irq_ptr; member 357 #define queue_type(q) q->irq_ptr->qib.qfmt 358 #define SCH_NO(q) (q->irq_ptr->schid.sch_no) 368 struct qdio_irq *qdev = (__q)->irq_ptr; \ 382 return (q->irq_ptr->nr_output_qs > 1) && in multicast_outbound() 383 (q->nr == q->irq_ptr->nr_output_qs - 1); in multicast_outbound() 387 (q->irq_ptr->qib.ac & QIB_AC_OUTBOUND_PCI_SUPPORTED) 388 #define is_qebsm(q) (q->irq_ptr->sch_token != 0) 390 #define need_siga_in(q) (q->irq_ptr->siga_flag.input) 391 #define need_siga_out(q) (q->irq_ptr->siga_flag.output) [all …]
|
D | qdio_debug.h | 75 struct qdio_irq *irq_ptr); 76 void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, 78 void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr,
|