/openbmc/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 754 if (!cpa->pgd) in _lookup_address_cpa() 947 cpa->pfn = pfn; in __should_split_large_page() 1370 cpa->pfn++; in populate_pte() 1633 address = __cpa_addr(cpa, cpa->curpage); in __change_page_attr() 1715 if (!pfn_range_is_mapped(cpa->pfn, cpa->pfn + 1)) in cpa_process_alias() 1722 vaddr = __cpa_addr(cpa, cpa->curpage); in cpa_process_alias() 1822 BUG_ON(cpa->numpages > rempages || !cpa->numpages); in __change_page_attr_set_clr() 1824 cpa->curpage += cpa->numpages; in __change_page_attr_set_clr() 1841 memset(&cpa, 0, sizeof(cpa)); in change_page_attr_set_clr() 2179 memset(&cpa, 0, sizeof(cpa)); in __set_memory_enc_pgtable() [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | vmur.c | 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 228 if (!cpa) in alloc_chan_prog() 237 free_chan_prog(cpa); in alloc_chan_prog() 242 free_chan_prog(cpa); in alloc_chan_prog() 249 return cpa; in alloc_chan_prog() 421 struct ccw1 *cpa; in do_write() local 425 if (IS_ERR(cpa)) in do_write() 426 return PTR_ERR(cpa); in do_write() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | orb.h | 37 u32 cpa; /* channel program address */ member
|
H A D | device_status.c | 272 cdev_irb->scsw.cmd.cpa = irb->scsw.cmd.cpa; in ccw_device_accumulate_irb()
|
H A 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()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | dasd-ipl.c | 76 uint32_t cpa) in run_dynamic_ccw_program() argument 83 has_next = dynamic_cp_fixup(cpa, &next_cpa); in run_dynamic_ccw_program() 85 print_int("executing ccw chain at ", cpa); in run_dynamic_ccw_program() 87 rc = do_cio(schid, cutype, cpa, CCW_FMT0); in run_dynamic_ccw_program() 93 cpa = next_cpa; in run_dynamic_ccw_program()
|
H A D | cio.c | 181 uint64_t this_ccw = *(uint64_t *)u32toptr(irb->scsw.cpa); in print_irb_err() 182 uint64_t prev_ccw = *(uint64_t *)u32toptr(irb->scsw.cpa - 8); in print_irb_err() 305 print_int(" cpa=", irb->scsw.cpa); in print_irb_err() 326 .cpa = ccw_addr, in __do_cio()
|
H A D | cio.h | 67 u32 cpa; member 255 u32 cpa; /* channel program address */ member
|
/openbmc/linux/sound/soc/sof/intel/ |
H A 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()
|
H A 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()
|
/openbmc/qemu/include/hw/s390x/ |
H A D | ioinst.h | 24 uint32_t cpa; member 151 uint32_t cpa; member
|
H A D | css.h | 155 sch->curr_status.scsw.cpa = sch->channel_prog + 8; in sch_gen_unit_exception()
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_3990_erp.c | 1606 __u32 cpa = 0; in dasd_3990_erp_action_1B_32() local 1643 cpa = default_erp->refers->irb.scsw.cmd.cpa; in dasd_3990_erp_action_1B_32() 1645 if (cpa == 0) { in dasd_3990_erp_action_1B_32() 1724 ccw->cda = cpa; in dasd_3990_erp_action_1B_32() 1765 __u32 cpa = 0; in dasd_3990_update_1B() local 1801 cpa = previous_erp->irb.scsw.cmd.cpa; in dasd_3990_update_1B() 1803 if (cpa == 0) { in dasd_3990_update_1B() 1851 ccw->cda = cpa; in dasd_3990_update_1B()
|
H A 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()
|
H A D | dasd_eckd.c | 5615 phys_to_virt(irb->scsw.cmd.cpa)); in dasd_eckd_dump_sense_ccw() 5662 fail = phys_to_virt(irb->scsw.cmd.cpa); /* failing CCW */ in dasd_eckd_dump_sense_ccw()
|
/openbmc/qemu/hw/s390x/ |
H A D | css.c | 85 VMSTATE_UINT32(cpa, SCSW), 178 VMSTATE_UINT32(cpa, ORB), 749 schib->scsw.cpa = curr_ccw + 8; in sch_handle_halt_func() 1179 schib->scsw.cpa = sch->channel_prog + 8; in sch_handle_start_func_virtual() 1193 schib->scsw.cpa = sch->channel_prog + 8; in sch_handle_start_func_virtual() 1207 schib->scsw.cpa = sch->channel_prog + 8; in sch_handle_start_func_virtual() 1345 dest->cpa = cpu_to_be32(src->cpa); in copy_scsw_to_guest() 1421 dest->cpa = be32_to_cpu(src->cpa); in copy_scsw_from_guest() 1663 sch->channel_prog = orb->cpa; in css_do_ssch()
|
/openbmc/qemu/target/s390x/ |
H A D | ioinst.c | 173 dest->cpa = be32_to_cpu(src->cpa); in copy_orb_from_guest() 186 if ((orb->cpa & HIGH_ORDER_BIT) != 0) { in ioinst_orb_valid()
|
/openbmc/linux/Documentation/arch/s390/ |
H A 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::
|
/openbmc/linux/arch/sparc/lib/ |
H A D | checksum_32.S | 95 1: be cpa 102 b cpa 115 cpa: be 3f ! none to do label
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | scsw.h | 56 __u32 cpa; member
|
/openbmc/linux/fs/ext4/ |
H A D | mballoc.c | 4739 struct ext4_prealloc_space *cpa) in ext4_mb_check_group_pa() argument 4743 if (cpa == NULL) { in ext4_mb_check_group_pa() 4747 cur_distance = abs(goal_block - cpa->pa_pstart); in ext4_mb_check_group_pa() 4751 return cpa; in ext4_mb_check_group_pa() 4754 atomic_dec(&cpa->pa_count); in ext4_mb_check_group_pa() 4800 struct ext4_prealloc_space *tmp_pa = NULL, *cpa = NULL; in ext4_mb_use_preallocated() local 4979 cpa = ext4_mb_check_group_pa(goal_block, in ext4_mb_use_preallocated() 4980 tmp_pa, cpa); in ext4_mb_use_preallocated() 4986 if (cpa) { in ext4_mb_use_preallocated() 4987 ext4_mb_use_group_pa(ac, cpa); in ext4_mb_use_preallocated()
|
/openbmc/linux/drivers/s390/net/ |
H A 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()
|