Home
last modified time | relevance | path

Searched refs:ssqd (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/s390/cio/
Dqdio_setup.c306 struct chsc_ssqd_area *ssqd; in qdio_setup_get_ssqd() local
311 ssqd = (struct chsc_ssqd_area *)__get_free_page(GFP_KERNEL); in qdio_setup_get_ssqd()
312 if (!ssqd) in qdio_setup_get_ssqd()
315 ssqd = (struct chsc_ssqd_area *)irq_ptr->chsc_page; in qdio_setup_get_ssqd()
318 rc = chsc_ssqd(*schid, ssqd); in qdio_setup_get_ssqd()
322 if (!(ssqd->qdio_ssqd.flags & CHSC_FLAG_QDIO_CAPABILITY) || in qdio_setup_get_ssqd()
323 !(ssqd->qdio_ssqd.flags & CHSC_FLAG_VALIDITY) || in qdio_setup_get_ssqd()
324 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd()
328 memcpy(data, &ssqd->qdio_ssqd, sizeof(*data)); in qdio_setup_get_ssqd()
332 free_page((unsigned long)ssqd); in qdio_setup_get_ssqd()
Dchsc.c160 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument
162 memset(ssqd, 0, sizeof(*ssqd)); in chsc_ssqd()
163 ssqd->request.length = 0x0010; in chsc_ssqd()
164 ssqd->request.code = 0x0024; in chsc_ssqd()
165 ssqd->first_sch = schid.sch_no; in chsc_ssqd()
166 ssqd->last_sch = schid.sch_no; in chsc_ssqd()
167 ssqd->ssid = schid.ssid; in chsc_ssqd()
169 if (chsc(ssqd)) in chsc_ssqd()
172 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd()
Dchsc.h164 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd);
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_qdio.c382 struct qdio_ssqd_desc ssqd; in zfcp_qdio_open() local
396 if (qdio_get_ssqd_desc(init_data.cdev, &ssqd)) in zfcp_qdio_open()
399 if (ssqd.qdioac2 & CHSC_AC2_DATA_DIV_ENABLED) in zfcp_qdio_open()
403 if (ssqd.qdioac2 & CHSC_AC2_MULTI_BUFFER_ENABLED) { in zfcp_qdio_open()
/linux-4.19.296/drivers/s390/net/
Dqeth_core_sys.c141 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
Dqeth_l3_sys.c232 qdio_get_ssqd_desc(CARD_DDEV(card), &card->ssqd); in qeth_l3_dev_sniffer_store()
233 if (card->ssqd.qdioac2 & QETH_SNIFF_AVAIL) { in qeth_l3_dev_sniffer_store()
Dqeth_core_main.c4894 rc = qdio_get_ssqd_desc(ddev, &card->ssqd); in qeth_determine_capabilities()
4898 QETH_DBF_TEXT_(SETUP, 2, "qfmt%d", card->ssqd.qfmt); in qeth_determine_capabilities()
4899 QETH_DBF_TEXT_(SETUP, 2, "ac1:%02x", card->ssqd.qdioac1); in qeth_determine_capabilities()
4900 QETH_DBF_TEXT_(SETUP, 2, "ac2:%04x", card->ssqd.qdioac2); in qeth_determine_capabilities()
4901 QETH_DBF_TEXT_(SETUP, 2, "ac3:%04x", card->ssqd.qdioac3); in qeth_determine_capabilities()
4902 QETH_DBF_TEXT_(SETUP, 2, "icnt%d", card->ssqd.icnt); in qeth_determine_capabilities()
4903 if (!((card->ssqd.qfmt != QDIO_IQDIO_QFMT) || in qeth_determine_capabilities()
4904 ((card->ssqd.qdioac1 & CHSC_AC1_INITIATE_INPUTQ) == 0) || in qeth_determine_capabilities()
4905 ((card->ssqd.qdioac3 & CHSC_AC3_FORMAT2_CQ_AVAILABLE) == 0))) { in qeth_determine_capabilities()
Dqeth_core.h807 struct qdio_ssqd_desc ssqd; member