irq_ptr           262 drivers/s390/cio/qdio.h 	struct qdio_irq *irq_ptr;
irq_ptr           311 drivers/s390/cio/qdio.h #define queue_type(q)	q->irq_ptr->qib.qfmt
irq_ptr           312 drivers/s390/cio/qdio.h #define SCH_NO(q)	(q->irq_ptr->schid.sch_no)
irq_ptr           322 drivers/s390/cio/qdio.h 	struct qdio_irq *qdev = (__q)->irq_ptr;				\
irq_ptr           336 drivers/s390/cio/qdio.h 	return (q->irq_ptr->nr_output_qs > 1) &&
irq_ptr           337 drivers/s390/cio/qdio.h 	       (q->nr == q->irq_ptr->nr_output_qs - 1);
irq_ptr           341 drivers/s390/cio/qdio.h #define is_qebsm(q)			(q->irq_ptr->sch_token != 0)
irq_ptr           343 drivers/s390/cio/qdio.h #define need_siga_in(q)			(q->irq_ptr->siga_flag.input)
irq_ptr           344 drivers/s390/cio/qdio.h #define need_siga_out(q)		(q->irq_ptr->siga_flag.output)
irq_ptr           345 drivers/s390/cio/qdio.h #define need_siga_sync(q)		(unlikely(q->irq_ptr->siga_flag.sync))
irq_ptr           347 drivers/s390/cio/qdio.h 	(unlikely(q->irq_ptr->siga_flag.sync_after_ai))
irq_ptr           349 drivers/s390/cio/qdio.h 	(unlikely(q->irq_ptr->siga_flag.sync_out_after_pci))
irq_ptr           351 drivers/s390/cio/qdio.h #define for_each_input_queue(irq_ptr, q, i)		\
irq_ptr           352 drivers/s390/cio/qdio.h 	for (i = 0; i < irq_ptr->nr_input_qs &&		\
irq_ptr           353 drivers/s390/cio/qdio.h 		({ q = irq_ptr->input_qs[i]; 1; }); i++)
irq_ptr           354 drivers/s390/cio/qdio.h #define for_each_output_queue(irq_ptr, q, i)		\
irq_ptr           355 drivers/s390/cio/qdio.h 	for (i = 0; i < irq_ptr->nr_output_qs &&	\
irq_ptr           356 drivers/s390/cio/qdio.h 		({ q = irq_ptr->output_qs[i]; 1; }); i++)
irq_ptr           375 drivers/s390/cio/qdio.h void qdio_setup_thinint(struct qdio_irq *irq_ptr);
irq_ptr           376 drivers/s390/cio/qdio.h int qdio_establish_thinint(struct qdio_irq *irq_ptr);
irq_ptr           377 drivers/s390/cio/qdio.h void qdio_shutdown_thinint(struct qdio_irq *irq_ptr);
irq_ptr           378 drivers/s390/cio/qdio.h void tiqdio_add_input_queues(struct qdio_irq *irq_ptr);
irq_ptr           379 drivers/s390/cio/qdio.h void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr);
irq_ptr           394 drivers/s390/cio/qdio.h int qdio_allocate_qs(struct qdio_irq *irq_ptr, int nr_input_qs,
irq_ptr           396 drivers/s390/cio/qdio.h void qdio_setup_ssqd_info(struct qdio_irq *irq_ptr);
irq_ptr           397 drivers/s390/cio/qdio.h int qdio_setup_get_ssqd(struct qdio_irq *irq_ptr,
irq_ptr           401 drivers/s390/cio/qdio.h void qdio_print_subchannel_info(struct qdio_irq *irq_ptr,
irq_ptr           403 drivers/s390/cio/qdio.h void qdio_release_memory(struct qdio_irq *irq_ptr);
irq_ptr            62 drivers/s390/cio/qdio_debug.c 		       struct qdio_irq *irq_ptr)
irq_ptr            80 drivers/s390/cio/qdio_debug.c 	DBF_EVENT("irq:%8lx", (unsigned long)irq_ptr);
irq_ptr            85 drivers/s390/cio/qdio_debug.c 	irq_ptr->debug_area = qdio_get_dbf_entry(text);
irq_ptr            86 drivers/s390/cio/qdio_debug.c 	if (irq_ptr->debug_area)
irq_ptr            87 drivers/s390/cio/qdio_debug.c 		DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf reused");
irq_ptr            89 drivers/s390/cio/qdio_debug.c 		irq_ptr->debug_area = debug_register(text, 2, 1, 16);
irq_ptr            90 drivers/s390/cio/qdio_debug.c 		if (!irq_ptr->debug_area)
irq_ptr            92 drivers/s390/cio/qdio_debug.c 		if (debug_register_view(irq_ptr->debug_area,
irq_ptr            94 drivers/s390/cio/qdio_debug.c 			debug_unregister(irq_ptr->debug_area);
irq_ptr            97 drivers/s390/cio/qdio_debug.c 		debug_set_level(irq_ptr->debug_area, DBF_WARN);
irq_ptr            98 drivers/s390/cio/qdio_debug.c 		DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf created");
irq_ptr           101 drivers/s390/cio/qdio_debug.c 			debug_unregister(irq_ptr->debug_area);
irq_ptr           105 drivers/s390/cio/qdio_debug.c 		new_entry->dbf_info = irq_ptr->debug_area;
irq_ptr           131 drivers/s390/cio/qdio_debug.c 			   *(u8 *)q->irq_ptr->dsci,
irq_ptr           177 drivers/s390/cio/qdio_debug.c 	if (!q->irq_ptr->perf_stat_enabled) {
irq_ptr           223 drivers/s390/cio/qdio_debug.c 	struct qdio_irq *irq_ptr = m->private;
irq_ptr           227 drivers/s390/cio/qdio_debug.c 	if (!irq_ptr)
irq_ptr           229 drivers/s390/cio/qdio_debug.c 	if (!irq_ptr->perf_stat_enabled) {
irq_ptr           233 drivers/s390/cio/qdio_debug.c 	stat = (unsigned int *)&irq_ptr->perf_stat;
irq_ptr           245 drivers/s390/cio/qdio_debug.c 	struct qdio_irq *irq_ptr = seq->private;
irq_ptr           250 drivers/s390/cio/qdio_debug.c 	if (!irq_ptr)
irq_ptr           259 drivers/s390/cio/qdio_debug.c 		irq_ptr->perf_stat_enabled = 0;
irq_ptr           260 drivers/s390/cio/qdio_debug.c 		memset(&irq_ptr->perf_stat, 0, sizeof(irq_ptr->perf_stat));
irq_ptr           261 drivers/s390/cio/qdio_debug.c 		for_each_input_queue(irq_ptr, q, i)
irq_ptr           263 drivers/s390/cio/qdio_debug.c 		for_each_output_queue(irq_ptr, q, i)
irq_ptr           267 drivers/s390/cio/qdio_debug.c 		irq_ptr->perf_stat_enabled = 1;
irq_ptr           296 drivers/s390/cio/qdio_debug.c 				q->irq_ptr->debugfs_dev, q, &qstat_fops);
irq_ptr           301 drivers/s390/cio/qdio_debug.c void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev)
irq_ptr           306 drivers/s390/cio/qdio_debug.c 	irq_ptr->debugfs_dev = debugfs_create_dir(dev_name(&cdev->dev),
irq_ptr           308 drivers/s390/cio/qdio_debug.c 	if (IS_ERR(irq_ptr->debugfs_dev))
irq_ptr           309 drivers/s390/cio/qdio_debug.c 		irq_ptr->debugfs_dev = NULL;
irq_ptr           311 drivers/s390/cio/qdio_debug.c 	irq_ptr->debugfs_perf = debugfs_create_file("statistics",
irq_ptr           313 drivers/s390/cio/qdio_debug.c 				irq_ptr->debugfs_dev, irq_ptr,
irq_ptr           315 drivers/s390/cio/qdio_debug.c 	if (IS_ERR(irq_ptr->debugfs_perf))
irq_ptr           316 drivers/s390/cio/qdio_debug.c 		irq_ptr->debugfs_perf = NULL;
irq_ptr           318 drivers/s390/cio/qdio_debug.c 	for_each_input_queue(irq_ptr, q, i)
irq_ptr           320 drivers/s390/cio/qdio_debug.c 	for_each_output_queue(irq_ptr, q, i)
irq_ptr           324 drivers/s390/cio/qdio_debug.c void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr)
irq_ptr           329 drivers/s390/cio/qdio_debug.c 	for_each_input_queue(irq_ptr, q, i)
irq_ptr           331 drivers/s390/cio/qdio_debug.c 	for_each_output_queue(irq_ptr, q, i)
irq_ptr           333 drivers/s390/cio/qdio_debug.c 	debugfs_remove(irq_ptr->debugfs_perf);
irq_ptr           334 drivers/s390/cio/qdio_debug.c 	debugfs_remove(irq_ptr->debugfs_dev);
irq_ptr            68 drivers/s390/cio/qdio_debug.h 		       struct qdio_irq *irq_ptr);
irq_ptr            69 drivers/s390/cio/qdio_debug.h void qdio_setup_debug_entries(struct qdio_irq *irq_ptr,
irq_ptr            71 drivers/s390/cio/qdio_debug.h void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr);
irq_ptr           121 drivers/s390/cio/qdio_main.c 		nr += q->irq_ptr->nr_input_qs;
irq_ptr           123 drivers/s390/cio/qdio_main.c 	ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count,
irq_ptr           134 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS part:%02x",
irq_ptr           139 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq);
irq_ptr           145 drivers/s390/cio/qdio_main.c 		q->handler(q->irq_ptr->cdev, QDIO_ERROR_GET_BUF_STATE, q->nr,
irq_ptr           146 drivers/s390/cio/qdio_main.c 			   q->first_to_kick, count, q->irq_ptr->int_parm);
irq_ptr           174 drivers/s390/cio/qdio_main.c 		nr += q->irq_ptr->nr_input_qs;
irq_ptr           176 drivers/s390/cio/qdio_main.c 	ccq = do_sqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count);
irq_ptr           186 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "SQBS again:%2d", ccq);
irq_ptr           193 drivers/s390/cio/qdio_main.c 		q->handler(q->irq_ptr->cdev, QDIO_ERROR_SET_BUF_STATE, q->nr,
irq_ptr           194 drivers/s390/cio/qdio_main.c 			   q->first_to_kick, count, q->irq_ptr->int_parm);
irq_ptr           271 drivers/s390/cio/qdio_main.c static void qdio_init_buf_states(struct qdio_irq *irq_ptr)
irq_ptr           276 drivers/s390/cio/qdio_main.c 	for_each_input_queue(irq_ptr, q, i)
irq_ptr           279 drivers/s390/cio/qdio_main.c 	for_each_output_queue(irq_ptr, q, i)
irq_ptr           287 drivers/s390/cio/qdio_main.c 	unsigned long schid = *((u32 *) &q->irq_ptr->schid);
irq_ptr           291 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "siga-s:%1d", q->nr);
irq_ptr           295 drivers/s390/cio/qdio_main.c 		schid = q->irq_ptr->sch_token;
irq_ptr           316 drivers/s390/cio/qdio_main.c 	unsigned long schid = *((u32 *) &q->irq_ptr->schid);
irq_ptr           328 drivers/s390/cio/qdio_main.c 		schid = q->irq_ptr->sch_token;
irq_ptr           346 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_WARN, q->irq_ptr,
irq_ptr           348 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "count:%u", retries);
irq_ptr           355 drivers/s390/cio/qdio_main.c 	unsigned long schid = *((u32 *) &q->irq_ptr->schid);
irq_ptr           359 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "siga-r:%1d", q->nr);
irq_ptr           363 drivers/s390/cio/qdio_main.c 		schid = q->irq_ptr->sch_token;
irq_ptr           379 drivers/s390/cio/qdio_main.c 	if (pci_out_supported(q->irq_ptr))
irq_ptr           435 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "OUTFULL FTC:%02x", start);
irq_ptr           459 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in prim:%1d %02x", q->nr, count);
irq_ptr           528 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           535 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           541 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           543 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in nop:%1d %#02x",
irq_ptr           558 drivers/s390/cio/qdio_main.c 	if (count && !is_thinint_irq(q->irq_ptr) && MACHINE_IS_LPAR)
irq_ptr           579 drivers/s390/cio/qdio_main.c 	if (is_thinint_irq(q->irq_ptr))
irq_ptr           591 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in done:%02x", start);
irq_ptr           640 drivers/s390/cio/qdio_main.c 	if (unlikely(q->irq_ptr->state != QDIO_IRQ_STATE_ACTIVE))
irq_ptr           645 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "kih s:%02x c:%02x", start, count);
irq_ptr           648 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "koh: s:%02x c:%02x",
irq_ptr           652 drivers/s390/cio/qdio_main.c 	q->handler(q->irq_ptr->cdev, q->qdio_error, q->nr, start, count,
irq_ptr           653 drivers/s390/cio/qdio_main.c 		   q->irq_ptr->int_parm);
irq_ptr           662 drivers/s390/cio/qdio_main.c 	if (likely(q->irq_ptr->state == QDIO_IRQ_STATE_ACTIVE)) {
irq_ptr           717 drivers/s390/cio/qdio_main.c 		    !pci_out_supported(q->irq_ptr)) ||
irq_ptr           734 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr,
irq_ptr           738 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           744 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           749 drivers/s390/cio/qdio_main.c 		if (q->irq_ptr->perf_stat_enabled)
irq_ptr           751 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "out primed:%1d",
irq_ptr           776 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "out moved:%1d", q->nr);
irq_ptr           792 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "siga-w:%1d", q->nr);
irq_ptr           809 drivers/s390/cio/qdio_main.c 			DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "siga-w cc2:%1d", q->nr);
irq_ptr           840 drivers/s390/cio/qdio_main.c 	if (queue_type(q) == QDIO_ZFCP_QFMT && !pci_out_supported(q->irq_ptr) &&
irq_ptr           856 drivers/s390/cio/qdio_main.c 		    likely(q->irq_ptr->state == QDIO_IRQ_STATE_ACTIVE))
irq_ptr           901 drivers/s390/cio/qdio_main.c 	qdio_check_outbound_pci_queues(q->irq_ptr);
irq_ptr           934 drivers/s390/cio/qdio_main.c static inline void qdio_set_state(struct qdio_irq *irq_ptr,
irq_ptr           937 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, irq_ptr, "newstate: %1d", state);
irq_ptr           939 drivers/s390/cio/qdio_main.c 	irq_ptr->state = state;
irq_ptr           943 drivers/s390/cio/qdio_main.c static void qdio_irq_check_sense(struct qdio_irq *irq_ptr, struct irb *irb)
irq_ptr           946 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%4x sense:", irq_ptr->schid.sch_no);
irq_ptr           953 drivers/s390/cio/qdio_main.c static void qdio_int_handler_pci(struct qdio_irq *irq_ptr)
irq_ptr           958 drivers/s390/cio/qdio_main.c 	if (unlikely(irq_ptr->state != QDIO_IRQ_STATE_ACTIVE))
irq_ptr           961 drivers/s390/cio/qdio_main.c 	for_each_input_queue(irq_ptr, q, i) {
irq_ptr           969 drivers/s390/cio/qdio_main.c 			q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr,
irq_ptr           970 drivers/s390/cio/qdio_main.c 						 q->irq_ptr->int_parm);
irq_ptr           976 drivers/s390/cio/qdio_main.c 	if (!pci_out_supported(irq_ptr) || !irq_ptr->scan_threshold)
irq_ptr           979 drivers/s390/cio/qdio_main.c 	for_each_output_queue(irq_ptr, q, i) {
irq_ptr           991 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr           995 drivers/s390/cio/qdio_main.c 	DBF_ERROR("%4x ACT CHECK", irq_ptr->schid.sch_no);
irq_ptr           999 drivers/s390/cio/qdio_main.c 	if (irq_ptr->nr_input_qs) {
irq_ptr          1000 drivers/s390/cio/qdio_main.c 		q = irq_ptr->input_qs[0];
irq_ptr          1001 drivers/s390/cio/qdio_main.c 	} else if (irq_ptr->nr_output_qs) {
irq_ptr          1002 drivers/s390/cio/qdio_main.c 		q = irq_ptr->output_qs[0];
irq_ptr          1009 drivers/s390/cio/qdio_main.c 	q->handler(q->irq_ptr->cdev, QDIO_ERROR_ACTIVATE,
irq_ptr          1010 drivers/s390/cio/qdio_main.c 		   q->nr, q->first_to_kick, count, irq_ptr->int_parm);
irq_ptr          1012 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_STOPPED);
irq_ptr          1023 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1025 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, irq_ptr, "qest irq");
irq_ptr          1033 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_ESTABLISHED);
irq_ptr          1037 drivers/s390/cio/qdio_main.c 	DBF_ERROR("%4x EQ:error", irq_ptr->schid.sch_no);
irq_ptr          1039 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_ERR);
irq_ptr          1046 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1050 drivers/s390/cio/qdio_main.c 	if (!intparm || !irq_ptr) {
irq_ptr          1056 drivers/s390/cio/qdio_main.c 	if (irq_ptr->perf_stat_enabled)
irq_ptr          1057 drivers/s390/cio/qdio_main.c 		irq_ptr->perf_stat.qdio_int++;
irq_ptr          1060 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%4x IO error", irq_ptr->schid.sch_no);
irq_ptr          1061 drivers/s390/cio/qdio_main.c 		qdio_set_state(irq_ptr, QDIO_IRQ_STATE_ERR);
irq_ptr          1065 drivers/s390/cio/qdio_main.c 	qdio_irq_check_sense(irq_ptr, irb);
irq_ptr          1069 drivers/s390/cio/qdio_main.c 	switch (irq_ptr->state) {
irq_ptr          1074 drivers/s390/cio/qdio_main.c 		qdio_set_state(irq_ptr, QDIO_IRQ_STATE_INACTIVE);
irq_ptr          1079 drivers/s390/cio/qdio_main.c 			qdio_int_handler_pci(irq_ptr);
irq_ptr          1118 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1122 drivers/s390/cio/qdio_main.c 	for_each_input_queue(irq_ptr, q, i)
irq_ptr          1125 drivers/s390/cio/qdio_main.c 	for_each_output_queue(irq_ptr, q, i) {
irq_ptr          1138 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1142 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1149 drivers/s390/cio/qdio_main.c 	mutex_lock(&irq_ptr->setup_mutex);
irq_ptr          1154 drivers/s390/cio/qdio_main.c 	if (irq_ptr->state == QDIO_IRQ_STATE_INACTIVE) {
irq_ptr          1155 drivers/s390/cio/qdio_main.c 		mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1163 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_STOPPED);
irq_ptr          1165 drivers/s390/cio/qdio_main.c 	tiqdio_remove_input_queues(irq_ptr);
irq_ptr          1167 drivers/s390/cio/qdio_main.c 	qdio_shutdown_debug_entries(irq_ptr);
irq_ptr          1178 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%4x SHUTD ERR", irq_ptr->schid.sch_no);
irq_ptr          1183 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_CLEANUP);
irq_ptr          1186 drivers/s390/cio/qdio_main.c 		irq_ptr->state == QDIO_IRQ_STATE_INACTIVE ||
irq_ptr          1187 drivers/s390/cio/qdio_main.c 		irq_ptr->state == QDIO_IRQ_STATE_ERR,
irq_ptr          1192 drivers/s390/cio/qdio_main.c 	qdio_shutdown_thinint(irq_ptr);
irq_ptr          1196 drivers/s390/cio/qdio_main.c 		cdev->handler = irq_ptr->orig_handler;
irq_ptr          1201 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_INACTIVE);
irq_ptr          1202 drivers/s390/cio/qdio_main.c 	mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1215 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1218 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1223 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_ERR, irq_ptr, "dbf abandoned");
irq_ptr          1224 drivers/s390/cio/qdio_main.c 	mutex_lock(&irq_ptr->setup_mutex);
irq_ptr          1226 drivers/s390/cio/qdio_main.c 	irq_ptr->debug_area = NULL;
irq_ptr          1228 drivers/s390/cio/qdio_main.c 	mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1230 drivers/s390/cio/qdio_main.c 	qdio_release_memory(irq_ptr);
irq_ptr          1242 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr;
irq_ptr          1260 drivers/s390/cio/qdio_main.c 	irq_ptr = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
irq_ptr          1261 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1264 drivers/s390/cio/qdio_main.c 	mutex_init(&irq_ptr->setup_mutex);
irq_ptr          1265 drivers/s390/cio/qdio_main.c 	if (qdio_allocate_dbf(init_data, irq_ptr))
irq_ptr          1274 drivers/s390/cio/qdio_main.c 	irq_ptr->chsc_page = get_zeroed_page(GFP_KERNEL);
irq_ptr          1275 drivers/s390/cio/qdio_main.c 	if (!irq_ptr->chsc_page)
irq_ptr          1279 drivers/s390/cio/qdio_main.c 	irq_ptr->qdr = (struct qdr *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
irq_ptr          1280 drivers/s390/cio/qdio_main.c 	if (!irq_ptr->qdr)
irq_ptr          1283 drivers/s390/cio/qdio_main.c 	if (qdio_allocate_qs(irq_ptr, init_data->no_input_qs,
irq_ptr          1287 drivers/s390/cio/qdio_main.c 	init_data->cdev->private->qdio_data = irq_ptr;
irq_ptr          1288 drivers/s390/cio/qdio_main.c 	qdio_set_state(irq_ptr, QDIO_IRQ_STATE_INACTIVE);
irq_ptr          1291 drivers/s390/cio/qdio_main.c 	qdio_release_memory(irq_ptr);
irq_ptr          1297 drivers/s390/cio/qdio_main.c static void qdio_detect_hsicq(struct qdio_irq *irq_ptr)
irq_ptr          1299 drivers/s390/cio/qdio_main.c 	struct qdio_q *q = irq_ptr->input_qs[0];
irq_ptr          1302 drivers/s390/cio/qdio_main.c 	if (irq_ptr->nr_input_qs > 1 && queue_type(q) == QDIO_IQDIO_QFMT)
irq_ptr          1305 drivers/s390/cio/qdio_main.c 	for_each_output_queue(irq_ptr, q, i) {
irq_ptr          1327 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr;
irq_ptr          1333 drivers/s390/cio/qdio_main.c 	irq_ptr = cdev->private->qdio_data;
irq_ptr          1334 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1337 drivers/s390/cio/qdio_main.c 	mutex_lock(&irq_ptr->setup_mutex);
irq_ptr          1340 drivers/s390/cio/qdio_main.c 	rc = qdio_establish_thinint(irq_ptr);
irq_ptr          1342 drivers/s390/cio/qdio_main.c 		mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1348 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.cmd_code = irq_ptr->equeue.cmd;
irq_ptr          1349 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.flags = CCW_FLAG_SLI;
irq_ptr          1350 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.count = irq_ptr->equeue.count;
irq_ptr          1351 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.cda = (u32)((addr_t)irq_ptr->qdr);
irq_ptr          1356 drivers/s390/cio/qdio_main.c 	rc = ccw_device_start(cdev, &irq_ptr->ccw, QDIO_DOING_ESTABLISH, 0, 0);
irq_ptr          1359 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%4x est IO ERR", irq_ptr->schid.sch_no);
irq_ptr          1361 drivers/s390/cio/qdio_main.c 		mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1367 drivers/s390/cio/qdio_main.c 		irq_ptr->state == QDIO_IRQ_STATE_ESTABLISHED ||
irq_ptr          1368 drivers/s390/cio/qdio_main.c 		irq_ptr->state == QDIO_IRQ_STATE_ERR, HZ);
irq_ptr          1370 drivers/s390/cio/qdio_main.c 	if (irq_ptr->state != QDIO_IRQ_STATE_ESTABLISHED) {
irq_ptr          1371 drivers/s390/cio/qdio_main.c 		mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1376 drivers/s390/cio/qdio_main.c 	qdio_setup_ssqd_info(irq_ptr);
irq_ptr          1378 drivers/s390/cio/qdio_main.c 	qdio_detect_hsicq(irq_ptr);
irq_ptr          1381 drivers/s390/cio/qdio_main.c 	qdio_init_buf_states(irq_ptr);
irq_ptr          1383 drivers/s390/cio/qdio_main.c 	mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1384 drivers/s390/cio/qdio_main.c 	qdio_print_subchannel_info(irq_ptr, cdev);
irq_ptr          1385 drivers/s390/cio/qdio_main.c 	qdio_setup_debug_entries(irq_ptr, cdev);
irq_ptr          1397 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr;
irq_ptr          1403 drivers/s390/cio/qdio_main.c 	irq_ptr = cdev->private->qdio_data;
irq_ptr          1404 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1407 drivers/s390/cio/qdio_main.c 	mutex_lock(&irq_ptr->setup_mutex);
irq_ptr          1408 drivers/s390/cio/qdio_main.c 	if (irq_ptr->state == QDIO_IRQ_STATE_INACTIVE) {
irq_ptr          1413 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.cmd_code = irq_ptr->aqueue.cmd;
irq_ptr          1414 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.flags = CCW_FLAG_SLI;
irq_ptr          1415 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.count = irq_ptr->aqueue.count;
irq_ptr          1416 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.cda = 0;
irq_ptr          1421 drivers/s390/cio/qdio_main.c 	rc = ccw_device_start(cdev, &irq_ptr->ccw, QDIO_DOING_ACTIVATE,
irq_ptr          1425 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%4x act IO ERR", irq_ptr->schid.sch_no);
irq_ptr          1430 drivers/s390/cio/qdio_main.c 	if (is_thinint_irq(irq_ptr))
irq_ptr          1431 drivers/s390/cio/qdio_main.c 		tiqdio_add_input_queues(irq_ptr);
irq_ptr          1436 drivers/s390/cio/qdio_main.c 	switch (irq_ptr->state) {
irq_ptr          1442 drivers/s390/cio/qdio_main.c 		qdio_set_state(irq_ptr, QDIO_IRQ_STATE_ACTIVE);
irq_ptr          1446 drivers/s390/cio/qdio_main.c 	mutex_unlock(&irq_ptr->setup_mutex);
irq_ptr          1531 drivers/s390/cio/qdio_main.c 	const unsigned int scan_threshold = q->irq_ptr->scan_threshold;
irq_ptr          1580 drivers/s390/cio/qdio_main.c 		    likely(q->irq_ptr->state == QDIO_IRQ_STATE_ACTIVE))
irq_ptr          1596 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr;
irq_ptr          1601 drivers/s390/cio/qdio_main.c 	irq_ptr = cdev->private->qdio_data;
irq_ptr          1602 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1605 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, irq_ptr,
irq_ptr          1608 drivers/s390/cio/qdio_main.c 	if (irq_ptr->state != QDIO_IRQ_STATE_ACTIVE)
irq_ptr          1613 drivers/s390/cio/qdio_main.c 		return handle_inbound(irq_ptr->input_qs[q_nr],
irq_ptr          1616 drivers/s390/cio/qdio_main.c 		return handle_outbound(irq_ptr->output_qs[q_nr],
irq_ptr          1634 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1636 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1638 drivers/s390/cio/qdio_main.c 	q = irq_ptr->input_qs[nr];
irq_ptr          1640 drivers/s390/cio/qdio_main.c 	clear_nonshared_ind(irq_ptr);
irq_ptr          1648 drivers/s390/cio/qdio_main.c 	if (test_nonshared_ind(irq_ptr))
irq_ptr          1688 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1691 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1693 drivers/s390/cio/qdio_main.c 	q = is_input ? irq_ptr->input_qs[nr] : irq_ptr->output_qs[nr];
irq_ptr          1718 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1720 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1722 drivers/s390/cio/qdio_main.c 	q = irq_ptr->input_qs[nr];
irq_ptr          1731 drivers/s390/cio/qdio_main.c 	qdio_check_outbound_pci_queues(irq_ptr);
irq_ptr          1734 drivers/s390/cio/qdio_main.c 	if (unlikely(q->irq_ptr->state != QDIO_IRQ_STATE_ACTIVE))
irq_ptr          1753 drivers/s390/cio/qdio_main.c 	struct qdio_irq *irq_ptr = cdev->private->qdio_data;
irq_ptr          1755 drivers/s390/cio/qdio_main.c 	if (!irq_ptr)
irq_ptr          1757 drivers/s390/cio/qdio_main.c 	q = irq_ptr->input_qs[nr];
irq_ptr           102 drivers/s390/cio/qdio_setup.c static void set_impl_params(struct qdio_irq *irq_ptr,
irq_ptr           111 drivers/s390/cio/qdio_setup.c 	if (!irq_ptr)
irq_ptr           114 drivers/s390/cio/qdio_setup.c 	irq_ptr->qib.pfmt = qib_param_field_format;
irq_ptr           116 drivers/s390/cio/qdio_setup.c 		memcpy(irq_ptr->qib.parm, qib_param_field,
irq_ptr           117 drivers/s390/cio/qdio_setup.c 		       sizeof(irq_ptr->qib.parm));
irq_ptr           122 drivers/s390/cio/qdio_setup.c 	for_each_input_queue(irq_ptr, q, i) {
irq_ptr           131 drivers/s390/cio/qdio_setup.c 	for_each_output_queue(irq_ptr, q, i) {
irq_ptr           159 drivers/s390/cio/qdio_setup.c int qdio_allocate_qs(struct qdio_irq *irq_ptr, int nr_input_qs, int nr_output_qs)
irq_ptr           163 drivers/s390/cio/qdio_setup.c 	rc = __qdio_allocate_qs(irq_ptr->input_qs, nr_input_qs);
irq_ptr           166 drivers/s390/cio/qdio_setup.c 	rc = __qdio_allocate_qs(irq_ptr->output_qs, nr_output_qs);
irq_ptr           170 drivers/s390/cio/qdio_setup.c static void setup_queues_misc(struct qdio_q *q, struct qdio_irq *irq_ptr,
irq_ptr           179 drivers/s390/cio/qdio_setup.c 	q->irq_ptr = irq_ptr;
irq_ptr           186 drivers/s390/cio/qdio_setup.c static void setup_storage_lists(struct qdio_q *q, struct qdio_irq *irq_ptr,
irq_ptr           201 drivers/s390/cio/qdio_setup.c 		prev = (q->is_input_q) ? irq_ptr->input_qs[i - 1]
irq_ptr           202 drivers/s390/cio/qdio_setup.c 			: irq_ptr->output_qs[i - 1];
irq_ptr           214 drivers/s390/cio/qdio_setup.c static void setup_queues(struct qdio_irq *irq_ptr,
irq_ptr           224 drivers/s390/cio/qdio_setup.c 	for_each_input_queue(irq_ptr, q, i) {
irq_ptr           226 drivers/s390/cio/qdio_setup.c 		setup_queues_misc(q, irq_ptr, qdio_init->input_handler, i);
irq_ptr           232 drivers/s390/cio/qdio_setup.c 		setup_storage_lists(q, irq_ptr, input_sbal_array, i);
irq_ptr           235 drivers/s390/cio/qdio_setup.c 		if (is_thinint_irq(irq_ptr)) {
irq_ptr           244 drivers/s390/cio/qdio_setup.c 	for_each_output_queue(irq_ptr, q, i) {
irq_ptr           246 drivers/s390/cio/qdio_setup.c 		setup_queues_misc(q, irq_ptr, qdio_init->output_handler, i);
irq_ptr           252 drivers/s390/cio/qdio_setup.c 		setup_storage_lists(q, irq_ptr, output_sbal_array, i);
irq_ptr           261 drivers/s390/cio/qdio_setup.c static void process_ac_flags(struct qdio_irq *irq_ptr, unsigned char qdioac)
irq_ptr           264 drivers/s390/cio/qdio_setup.c 		irq_ptr->siga_flag.input = 1;
irq_ptr           266 drivers/s390/cio/qdio_setup.c 		irq_ptr->siga_flag.output = 1;
irq_ptr           268 drivers/s390/cio/qdio_setup.c 		irq_ptr->siga_flag.sync = 1;
irq_ptr           270 drivers/s390/cio/qdio_setup.c 		irq_ptr->siga_flag.sync_after_ai = 1;
irq_ptr           272 drivers/s390/cio/qdio_setup.c 		irq_ptr->siga_flag.sync_out_after_pci = 1;
irq_ptr           275 drivers/s390/cio/qdio_setup.c static void check_and_setup_qebsm(struct qdio_irq *irq_ptr,
irq_ptr           278 drivers/s390/cio/qdio_setup.c 	if (!(irq_ptr->qib.rflags & QIB_RFLAGS_ENABLE_QEBSM))
irq_ptr           284 drivers/s390/cio/qdio_setup.c 	irq_ptr->sch_token = token;
irq_ptr           287 drivers/s390/cio/qdio_setup.c 	DBF_EVENT("%8lx", irq_ptr->sch_token);
irq_ptr           291 drivers/s390/cio/qdio_setup.c 	irq_ptr->sch_token = 0;
irq_ptr           292 drivers/s390/cio/qdio_setup.c 	irq_ptr->qib.rflags &= ~QIB_RFLAGS_ENABLE_QEBSM;
irq_ptr           300 drivers/s390/cio/qdio_setup.c int qdio_setup_get_ssqd(struct qdio_irq *irq_ptr,
irq_ptr           308 drivers/s390/cio/qdio_setup.c 	if (!irq_ptr) {
irq_ptr           313 drivers/s390/cio/qdio_setup.c 		ssqd = (struct chsc_ssqd_area *)irq_ptr->chsc_page;
irq_ptr           329 drivers/s390/cio/qdio_setup.c 	if (!irq_ptr)
irq_ptr           335 drivers/s390/cio/qdio_setup.c void qdio_setup_ssqd_info(struct qdio_irq *irq_ptr)
irq_ptr           340 drivers/s390/cio/qdio_setup.c 	rc = qdio_setup_get_ssqd(irq_ptr, &irq_ptr->schid, &irq_ptr->ssqd_desc);
irq_ptr           342 drivers/s390/cio/qdio_setup.c 		DBF_ERROR("%4x ssqd ERR", irq_ptr->schid.sch_no);
irq_ptr           348 drivers/s390/cio/qdio_setup.c 		qdioac = irq_ptr->ssqd_desc.qdioac1;
irq_ptr           350 drivers/s390/cio/qdio_setup.c 	check_and_setup_qebsm(irq_ptr, qdioac, irq_ptr->ssqd_desc.sch_token);
irq_ptr           351 drivers/s390/cio/qdio_setup.c 	process_ac_flags(irq_ptr, qdioac);
irq_ptr           352 drivers/s390/cio/qdio_setup.c 	DBF_EVENT("ac 1:%2x 2:%4x", qdioac, irq_ptr->ssqd_desc.qdioac2);
irq_ptr           353 drivers/s390/cio/qdio_setup.c 	DBF_EVENT("3:%4x qib:%4x", irq_ptr->ssqd_desc.qdioac3, irq_ptr->qib.ac);
irq_ptr           356 drivers/s390/cio/qdio_setup.c void qdio_release_memory(struct qdio_irq *irq_ptr)
irq_ptr           366 drivers/s390/cio/qdio_setup.c 		q = irq_ptr->input_qs[i];
irq_ptr           373 drivers/s390/cio/qdio_setup.c 		q = irq_ptr->output_qs[i];
irq_ptr           392 drivers/s390/cio/qdio_setup.c 	free_page((unsigned long) irq_ptr->qdr);
irq_ptr           393 drivers/s390/cio/qdio_setup.c 	free_page(irq_ptr->chsc_page);
irq_ptr           394 drivers/s390/cio/qdio_setup.c 	free_page((unsigned long) irq_ptr);
irq_ptr           397 drivers/s390/cio/qdio_setup.c static void __qdio_allocate_fill_qdr(struct qdio_irq *irq_ptr,
irq_ptr           401 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].sliba =
irq_ptr           404 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].sla =
irq_ptr           407 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].slsba =
irq_ptr           410 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].akey = PAGE_DEFAULT_KEY >> 4;
irq_ptr           411 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].bkey = PAGE_DEFAULT_KEY >> 4;
irq_ptr           412 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].ckey = PAGE_DEFAULT_KEY >> 4;
irq_ptr           413 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qdf0[i + nr].dkey = PAGE_DEFAULT_KEY >> 4;
irq_ptr           416 drivers/s390/cio/qdio_setup.c static void setup_qdr(struct qdio_irq *irq_ptr,
irq_ptr           421 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qfmt = qdio_init->q_format;
irq_ptr           422 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->ac = qdio_init->qdr_ac;
irq_ptr           423 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->iqdcnt = qdio_init->no_input_qs;
irq_ptr           424 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->oqdcnt = qdio_init->no_output_qs;
irq_ptr           425 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->iqdsz = sizeof(struct qdesfmt0) / 4; /* size in words */
irq_ptr           426 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->oqdsz = sizeof(struct qdesfmt0) / 4;
irq_ptr           427 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qiba = (unsigned long)&irq_ptr->qib;
irq_ptr           428 drivers/s390/cio/qdio_setup.c 	irq_ptr->qdr->qkey = PAGE_DEFAULT_KEY >> 4;
irq_ptr           431 drivers/s390/cio/qdio_setup.c 		__qdio_allocate_fill_qdr(irq_ptr, irq_ptr->input_qs, i, 0);
irq_ptr           434 drivers/s390/cio/qdio_setup.c 		__qdio_allocate_fill_qdr(irq_ptr, irq_ptr->output_qs, i,
irq_ptr           438 drivers/s390/cio/qdio_setup.c static void setup_qib(struct qdio_irq *irq_ptr,
irq_ptr           442 drivers/s390/cio/qdio_setup.c 		irq_ptr->qib.rflags |= QIB_RFLAGS_ENABLE_QEBSM;
irq_ptr           444 drivers/s390/cio/qdio_setup.c 	irq_ptr->qib.rflags |= init_data->qib_rflags;
irq_ptr           446 drivers/s390/cio/qdio_setup.c 	irq_ptr->qib.qfmt = init_data->q_format;
irq_ptr           448 drivers/s390/cio/qdio_setup.c 		irq_ptr->qib.isliba =
irq_ptr           449 drivers/s390/cio/qdio_setup.c 			(unsigned long)(irq_ptr->input_qs[0]->slib);
irq_ptr           451 drivers/s390/cio/qdio_setup.c 		irq_ptr->qib.osliba =
irq_ptr           452 drivers/s390/cio/qdio_setup.c 			(unsigned long)(irq_ptr->output_qs[0]->slib);
irq_ptr           453 drivers/s390/cio/qdio_setup.c 	memcpy(irq_ptr->qib.ebcnam, init_data->adapter_name, 8);
irq_ptr           459 drivers/s390/cio/qdio_setup.c 	struct qdio_irq *irq_ptr = init_data->cdev->private->qdio_data;
irq_ptr           461 drivers/s390/cio/qdio_setup.c 	memset(&irq_ptr->qib, 0, sizeof(irq_ptr->qib));
irq_ptr           462 drivers/s390/cio/qdio_setup.c 	memset(&irq_ptr->siga_flag, 0, sizeof(irq_ptr->siga_flag));
irq_ptr           463 drivers/s390/cio/qdio_setup.c 	memset(&irq_ptr->ccw, 0, sizeof(irq_ptr->ccw));
irq_ptr           464 drivers/s390/cio/qdio_setup.c 	memset(&irq_ptr->ssqd_desc, 0, sizeof(irq_ptr->ssqd_desc));
irq_ptr           465 drivers/s390/cio/qdio_setup.c 	memset(&irq_ptr->perf_stat, 0, sizeof(irq_ptr->perf_stat));
irq_ptr           467 drivers/s390/cio/qdio_setup.c 	irq_ptr->debugfs_dev = irq_ptr->debugfs_perf = NULL;
irq_ptr           468 drivers/s390/cio/qdio_setup.c 	irq_ptr->sch_token = irq_ptr->state = irq_ptr->perf_stat_enabled = 0;
irq_ptr           471 drivers/s390/cio/qdio_setup.c 	memset(irq_ptr->qdr, 0, sizeof(struct qdr));
irq_ptr           473 drivers/s390/cio/qdio_setup.c 	irq_ptr->int_parm = init_data->int_parm;
irq_ptr           474 drivers/s390/cio/qdio_setup.c 	irq_ptr->nr_input_qs = init_data->no_input_qs;
irq_ptr           475 drivers/s390/cio/qdio_setup.c 	irq_ptr->nr_output_qs = init_data->no_output_qs;
irq_ptr           476 drivers/s390/cio/qdio_setup.c 	irq_ptr->cdev = init_data->cdev;
irq_ptr           477 drivers/s390/cio/qdio_setup.c 	irq_ptr->scan_threshold = init_data->scan_threshold;
irq_ptr           478 drivers/s390/cio/qdio_setup.c 	ccw_device_get_schid(irq_ptr->cdev, &irq_ptr->schid);
irq_ptr           479 drivers/s390/cio/qdio_setup.c 	setup_queues(irq_ptr, init_data);
irq_ptr           481 drivers/s390/cio/qdio_setup.c 	setup_qib(irq_ptr, init_data);
irq_ptr           482 drivers/s390/cio/qdio_setup.c 	qdio_setup_thinint(irq_ptr);
irq_ptr           483 drivers/s390/cio/qdio_setup.c 	set_impl_params(irq_ptr, init_data->qib_param_field_format,
irq_ptr           489 drivers/s390/cio/qdio_setup.c 	setup_qdr(irq_ptr, init_data);
irq_ptr           496 drivers/s390/cio/qdio_setup.c 		DBF_ERROR("%4x NO EQ", irq_ptr->schid.sch_no);
irq_ptr           499 drivers/s390/cio/qdio_setup.c 	irq_ptr->equeue = *ciw;
irq_ptr           503 drivers/s390/cio/qdio_setup.c 		DBF_ERROR("%4x NO AQ", irq_ptr->schid.sch_no);
irq_ptr           506 drivers/s390/cio/qdio_setup.c 	irq_ptr->aqueue = *ciw;
irq_ptr           509 drivers/s390/cio/qdio_setup.c 	spin_lock_irq(get_ccwdev_lock(irq_ptr->cdev));
irq_ptr           510 drivers/s390/cio/qdio_setup.c 	irq_ptr->orig_handler = init_data->cdev->handler;
irq_ptr           512 drivers/s390/cio/qdio_setup.c 	spin_unlock_irq(get_ccwdev_lock(irq_ptr->cdev));
irq_ptr           516 drivers/s390/cio/qdio_setup.c void qdio_print_subchannel_info(struct qdio_irq *irq_ptr,
irq_ptr           524 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->qib.qfmt == QDIO_QETH_QFMT) ? "OSA" :
irq_ptr           525 drivers/s390/cio/qdio_setup.c 			((irq_ptr->qib.qfmt == QDIO_ZFCP_QFMT) ? "ZFCP" : "HS"),
irq_ptr           526 drivers/s390/cio/qdio_setup.c 		 irq_ptr->schid.sch_no,
irq_ptr           527 drivers/s390/cio/qdio_setup.c 		 is_thinint_irq(irq_ptr),
irq_ptr           528 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->sch_token) ? 1 : 0,
irq_ptr           529 drivers/s390/cio/qdio_setup.c 		 pci_out_supported(irq_ptr) ? 1 : 0,
irq_ptr           531 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->siga_flag.input) ? "R" : " ",
irq_ptr           532 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->siga_flag.output) ? "W" : " ",
irq_ptr           533 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->siga_flag.sync) ? "S" : " ",
irq_ptr           534 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->siga_flag.sync_after_ai) ? "A" : " ",
irq_ptr           535 drivers/s390/cio/qdio_setup.c 		 (irq_ptr->siga_flag.sync_out_after_pci) ? "P" : " ");
irq_ptr            77 drivers/s390/cio/qdio_thinint.c void tiqdio_add_input_queues(struct qdio_irq *irq_ptr)
irq_ptr            80 drivers/s390/cio/qdio_thinint.c 	list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list);
irq_ptr            84 drivers/s390/cio/qdio_thinint.c void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr)
irq_ptr            88 drivers/s390/cio/qdio_thinint.c 	q = irq_ptr->input_qs[0];
irq_ptr            99 drivers/s390/cio/qdio_thinint.c static inline int has_multiple_inq_on_dsci(struct qdio_irq *irq_ptr)
irq_ptr           101 drivers/s390/cio/qdio_thinint.c 	return irq_ptr->nr_input_qs > 1;
irq_ptr           104 drivers/s390/cio/qdio_thinint.c static inline int references_shared_dsci(struct qdio_irq *irq_ptr)
irq_ptr           106 drivers/s390/cio/qdio_thinint.c 	return irq_ptr->dsci == &q_indicators[TIQDIO_SHARED_IND].ind;
irq_ptr           109 drivers/s390/cio/qdio_thinint.c static inline int shared_ind(struct qdio_irq *irq_ptr)
irq_ptr           111 drivers/s390/cio/qdio_thinint.c 	return references_shared_dsci(irq_ptr) ||
irq_ptr           112 drivers/s390/cio/qdio_thinint.c 		has_multiple_inq_on_dsci(irq_ptr);
irq_ptr           115 drivers/s390/cio/qdio_thinint.c void clear_nonshared_ind(struct qdio_irq *irq_ptr)
irq_ptr           117 drivers/s390/cio/qdio_thinint.c 	if (!is_thinint_irq(irq_ptr))
irq_ptr           119 drivers/s390/cio/qdio_thinint.c 	if (shared_ind(irq_ptr))
irq_ptr           121 drivers/s390/cio/qdio_thinint.c 	xchg(irq_ptr->dsci, 0);
irq_ptr           124 drivers/s390/cio/qdio_thinint.c int test_nonshared_ind(struct qdio_irq *irq_ptr)
irq_ptr           126 drivers/s390/cio/qdio_thinint.c 	if (!is_thinint_irq(irq_ptr))
irq_ptr           128 drivers/s390/cio/qdio_thinint.c 	if (shared_ind(irq_ptr))
irq_ptr           130 drivers/s390/cio/qdio_thinint.c 	if (*irq_ptr->dsci)
irq_ptr           198 drivers/s390/cio/qdio_thinint.c 		irq = q->irq_ptr;
irq_ptr           212 drivers/s390/cio/qdio_thinint.c static int set_subchannel_ind(struct qdio_irq *irq_ptr, int reset)
irq_ptr           214 drivers/s390/cio/qdio_thinint.c 	struct chsc_scssc_area *scssc = (void *)irq_ptr->chsc_page;
irq_ptr           223 drivers/s390/cio/qdio_thinint.c 		subchannel_indicator_addr = virt_to_phys(irq_ptr->dsci);
irq_ptr           226 drivers/s390/cio/qdio_thinint.c 	rc = chsc_sadc(irq_ptr->schid, scssc, summary_indicator_addr,
irq_ptr           229 drivers/s390/cio/qdio_thinint.c 		DBF_ERROR("%4x SSI r:%4x", irq_ptr->schid.sch_no,
irq_ptr           269 drivers/s390/cio/qdio_thinint.c int qdio_establish_thinint(struct qdio_irq *irq_ptr)
irq_ptr           271 drivers/s390/cio/qdio_thinint.c 	if (!is_thinint_irq(irq_ptr))
irq_ptr           273 drivers/s390/cio/qdio_thinint.c 	return set_subchannel_ind(irq_ptr, 0);
irq_ptr           276 drivers/s390/cio/qdio_thinint.c void qdio_setup_thinint(struct qdio_irq *irq_ptr)
irq_ptr           278 drivers/s390/cio/qdio_thinint.c 	if (!is_thinint_irq(irq_ptr))
irq_ptr           280 drivers/s390/cio/qdio_thinint.c 	irq_ptr->dsci = get_indicator();
irq_ptr           281 drivers/s390/cio/qdio_thinint.c 	DBF_HEX(&irq_ptr->dsci, sizeof(void *));
irq_ptr           284 drivers/s390/cio/qdio_thinint.c void qdio_shutdown_thinint(struct qdio_irq *irq_ptr)
irq_ptr           286 drivers/s390/cio/qdio_thinint.c 	if (!is_thinint_irq(irq_ptr))
irq_ptr           290 drivers/s390/cio/qdio_thinint.c 	set_subchannel_ind(irq_ptr, 1);
irq_ptr           291 drivers/s390/cio/qdio_thinint.c 	put_indicator(irq_ptr->dsci);