/drivers/s390/char/ |
D | vmur.c | 188 static void free_chan_prog(struct ccw1 *cpa) in free_chan_prog() argument 190 struct ccw1 *ptr = cpa; in free_chan_prog() 196 kfree(cpa); in free_chan_prog() 210 struct ccw1 *cpa; in alloc_chan_prog() local 221 cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), in alloc_chan_prog() 223 if (!cpa) in alloc_chan_prog() 227 cpa[i].cmd_code = WRITE_CCW_CMD; in alloc_chan_prog() 228 cpa[i].flags = CCW_FLAG_CC | CCW_FLAG_SLI; in alloc_chan_prog() 229 cpa[i].count = reclen; in alloc_chan_prog() 232 free_chan_prog(cpa); in alloc_chan_prog() [all …]
|
/drivers/s390/cio/ |
D | vfio_ccw_cp.c | 299 static inline int is_cpa_within_range(u32 cpa, u32 head, int len) in is_cpa_within_range() argument 303 return (head <= cpa && cpa <= tail); in is_cpa_within_range() 660 ret = ccwchain_handle_ccw(orb->cmd.cpa, cp); in cp_init() 780 struct ccw1 *cpa; in cp_get_orb() local 796 cpa = chain->ch_ccw; in cp_get_orb() 797 orb->cmd.cpa = (__u32) __pa(cpa); in cp_get_orb() 819 u32 cpa = scsw->cmd.cpa; in cp_update_scsw() local 837 if (is_cpa_within_range(cpa, ccw_head, chain->ch_len + 1)) { in cp_update_scsw() 844 cpa = chain->ch_iova + (cpa - ccw_head); in cp_update_scsw() 849 scsw->cmd.cpa = cpa; in cp_update_scsw()
|
D | device_ops.c | 191 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key() argument 229 ret = cio_start_key (sch, cpa, lpm, key); in ccw_device_start_timeout_key() 271 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key() argument 275 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, key, in ccw_device_start_key() 305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start() argument 308 return ccw_device_start_key(cdev, cpa, intparm, lpm, in ccw_device_start() 343 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout() argument 347 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, in ccw_device_start_timeout()
|
D | cio.c | 124 struct ccw1 * cpa, /* logical channel prog addr */ in cio_start_key() argument 151 orb->cmd.cpa = (__u32) __pa(cpa); in cio_start_key() 176 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) in cio_start() argument 178 return cio_start_key(sch, cpa, lpm, PAGE_DEFAULT_KEY); in cio_start()
|
D | orb.h | 37 u32 cpa; /* channel program address */ member
|
D | device_status.c | 271 cdev_irb->scsw.cmd.cpa = irb->scsw.cmd.cpa; in ccw_device_accumulate_irb()
|
D | device_fsm.c | 70 if ((void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 72 (void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 80 (void *)(addr_t)orb->cmd.cpa, in ccw_timeout_log()
|
/drivers/s390/block/ |
D | dasd_3990_erp.c | 1607 __u32 cpa = 0; in dasd_3990_erp_action_1B_32() local 1644 cpa = default_erp->refers->irb.scsw.cmd.cpa; in dasd_3990_erp_action_1B_32() 1646 if (cpa == 0) { in dasd_3990_erp_action_1B_32() 1725 ccw->cda = cpa; in dasd_3990_erp_action_1B_32() 1766 __u32 cpa = 0; in dasd_3990_update_1B() local 1802 cpa = previous_erp->irb.scsw.cmd.cpa; in dasd_3990_update_1B() 1804 if (cpa == 0) { in dasd_3990_update_1B() 1852 ccw->cda = cpa; in dasd_3990_update_1B()
|
D | dasd_fba.c | 682 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_fba_dump_sense() 724 if (act < ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense() 725 act = ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2; in dasd_fba_dump_sense() 728 end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); in dasd_fba_dump_sense()
|
D | dasd_eckd.c | 5557 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_eckd_dump_sense_ccw() 5608 irb->scsw.cmd.cpa; /* failing CCW */ in dasd_eckd_dump_sense_ccw()
|
/drivers/s390/net/ |
D | lcs.c | 1405 (irb->scsw.cmd.cpa != 0)) { in lcs_irq() 1406 index = (struct ccw1 *) __va((addr_t) irb->scsw.cmd.cpa) in lcs_irq()
|