Home
last modified time | relevance | path

Searched refs:tcw (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dfcx.c19 * tcw_get_intrg - return pointer to associated interrogate tcw
20 * @tcw: pointer to the original tcw
22 * Return a pointer to the interrogate tcw associated with the specified tcw
23 * or %NULL if there is no associated interrogate tcw.
25 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument
27 return (struct tcw *) ((addr_ in tcw_get_intrg()
39 tcw_get_data(struct tcw *tcw) tcw_get_data() argument
55 tcw_get_tccb(struct tcw *tcw) tcw_get_tccb() argument
67 tcw_get_tsb(struct tcw *tcw) tcw_get_tsb() argument
82 tcw_init(struct tcw *tcw, int r, int w) tcw_init() argument
153 tcw_finalize(struct tcw *tcw, int num_tidaws) tcw_finalize() argument
190 tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw) tcw_set_intrg() argument
207 tcw_set_data(struct tcw *tcw, void *data, int use_tidal) tcw_set_data() argument
228 tcw_set_tccb(struct tcw *tcw, struct tccb *tccb) tcw_set_tccb() argument
241 tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) tcw_set_tsb() argument
338 tcw_add_tidaw(struct tcw *tcw, int num_tidaws, u8 flags, void *addr, u32 count) tcw_add_tidaw() argument
[all...]
H A Ditcw.c19 * struct itcw - incremental tcw helper data type
22 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate
23 * tcw and associated data. The data structures are contained inside a single
32 * - optionally provide ready-made interrogate tcw and associated structures
59 struct tcw *tcw; member
60 struct tcw *intrg_tcw;
68 * itcw_get_tcw - return pointer to tcw associated with the itcw
71 * Return pointer to the tcw associated with the itcw.
73 struct tcw *itcw_get_tc
[all...]
H A Ddevice_ops.c530 * @tcw: transport-command word to be started
536 * Start the tcw on the given ccw device. Return zero on success, non-zero
539 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()
580 * @tcw: transport-command word to be started
585 * Start the tcw on the given ccw device. Return zero on success, non-zero
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, intpar in ccw_device_tm_start_key()
605 ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm) ccw_device_tm_start() argument
624 ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, int expires) ccw_device_tm_start_timeout() argument
[all...]
H A Dcio.h137 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
H A Dorb.h52 u32 tcw; member
H A Dcio.c703 * @tcw: transport-command word to be started
707 * Start the tcw on the given subchannel. Return zero on success, non-zero
710 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()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dfcx.c20 * tcw_get_intrg - return pointer to associated interrogate tcw
21 * @tcw: pointer to the original tcw
23 * Return a pointer to the interrogate tcw associated with the specified tcw
24 * or %NULL if there is no associated interrogate tcw.
26 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument
28 return phys_to_virt(tcw in tcw_get_intrg()
40 tcw_get_data(struct tcw *tcw) tcw_get_data() argument
56 tcw_get_tccb(struct tcw *tcw) tcw_get_tccb() argument
68 tcw_get_tsb(struct tcw *tcw) tcw_get_tsb() argument
83 tcw_init(struct tcw *tcw, int r, int w) tcw_init() argument
154 tcw_finalize(struct tcw *tcw, int num_tidaws) tcw_finalize() argument
191 tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw) tcw_set_intrg() argument
208 tcw_set_data(struct tcw *tcw, void *data, int use_tidal) tcw_set_data() argument
229 tcw_set_tccb(struct tcw *tcw, struct tccb *tccb) tcw_set_tccb() argument
242 tcw_set_tsb(struct tcw *tcw, struct tsb *tsb) tcw_set_tsb() argument
339 tcw_add_tidaw(struct tcw *tcw, int num_tidaws, u8 flags, void *addr, u32 count) tcw_add_tidaw() argument
[all...]
H A Ditcw.c20 * struct itcw - incremental tcw helper data type
23 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate
24 * tcw and associated data. The data structures are contained inside a single
33 * - optionally provide ready-made interrogate tcw and associated structures
60 struct tcw *tcw; member
61 struct tcw *intrg_tcw;
69 * itcw_get_tcw - return pointer to tcw associated with the itcw
72 * Return pointer to the tcw associated with the itcw.
74 struct tcw *itcw_get_tc
[all...]
H A Ddevice_ops.c530 * @tcw: transport-command word to be started
536 * Start the tcw on the given ccw device. Return zero on success, non-zero
539 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()
580 * @tcw: transport-command word to be started
585 * Start the tcw on the given ccw device. Return zero on success, non-zero
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, intpar in ccw_device_tm_start_key()
605 ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm) ccw_device_tm_start() argument
624 ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, int expires) ccw_device_tm_start_timeout() argument
[all...]
H A Dcio.h130 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
H A Dorb.h52 u32 tcw; member
H A Dcio.c703 * @tcw: transport-command word to be started
707 * Start the tcw on the given subchannel. Return zero on success, non-zero
710 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)virt_to_phys(tcw); in cio_tm_start_key()
H A Ddevice_fsm.c65 printk(KERN_WARNING "cio: last tcw:\n"); in ccw_timeout_log()
67 phys_to_virt(orb->tm.tcw), in ccw_timeout_log()
68 sizeof(struct tcw), 0); in ccw_timeout_log()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dfcx.h23 * struct tcw - Transport Control Word (TCW)
37 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 *tc
[all...]
H A Dccwdev.h197 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
199 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
201 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
203 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
205 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
H A Ditcw.h20 struct tcw *itcw_get_tcw(struct itcw *itcw);
H A Dscsw.h75 * @tcw: TCW address
96 u32 tcw; member
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dfcx.h23 * struct tcw - Transport Control Word (TCW)
37 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 *tc
[all...]
H A Dccwdev.h188 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
190 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
192 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
194 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
196 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
H A Ditcw.h20 struct tcw *itcw_get_tcw(struct itcw *itcw);
H A Dscsw.h75 * @tcw: TCW address
96 u32 tcw; member
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-crypt.c167 struct iv_tcw_private tcw; member
291 * tcw: Compatible implementation of the block chaining mode used
565 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local
567 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr()
568 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr()
569 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr()
570 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
572 if (tcw->crc32_tfm && !IS_ERR(tcw in crypt_iv_tcw_dtr()
580 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_ctr() local
612 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_init() local
624 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_wipe() local
636 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_whitening() local
674 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_gen() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-crypt.c174 struct iv_tcw_private tcw; member
298 * tcw: Compatible implementation of the block chaining mode used
573 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local
575 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr()
576 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr()
577 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr()
578 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
580 if (tcw->crc32_tfm && !IS_ERR(tcw in crypt_iv_tcw_dtr()
588 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_ctr() local
620 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_init() local
632 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_wipe() local
644 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_whitening() local
682 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_gen() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H 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()
2411 /* make a shallow copy of the original tcw but set new 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()
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_3990_erp.c2383 struct tcw *tcw; in dasd_3990_erp_add_erp() local
2389 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp()
2416 /* make a shallow copy of the original tcw but set new tsb */ in dasd_3990_erp_add_erp()
2419 tcw = erp->cpaddr; in dasd_3990_erp_add_erp()
2420 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp()
2421 *tcw = *((struct tcw *)cqr->cpaddr); in dasd_3990_erp_add_erp()
2422 tcw->tsb = virt_to_phys(tsb); in dasd_3990_erp_add_erp()

Completed in 23 milliseconds

12