Home
last modified time | relevance | path

Searched refs:nparams (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/phy/socionext/
Dphy-uniphier-usb3hs.c76 int nparams; member
276 for (i = 0; i < priv->data->nparams; i++) in uniphier_u3hsphy_init()
322 priv->data->nparams > MAX_PHY_PARAMS)) in uniphier_u3hsphy_probe()
368 .nparams = 0,
372 .nparams = 2,
383 .nparams = 0,
Dphy-uniphier-usb3ss.c63 int nparams; member
178 for (i = 0; i < priv->data->nparams; i++) in uniphier_u3ssphy_init()
228 priv->data->nparams > MAX_PHY_PARAMS)) in uniphier_u3ssphy_probe()
290 .nparams = 7,
304 .nparams = 3,
/Linux-v5.4/drivers/video/backlight/
Dtdo24m.c180 int nparams, err = 0; in tdo24m_writes() local
186 nparams = (*p >> 30) & 0x3; in tdo24m_writes()
188 data = *p << (7 - nparams); in tdo24m_writes()
189 switch (nparams) { in tdo24m_writes()
208 x->len = nparams + 2; in tdo24m_writes()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c623 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params() argument
631 if (nparams > 7) in t4vf_query_params()
639 param[nparams].mnem), 16); in t4vf_query_params()
641 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) in t4vf_query_params()
646 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params()
661 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params() argument
669 if (nparams > 7) in t4vf_set_params()
677 param[nparams]), 16); in t4vf_set_params()
679 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { in t4vf_set_params()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1392 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local
1394 nparams = FLOWC_WR_NPARAMS_MIN; in cxgbit_tx_flowc_wr_credits()
1397 nparams++; in cxgbit_tx_flowc_wr_credits()
1400 nparams++; in cxgbit_tx_flowc_wr_credits()
1402 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in cxgbit_tx_flowc_wr_credits()
1410 *nparamsp = nparams; in cxgbit_tx_flowc_wr_credits()
1420 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local
1428 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr()
1434 FW_FLOWC_WR_NPARAMS_V(nparams)); in cxgbit_send_tx_flowc_wr()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_io.c75 static int flowc_wr_credits(int nparams, int *flowclenp) in flowc_wr_credits() argument
79 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in flowc_wr_credits()
166 int nparams, paramidx, flowclen16, flowclen; in send_tx_flowc_wr() local
204 nparams = paramidx; in send_tx_flowc_wr()
207 flowclen16 = flowc_wr_credits(nparams, &flowclen); in send_tx_flowc_wr()
211 FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_mb.c194 unsigned int pf, unsigned int vf, unsigned int nparams, in csio_mb_params() argument
214 while (nparams--) { in csio_mb_params()
222 for (i = 0; i < nparams; i++, p += 2) { in csio_mb_params()
241 enum fw_retval *retval, unsigned int nparams, in csio_mb_process_read_params_rsp() argument
251 for (i = 0; i < nparams; i++, p += 2) in csio_mb_process_read_params_rsp()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c6817 int nparams, param; in t4_read_sge_dbqtimers() local
6820 nparams = ndbqtimers - dbqtimerix; in t4_read_sge_dbqtimers()
6821 if (nparams > ARRAY_SIZE(params)) in t4_read_sge_dbqtimers()
6822 nparams = ARRAY_SIZE(params); in t4_read_sge_dbqtimers()
6824 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
6830 nparams, params, vals); in t4_read_sge_dbqtimers()
6834 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
7456 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() argument
7463 if (nparams > 7) in t4_query_params_rw()
7473 for (i = 0; i < nparams; i++) { in t4_query_params_rw()
[all …]
Dcxgb4.h1766 unsigned int vf, unsigned int nparams, const u32 *params,
1769 unsigned int vf, unsigned int nparams, const u32 *params,
1772 unsigned int vf, unsigned int nparams, const u32 *params,
1776 unsigned int nparams, const u32 *params,
1779 unsigned int vf, unsigned int nparams, const u32 *params,
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c588 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
590 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits()
592 nparams++; in tx_flowc_wr_credits()
594 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits()
602 *nparamsp = nparams; in tx_flowc_wr_credits()
613 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
618 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
622 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c593 int nparams; in send_flowc() local
600 nparams = 9; in send_flowc()
602 nparams = 10; in send_flowc()
604 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in send_flowc()
612 FW_FLOWC_WR_NPARAMS_V(nparams)); in send_flowc()
635 if (nparams == 10) { in send_flowc()