/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_qdio.c | 26 static void zfcp_qdio_handler_error(struct zfcp_qdio *qdio, char *dbftag, in zfcp_qdio_handler_error() argument 29 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_handler_error() 54 static inline void zfcp_qdio_account(struct zfcp_qdio *qdio) in zfcp_qdio_account() argument 60 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account() 61 used = QDIO_MAX_BUFFERS_PER_Q - atomic_read(&qdio->req_q_free); in zfcp_qdio_account() 62 qdio->req_q_util += used * span; in zfcp_qdio_account() 63 qdio->req_q_time = now; in zfcp_qdio_account() 70 struct zfcp_qdio *qdio = (struct zfcp_qdio *) parm; in zfcp_qdio_int_req() local 72 zfcp_qdio_handler_error(qdio, "qdireq1", qdio_err); in zfcp_qdio_int_req() 77 struct zfcp_qdio *qdio = from_tasklet(qdio, tasklet, request_tasklet); in zfcp_qdio_request_tasklet() local [all …]
|
D | zfcp_qdio.h | 86 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument 88 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 98 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument 100 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 117 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument 121 int count = min(atomic_read(&qdio->req_q_free), in zfcp_qdio_req_init() 124 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init() 131 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_req_init() 154 void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_fill_next() argument 159 BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); in zfcp_qdio_fill_next() [all …]
|
D | zfcp_fsf.c | 836 static struct zfcp_fsf_req *zfcp_fsf_req_create(struct zfcp_qdio *qdio, in zfcp_fsf_req_create() argument 840 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_fsf_req_create() 876 zfcp_qdio_req_init(adapter->qdio, &req->qdio_req, req->req_id, sbtype, in zfcp_fsf_req_create() 886 struct zfcp_qdio *qdio = adapter->qdio; in zfcp_fsf_req_send() local 891 req->qdio_req.qdio_outb_usage = atomic_read(&qdio->req_q_free); in zfcp_fsf_req_send() 893 if (zfcp_qdio_send(qdio, &req->qdio_req)) { in zfcp_fsf_req_send() 926 int zfcp_fsf_status_read(struct zfcp_qdio *qdio) in zfcp_fsf_status_read() argument 928 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_fsf_status_read() 934 spin_lock_irq(&qdio->req_q_lock); in zfcp_fsf_status_read() 935 if (zfcp_qdio_sbal_get(qdio)) in zfcp_fsf_status_read() [all …]
|
D | zfcp_diag.c | 126 rc = zfcp_fsf_exchange_port_data_sync(adapter->qdio, NULL); in zfcp_diag_update_port_data_buffer() 156 rc = zfcp_fsf_exchange_config_data_sync(adapter->qdio, NULL); in zfcp_diag_update_config_data_buffer()
|
D | zfcp_sysfs.c | 715 retval = zfcp_fsf_exchange_port_data_sync(adapter->qdio, qtcb_port); in zfcp_sysfs_adapter_util_show() 741 retval = zfcp_fsf_exchange_config_data_sync(adapter->qdio, qtcb_config); in zfcp_sysfs_adapter_ex_config() 782 struct zfcp_qdio *qdio = in zfcp_sysfs_adapter_q_full_show() local 783 ((struct zfcp_adapter *) scsi_host->hostdata[0])->qdio; in zfcp_sysfs_adapter_q_full_show() 786 spin_lock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show() 787 util = qdio->req_q_util; in zfcp_sysfs_adapter_q_full_show() 788 spin_unlock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show() 790 return sprintf(buf, "%d %llu\n", atomic_read(&qdio->req_q_full), in zfcp_sysfs_adapter_q_full_show()
|
D | zfcp_aux.c | 277 if (zfcp_fsf_status_read(adapter->qdio)) { in zfcp_status_read_refill() 300 zfcp_fsf_exchange_config_data_sync(adapter->qdio, NULL); in zfcp_version_change_lost_work() 440 zfcp_qdio_destroy(adapter->qdio); in zfcp_adapter_enqueue() 462 zfcp_qdio_destroy(adapter->qdio); in zfcp_adapter_unregister()
|
D | zfcp_scsi.c | 497 zfcp_qdio_shost_update(adapter, adapter->qdio); in zfcp_scsi_adapter_register() 629 ret = zfcp_fsf_exchange_port_data_sync(adapter->qdio, data); in zfcp_scsi_get_fc_host_stats() 658 ret = zfcp_fsf_exchange_port_data_sync(adapter->qdio, data); in zfcp_scsi_reset_fc_host_stats() 841 shost->sg_prot_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot() 842 shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot()
|
D | zfcp_def.h | 154 struct zfcp_qdio *qdio; member
|
D | zfcp_ext.h | 157 const struct zfcp_qdio *const qdio);
|
D | zfcp_erp.c | 905 zfcp_qdio_close(adapter->qdio); in zfcp_erp_adapter_strategy_close() 921 if (zfcp_qdio_open(adapter->qdio)) { in zfcp_erp_adapter_strategy_open()
|
/linux-6.1.9/drivers/s390/net/ |
D | qeth_core_sys.c | 72 if (card->qdio.in_buf_size == 16384) in qeth_get_bufsize_str() 74 else if (card->qdio.in_buf_size == 24576) in qeth_get_bufsize_str() 76 else if (card->qdio.in_buf_size == 32768) in qeth_get_bufsize_str() 78 else if (card->qdio.in_buf_size == 40960) in qeth_get_bufsize_str() 158 switch (card->qdio.do_prio_queueing) { in qeth_dev_prioqing_show() 169 card->qdio.default_out_queue); in qeth_dev_prioqing_show() 193 if (card->qdio.no_out_queues == 1) { in qeth_dev_prioqing_store() 194 card->qdio.do_prio_queueing = QETH_PRIOQ_DEFAULT; in qeth_dev_prioqing_store() 200 card->qdio.do_prio_queueing = QETH_PRIO_Q_ING_PREC; in qeth_dev_prioqing_store() 201 card->qdio.default_out_queue = QETH_DEFAULT_QUEUE; in qeth_dev_prioqing_store() [all …]
|
D | qeth_ethtool.c | 94 card->qdio.no_out_queues * TXQ_STATS_LEN; in qeth_get_sset_count() 107 for (i = 0; i < card->qdio.no_out_queues; i++) in qeth_get_ethtool_stats() 108 qeth_add_stat_data(&data, &card->qdio.out_qs[i]->stats, in qeth_get_ethtool_stats() 158 param->rx_pending = card->qdio.in_buf_pool.buf_count; in qeth_get_ringparam() 174 for (i = 0; i < card->qdio.no_out_queues; i++) { in qeth_get_strings() 205 channels->max_tx = card->qdio.no_out_queues; in qeth_get_channels() 223 if (channels->tx_count > card->qdio.no_out_queues) in qeth_set_channels() 298 if (__queue >= card->qdio.no_out_queues) in qeth_get_per_queue_coalesce() 301 queue = card->qdio.out_qs[__queue]; in qeth_get_per_queue_coalesce() 316 if (queue >= card->qdio.no_out_queues) in qeth_set_per_queue_coalesce() [all …]
|
D | qeth_core_main.c | 189 struct qeth_qdio_q *queue = card->qdio.in_q; in qeth_clear_working_pool_list() 194 &card->qdio.in_buf_pool.entry_list, list) in qeth_clear_working_pool_list() 217 list_for_each_entry_safe(entry, tmp, &card->qdio.init_pool.entry_list, in qeth_free_buffer_pool() 251 for (i = 0; i < card->qdio.init_pool.buf_count; ++i) { in qeth_alloc_buffer_pool() 260 list_add(&entry->init_list, &card->qdio.init_pool.entry_list); in qeth_alloc_buffer_pool() 268 struct qeth_qdio_buffer_pool *pool = &card->qdio.init_pool; in qeth_resize_buffer_pool() 311 card->qdio.in_buf_pool.buf_count = count; in qeth_resize_buffer_pool() 352 qdio_reset_buffers(card->qdio.c_q->qdio_bufs, in qeth_cq_init() 354 card->qdio.c_q->next_buf_to_init = 127; in qeth_cq_init() 371 card->qdio.c_q = qeth_alloc_qdio_queue(); in qeth_alloc_cq() [all …]
|
D | qeth_core.h | 200 #define QETH_MAX_BUFFER_ELEMENTS(card) ((card)->qdio.in_buf_size >> 12) 202 ((card)->qdio.in_buf_pool.buf_count / 2) 205 #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1) 524 for (i = 0; i < card->qdio.no_out_queues && \ 525 (q = card->qdio.out_qs[i]); i++) 843 struct qeth_qdio_info qdio; member 891 return card->qdio.do_prio_queueing != QETH_NO_PRIO_QUEUEING; in qeth_uses_tx_prio_queueing() 899 return min(card->dev->num_tx_queues, card->qdio.no_out_queues); in qeth_tx_actual_queues() 901 return min(priv->tx_wanted_queues, card->qdio.no_out_queues); in qeth_tx_actual_queues() 1001 list_add_tail(&entry->list, &card->qdio.in_buf_pool.entry_list); in qeth_put_buffer_pool_entry()
|
D | qeth_l3_main.c | 1736 queue = card->qdio.out_qs[qeth_iqd_translate_txq(dev, txq)]; in qeth_l3_hard_start_xmit() 1755 queue = card->qdio.out_qs[txq]; in qeth_l3_hard_start_xmit()
|
D | qeth_l2_main.c | 510 queue = card->qdio.out_qs[txq]; in qeth_l2_hard_start_xmit()
|
/linux-6.1.9/drivers/s390/cio/ |
D | Makefile | 20 qdio-objs := qdio_main.o qdio_thinint.o qdio_debug.o qdio_setup.o 21 obj-$(CONFIG_QDIO) += qdio.o
|
/linux-6.1.9/arch/s390/ |
D | Kconfig | 652 module will be called qdio.
|