/drivers/phy/socionext/ |
D | phy-uniphier-usb3hs.c | 79 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,
|
D | phy-uniphier-usb3ss.c | 65 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,
|
/drivers/video/backlight/ |
D | tdo24m.c | 180 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()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 622 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()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1391 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()
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 75 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()
|
/drivers/scsi/csiostor/ |
D | csio_mb.c | 194 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()
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 592 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local 594 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits() 596 nparams++; in tx_flowc_wr_credits() 598 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits() 606 *nparamsp = nparams; in tx_flowc_wr_credits() 617 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local 622 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr() 626 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 6805 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 …]
|
D | cxgb4.h | 1977 unsigned int vf, unsigned int nparams, const u32 *params, 1980 unsigned int vf, unsigned int nparams, const u32 *params, 1983 unsigned int vf, unsigned int nparams, const u32 *params, 1987 unsigned int nparams, const u32 *params, 1990 unsigned int vf, unsigned int nparams, const u32 *params,
|
D | sge.c | 2541 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local 2548 len = struct_size(flowc, mnemval, nparams); in cxgb4_ethofld_send_flowc() 2589 FW_FLOWC_WR_NPARAMS_V(nparams) | in cxgb4_ethofld_send_flowc()
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 593 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()
|