Home
last modified time | relevance | path

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

/linux/drivers/phy/socionext/
H A Dphy-uniphier-usb3hs.c79 int nparams; member
288 for (i = 0; i < priv->data->nparams; i++) in uniphier_u3hsphy_init()
337 priv->data->nparams > MAX_PHY_PARAMS)) in uniphier_u3hsphy_probe()
395 .nparams = 0,
400 .nparams = 2,
409 .nparams = 4,
423 .nparams = 2,
H A Dphy-uniphier-usb3ss.c65 int nparams; member
180 for (i = 0; i < priv->data->nparams; i++) in uniphier_u3ssphy_init()
229 priv->data->nparams > MAX_PHY_PARAMS)) in uniphier_u3ssphy_probe()
290 .nparams = 7,
304 .nparams = 3,
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c622 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params() argument
630 if (nparams > 7) in t4vf_query_params()
638 param[nparams].mnem), 16); in t4vf_query_params()
640 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) in t4vf_query_params()
645 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params()
660 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params() argument
668 if (nparams > 7) in t4vf_set_params()
676 param[nparams]), 16); in t4vf_set_params()
678 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { in t4vf_set_params()
/linux/drivers/target/iscsi/cxgbit/
H A 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/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A 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/drivers/scsi/csiostor/
H A 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/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c593 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
595 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits()
597 nparams++; in tx_flowc_wr_credits()
599 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits()
607 *nparamsp = nparams; in tx_flowc_wr_credits()
618 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
623 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
627 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c6805 int nparams, param; in t4_read_sge_dbqtimers() local
6808 nparams = ndbqtimers - dbqtimerix; in t4_read_sge_dbqtimers()
6809 if (nparams > ARRAY_SIZE(params)) in t4_read_sge_dbqtimers()
6810 nparams = ARRAY_SIZE(params); in t4_read_sge_dbqtimers()
6812 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
6818 nparams, params, vals); in t4_read_sge_dbqtimers()
6822 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
7445 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() argument
7452 if (nparams > 7) in t4_query_params_rw()
7462 for (i = 0; i < nparams; i++) { in t4_query_params_rw()
[all …]
H A Dcxgb4.h1970 unsigned int vf, unsigned int nparams, const u32 *params,
1973 unsigned int vf, unsigned int nparams, const u32 *params,
1976 unsigned int vf, unsigned int nparams, const u32 *params,
1980 unsigned int nparams, const u32 *params,
1983 unsigned int vf, unsigned int nparams, const u32 *params,
H A Dsge.c2529 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local
2536 len = struct_size(flowc, mnemval, nparams); in cxgb4_ethofld_send_flowc()
2577 FW_FLOWC_WR_NPARAMS_V(nparams) | in cxgb4_ethofld_send_flowc()