Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c323 static void __bm_unmap(unsigned long *p_addr) in __bm_unmap() argument
325 kunmap_atomic(p_addr); in __bm_unmap()
328 static void bm_unmap(unsigned long *p_addr) in bm_unmap() argument
330 return __bm_unmap(p_addr); in bm_unmap()
485 unsigned long *p_addr, *bm; in bm_clear_surplus() local
497 p_addr = bm_map_pidx(b, b->bm_number_of_pages - 1); in bm_clear_surplus()
498 bm = p_addr + (tmp/BITS_PER_LONG); in bm_clear_surplus()
509 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { in bm_clear_surplus()
515 bm_unmap(p_addr); in bm_clear_surplus()
522 unsigned long *p_addr, *bm; in bm_set_surplus() local
[all …]
/linux/drivers/bluetooth/
H A Dbtintel_pcie.c871 dma_addr_t p_addr, void *v_addr, in btintel_pcie_setup_ia() argument
875 ia->tr_hia_p_addr = p_addr; in btintel_pcie_setup_ia()
879 ia->tr_tia_p_addr = p_addr + sizeof(u16) * BTINTEL_PCIE_NUM_QUEUES; in btintel_pcie_setup_ia()
883 ia->cr_hia_p_addr = p_addr + (sizeof(u16) * BTINTEL_PCIE_NUM_QUEUES * 2); in btintel_pcie_setup_ia()
887 ia->cr_tia_p_addr = p_addr + (sizeof(u16) * BTINTEL_PCIE_NUM_QUEUES * 3); in btintel_pcie_setup_ia()
906 dma_addr_t p_addr; in btintel_pcie_alloc() local
937 &p_addr); in btintel_pcie_alloc()
944 data->dma_p_addr = p_addr; in btintel_pcie_alloc()
952 data->txq.tfds_p_addr = p_addr; in btintel_pcie_alloc()
955 p_addr += (sizeof(struct tfd) * BTINTEL_DESCS_COUNT); in btintel_pcie_alloc()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_fcoe.c370 void *p_addr; in qed_fcoe_allocate_connection() local
390 p_addr = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_fcoe_allocate_connection()
393 if (!p_addr) in qed_fcoe_allocate_connection()
395 p_conn->xferq_pbl_addr_virt_addr = p_addr; in qed_fcoe_allocate_connection()
398 p_addr = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, 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()
406 ((dma_addr_t *)p_addr)[i] = p_conn->xferq_addr[i]; in qed_fcoe_allocate_connection()
409 p_addr = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, 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()
/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()
/linux/sound/soc/codecs/aw88395/
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()
H A Daw88395_lib.h84 unsigned char *p_addr; member
/linux/arch/sparc/include/asm/
H A Dsunbpp.h12 __volatile__ __u32 p_addr; /* Address Register */ member
/linux/scripts/gdb/linux/
H A Dlists.py86 p_addr=p.address,
/linux/drivers/firmware/arm_scmi/
H A Dprotocols.h279 void __iomem **p_addr,
H A Ddriver.c1843 u32 domain, void __iomem **p_addr, in scmi_common_fastchannel_init() argument
1857 if (!p_addr) { in scmi_common_fastchannel_init()
1899 *p_addr = addr; in scmi_common_fastchannel_init()
1939 *p_addr = NULL; in scmi_common_fastchannel_init()
/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()
H A D4965-mac.c4915 il->ucode_code.v_addr, (u32) il->ucode_code.p_addr); in il4965_ucode_callback()
/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()
/linux/drivers/bus/mhi/host/
H A Dinternal.h225 dma_addr_t p_addr; member
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c717 dma_addr_t p_addr; in iwl_pcie_load_section() local
724 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
730 &p_addr, GFP_KERNEL); in iwl_pcie_load_section()
751 ret = iwl_pcie_load_firmware_chunk(trans, dst_addr, p_addr, in iwl_pcie_load_section()
766 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/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()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h754 unsigned long p_addr; member