/linux-6.6.21/arch/x86/mm/pat/ |
D | set_memory.c | 294 static unsigned long __cpa_addr(struct cpa_data *cpa, unsigned long idx) in __cpa_addr() argument 296 if (cpa->flags & CPA_PAGES_ARRAY) { in __cpa_addr() 297 struct page *page = cpa->pages[idx]; in __cpa_addr() 305 if (cpa->flags & CPA_ARRAY) in __cpa_addr() 306 return cpa->vaddr[idx]; in __cpa_addr() 308 return *cpa->vaddr + idx * PAGE_SIZE; in __cpa_addr() 392 struct cpa_data *cpa = data; in __cpa_flush_tlb() local 395 for (i = 0; i < cpa->numpages; i++) in __cpa_flush_tlb() 396 flush_tlb_one_kernel(fix_addr(__cpa_addr(cpa, i))); in __cpa_flush_tlb() 401 struct cpa_data *cpa = data; in cpa_flush() local [all …]
|
/linux-6.6.21/drivers/s390/char/ |
D | vmur.c | 193 static void free_chan_prog(struct ccw1 *cpa) in free_chan_prog() argument 195 struct ccw1 *ptr = cpa; in free_chan_prog() 201 kfree(cpa); in free_chan_prog() 215 struct ccw1 *cpa; in alloc_chan_prog() local 226 cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), in alloc_chan_prog() 228 if (!cpa) in alloc_chan_prog() 232 cpa[i].cmd_code = WRITE_CCW_CMD; in alloc_chan_prog() 233 cpa[i].flags = CCW_FLAG_CC | CCW_FLAG_SLI; in alloc_chan_prog() 234 cpa[i].count = reclen; in alloc_chan_prog() 237 free_chan_prog(cpa); in alloc_chan_prog() [all …]
|
/linux-6.6.21/drivers/s390/cio/ |
D | vfio_ccw_cp.c | 302 static inline int is_cpa_within_range(u32 cpa, u32 head, int len) in is_cpa_within_range() argument 306 return (head <= cpa && cpa <= tail); in is_cpa_within_range() 732 ret = ccwchain_handle_ccw(orb->cmd.cpa, cp); in cp_init() 852 struct ccw1 *cpa; in cp_get_orb() local 876 cpa = chain->ch_ccw; in cp_get_orb() 877 orb->cmd.cpa = (__u32)virt_to_phys(cpa); in cp_get_orb() 899 u32 cpa = scsw->cmd.cpa; in cp_update_scsw() local 917 if (is_cpa_within_range(cpa, ccw_head, chain->ch_len + 1)) { in cp_update_scsw() 924 cpa = chain->ch_iova + (cpa - ccw_head); in cp_update_scsw() 929 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)virt_to_phys(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 | 272 cdev_irb->scsw.cmd.cpa = irb->scsw.cmd.cpa; in ccw_device_accumulate_irb()
|
D | device_fsm.c | 71 if ((void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 73 (void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 81 phys_to_virt(orb->cmd.cpa), in ccw_timeout_log()
|
/linux-6.6.21/sound/soc/sof/intel/ |
D | mtl.c | 238 u32 cpa; in mtl_dsp_pre_fw_run() local 250 cpa = MTL_HFDSSCS_CPA_MASK; in mtl_dsp_pre_fw_run() 252 (dsphfdsscs & cpa) == cpa, HDA_DSP_REG_POLL_INTERVAL_US, in mtl_dsp_pre_fw_run() 338 unsigned int cpa; in mtl_dsp_core_power_up() local 360 cpa = MTL_DSP2CXCTL_PRIMARY_CORE_CPA_MASK; in mtl_dsp_core_power_up() 362 (dspcxctl & cpa) == cpa, HDA_DSP_REG_POLL_INTERVAL_US, in mtl_dsp_core_power_up() 410 u32 dsphfdsscs, cpa; in mtl_power_down_dsp() local 428 cpa = MTL_HFDSSCS_CPA_MASK; in mtl_power_down_dsp() 431 (dsphfdsscs & cpa) == 0, HDA_DSP_REG_POLL_INTERVAL_US, in mtl_power_down_dsp()
|
D | hda-dsp.c | 190 unsigned int cpa; in hda_dsp_core_power_up() local 206 cpa = HDA_DSP_ADSPCS_CPA_MASK(core_mask); in hda_dsp_core_power_up() 209 (adspcs & cpa) == cpa, in hda_dsp_core_power_up()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_3990_erp.c | 1612 __u32 cpa = 0; in dasd_3990_erp_action_1B_32() local 1649 cpa = default_erp->refers->irb.scsw.cmd.cpa; in dasd_3990_erp_action_1B_32() 1651 if (cpa == 0) { in dasd_3990_erp_action_1B_32() 1730 ccw->cda = cpa; in dasd_3990_erp_action_1B_32() 1771 __u32 cpa = 0; in dasd_3990_update_1B() local 1807 cpa = previous_erp->irb.scsw.cmd.cpa; in dasd_3990_update_1B() 1809 if (cpa == 0) { in dasd_3990_update_1B() 1857 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 | 5618 phys_to_virt(irb->scsw.cmd.cpa)); in dasd_eckd_dump_sense_ccw() 5665 fail = phys_to_virt(irb->scsw.cmd.cpa); /* failing CCW */ in dasd_eckd_dump_sense_ccw()
|
/linux-6.6.21/Documentation/arch/s390/ |
D | cds.rst | 207 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::
|
/linux-6.6.21/arch/sparc/lib/ |
D | checksum_32.S | 95 1: be cpa 102 b cpa 115 cpa: be 3f ! none to do label
|
/linux-6.6.21/arch/s390/include/asm/ |
D | scsw.h | 56 __u32 cpa; member
|
/linux-6.6.21/fs/ext4/ |
D | mballoc.c | 4735 struct ext4_prealloc_space *cpa) in ext4_mb_check_group_pa() argument 4739 if (cpa == NULL) { in ext4_mb_check_group_pa() 4743 cur_distance = abs(goal_block - cpa->pa_pstart); in ext4_mb_check_group_pa() 4747 return cpa; in ext4_mb_check_group_pa() 4750 atomic_dec(&cpa->pa_count); in ext4_mb_check_group_pa() 4796 struct ext4_prealloc_space *tmp_pa = NULL, *cpa = NULL; in ext4_mb_use_preallocated() local 4975 cpa = ext4_mb_check_group_pa(goal_block, in ext4_mb_use_preallocated() 4976 tmp_pa, cpa); in ext4_mb_use_preallocated() 4982 if (cpa) { in ext4_mb_use_preallocated() 4983 ext4_mb_use_group_pa(ac, cpa); in ext4_mb_use_preallocated()
|
/linux-6.6.21/drivers/s390/net/ |
D | lcs.c | 1401 (irb->scsw.cmd.cpa != 0)) { in lcs_irq() 1402 index = (struct ccw1 *) __va((addr_t) irb->scsw.cmd.cpa) in lcs_irq()
|