Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_dsps.c123 const struct dsps_musb_wrapper *wrp; /* wrapper register offsets */ member
177 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_enable() local
182 epmask = ((musb->epmask & wrp->txep_mask) << wrp->txep_shift) | in dsps_musb_enable()
183 ((musb->epmask & wrp->rxep_mask) << wrp->rxep_shift); in dsps_musb_enable()
184 coremask = (wrp->usb_bitmap & ~MUSB_INTR_SOF); in dsps_musb_enable()
186 dsps_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
187 dsps_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()
189 dsps_writel(reg_base, wrp->coreintr_set, in dsps_musb_enable()
190 (1 << wrp->drvvbus) << wrp->usb_shift); in dsps_musb_enable()
201 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_disable() local
[all …]
/drivers/scsi/csiostor/
Dcsio_scsi.c281 struct csio_wr_pair wrp; in csio_scsi_cmd() local
286 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_cmd()
290 if (wrp.size1 >= size) { in csio_scsi_cmd()
292 csio_scsi_init_cmd_wr(req, wrp.addr1, size); in csio_scsi_cmd()
301 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_cmd()
302 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_cmd()
384 csio_scsi_init_read_wr(struct csio_ioreq *req, void *wrp, uint32_t size) in csio_scsi_init_read_wr() argument
388 struct fw_scsi_read_wr *wr = (struct fw_scsi_read_wr *)wrp; in csio_scsi_init_read_wr()
417 csio_scsi_fcp_cmnd(req, (void *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
421 sgl = (struct ulptx_sgl *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
[all …]
Dcsio_wr.c864 struct csio_wr_pair *wrp) in csio_wr_get() argument
910 wrp->addr1 = cwr; in csio_wr_get()
911 wrp->size1 = (uint32_t)((uintptr_t)q->vwrap - (uintptr_t)cwr); in csio_wr_get()
912 wrp->addr2 = q->vstart; in csio_wr_get()
913 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
914 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get()
919 wrp->addr1 = cwr; in csio_wr_get()
920 wrp->size1 = req_sz; in csio_wr_get()
921 wrp->addr2 = NULL; in csio_wr_get()
922 wrp->size2 = 0; in csio_wr_get()
[all …]
Dcsio_lnode.c1711 struct csio_wr_pair wrp; in csio_ln_mgmt_submit_wr() local
1737 ret = csio_wr_get(hw, mgmtm->eq_idx, wr_size, &wrp); in csio_ln_mgmt_submit_wr()
1751 csio_wr_copy_to_wrp(&fw_wr[0], &wrp, wr_off, in csio_ln_mgmt_submit_wr()
1757 csio_wr_copy_to_wrp(pld->vaddr, &wrp, wr_off, im_len); in csio_ln_mgmt_submit_wr()
1764 csio_wr_copy_to_wrp(&dsgl, &wrp, ALIGN(wr_off, 8), in csio_ln_mgmt_submit_wr()
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1057 struct work_request_hdr *wrp = (struct work_request_hdr *)d; in write_wr_hdr_sgl() local
1069 wrp->wr_hi = htonl(F_WR_SOP | F_WR_EOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1072 wrp->wr_lo = htonl(V_WR_LEN(flits + sgl_flits) | in write_wr_hdr_sgl()
1078 struct work_request_hdr *wp = wrp; in write_wr_hdr_sgl()
1080 wrp->wr_hi = htonl(F_WR_SOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1106 wrp = (struct work_request_hdr *)d; in write_wr_hdr_sgl()
1107 wrp->wr_hi = htonl(V_WR_DATATYPE(1) | in write_wr_hdr_sgl()
1109 wrp->wr_lo = htonl(V_WR_LEN(min(WR_FLITS, in write_wr_hdr_sgl()
1116 wrp->wr_hi |= htonl(F_WR_EOP); in write_wr_hdr_sgl()
1429 struct work_request_hdr *wrp = (struct work_request_hdr *)skb->data; in ctrl_xmit() local
[all …]
/drivers/media/pci/dm1105/
Ddm1105.c366 u32 wrp; member
689 u32 oldwrp = dev->wrp; in dm1105_dmx_buffer()
700 dev->wrp = 0; in dm1105_dmx_buffer()
713 dev->wrp = nextwrp; in dm1105_dmx_buffer()