/Linux-v4.19/drivers/video/backlight/ |
D | tdo24m.c | 183 int nparams, err = 0; in tdo24m_writes() local 189 nparams = (*p >> 30) & 0x3; in tdo24m_writes() 191 data = *p << (7 - nparams); in tdo24m_writes() 192 switch (nparams) { in tdo24m_writes() 211 x->len = nparams + 2; in tdo24m_writes()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 613 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params() argument 621 if (nparams > 7) in t4vf_query_params() 629 param[nparams].mnem), 16); in t4vf_query_params() 631 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) in t4vf_query_params() 636 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params() 651 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params() argument 659 if (nparams > 7) in t4vf_set_params() 667 param[nparams]), 16); in t4vf_set_params() 669 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { in t4vf_set_params()
|
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1373 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local 1375 nparams = FLOWC_WR_NPARAMS_MIN; in cxgbit_tx_flowc_wr_credits() 1378 nparams++; in cxgbit_tx_flowc_wr_credits() 1381 nparams++; in cxgbit_tx_flowc_wr_credits() 1383 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in cxgbit_tx_flowc_wr_credits() 1391 *nparamsp = nparams; in cxgbit_tx_flowc_wr_credits() 1401 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local 1409 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr() 1415 FW_FLOWC_WR_NPARAMS_V(nparams)); in cxgbit_send_tx_flowc_wr()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_io.c | 78 static int flowc_wr_credits(int nparams, int *flowclenp) in flowc_wr_credits() argument 82 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in flowc_wr_credits() 169 int nparams, paramidx, flowclen16, flowclen; in send_tx_flowc_wr() local 207 nparams = paramidx; in send_tx_flowc_wr() 210 flowclen16 = flowc_wr_credits(nparams, &flowclen); in send_tx_flowc_wr() 214 FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1718 unsigned int vf, unsigned int nparams, const u32 *params, 1721 unsigned int vf, unsigned int nparams, const u32 *params, 1724 unsigned int vf, unsigned int nparams, const u32 *params, 1728 unsigned int nparams, const u32 *params, 1731 unsigned int vf, unsigned int nparams, const u32 *params,
|
D | t4_hw.c | 7310 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() argument 7317 if (nparams > 7) in t4_query_params_rw() 7327 for (i = 0; i < nparams; i++) { in t4_query_params_rw() 7336 for (i = 0, p = &c.param[0].val; i < nparams; i++, p += 2) in t4_query_params_rw() 7342 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params() argument 7345 return t4_query_params_rw(adap, mbox, pf, vf, nparams, params, val, 0, in t4_query_params() 7350 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_ns() argument 7353 return t4_query_params_rw(adap, mbox, pf, vf, nparams, params, val, 0, in t4_query_params_ns() 7373 unsigned int nparams, const u32 *params, in t4_set_params_timeout() argument 7379 if (nparams > 7) in t4_set_params_timeout() [all …]
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 574 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local 576 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits() 577 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits() 585 *nparamsp = nparams; in tx_flowc_wr_credits() 596 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local 598 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr() 602 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 591 int nparams; in send_flowc() local 598 nparams = 9; in send_flowc() 600 nparams = 10; in send_flowc() 602 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in send_flowc() 610 FW_FLOWC_WR_NPARAMS_V(nparams)); in send_flowc() 633 if (nparams == 10) { in send_flowc()
|