Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/phy/socionext/
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,
Dphy-uniphier-usb3ss.c63 int nparams; member
178 for (i = 0; i < priv->data->nparams; i++) in uniphier_u3ssphy_init()
227 priv->data->nparams > MAX_PHY_PARAMS)) in uniphier_u3ssphy_probe()
288 .nparams = 7,
302 .nparams = 3,
/Linux-v5.10/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.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c621 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params() argument
629 if (nparams > 7) in t4vf_query_params()
637 param[nparams].mnem), 16); in t4vf_query_params()
639 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) in t4vf_query_params()
644 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params()
659 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params() argument
667 if (nparams > 7) in t4vf_set_params()
675 param[nparams]), 16); in t4vf_set_params()
677 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { in t4vf_set_params()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1391 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local
1393 nparams = FLOWC_WR_NPARAMS_MIN; in cxgbit_tx_flowc_wr_credits()
1396 nparams++; in cxgbit_tx_flowc_wr_credits()
1399 nparams++; in cxgbit_tx_flowc_wr_credits()
1401 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in cxgbit_tx_flowc_wr_credits()
1409 *nparamsp = nparams; in cxgbit_tx_flowc_wr_credits()
1419 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local
1427 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr()
1433 FW_FLOWC_WR_NPARAMS_V(nparams)); in cxgbit_send_tx_flowc_wr()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/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.10/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.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c591 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
593 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits()
595 nparams++; in tx_flowc_wr_credits()
597 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits()
605 *nparamsp = nparams; in tx_flowc_wr_credits()
616 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
621 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
625 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c6822 int nparams, param; in t4_read_sge_dbqtimers() local
6825 nparams = ndbqtimers - dbqtimerix; in t4_read_sge_dbqtimers()
6826 if (nparams > ARRAY_SIZE(params)) in t4_read_sge_dbqtimers()
6827 nparams = ARRAY_SIZE(params); in t4_read_sge_dbqtimers()
6829 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
6835 nparams, params, vals); in t4_read_sge_dbqtimers()
6839 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers()
7462 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() argument
7469 if (nparams > 7) in t4_query_params_rw()
7479 for (i = 0; i < nparams; i++) { in t4_query_params_rw()
[all …]
Dcxgb4.h1979 unsigned int vf, unsigned int nparams, const u32 *params,
1982 unsigned int vf, unsigned int nparams, const u32 *params,
1985 unsigned int vf, unsigned int nparams, const u32 *params,
1989 unsigned int nparams, const u32 *params,
1992 unsigned int vf, unsigned int nparams, const u32 *params,
Dsge.c2537 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local
2544 len = struct_size(flowc, mnemval, nparams); in cxgb4_ethofld_send_flowc()
2579 FW_FLOWC_WR_NPARAMS_V(nparams) | in cxgb4_ethofld_send_flowc()
/Linux-v5.10/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()