Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c264 static unsigned long __cpa_addr(struct cpa_data *cpa, unsigned long idx) in __cpa_addr() argument
266 if (cpa->flags & CPA_PAGES_ARRAY) { in __cpa_addr()
267 struct page *page = cpa->pages[idx]; in __cpa_addr()
275 if (cpa->flags & CPA_ARRAY) in __cpa_addr()
276 return cpa->vaddr[idx]; in __cpa_addr()
278 return *cpa->vaddr + idx * PAGE_SIZE; in __cpa_addr()
345 struct cpa_data *cpa = data; in __cpa_flush_tlb() local
348 for (i = 0; i < cpa->numpages; i++) in __cpa_flush_tlb()
349 flush_tlb_one_kernel(fix_addr(__cpa_addr(cpa, i))); in __cpa_flush_tlb()
354 struct cpa_data *cpa = data; in cpa_flush() local
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dvmur.c212 static void free_chan_prog(struct ccw1 *cpa) in free_chan_prog() argument
214 struct ccw1 *ptr = cpa; in free_chan_prog()
220 kfree(cpa); in free_chan_prog()
234 struct ccw1 *cpa; in alloc_chan_prog() local
245 cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), in alloc_chan_prog()
247 if (!cpa) in alloc_chan_prog()
251 cpa[i].cmd_code = WRITE_CCW_CMD; in alloc_chan_prog()
252 cpa[i].flags = CCW_FLAG_CC | CCW_FLAG_SLI; in alloc_chan_prog()
253 cpa[i].count = reclen; in alloc_chan_prog()
256 free_chan_prog(cpa); in alloc_chan_prog()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c691 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_fba_dump_sense()
733 if (act < ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense()
734 act = ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2; in dasd_fba_dump_sense()
737 end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); in dasd_fba_dump_sense()
Ddasd_eckd.c5476 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_eckd_dump_sense_ccw()
5527 irb->scsw.cmd.cpa; /* failing CCW */ in dasd_eckd_dump_sense_ccw()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-dsp.c161 unsigned int cpa; in hda_dsp_core_power_up() local
171 cpa = HDA_DSP_ADSPCS_CPA_MASK(core_mask); in hda_dsp_core_power_up()
174 (adspcs & cpa) == cpa, in hda_dsp_core_power_up()
/kernel/linux/linux-5.10/Documentation/s390/
Dcds.rst207 struct ccw1 *cpa,
212 struct ccw1 *cpa,
218 struct ccw1 *cpa,
224 struct ccw1 *cpa,
233 cpa logical start address of channel program
258 The cpa parameter points to the first format 1 CCW of a channel program::
/kernel/linux/linux-5.10/arch/sparc/lib/
Dchecksum_32.S95 1: be cpa
102 b cpa
115 cpa: be 3f ! none to do label
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dscsw.h56 __u32 cpa; member
/kernel/linux/linux-5.10/fs/ext4/
Dmballoc.c3729 struct ext4_prealloc_space *cpa) in ext4_mb_check_group_pa() argument
3733 if (cpa == NULL) { in ext4_mb_check_group_pa()
3737 cur_distance = abs(goal_block - cpa->pa_pstart); in ext4_mb_check_group_pa()
3741 return cpa; in ext4_mb_check_group_pa()
3744 atomic_dec(&cpa->pa_count); in ext4_mb_check_group_pa()
3759 struct ext4_prealloc_space *pa, *cpa = NULL; in ext4_mb_use_preallocated() local
3823 cpa = ext4_mb_check_group_pa(goal_block, in ext4_mb_use_preallocated()
3824 pa, cpa); in ext4_mb_use_preallocated()
3830 if (cpa) { in ext4_mb_use_preallocated()
3831 ext4_mb_use_group_pa(ac, cpa); in ext4_mb_use_preallocated()
/kernel/linux/linux-5.10/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()