| /linux-4.4.14/drivers/s390/cio/ |
| D | fcx.c | 24 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument 26 return (struct tcw *) ((addr_t) tcw->intrg); in tcw_get_intrg() 38 void *tcw_get_data(struct tcw *tcw) in tcw_get_data() argument 40 if (tcw->r) in tcw_get_data() 41 return (void *) ((addr_t) tcw->input); in tcw_get_data() 42 if (tcw->w) in tcw_get_data() 43 return (void *) ((addr_t) tcw->output); in tcw_get_data() 54 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument 56 return (struct tccb *) ((addr_t) tcw->tccb); in tcw_get_tccb() 66 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument [all …]
|
| D | itcw.c | 58 struct tcw *tcw; member 59 struct tcw *intrg_tcw; 72 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw() 74 return itcw->tcw; in itcw_get_tcw() 100 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size() 105 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size() 209 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 212 itcw->tcw = chunk; in itcw_init() 213 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init() 217 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() [all …]
|
| D | device_ops.c | 501 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_key() argument 528 rc = cio_tm_start_key(sch, tcw, lpm, key); in ccw_device_tm_start_key() 547 int ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout_key() argument 554 ret = ccw_device_tm_start_key(cdev, tcw, intparm, lpm, key); in ccw_device_tm_start_timeout_key() 571 int ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start() argument 574 return ccw_device_tm_start_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start() 590 int ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout() argument 593 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start_timeout()
|
| D | cio.h | 123 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
|
| D | orb.h | 51 u32 tcw; member
|
| D | cio.c | 969 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) in cio_tm_start_key() argument 979 orb->tm.tcw = (u32) (addr_t) tcw; in cio_tm_start_key()
|
| D | device_fsm.c | 65 (void *)(addr_t)orb->tm.tcw, in ccw_timeout_log() 66 sizeof(struct tcw), 0); in ccw_timeout_log()
|
| /linux-4.4.14/arch/s390/include/asm/ |
| D | fcx.h | 36 struct tcw { struct 291 struct tcw *tcw_get_intrg(struct tcw *tcw); 292 void *tcw_get_data(struct tcw *tcw); 293 struct tccb *tcw_get_tccb(struct tcw *tcw); 294 struct tsb *tcw_get_tsb(struct tcw *tcw); 296 void tcw_init(struct tcw *tcw, int r, int w); 297 void tcw_finalize(struct tcw *tcw, int num_tidaws); 299 void tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw); 300 void tcw_set_data(struct tcw *tcw, void *data, int use_tidal); 301 void tcw_set_tccb(struct tcw *tcw, struct tccb *tccb); [all …]
|
| D | ccwdev.h | 195 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, 197 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *, 199 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *, 201 int ccw_device_tm_start(struct ccw_device *, struct tcw *, 203 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
|
| D | itcw.h | 19 struct tcw *itcw_get_tcw(struct itcw *itcw);
|
| D | scsw.h | 95 u32 tcw; member
|
| /linux-4.4.14/drivers/staging/comedi/drivers/addi-data/ |
| D | hwdrv_apci3501.c | 39 ctrl = inl(devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_config_insn_timer() 43 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_config_insn_timer() 47 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_config_insn_timer() 49 outl(data[2], devpriv->tcw + ADDI_TCW_TIMEBASE_REG); in apci3501_config_insn_timer() 50 outl(data[3], devpriv->tcw + ADDI_TCW_RELOAD_REG); in apci3501_config_insn_timer() 52 ctrl = inl(devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_config_insn_timer() 68 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_config_insn_timer() 95 ctrl = inl(devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_write_insn_timer() 108 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_write_insn_timer() 111 inl(devpriv->tcw + ADDI_TCW_STATUS_REG); in apci3501_write_insn_timer() [all …]
|
| /linux-4.4.14/drivers/md/ |
| D | dm-crypt.c | 149 struct iv_tcw_private tcw; member 617 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local 619 kzfree(tcw->iv_seed); in crypt_iv_tcw_dtr() 620 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr() 621 kzfree(tcw->whitening); in crypt_iv_tcw_dtr() 622 tcw->whitening = NULL; in crypt_iv_tcw_dtr() 624 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr() 625 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr() 626 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr() 632 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_ctr() local [all …]
|
| /linux-4.4.14/drivers/staging/comedi/drivers/ |
| D | addi_apci_3501.c | 70 unsigned long tcw; member 264 ctrl = inl(devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_interrupt() 267 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_interrupt() 269 status = inl(devpriv->tcw + ADDI_TCW_IRQ_REG); in apci3501_interrupt() 277 ctrl = inl(devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_interrupt() 281 outl(ctrl, devpriv->tcw + ADDI_TCW_CTRL_REG); in apci3501_interrupt() 282 inl(devpriv->tcw + ADDI_TCW_STATUS_REG); in apci3501_interrupt() 336 devpriv->tcw = dev->iobase + APCI3501_TIMER_BASE; in apci3501_auto_attach()
|
| /linux-4.4.14/drivers/s390/block/ |
| D | dasd_3990_erp.c | 2305 struct tcw *tcw; in dasd_3990_erp_add_erp() local 2311 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2341 tcw = erp->cpaddr; in dasd_3990_erp_add_erp() 2342 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp() 2343 *tcw = *((struct tcw *)cqr->cpaddr); in dasd_3990_erp_add_erp() 2344 tcw->tsb = (long)tsb; in dasd_3990_erp_add_erp()
|
| D | dasd_eckd.c | 3555 struct tcw *tcw; in dasd_eckd_reset_ccw_to_base_io() local 3560 tcw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io() 3561 tccb = tcw_get_tccb(tcw); in dasd_eckd_reset_ccw_to_base_io() 4309 (void *) (addr_t) irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw() 4313 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw() 4315 (struct tcw *)(unsigned long)irb->scsw.tm.tcw); in dasd_eckd_dump_sense_tcw()
|
| D | dasd.c | 3831 if (irb->scsw.tm.tcw) in dasd_get_sense() 3832 tsb = tcw_get_tsb((struct tcw *)(unsigned long) in dasd_get_sense() 3833 irb->scsw.tm.tcw); in dasd_get_sense()
|