Home
last modified time | relevance | path

Searched refs:tcw (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/drivers/s390/cio/
Dfcx.c25 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument
27 return (struct tcw *) ((addr_t) tcw->intrg); in tcw_get_intrg()
39 void *tcw_get_data(struct tcw *tcw) in tcw_get_data() argument
41 if (tcw->r) in tcw_get_data()
42 return (void *) ((addr_t) tcw->input); in tcw_get_data()
43 if (tcw->w) in tcw_get_data()
44 return (void *) ((addr_t) tcw->output); in tcw_get_data()
55 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument
57 return (struct tccb *) ((addr_t) tcw->tccb); in tcw_get_tccb()
67 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument
[all …]
Ditcw.c59 struct tcw *tcw; member
60 struct tcw *intrg_tcw;
73 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw()
75 return itcw->tcw; in itcw_get_tcw()
101 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
106 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
210 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
213 itcw->tcw = chunk; in itcw_init()
214 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init()
218 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
[all …]
Ddevice_ops.c528 int ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout_key() argument
556 rc = cio_tm_start_key(sch, tcw, lpm, key); in ccw_device_tm_start_timeout_key()
577 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_key() argument
580 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, key, 0); in ccw_device_tm_start_key()
594 int ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start() argument
597 return ccw_device_tm_start_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start()
613 int ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout() argument
616 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start_timeout()
Dcio.h135 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
Dorb.h52 u32 tcw; member
Dcio.c714 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) in cio_tm_start_key() argument
724 orb->tm.tcw = (u32) (addr_t) tcw; in cio_tm_start_key()
Ddevice_fsm.c66 (void *)(addr_t)orb->tm.tcw, in ccw_timeout_log()
67 sizeof(struct tcw), 0); in ccw_timeout_log()
/linux-4.19.296/drivers/s390/block/
Ddasd_3990_erp.c2378 struct tcw *tcw; in dasd_3990_erp_add_erp() local
2384 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp()
2414 tcw = erp->cpaddr; in dasd_3990_erp_add_erp()
2415 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp()
2416 *tcw = *((struct tcw *)cqr->cpaddr); in dasd_3990_erp_add_erp()
2417 tcw->tsb = (long)tsb; in dasd_3990_erp_add_erp()
Ddasd_eckd.c3994 struct tcw *tcw; in dasd_eckd_reset_ccw_to_base_io() local
3999 tcw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io()
4000 tccb = tcw_get_tccb(tcw); in dasd_eckd_reset_ccw_to_base_io()
4755 (void *) (addr_t) irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw()
4759 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw()
4761 (struct tcw *)(unsigned long)irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw()
Ddasd.c4031 if (irb->scsw.tm.tcw) in dasd_get_sense()
4032 tsb = tcw_get_tsb((struct tcw *)(unsigned long) in dasd_get_sense()
4033 irb->scsw.tm.tcw); in dasd_get_sense()