Home
last modified time | relevance | path

Searched refs:wrp (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-pmic-wrap.c1067 int (*pwrap_read)(struct pmic_wrapper *wrp, u32 adr, u32 *rdata);
1068 int (*pwrap_write)(struct pmic_wrapper *wrp, u32 adr, u32 wdata);
1095 int (*init_reg_clock)(struct pmic_wrapper *wrp);
1096 int (*init_soc_specific)(struct pmic_wrapper *wrp);
1099 static u32 pwrap_readl(struct pmic_wrapper *wrp, enum pwrap_regs reg) in pwrap_readl() argument
1101 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl()
1104 static void pwrap_writel(struct pmic_wrapper *wrp, u32 val, enum pwrap_regs reg) in pwrap_writel() argument
1106 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel()
1109 static bool pwrap_is_fsm_idle(struct pmic_wrapper *wrp) in pwrap_is_fsm_idle() argument
1111 u32 val = pwrap_readl(wrp, PWRAP_WACS2_RDATA); in pwrap_is_fsm_idle()
[all …]
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_dsps.c105 const struct dsps_musb_wrapper *wrp; /* wrapper register offsets */ member
140 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer()
172 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_enable() local
177 epmask = ((musb->epmask & wrp->txep_mask) << wrp->txep_shift) | in dsps_musb_enable()
178 ((musb->epmask & wrp->rxep_mask) << wrp->rxep_shift); in dsps_musb_enable()
179 coremask = (wrp->usb_bitmap & ~MUSB_INTR_SOF); in dsps_musb_enable()
181 musb_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
182 musb_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()
198 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_disable() local
201 musb_writel(reg_base, wrp->coreintr_clear, wrp->usb_bitmap); in dsps_musb_disable()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_scsi.c257 struct csio_wr_pair wrp; in csio_scsi_cmd() local
262 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_cmd()
266 if (wrp.size1 >= size) { in csio_scsi_cmd()
268 csio_scsi_init_cmd_wr(req, wrp.addr1, size); in csio_scsi_cmd()
277 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_cmd()
278 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_cmd()
360 csio_scsi_init_read_wr(struct csio_ioreq *req, void *wrp, uint32_t size) in csio_scsi_init_read_wr() argument
364 struct fw_scsi_read_wr *wr = (struct fw_scsi_read_wr *)wrp; in csio_scsi_init_read_wr()
393 csio_scsi_fcp_cmnd(req, (void *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
397 sgl = (struct ulptx_sgl *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
[all …]
Dcsio_wr.c863 struct csio_wr_pair *wrp) in csio_wr_get() argument
909 wrp->addr1 = cwr; in csio_wr_get()
910 wrp->size1 = (uint32_t)((uintptr_t)q->vwrap - (uintptr_t)cwr); in csio_wr_get()
911 wrp->addr2 = q->vstart; in csio_wr_get()
912 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
913 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get()
918 wrp->addr1 = cwr; in csio_wr_get()
919 wrp->size1 = req_sz; in csio_wr_get()
920 wrp->addr2 = NULL; in csio_wr_get()
921 wrp->size2 = 0; in csio_wr_get()
[all …]
Dcsio_lnode.c1728 struct csio_wr_pair wrp; in csio_ln_mgmt_submit_wr() local
1754 ret = csio_wr_get(hw, mgmtm->eq_idx, wr_size, &wrp); in csio_ln_mgmt_submit_wr()
1768 csio_wr_copy_to_wrp(&fw_wr[0], &wrp, wr_off, in csio_ln_mgmt_submit_wr()
1774 csio_wr_copy_to_wrp(pld->vaddr, &wrp, wr_off, im_len); in csio_ln_mgmt_submit_wr()
1781 csio_wr_copy_to_wrp(&dsgl, &wrp, ALIGN(wr_off, 8), in csio_ln_mgmt_submit_wr()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhal.c280 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp()
282 if (!hal->wrp.vaddr) in ath11k_hal_alloc_cont_wrp()
293 if (!hal->wrp.vaddr) in ath11k_hal_free_cont_wrp()
298 hal->wrp.vaddr, hal->wrp.paddr); in ath11k_hal_free_cont_wrp()
299 hal->wrp.vaddr = NULL; in ath11k_hal_free_cont_wrp()
575 return ab->hal.wrp.paddr + in ath11k_hal_srng_get_hp_addr()
577 (unsigned long)ab->hal.wrp.vaddr); in ath11k_hal_srng_get_hp_addr()
595 return ab->hal.wrp.paddr + in ath11k_hal_srng_get_tp_addr()
597 (unsigned long)ab->hal.wrp.vaddr); in ath11k_hal_srng_get_tp_addr()
1020 srng->u.src_ring.hp_addr = (void *)(hal->wrp.vaddr + in ath11k_hal_srng_setup()
[all …]
Dhal.h881 } wrp; member
/kernel/linux/linux-5.10/fs/ntfs/
Dlogfile.c337 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, in ntfs_check_and_load_restart_page() argument
445 if (wrp) in ntfs_check_and_load_restart_page()
446 *wrp = trp; in ntfs_check_and_load_restart_page()
/kernel/linux/linux-5.10/fs/orangefs/
Dinode.c93 struct orangefs_write_range *wrp, wr; in orangefs_writepages_work() local
130 wrp = (struct orangefs_write_range *) in orangefs_writepages_work()
134 kfree(wrp); in orangefs_writepages_work()
143 wrp = (struct orangefs_write_range *) in orangefs_writepages_work()
147 kfree(wrp); in orangefs_writepages_work()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1100 struct work_request_hdr *wrp = (struct work_request_hdr *)d; in write_wr_hdr_sgl() local
1112 wrp->wr_hi = htonl(F_WR_SOP | F_WR_EOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1115 wrp->wr_lo = htonl(V_WR_LEN(flits + sgl_flits) | in write_wr_hdr_sgl()
1121 struct work_request_hdr *wp = wrp; in write_wr_hdr_sgl()
1123 wrp->wr_hi = htonl(F_WR_SOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1149 wrp = (struct work_request_hdr *)d; in write_wr_hdr_sgl()
1150 wrp->wr_hi = htonl(V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1152 wrp->wr_lo = htonl(V_WR_LEN(min(WR_FLITS, in write_wr_hdr_sgl()
1159 wrp->wr_hi |= htonl(F_WR_EOP); in write_wr_hdr_sgl()
1482 struct work_request_hdr *wrp = (struct work_request_hdr *)skb->data; in ctrl_xmit() local
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/dm1105/
Ddm1105.c350 u32 wrp; member
675 u32 oldwrp = dev->wrp; in dm1105_dmx_buffer()
686 dev->wrp = 0; in dm1105_dmx_buffer()
699 dev->wrp = nextwrp; in dm1105_dmx_buffer()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-lmcx-defs.h1879 uint64_t wrp:3; member
1907 uint64_t wrp:3;
Dcvmx-npei-defs.h3258 uint64_t wrp:9; member
3264 uint64_t wrp:9;
/kernel/linux/linux-5.10/Documentation/filesystems/caching/
Dfscache.rst398 | |wrp=N |Number of in-progress write_page() cache ops |