Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dqdio_setup.c305 struct chsc_ssqd_area *ssqd; in qdio_setup_get_ssqd() local
310 ssqd = (struct chsc_ssqd_area *)__get_free_page(GFP_KERNEL); in qdio_setup_get_ssqd()
311 if (!ssqd) in qdio_setup_get_ssqd()
314 ssqd = (struct chsc_ssqd_area *)irq_ptr->chsc_page; in qdio_setup_get_ssqd()
317 rc = chsc_ssqd(*schid, ssqd); in qdio_setup_get_ssqd()
321 if (!(ssqd->qdio_ssqd.flags & CHSC_FLAG_QDIO_CAPABILITY) || in qdio_setup_get_ssqd()
322 !(ssqd->qdio_ssqd.flags & CHSC_FLAG_VALIDITY) || in qdio_setup_get_ssqd()
323 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd()
327 memcpy(data, &ssqd->qdio_ssqd, sizeof(*data)); in qdio_setup_get_ssqd()
331 free_page((unsigned long)ssqd); in qdio_setup_get_ssqd()
Dchsc.c159 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument
161 memset(ssqd, 0, sizeof(*ssqd)); in chsc_ssqd()
162 ssqd->request.length = 0x0010; in chsc_ssqd()
163 ssqd->request.code = 0x0024; in chsc_ssqd()
164 ssqd->first_sch = schid.sch_no; in chsc_ssqd()
165 ssqd->last_sch = schid.sch_no; in chsc_ssqd()
166 ssqd->ssid = schid.ssid; in chsc_ssqd()
168 if (chsc(ssqd)) in chsc_ssqd()
171 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd()
Dchsc.h155 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd);
/drivers/s390/scsi/
Dzfcp_qdio.c381 struct qdio_ssqd_desc ssqd; in zfcp_qdio_open() local
395 if (qdio_get_ssqd_desc(init_data.cdev, &ssqd)) in zfcp_qdio_open()
398 if (ssqd.qdioac2 & CHSC_AC2_DATA_DIV_ENABLED) in zfcp_qdio_open()
402 if (ssqd.qdioac2 & CHSC_AC2_MULTI_BUFFER_ENABLED) { in zfcp_qdio_open()
/drivers/s390/net/
Dqeth_core_sys.c140 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
Dqeth_l3_sys.c218 qdio_get_ssqd_desc(CARD_DDEV(card), &card->ssqd); in qeth_l3_dev_sniffer_store()
219 if (card->ssqd.qdioac2 & QETH_SNIFF_AVAIL) { in qeth_l3_dev_sniffer_store()
Dqeth_core_main.c4817 rc = qdio_get_ssqd_desc(ddev, &card->ssqd); in qeth_determine_capabilities()
4821 QETH_DBF_TEXT_(SETUP, 2, "qfmt%d", card->ssqd.qfmt); in qeth_determine_capabilities()
4822 QETH_DBF_TEXT_(SETUP, 2, "%d", card->ssqd.qdioac1); in qeth_determine_capabilities()
4823 QETH_DBF_TEXT_(SETUP, 2, "%d", card->ssqd.qdioac3); in qeth_determine_capabilities()
4824 QETH_DBF_TEXT_(SETUP, 2, "icnt%d", card->ssqd.icnt); in qeth_determine_capabilities()
4825 if (!((card->ssqd.qfmt != QDIO_IQDIO_QFMT) || in qeth_determine_capabilities()
4826 ((card->ssqd.qdioac1 & CHSC_AC1_INITIATE_INPUTQ) == 0) || in qeth_determine_capabilities()
4827 ((card->ssqd.qdioac3 & CHSC_AC3_FORMAT2_CQ_AVAILABLE) == 0))) { in qeth_determine_capabilities()
Dqeth_core.h826 struct qdio_ssqd_desc ssqd; member