Home
last modified time | relevance | path

Searched refs:srr (Results 1 – 10 of 10) sorted by relevance

/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c62 struct srr *srr; in srr_dqp_index_advc() local
64 srr = &bdc->srr; in srr_dqp_index_advc()
65 dev_dbg_ratelimited(bdc->dev, "srr->dqp_index:%d\n", srr->dqp_index); in srr_dqp_index_advc()
66 srr->dqp_index++; in srr_dqp_index_advc()
68 if (srr->dqp_index == NUM_SR_ENTRIES) in srr_dqp_index_advc()
69 srr->dqp_index = 0; in srr_dqp_index_advc()
313 __func__, eqp_index, dqp_index, bdc->srr.dqp_index); in bdc_udc_interrupt()
322 while (bdc->srr.dqp_index != eqp_index) { in bdc_udc_interrupt()
323 sreport = &bdc->srr.sr_bds[bdc->srr.dqp_index]; in bdc_udc_interrupt()
346 srr_int |= ((bdc->srr.dqp_index) << 16); in bdc_udc_interrupt()
Dbdc_core.c204 bdc->srr.dqp_index = 0; in setup_srr()
206 bdc->srr.sr_bds = dma_alloc_coherent(bdc->dev, in setup_srr()
208 &bdc->srr.dma_addr, GFP_KERNEL); in setup_srr()
209 if (!bdc->srr.sr_bds) in setup_srr()
227 bdc->srr.eqp_index = 0; in bdc_mem_init()
228 bdc->srr.dqp_index = 0; in bdc_mem_init()
237 dev_dbg(bdc->dev, "bdc->srr.sr_bds =%p\n", bdc->srr.sr_bds); in bdc_mem_init()
238 temp = lower_32_bits(bdc->srr.dma_addr); in bdc_mem_init()
245 upp32 = upper_32_bits(bdc->srr.dma_addr); in bdc_mem_init()
292 memset(bdc->srr.sr_bds, 0, in bdc_mem_init()
[all …]
Dbdc_dbg.c69 sr = bdc->srr.sr_bds; in bdc_dbg_srr()
70 addr = bdc->srr.dma_addr; in bdc_dbg_srr()
72 sr, bdc->srr.dqp_index); in bdc_dbg_srr()
74 sr = &bdc->srr.sr_bds[i]; in bdc_dbg_srr()
Dbdc.h378 struct srr { struct
425 struct srr srr; member
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c626 struct fcp_srr srr; in bnx2fc_send_srr() local
634 memset(&srr, 0, sizeof(srr)); in bnx2fc_send_srr()
646 srr.srr_op = ELS_SRR; in bnx2fc_send_srr()
647 srr.srr_ox_id = htons(orig_io_req->xid); in bnx2fc_send_srr()
648 srr.srr_rx_id = htons(orig_io_req->task->rxwr_txrd.var_ctx.rx_id); in bnx2fc_send_srr()
649 srr.srr_rel_off = htonl(offset); in bnx2fc_send_srr()
650 srr.srr_r_ctl = r_ctl; in bnx2fc_send_srr()
654 rc = bnx2fc_initiate_els(tgt, ELS_SRR, &srr, sizeof(srr), in bnx2fc_send_srr()
/drivers/scsi/qedf/
Dqedf_els.c610 struct fcp_srr srr; in qedf_send_srr() local
645 memset(&srr, 0, sizeof(srr)); in qedf_send_srr()
657 srr.srr_op = ELS_SRR; in qedf_send_srr()
658 srr.srr_ox_id = htons(orig_io_req->xid); in qedf_send_srr()
659 srr.srr_rx_id = htons(orig_io_req->rx_id); in qedf_send_srr()
660 srr.srr_rel_off = htonl(offset); in qedf_send_srr()
661 srr.srr_r_ctl = r_ctl; in qedf_send_srr()
663 rc = qedf_initiate_els(fcport, ELS_SRR, &srr, sizeof(srr), in qedf_send_srr()
/drivers/tty/serial/
Dsh-sci.c2205 unsigned int *srr) in sci_sck_calc() argument
2220 *srr = sr - 1; in sci_sck_calc()
2227 *srr + 1); in sci_sck_calc()
2233 unsigned int *srr) in sci_brg_calc() argument
2251 *srr = sr - 1; in sci_brg_calc()
2258 min_err, *dlr, *srr + 1); in sci_brg_calc()
2264 unsigned int *brr, unsigned int *srr, in sci_scbrr_calc() argument
2316 *srr = sr - 1; in sci_scbrr_calc()
2326 min_err, *brr, *srr + 1, *cks); in sci_scbrr_calc()
2369 unsigned int brr = 255, cks = 0, srr = 15, dl = 0, sccks = 0; in sci_set_termios() local
[all …]
/drivers/scsi/libfc/
Dfc_fcp.c1722 struct fcp_srr *srr; in fc_fcp_srr() local
1731 fp = fc_fcp_frame_alloc(lport, sizeof(*srr)); in fc_fcp_srr()
1735 srr = fc_frame_payload_get(fp, sizeof(*srr)); in fc_fcp_srr()
1736 memset(srr, 0, sizeof(*srr)); in fc_fcp_srr()
1737 srr->srr_op = ELS_SRR; in fc_fcp_srr()
1738 srr->srr_ox_id = htons(ep->oxid); in fc_fcp_srr()
1739 srr->srr_rx_id = htons(ep->rxid); in fc_fcp_srr()
1740 srr->srr_r_ctl = r_ctl; in fc_fcp_srr()
1741 srr->srr_rel_off = htonl(offset); in fc_fcp_srr()
/drivers/net/ethernet/natsemi/
Dnatsemi.c581 u32 srr; member
944 np->srr = readl(ioaddr + SiliconRev); in natsemi_probe1()
947 pci_name(np->pci_dev), np->srr); in natsemi_probe1()
1224 np->dspcfg = (np->srr <= SRR_DP83815_C)? in init_phy_fixup()
1589 if (np->srr >= SRR_DP83816_A5) in do_cable_magic()
1634 if (np->srr >= SRR_DP83816_A5) in undo_cable_magic()
2725 if (np->srr >= SRR_DP83815_D) { in netdev_set_wol()
2745 if (np->srr >= SRR_DP83815_D) { in netdev_get_wol()
2779 if (np->srr < SRR_DP83815_D) { in netdev_set_sopass()
2811 if (np->srr < SRR_DP83815_D) { in netdev_get_sopass()
/drivers/staging/axis-fifo/
Daxis-fifo.c283 static DEVICE_ATTR_WO(srr);