Searched refs:nparams (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/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-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 366 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params() argument 374 if (nparams > 7) in t4vf_query_params() 382 param[nparams].mnem), 16); in t4vf_query_params() 384 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) in t4vf_query_params() 389 for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) in t4vf_query_params() 404 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params() argument 412 if (nparams > 7) in t4vf_set_params() 420 param[nparams]), 16); in t4vf_set_params() 422 for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { in t4vf_set_params()
|
/linux-4.1.27/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-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 503 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local 505 nparams = FLOWC_WR_NPARAMS_MIN; in tx_flowc_wr_credits() 506 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits() 514 *nparamsp = nparams; in tx_flowc_wr_credits() 525 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local 527 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr() 531 htonl(FW_WR_OP_V(FW_FLOWC_WR) | FW_FLOWC_WR_NPARAMS_V(nparams)); in send_tx_flowc_wr()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 4337 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params() argument 4344 if (nparams > 7) in t4_query_params() 4352 for (i = 0; i < nparams; i++, p += 2) in t4_query_params() 4357 for (i = 0, p = &c.param[0].val; i < nparams; i++, p += 2) in t4_query_params() 4378 unsigned int nparams, const u32 *params, in t4_set_params_nosleep() argument 4384 if (nparams > 7) in t4_set_params_nosleep() 4394 while (nparams--) { in t4_set_params_nosleep() 4416 unsigned int vf, unsigned int nparams, const u32 *params, in t4_set_params() argument 4422 if (nparams > 7) in t4_set_params() 4430 while (nparams--) { in t4_set_params()
|
D | cxgb4.h | 1260 unsigned int vf, unsigned int nparams, const u32 *params, 1263 unsigned int vf, unsigned int nparams, const u32 *params, 1267 unsigned int nparams, const u32 *params,
|