Lines Matching refs:sccb
61 struct sdias_sccb *sccb = sclp_sdias_sccb; in sdias_sclp_send() local
82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send()
84 sccb->evbuf.hdr.flags); in sdias_sclp_send()
91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send()
108 struct sdias_sccb *sccb = sclp_sdias_sccb; in sclp_sdias_blk_count() local
114 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_blk_count()
117 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_blk_count()
118 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
119 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
120 sccb->evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_sdias_blk_count()
121 sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; in sclp_sdias_blk_count()
122 sccb->evbuf.event_id = 4712; in sclp_sdias_blk_count()
123 sccb->evbuf.dbs = 1; in sclp_sdias_blk_count()
125 request.sccb = sccb; in sclp_sdias_blk_count()
135 if (sccb->hdr.response_code != 0x0020) { in sclp_sdias_blk_count()
136 TRACE("send failed: %x\n", sccb->hdr.response_code); in sclp_sdias_blk_count()
168 struct sdias_sccb *sccb = sclp_sdias_sccb; in sclp_sdias_copy() local
174 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_copy()
177 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_copy()
178 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_copy()
179 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_copy()
180 sccb->evbuf.hdr.flags = 0; in sclp_sdias_copy()
181 sccb->evbuf.event_qual = SDIAS_EQ_STORE_DATA; in sclp_sdias_copy()
182 sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; in sclp_sdias_copy()
183 sccb->evbuf.event_id = 4712; in sclp_sdias_copy()
184 sccb->evbuf.asa_size = SDIAS_ASA_SIZE_64; in sclp_sdias_copy()
185 sccb->evbuf.event_status = 0; in sclp_sdias_copy()
186 sccb->evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()
187 sccb->evbuf.asa = __pa(dest); in sclp_sdias_copy()
188 sccb->evbuf.fbn = start_blk; in sclp_sdias_copy()
189 sccb->evbuf.lbn = 0; in sclp_sdias_copy()
190 sccb->evbuf.dbs = 1; in sclp_sdias_copy()
192 request.sccb = sccb; in sclp_sdias_copy()
202 if (sccb->hdr.response_code != 0x0020) { in sclp_sdias_copy()
203 TRACE("copy failed: %x\n", sccb->hdr.response_code); in sclp_sdias_copy()