Home
last modified time | relevance | path

Searched refs:p_addr (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c515 bm_unmap(p_addr); in bm_clear_surplus()
549 bm_unmap(p_addr); in bm_set_surplus()
577 __bm_unmap(p_addr); in bm_count_bits()
605 bm_unmap(p_addr); in bm_memset()
841 bm_unmap(p_addr); in drbd_bm_merge_lel()
1404 if (p_addr) in __bm_change_bits_to()
1420 if (p_addr) in __bm_change_bits_to()
1599 bm_unmap(p_addr); in drbd_bm_test_bit()
1637 if (p_addr) in drbd_bm_count_bits()
1646 if (p_addr) in drbd_bm_count_bits()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu.c480 setup_ddr_tlbs_phys(phys_addr_t p_addr, unsigned int memsize_in_meg);
482 void clear_ddr_tlbs_phys(phys_addr_t p_addr, unsigned int memsize_in_meg);
575 static int reset_tlb(phys_addr_t p_addr, u32 size, phys_addr_t *phys_offset) in reset_tlb() argument
582 clear_ddr_tlbs_phys(p_addr, size>>20); in reset_tlb()
585 setup_ddr_tlbs_phys(p_addr, size>>20); in reset_tlb()
606 phys_addr_t test_cap, p_addr; in arch_memory_test_advance() local
616 p_addr = (*vstart) + (*size) + (*phys_offset); in arch_memory_test_advance()
617 if (p_addr < test_cap - 1) { in arch_memory_test_advance()
618 p_size = min(test_cap - p_addr, CONFIG_MAX_MEM_MAPPED); in arch_memory_test_advance()
619 if (reset_tlb(p_addr, p_size, phys_offset) == -1) in arch_memory_test_advance()
H A Dtlb.c240 uint64_t tlb_map_range(ulong v_addr, phys_addr_t p_addr, uint64_t size, in tlb_map_range() argument
287 set_tlb(1, v_addr, p_addr, perm, wimge, in tlb_map_range()
292 p_addr += 1UL << camsize; in tlb_map_range()
298 unsigned int setup_ddr_tlbs_phys(phys_addr_t p_addr, in setup_ddr_tlbs_phys() argument
306 size = tlb_map_range(ram_tlb_address, p_addr, size, TLB_MAP_RAM); in setup_ddr_tlbs_phys()
324 void clear_ddr_tlbs_phys(phys_addr_t p_addr, unsigned int memsize_in_meg) in clear_ddr_tlbs_phys() argument
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_fcoe.c370 void *p_addr; in qed_fcoe_allocate_connection() local
393 if (!p_addr) in qed_fcoe_allocate_connection()
395 p_conn->xferq_pbl_addr_virt_addr = p_addr; in qed_fcoe_allocate_connection()
401 if (!p_addr) in qed_fcoe_allocate_connection()
403 p_conn->xferq_addr_virt_addr[i] = p_addr; in qed_fcoe_allocate_connection()
405 p_addr = p_conn->xferq_pbl_addr_virt_addr; in qed_fcoe_allocate_connection()
412 if (!p_addr) in qed_fcoe_allocate_connection()
414 p_conn->confq_pbl_addr_virt_addr = p_addr; in qed_fcoe_allocate_connection()
420 if (!p_addr) in qed_fcoe_allocate_connection()
422 p_conn->confq_addr_virt_addr[i] = p_addr; in qed_fcoe_allocate_connection()
[all …]
H A Dqed_hw.c524 dma_addr_t *p_addr = &p_hwfn->dmae_info.completion_word_phys_addr; in qed_dmae_info_alloc() local
530 sizeof(u32), p_addr, GFP_KERNEL); in qed_dmae_info_alloc()
534 p_addr = &p_hwfn->dmae_info.dmae_cmd_phys_addr; in qed_dmae_info_alloc()
537 p_addr, GFP_KERNEL); in qed_dmae_info_alloc()
541 p_addr = &p_hwfn->dmae_info.intermediate_buffer_phys_addr; in qed_dmae_info_alloc()
544 p_addr, GFP_KERNEL); in qed_dmae_info_alloc()
H A Dqed_l2.c1598 u32 *p_addr, in __qed_get_vport_pstats_addrlen() argument
1602 *p_addr = BAR0_MAP_REG_PSDM_RAM + in __qed_get_vport_pstats_addrlen()
1609 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; in __qed_get_vport_pstats_addrlen()
1674 u32 *p_addr, in __qed_get_vport_ustats_addrlen() argument
1678 *p_addr = BAR0_MAP_REG_USDM_RAM + in __qed_get_vport_ustats_addrlen()
1685 *p_addr = p_resp->pfdev_info.stats_info.ustats.address; in __qed_get_vport_ustats_addrlen()
1715 u32 *p_addr, in __qed_get_vport_mstats_addrlen() argument
1719 *p_addr = BAR0_MAP_REG_MSDM_RAM + in __qed_get_vport_mstats_addrlen()
1726 *p_addr = p_resp->pfdev_info.stats_info.mstats.address; in __qed_get_vport_mstats_addrlen()
/openbmc/u-boot/drivers/net/
H A Dmvgbe.c383 static void port_uc_addr_set(struct mvgbe_device *dmvgbe, u8 *p_addr) in port_uc_addr_set() argument
389 mac_l = (p_addr[4] << 8) | (p_addr[5]); in port_uc_addr_set()
390 mac_h = (p_addr[0] << 24) | (p_addr[1] << 16) | (p_addr[2] << 8) | in port_uc_addr_set()
391 (p_addr[3] << 0); in port_uc_addr_set()
397 port_uc_addr(regs, p_addr[5], ACCEPT_MAC_ADDR); in port_uc_addr_set()
/openbmc/linux/drivers/dma/ioat/
H A Dhw.h180 uint64_t p_addr; member
224 uint64_t p_addr; member
H A Dprep.c298 dev_dbg(dev, "\tP: %#llx\n", pq->p_addr); in dump_pq_desc_dbg()
334 dev_dbg(dev, "\tP: %#llx\n", pq->p_addr); in dump_pq16_desc_dbg()
417 pq->p_addr = dst[0] + offset; in __ioat_prep_pq_lock()
531 pq->p_addr = dst[0] + offset; in __ioat_prep_pq16_lock()
/openbmc/linux/sound/soc/codecs/aw88395/
H A Daw88395_lib.h84 unsigned char *p_addr; member
H A Daw88395_lib.c153 memcpy((void *)&bin->header_info[bin->all_bin_parse_num], bin->p_addr, DATA_LEN); in aw_get_single_bin_header()
174 bin_start_addr = le32_to_cpup((void *)(bin->p_addr + START_ADDR_OFFSET)); in aw_parse_one_of_multi_bins()
175 bin->p_addr += (HEADER_LEN + bin_start_addr); in aw_parse_one_of_multi_bins()
181 bin->p_addr += (HDADER_LEN + valid_data_len); in aw_parse_one_of_multi_bins()
195 bin_num = le32_to_cpup((void *)(bin->p_addr + VALID_DATA_ADDR_OFFSET)); in aw_get_multi_bin_header()
222 bin_data_type = le32_to_cpup((void *)(bin->p_addr + BIN_DATA_TYPE_OFFSET)); in aw_parse_bin_header()
251 header_version = le32_to_cpup((void *)(bin->p_addr + HEADER_VERSION_OFFSET)); in aw_check_bin_header_version()
272 bin->p_addr = bin->info.data; in aw_parsing_bin_file()
/openbmc/linux/arch/sparc/include/asm/
H A Dsunbpp.h12 __volatile__ __u32 p_addr; /* Address Register */ member
/openbmc/linux/drivers/bus/mhi/host/
H A Dmain.c185 buf_info->p_addr = dma_map_single(mhi_cntrl->cntrl_dev, in mhi_map_single_no_bb()
188 if (dma_mapping_error(mhi_cntrl->cntrl_dev, buf_info->p_addr)) in mhi_map_single_no_bb()
198 &buf_info->p_addr, GFP_ATOMIC); in mhi_map_single_use_bb()
214 dma_unmap_single(mhi_cntrl->cntrl_dev, buf_info->p_addr, buf_info->len, in mhi_unmap_single_no_bb()
225 buf_info->bb_addr, buf_info->p_addr); in mhi_unmap_single_use_bb()
1188 buf_info.p_addr = mhi_buf->dma_addr; in mhi_queue_dma()
1219 buf_info->p_addr = info->p_addr; in mhi_gen_tre()
1241 mhi_tre->ptr = MHI_TRE_DATA_PTR(buf_info->p_addr); in mhi_gen_tre()
H A Dinternal.h188 dma_addr_t p_addr; member
/openbmc/linux/scripts/gdb/linux/
H A Dlists.py86 p_addr=p.address,
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dprotocols.h268 void __iomem **p_addr,
H A Ddriver.c1611 u32 domain, void __iomem **p_addr, in scmi_common_fastchannel_init() argument
1625 if (!p_addr) { in scmi_common_fastchannel_init()
1664 *p_addr = addr; in scmi_common_fastchannel_init()
1704 *p_addr = NULL; in scmi_common_fastchannel_init()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.c355 pinst = il->ucode_init.p_addr >> 4; in il4965_load_bsm()
356 pdata = il->ucode_init_data.p_addr >> 4; in il4965_load_bsm()
421 pinst = il->ucode_code.p_addr >> 4; in il4965_set_ucode_ptrs()
422 pdata = il->ucode_data_backup.p_addr >> 4; in il4965_set_ucode_ptrs()
H A Dcommon.h742 dma_addr_t p_addr; /* access by card's busmaster DMA */ member
2228 desc->p_addr); in il_free_fw_desc()
2242 &desc->p_addr, GFP_KERNEL); in il_alloc_fw_desc()
H A D3945.c2580 pinst = il->ucode_init.p_addr; in il3945_load_bsm()
2581 pdata = il->ucode_init_data.p_addr; in il3945_load_bsm()
H A D3945-mac.c1995 il->ucode_code.v_addr, (u32) il->ucode_code.p_addr); in il3945_read_ucode()
2058 pinst = il->ucode_code.p_addr; in il3945_set_ucode_ptrs()
2059 pdata = il->ucode_data_backup.p_addr; in il3945_set_ucode_ptrs()
/openbmc/linux/drivers/net/fddi/
H A Ddefxx.c2465 PI_LAN_ADDR *p_addr; /* pointer to CAM entry */ in dfx_ctl_update_cam() local
2482 p_addr = &bp->cmd_req_virt->addr_filter_set.entry[0]; in dfx_ctl_update_cam()
2490 memcpy(p_addr, &bp->uc_table[i*FDDI_K_ALEN], FDDI_K_ALEN); in dfx_ctl_update_cam()
2491 p_addr++; /* point to next command entry */ in dfx_ctl_update_cam()
2501 memcpy(p_addr, &bp->mc_table[i*FDDI_K_ALEN], FDDI_K_ALEN); in dfx_ctl_update_cam()
2502 p_addr++; /* point to next command entry */ in dfx_ctl_update_cam()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmmu.h517 extern uint64_t tlb_map_range(ulong v_addr, phys_addr_t p_addr, uint64_t size,
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c718 dma_addr_t p_addr; in iwl_pcie_load_section() local
725 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
731 &p_addr, GFP_KERNEL); in iwl_pcie_load_section()
752 ret = iwl_pcie_load_firmware_chunk(trans, dst_addr, p_addr, in iwl_pcie_load_section()
767 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c3139 static int mvneta_mcast_addr_set(struct mvneta_port *pp, unsigned char *p_addr, in mvneta_mcast_addr_set() argument
3144 if (memcmp(p_addr, "\x01\x00\x5e\x00\x00", 5) == 0) { in mvneta_mcast_addr_set()
3145 mvneta_set_special_mcast_addr(pp, p_addr[5], queue); in mvneta_mcast_addr_set()
3149 crc_result = mvneta_addr_crc(p_addr); in mvneta_mcast_addr_set()

12