Searched refs:ccw (Results 1 - 25 of 40) sorted by path

12

/linux-master/arch/powerpc/include/asm/
H A Dicswx.h142 __be32 ccw; member in struct:coprocessor_request_block
185 static inline int icswx(__be32 ccw, struct coprocessor_request_block *crb) argument
187 __be64 ccw_reg = ccw;
/linux-master/arch/powerpc/platforms/powernv/
H A Dvas-fault.c108 || (entry->ccw & cpu_to_be32(CCW0_INVALID))) {
121 entry->ccw |= cpu_to_be32(CCW0_INVALID);
/linux-master/arch/s390/include/asm/
H A Didals.h88 static inline int set_normalized_cda(struct ccw1 *ccw, void *vaddr) argument
93 if (ccw->flags & CCW_FLAG_IDA)
95 nridaws = idal_nr_words(vaddr, ccw->count);
100 idal_create_words(idal, vaddr, ccw->count);
101 ccw->flags |= CCW_FLAG_IDA;
104 ccw->cda = virt_to_dma32(vaddr);
111 static inline void clear_normalized_cda(struct ccw1 *ccw) argument
113 if (ccw->flags & CCW_FLAG_IDA) {
114 kfree(dma32_to_virt(ccw->cda));
115 ccw
196 idal_buffer_set_cda(struct idal_buffer *ib, struct ccw1 *ccw) argument
[all...]
H A Dipl.h24 struct ipl_pb0_ccw ccw; member in union:ipl_parameter_block::__anon37
86 } ccw; member in union:ipl_info::__anon38
/linux-master/arch/s390/kernel/
H A Dipl.c42 #define IPL_CCW_STR "ccw"
51 #define DUMP_CCW_STR "ccw"
356 return sprintf(page, "0.%x.%04x\n", ipl_block.ccw.ssid,
357 ipl_block.ccw.devno);
729 memset(ipb->ccw.vm_parm, 0, DIAG308_VMPARM_SIZE);
730 ipb->ccw.vm_parm_len = ip_len;
732 ipb->ccw.vm_flags |= IPL_PB0_CCW_VM_FLAG_VP;
733 memcpy(ipb->ccw.vm_parm, buf, ip_len);
734 ASCEBC(ipb->ccw.vm_parm, ip_len);
736 ipb->ccw
898 DEFINE_GENERIC_LOADPARM(ccw); variable
[all...]
H A Dipl_vmparm.c16 if ((ipb->ccw.vm_flags & IPL_PB0_CCW_VM_FLAG_VP) &&
17 (ipb->ccw.vm_parm_len > 0)) {
19 len = min_t(size_t, size - 1, ipb->ccw.vm_parm_len);
20 memcpy(dest, ipb->ccw.vm_parm, len);
/linux-master/arch/s390/kvm/
H A Ddiag.c14 #include <asm/virtio-ccw.h>
251 /* No virtio-ccw notification? Get out quickly. */
/linux-master/drivers/crypto/nx/
H A Dnx-common-powernv.c461 u32 ccw; local
482 ccw = 0;
483 ccw = SET_FIELD(CCW_CT, ccw, nx842_ct);
484 ccw = SET_FIELD(CCW_CI_842, ccw, 0); /* use 0 for hw auto-selection */
485 ccw = SET_FIELD(CCW_FC_842, ccw, fc);
490 ret = icswx(cpu_to_be32(ccw), crb);
492 pr_debug_ratelimited("icswx CR %x ccw
565 u32 ccw; local
[all...]
/linux-master/drivers/dma/
H A Dmxs-dma.c62 * ccw bits definitions
114 struct mxs_dma_ccw *ccw; member in struct:mxs_dma_chan
401 mxs_chan->ccw = dma_alloc_coherent(mxs_dma->dma_device.dev,
404 if (!mxs_chan->ccw) {
432 mxs_chan->ccw, mxs_chan->ccw_phys);
447 mxs_chan->ccw, mxs_chan->ccw_phys);
481 struct mxs_dma_ccw *ccw; local
506 ccw = &mxs_chan->ccw[idx - 1];
507 ccw
605 struct mxs_dma_ccw *ccw = &mxs_chan->ccw[i]; local
[all...]
/linux-master/drivers/s390/block/
H A Ddasd.c299 * uses this to start a ccw that detects the format. The completion
300 * interrupt for this detection ccw uses the kernel event daemon to
303 * After the analysis ccw is done (do_analysis returned 0) the block
414 * ccw queue.
1487 * The head of the ccw queue will have status DASD_CQR_IN_IO for 1),
1881 * Remove those ccw requests from the queue that need to be returned
1965 * Take a look at the first request on the ccw queue and check
2032 * Take a look at the first request on the ccw queue and check
2159 /* Check expire time of first request on the ccw queue. */
2161 /* find final requests on ccw queu
3966 struct ccw1 *ccw; local
[all...]
H A Ddasd_3990_erp.c197 struct ccw1 *ccw; local
215 ccw = dctl_cqr->cpaddr;
216 memset(ccw, 0, sizeof(struct ccw1));
217 ccw->cmd_code = CCW_CMD_DCTL;
218 ccw->count = 4;
219 ccw->cda = virt_to_dma32(DCTL_data);
1598 struct ccw1 *ccw, *oldccw; local
1690 /* create DE ccw */
1691 ccw = erp->cpaddr;
1692 memset(ccw,
1754 struct ccw1 *ccw; local
2347 struct ccw1 *ccw; local
[all...]
H A Ddasd_alias.c412 struct ccw1 *ccw; local
434 ccw = cqr->cpaddr;
435 ccw->cmd_code = DASD_ECKD_CCW_PSF;
436 ccw->count = sizeof(struct dasd_psf_prssd_data);
437 ccw->flags |= CCW_FLAG_CC;
438 ccw->cda = virt_to_dma32(prssdp);
443 ccw++;
444 ccw->cmd_code = DASD_ECKD_CCW_RSSD;
445 ccw->count = sizeof(*(lcu->uac));
446 ccw
733 struct ccw1 *ccw; local
[all...]
H A Ddasd_devmap.c142 *id1 = ipl_info.data.ccw.dev_id.ssid;
143 *devno = ipl_info.data.ccw.dev_id.devno;
897 * This function needs to be called with the ccw device
H A Ddasd_eckd.c51 /* The ccw bus type uses this table to find devices that it sends to
67 MODULE_DEVICE_TABLE(ccw, dasd_eckd_ids);
80 struct ccw1 ccw; member in struct:__anon1633
87 struct ccw1 ccw[2]; member in struct:__anon1634
103 struct ccw1 ccw; member in struct:pe_handler_work_data
133 /* set ECKD specific ccw-device options */
139 "ccw-device options");
155 /* head and record addresses of count_area read in analysis ccw */
245 static int set_timestamp(struct ccw1 *ccw, struct DE_eckd_data *data, argument
264 if (ccw) {
273 define_extent(struct ccw1 *ccw, struct DE_eckd_data *data, unsigned int trk, unsigned int totrk, int cmd, struct dasd_device *device, int blksize) argument
380 locate_record_ext(struct ccw1 *ccw, struct LRE_eckd_data *data, unsigned int trk, unsigned int rec_on_trk, int count, int cmd, struct dasd_device *device, unsigned int reclen, unsigned int tlf) argument
522 prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, unsigned int trk, unsigned int totrk, int cmd, struct dasd_device *basedev, struct dasd_device *startdev, unsigned int format, unsigned int rec_on_trk, int count, unsigned int blksize, unsigned int tlf) argument
589 prefix(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, unsigned int trk, unsigned int totrk, int cmd, struct dasd_device *basedev, struct dasd_device *startdev) argument
598 locate_record(struct ccw1 *ccw, struct LO_eckd_data *data, unsigned int trk, unsigned int rec_on_trk, int no_rec, int cmd, struct dasd_device * device, int reclen) argument
815 struct ccw1 *ccw; local
851 struct ccw1 *ccw; local
1507 struct ccw1 *ccw; local
1570 struct ccw1 *ccw; local
1765 struct ccw1 *ccw; local
1877 struct ccw1 *ccw; local
2227 struct ccw1 *ccw; local
2580 struct ccw1 *ccw; local
2665 struct ccw1 *ccw; local
3760 struct ccw1 *ccw; local
3967 struct ccw1 *ccw; local
4155 struct ccw1 *ccw; local
4742 struct ccw1 *ccw; local
4882 struct ccw1 *ccw; local
4939 struct ccw1 *ccw; local
5038 struct ccw1 *ccw; local
5093 struct ccw1 *ccw; local
5147 struct ccw1 *ccw; local
5202 struct ccw1 *ccw; local
5269 struct ccw1 *ccw; local
5381 struct ccw1 *ccw; local
5869 struct ccw1 *ccw; local
5951 struct ccw1 *ccw; local
6210 struct ccw1 *ccw; local
6272 struct ccw1 *ccw; local
6319 struct ccw1 *ccw; local
[all...]
H A Ddasd_eer.c252 * status ccw need to be executed to gather the necessary sense data first.
442 * is a new ccw in device->eer_cqr. Free the "old"
455 struct ccw1 *ccw; local
484 ccw = cqr->cpaddr;
485 ccw->cmd_code = DASD_ECKD_CCW_SNSS;
486 ccw->count = SNSS_DATA_SIZE;
487 ccw->flags = 0;
488 ccw->cda = virt_to_dma32(cqr->data);
H A Ddasd_fba.c50 MODULE_DEVICE_TABLE(ccw, dasd_fba_ids);
75 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw, argument
78 ccw->cmd_code = DASD_FBA_CCW_DEFINE_EXTENT;
79 ccw->flags = 0;
80 ccw->count = 16;
81 ccw->cda = virt_to_dma32(data);
95 locate_record(struct ccw1 * ccw, struct LO_fba_data *data, int rw, argument
98 ccw->cmd_code = DASD_FBA_CCW_LOCATE;
99 ccw->flags = 0;
100 ccw
245 ccw_write_no_data(struct ccw1 *ccw) argument
255 ccw_write_zero(struct ccw1 *ccw, int count) argument
318 struct ccw1 *ccw; local
433 struct ccw1 *ccw; local
565 struct ccw1 *ccw; local
[all...]
/linux-master/drivers/s390/char/
H A Dcon3215.c146 struct ccw1 *ccw; local
158 ccw = req->ccws;
159 ccw->cmd_code = 0x0A; /* read inquiry */
160 ccw->flags = 0x20; /* ignore incorrect length */
161 ccw->count = 160;
162 ccw->cda = virt_to_dma32(raw->inbuf);
167 * A ccw chain is created that writes as much as possible from the output
174 struct ccw1 *ccw; local
191 ccw = req->ccws;
217 if (ccw > re
[all...]
H A Dfs3270.c36 int read_command; /* ccw command to use for reads. */
37 int write_command; /* ccw command to use for writes. */
132 fp->init->ccw.count = 1;
137 fp->init->ccw.count = fp->rdbuf_size;
H A Draw3270.c140 * Allocate a new 3270 ccw request
163 * Setup ccw.
166 rq->ccw.cda = virt_to_dma32(rq->buffer);
167 rq->ccw.flags = CCW_FLAG_SLI;
174 * Free 3270 ccw request
190 rq->ccw.cmd_code = 0;
191 rq->ccw.count = 0;
193 rq->ccw.cda = virt_to_dma32(rq->buffer);
194 rq->ccw.flags = CCW_FLAG_SLI;
202 * Set command code to ccw o
[all...]
H A Draw3270.h23 struct ccw1 ccw; /* single ccw. */ member in struct:raw3270_request
H A Dtape.h127 void *cpdata; /* pointer to ccw data. */
303 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) argument
305 ccw->cmd_code = cmd_code;
306 ccw->flags = CCW_FLAG_CC;
307 ccw->count = memsize;
308 ccw->cda = 0;
310 ccw->cda = virt_to_dma32(cda);
311 return ccw + 1;
315 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) argument
317 ccw
327 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) argument
337 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) argument
350 tape_ccw_cc_idal(struct ccw1 *ccw, __u8 cmd_code, struct idal_buffer *idal) argument
359 tape_ccw_end_idal(struct ccw1 *ccw, __u8 cmd_code, struct idal_buffer *idal) argument
[all...]
H A Dtape_34xx.c1226 MODULE_DEVICE_TABLE(ccw, tape_34xx_ids);
H A Dtape_3590.c1695 MODULE_DEVICE_TABLE(ccw, tape_3590_ids);
H A Dtape_std.c269 struct ccw1 *ccw; local
276 ccw = tape_ccw_cc(request->cpaddr, MODE_SET_DB, 1,
278 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count);
279 ccw = tape_ccw_end(ccw, NOP, 0, NULL);
293 struct ccw1 *ccw; local
301 ccw = tape_ccw_cc(request->cpaddr, MODE_SET_DB, 1,
303 ccw = tape_ccw_repeat(ccw, FORSPACEBLOC
325 struct ccw1 *ccw; local
356 struct ccw1 *ccw; local
381 struct ccw1 *ccw; local
405 struct ccw1 *ccw; local
436 struct ccw1 *ccw; local
[all...]
H A Dvmur.c63 MODULE_DEVICE_TABLE(ccw, ur_ids);
90 * Each ur device (urd) contains a reference to its corresponding ccw device
91 * (cdev) using the urd->cdev pointer. Each ccw device has a reference to the

Completed in 535 milliseconds

12