Home
last modified time | relevance | path

Searched refs:cpa (Results 1 – 11 of 11) sorted by relevance

/drivers/s390/char/
Dvmur.c188 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/
Dvfio_ccw_cp.c299 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()
Ddevice_ops.c191 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()
Dcio.c124 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()
Dorb.h37 u32 cpa; /* channel program address */ member
Ddevice_status.c271 cdev_irb->scsw.cmd.cpa = irb->scsw.cmd.cpa; in ccw_device_accumulate_irb()
Ddevice_fsm.c70 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/
Ddasd_3990_erp.c1607 __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()
Ddasd_fba.c682 (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()
Ddasd_eckd.c5557 (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/
Dlcs.c1405 (irb->scsw.cmd.cpa != 0)) { in lcs_irq()
1406 index = (struct ccw1 *) __va((addr_t) irb->scsw.cmd.cpa) in lcs_irq()