Home
last modified time | relevance | path

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

/linux/drivers/s390/cio/
A 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()
43 if (tcw->w) in tcw_get_data()
55 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument
67 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument
82 void tcw_init(struct tcw *tcw, int r, int w) in tcw_init() argument
84 memset(tcw, 0, sizeof(struct tcw)); in tcw_init()
153 void tcw_finalize(struct tcw *tcw, int num_tidaws) in tcw_finalize() argument
[all …]
A 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()
213 itcw->tcw = chunk; in itcw_init()
223 tcw_set_intrg(itcw->tcw, itcw->intrg_tcw); in itcw_init()
231 tcw_set_data(itcw->tcw, chunk, 1); in itcw_init()
246 tcw_set_tsb(itcw->tcw, chunk); in itcw_init()
260 tcw_set_tccb(itcw->tcw, chunk); in itcw_init()
353 tcw_set_data(itcw->tcw, addr, use_tidal); in itcw_set_data()
[all …]
A Ddevice_ops.c539 int ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout_key() argument
567 rc = cio_tm_start_key(sch, tcw, lpm, key); in ccw_device_tm_start_timeout_key()
588 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_key() argument
591 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, key, 0); in ccw_device_tm_start_key()
605 int ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start() argument
608 return ccw_device_tm_start_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start()
624 int ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout() argument
627 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start_timeout()
A Dcio.h126 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
A Dcio.c710 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) in cio_tm_start_key() argument
720 orb->tm.tcw = (u32) (addr_t) tcw; in cio_tm_start_key()
A Dorb.h52 u32 tcw; member
A Ddevice_fsm.c66 (void *)(addr_t)orb->tm.tcw, in ccw_timeout_log()
67 sizeof(struct tcw), 0); in ccw_timeout_log()
/linux/arch/s390/include/asm/
A Dfcx.h37 struct tcw { struct
292 struct tcw *tcw_get_intrg(struct tcw *tcw);
293 void *tcw_get_data(struct tcw *tcw);
294 struct tccb *tcw_get_tccb(struct tcw *tcw);
295 struct tsb *tcw_get_tsb(struct tcw *tcw);
297 void tcw_init(struct tcw *tcw, int r, int w);
298 void tcw_finalize(struct tcw *tcw, int num_tidaws);
300 void tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw);
301 void tcw_set_data(struct tcw *tcw, void *data, int use_tidal);
302 void tcw_set_tccb(struct tcw *tcw, struct tccb *tccb);
[all …]
A Dccwdev.h186 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
188 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
190 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
192 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
194 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
A Ditcw.h20 struct tcw *itcw_get_tcw(struct itcw *itcw);
A Dscsw.h96 u32 tcw; member
/linux/drivers/md/
A Ddm-crypt.c567 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local
570 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr()
572 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
574 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
576 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
582 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_ctr() local
603 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
614 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_init() local
626 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_wipe() local
638 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_whitening() local
[all …]
/linux/drivers/s390/block/
A 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()
A Ddasd_eckd.c4878 struct tcw *tcw; in dasd_eckd_reset_ccw_to_base_io() local
4883 tcw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io()
4884 tccb = tcw_get_tccb(tcw); in dasd_eckd_reset_ccw_to_base_io()
5639 (void *) (addr_t) irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw()
5643 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw()
5645 (struct tcw *)(unsigned long)irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw()
A Ddasd.c4076 if (irb->scsw.tm.tcw) in dasd_get_sense()
4077 tsb = tcw_get_tsb((struct tcw *)(unsigned long) in dasd_get_sense()
4078 irb->scsw.tm.tcw); in dasd_get_sense()

Completed in 46 milliseconds