/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-pinctrl.h | 41 #define AM62AX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 42 #define AM62AX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 44 #define AM62PX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 45 #define AM62PX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 47 #define AM62X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 48 #define AM62X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 50 #define AM64X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 51 #define AM64X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 53 #define AM65X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument 54 #define AM65X_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 42 static inline uint16_t virtio_lduw_phys(VirtIODevice *vdev, hwaddr pa) in virtio_lduw_phys() argument 47 return lduw_be_phys(dma_as, pa); in virtio_lduw_phys() 49 return lduw_le_phys(dma_as, pa); in virtio_lduw_phys() 52 static inline uint32_t virtio_ldl_phys(VirtIODevice *vdev, hwaddr pa) in virtio_ldl_phys() argument 57 return ldl_be_phys(dma_as, pa); in virtio_ldl_phys() 59 return ldl_le_phys(dma_as, pa); in virtio_ldl_phys() 62 static inline uint64_t virtio_ldq_phys(VirtIODevice *vdev, hwaddr pa) in virtio_ldq_phys() argument 67 return ldq_be_phys(dma_as, pa); in virtio_ldq_phys() 69 return ldq_le_phys(dma_as, pa); in virtio_ldq_phys() 72 static inline void virtio_stw_phys(VirtIODevice *vdev, hwaddr pa, in virtio_stw_phys() argument [all …]
|
/openbmc/linux/include/dt-bindings/pinctrl/ |
H A D | omap.h | 57 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) argument 59 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val) argument 60 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 61 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 62 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val) argument 63 #define OMAP3630_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25a0) (val) argument 64 #define OMAP3_WKUP_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2a00) (val) argument 65 #define DM814X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 66 #define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 67 #define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) (0) argument [all …]
|
/openbmc/u-boot/include/dt-bindings/pinctrl/ |
H A D | omap.h | 59 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) argument 61 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val) argument 62 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 63 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 64 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val) argument 65 #define OMAP3630_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25a0) (val) argument 66 #define OMAP3_WKUP_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2a00) (val) argument 67 #define DM814X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 68 #define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 69 #define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1.c | 15 #define PA 0 macro 21 MX1_PAD_A24 = PAD_ID(PA, 0), 22 MX1_PAD_TIN = PAD_ID(PA, 1), 23 MX1_PAD_PWMO = PAD_ID(PA, 2), 24 MX1_PAD_CSI_MCLK = PAD_ID(PA, 3), 25 MX1_PAD_CSI_D0 = PAD_ID(PA, 4), 26 MX1_PAD_CSI_D1 = PAD_ID(PA, 5), 27 MX1_PAD_CSI_D2 = PAD_ID(PA, 6), 28 MX1_PAD_CSI_D3 = PAD_ID(PA, 7), 29 MX1_PAD_CSI_D4 = PAD_ID(PA, 8), [all …]
|
H A D | pinctrl-imx27.c | 19 #define PA 0 macro 27 MX27_PAD_USBH2_CLK = PAD_ID(PA, 0), 28 MX27_PAD_USBH2_DIR = PAD_ID(PA, 1), 29 MX27_PAD_USBH2_DATA7 = PAD_ID(PA, 2), 30 MX27_PAD_USBH2_NXT = PAD_ID(PA, 3), 31 MX27_PAD_USBH2_STP = PAD_ID(PA, 4), 32 MX27_PAD_LSCLK = PAD_ID(PA, 5), 33 MX27_PAD_LD0 = PAD_ID(PA, 6), 34 MX27_PAD_LD1 = PAD_ID(PA, 7), 35 MX27_PAD_LD2 = PAD_ID(PA, 8), [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | cfm.c | 100 smc->y[PA].scrub = 0 ; in cfm_init() 102 smc->y[PA].cem_pst = CEM_PST_DOWN ; in cfm_init() 107 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \ 123 /* take precedence over PA */ in selection_criteria() 159 if (np != PA && np != PB) { in cem_priv_state() 236 smc->y[PA].pc_mode == PM_PEER) || in cfm() 270 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm() 272 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm() 285 /*SAS port can be PA or PB ! */ in cfm_fsm() 286 if (smc->s.sas && (smc->y[PA].cf_join || smc->y[PA].cf_loop || in cfm_fsm() [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | io.c | 75 u8 omap_readb(u32 pa) in omap_readb() argument 77 return __raw_readb(OMAP1_IO_ADDRESS(pa)); in omap_readb() 81 u16 omap_readw(u32 pa) in omap_readw() argument 83 return __raw_readw(OMAP1_IO_ADDRESS(pa)); in omap_readw() 87 u32 omap_readl(u32 pa) in omap_readl() argument 89 return __raw_readl(OMAP1_IO_ADDRESS(pa)); in omap_readl() 93 void omap_writeb(u8 v, u32 pa) in omap_writeb() argument 95 __raw_writeb(v, OMAP1_IO_ADDRESS(pa)); in omap_writeb() 99 void omap_writew(u16 v, u32 pa) in omap_writew() argument 101 __raw_writew(v, OMAP1_IO_ADDRESS(pa)); in omap_writew() [all …]
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | cache-pl310.c | 55 u32 pa, line_size = 32; in v7_outer_cache_flush_range() local 63 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_flush_range() 64 writel(pa, &pl310->pl310_clean_inv_line_pa); in v7_outer_cache_flush_range() 73 u32 pa, line_size = 32; in v7_outer_cache_inval_range() local 97 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_inval_range() 98 writel(pa, &pl310->pl310_inv_line_pa); in v7_outer_cache_inval_range()
|
/openbmc/linux/arch/x86/mm/ |
H A D | srat.c | 28 acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa) in acpi_numa_x2apic_affinity_init() argument 35 if (pa->header.length < sizeof(struct acpi_srat_x2apic_cpu_affinity)) { in acpi_numa_x2apic_affinity_init() 39 if ((pa->flags & ACPI_SRAT_CPU_ENABLED) == 0) in acpi_numa_x2apic_affinity_init() 41 pxm = pa->proximity_domain; in acpi_numa_x2apic_affinity_init() 42 apic_id = pa->apic_id; in acpi_numa_x2apic_affinity_init() 66 acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa) in acpi_numa_processor_affinity_init() argument 73 if (pa->header.length != sizeof(struct acpi_srat_cpu_affinity)) { in acpi_numa_processor_affinity_init() 77 if ((pa->flags & ACPI_SRAT_CPU_ENABLED) == 0) in acpi_numa_processor_affinity_init() 79 pxm = pa->proximity_domain_lo; in acpi_numa_processor_affinity_init() 81 pxm |= *((unsigned int*)pa->proximity_domain_hi) << 8; in acpi_numa_processor_affinity_init() [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | hardware.h | 23 pcx = 0, /* pa7000 pa 1.0 */ 24 pcxs = 1, /* pa7000 pa 1.1a */ 25 pcxt = 2, /* pa7100 pa 1.1b */ 26 pcxt_ = 3, /* pa7200 (t') pa 1.1c */ 27 pcxl = 4, /* pa7100lc pa 1.1d */ 28 pcxl2 = 5, /* pa7300lc pa 1.1e */ 29 pcxu = 6, /* pa8000 pa 2.0 */ 30 pcxu_ = 7, /* pa8200 (u+) pa 2.0 */ 31 pcxw = 8, /* pa8500 pa 2.0 */ 32 pcxw_ = 9, /* pa8600 (w+) pa 2.0 */ [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | mballoc.c | 257 * blocks: how many blocks marked used/free in on-disk bitmap, buddy and PA. 261 * - new PA: buddy += N; PA = N 262 * - use inode PA: on-disk += N; PA -= N 263 * - discard inode PA buddy -= on-disk - PA; PA = 0 264 * - use locality group PA on-disk += N; PA -= N 265 * - discard locality group PA buddy -= PA; PA = 0 266 * note: 'buddy -= on-disk - PA' is used to show that on-disk bitmap 268 * bits from PA, only from on-disk bitmap 278 * bit set and PA claims same block, it's OK. IOW, one can set bit in 279 * on-disk bitmap if buddy has same bit set or/and PA covers corresponded [all …]
|
/openbmc/linux/lib/ |
H A D | test_debug_virtual.c | 24 phys_addr_t pa; in test_debug_virtual_init() local 28 pa = virt_to_phys(va); in test_debug_virtual_init() 30 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init() 36 pa = virt_to_phys(foo); in test_debug_virtual_init() 38 pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); in test_debug_virtual_init()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | hpmc.S | 116 load32 PA(hpmc_stack),sp 129 load32 PA(os_hpmc_1),%r4 148 load32 PA(hpmc_raddr),arg2 149 load32 PA(hpmc_pim_data),arg3 153 ldil L%PA(os_hpmc_2), rp 155 ldo R%PA(os_hpmc_2)(rp), rp 168 ldil L%PA(os_hpmc_3),rp 170 ldo R%PA(os_hpmc_3)(rp),rp 189 load32 PA(hpmc_raddr),arg2 193 load32 PA(hpmc_iodc_buf),%r4 [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | acpi_numa.c | 40 struct acpi_srat_gicc_affinity *pa; in acpi_parse_gicc_pxm() local 46 pa = (struct acpi_srat_gicc_affinity *)header; in acpi_parse_gicc_pxm() 47 if (!pa) in acpi_parse_gicc_pxm() 50 if (!(pa->flags & ACPI_SRAT_GICC_ENABLED)) in acpi_parse_gicc_pxm() 53 pxm = pa->proximity_domain; in acpi_parse_gicc_pxm() 62 cpu = get_cpu_for_acpi_id(pa->acpi_processor_uid); in acpi_parse_gicc_pxm() 81 void __init acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) in acpi_numa_gicc_affinity_init() argument 88 if (pa->header.length < sizeof(struct acpi_srat_gicc_affinity)) { in acpi_numa_gicc_affinity_init() 90 pa->header.length); in acpi_numa_gicc_affinity_init() 95 if (!(pa->flags & ACPI_SRAT_GICC_ENABLED)) in acpi_numa_gicc_affinity_init() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | 44 * @pa: page_array on which to perform the operation 55 * -EINVAL if pa->pa_nr is not initially zero, or pa->pa_iova is not NULL 58 static int page_array_alloc(struct page_array *pa, unsigned int len) in page_array_alloc() argument 60 if (pa->pa_nr || pa->pa_iova) in page_array_alloc() 66 pa->pa_nr = len; in page_array_alloc() 68 pa->pa_iova = kcalloc(len, sizeof(*pa->pa_iova), GFP_KERNEL); in page_array_alloc() 69 if (!pa->pa_iova) in page_array_alloc() 72 pa->pa_page = kcalloc(len, sizeof(*pa->pa_page), GFP_KERNEL); in page_array_alloc() 73 if (!pa->pa_page) { in page_array_alloc() 74 kfree(pa->pa_iova); in page_array_alloc() [all …]
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 71 dma_addr_t pa; in usnic_uiom_put_pages() local 76 pa = sg_phys(sg); in usnic_uiom_put_pages() 78 usnic_dbg("pa: %pa\n", &pa); in usnic_uiom_put_pages() 99 dma_addr_t pa; in usnic_uiom_get_pages() local 165 pa = sg_phys(sg); in usnic_uiom_get_pages() 166 usnic_dbg("va: 0x%lx pa: %pa\n", in usnic_uiom_get_pages() 167 cur_base + i*PAGE_SIZE, &pa); in usnic_uiom_get_pages() 246 dma_addr_t pa; in usnic_uiom_map_sorted_intervals() local 260 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals() 267 pa_start = pa; in usnic_uiom_map_sorted_intervals() [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | cmm.c | 65 struct cmm_page_array *pa, *npa; in cmm_alloc_pages() local 73 pa = *list; in cmm_alloc_pages() 74 if (!pa || pa->index >= CMM_NR_PAGES) { in cmm_alloc_pages() 84 pa = *list; in cmm_alloc_pages() 85 if (!pa || pa->index >= CMM_NR_PAGES) { in cmm_alloc_pages() 86 npa->next = pa; in cmm_alloc_pages() 88 pa = npa; in cmm_alloc_pages() 89 *list = pa; in cmm_alloc_pages() 94 pa->pages[pa->index++] = addr; in cmm_alloc_pages() 105 struct cmm_page_array *pa; in __cmm_free_pages() local [all …]
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpioctl.c | 180 struct hpi_adapter *pa = NULL; in asihpi_hpi_ioctl() local 183 pa = &adapters[array_index_nospec(hm->h.adapter_index, in asihpi_hpi_ioctl() 186 if (!pa || !pa->adapter || !pa->adapter->type) { in asihpi_hpi_ioctl() 199 if (mutex_lock_interruptible(&pa->mutex)) { in asihpi_hpi_ioctl() 216 if (pa->buffer_size < size) { in asihpi_hpi_ioctl() 221 pa->buffer_size, size); in asihpi_hpi_ioctl() 222 if (pa->p_buffer) { in asihpi_hpi_ioctl() 223 pa->buffer_size = 0; in asihpi_hpi_ioctl() 224 vfree(pa->p_buffer); in asihpi_hpi_ioctl() 226 pa->p_buffer = vmalloc(size); in asihpi_hpi_ioctl() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | umc_v6_7.h | 57 /* XOR bit 20, 25, 34 of PA into CH4 bit (bit 12 of PA), 60 #define CHANNEL_HASH(channel_idx, pa) (((channel_idx) >> 4) ^ \ argument 61 (((pa) >> 20) & 0x1ULL & adev->df.hash_status.hash_64k) ^ \ 62 (((pa) >> 25) & 0x1ULL & adev->df.hash_status.hash_2m) ^ \ 63 (((pa) >> 34) & 0x1ULL & adev->df.hash_status.hash_1g)) 64 #define SET_CHANNEL_HASH(channel_idx, pa) do { \ argument 65 (pa) &= ~(0x1ULL << UMC_V6_7_PA_CH4_BIT); \ 66 (pa) |= (CHANNEL_HASH(channel_idx, pa) << UMC_V6_7_PA_CH4_BIT); \
|
/openbmc/openbmc/poky/meta/recipes-connectivity/dhcpcd/files/ |
H A D | 0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch | 14 .It Pa /usr/libexec/dhcpcd-run-hooks 16 -.It Pa /usr/lib64/dhcpcd/dev 17 +.It Pa /usr/lib/dhcpcd/dev 19 .Pa /dev 37 .It Pa @SCRIPT@ 39 -.It Pa @LIBDIR@/dhcpcd/dev 40 +.It Pa /usr/<libdir>/dhcpcd/dev 42 .Pa /dev
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | dump_tlb.c | 31 unsigned long long entrylo0, entrylo1, pa; in dump_tlb() local 76 pa = entrylo0 & ~(ENTRYLO_NR | ENTRYLO_NX); in dump_tlb() 77 pa = pa & PAGE_MASK; in dump_tlb() 82 pr_cont("pa=0x%0*llx c=%d d=%d v=%d g=%d plv=%lld] [", in dump_tlb() 83 pwidth, pa, c0, in dump_tlb() 89 pa = entrylo1 & ~(ENTRYLO_NR | ENTRYLO_NX); in dump_tlb() 90 pa = pa & PAGE_MASK; in dump_tlb() 94 pr_cont("pa=0x%0*llx c=%d d=%d v=%d g=%d plv=%lld]\n", in dump_tlb() 95 pwidth, pa, c1, in dump_tlb()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | r8169_firmware.c | 46 struct rtl_fw_phy_action *pa = &rtl_fw->phy_action; in rtl_fw_format_ok() local 73 pa->code = (__le32 *)(fw->data + start); in rtl_fw_format_ok() 74 pa->size = size; in rtl_fw_format_ok() 81 pa->code = (__le32 *)fw->data; in rtl_fw_format_ok() 82 pa->size = fw->size / FW_OPCODE_SIZE; in rtl_fw_format_ok() 90 struct rtl_fw_phy_action *pa = &rtl_fw->phy_action; in rtl_fw_data_ok() local 93 for (index = 0; index < pa->size; index++) { in rtl_fw_data_ok() 94 u32 action = le32_to_cpu(pa->code[index]); in rtl_fw_data_ok() 118 if (index + 2 >= pa->size) in rtl_fw_data_ok() 124 if (index + 1 + regno >= pa->size) in rtl_fw_data_ok() [all …]
|
/openbmc/qemu/audio/ |
H A D | paaudio.c | 519 PAVoiceOut *pa = (PAVoiceOut *) hw; in qpa_init_out() local 520 paaudio *g = pa->g = drv_opaque; in qpa_init_out() 521 AudiodevPaOptions *popts = &g->dev->u.pa; in qpa_init_out() 537 pa->stream = qpa_simple_new ( in qpa_init_out() 546 if (!pa->stream) { in qpa_init_out() 568 PAVoiceIn *pa = (PAVoiceIn *) hw; in qpa_init_in() local 569 paaudio *g = pa->g = drv_opaque; in qpa_init_in() 570 AudiodevPaOptions *popts = &g->dev->u.pa; in qpa_init_in() 586 pa->stream = qpa_simple_new ( in qpa_init_in() 595 if (!pa->stream) { in qpa_init_in() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | head_32.S | 32 #define pa(X) ((X) - __PAGE_OFFSET) macro 69 movl pa(initial_stack),%ecx 74 lgdt pa(boot_gdt_descr) 88 movl $pa(__bss_start),%edi 89 movl $pa(__bss_stop),%ecx 101 movl $pa(boot_params),%edi 106 movl pa(boot_params) + NEW_CL_POINTER,%esi 109 movl $pa(boot_command_line),%edi 118 movl %eax, pa(olpc_ofw_pgd) 130 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax [all …]
|