/kernel/linux/linux-5.10/drivers/phy/socionext/ |
H A 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,
|
H A 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,
|
/kernel/linux/linux-6.6/drivers/phy/socionext/ |
H A 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,
|
H A 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,
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 614 * @nparams: the number of parameters 621 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() 652 * @nparams: the number of parameters 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]), 1 in t4vf_set_params() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
H A 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() 1406 * Pass back the nparams and actual flowc length if requested. 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() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 1392 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() 1407 * Pass back the nparams and actual flowc length if requested. 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 615 * @nparams: the number of parameters 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() 653 * @nparams: the number of parameters 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]), 1 in t4vf_set_params() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
H A 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() 603 * Pass back the nparams and actual FlowC length if requested. 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()
|
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 593 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() 604 * Pass back the nparams and actual FlowC length if requested. 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 6835 int nparams, param; in t4_read_sge_dbqtimers() local 6838 nparams = ndbqtimers - dbqtimerix; in t4_read_sge_dbqtimers() 6839 if (nparams > ARRAY_SIZE(params)) in t4_read_sge_dbqtimers() 6840 nparams = ARRAY_SIZE(params); in t4_read_sge_dbqtimers() 6842 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers() 6848 nparams, params, vals); in t4_read_sge_dbqtimers() 6852 for (param = 0; param < nparams; param++) in t4_read_sge_dbqtimers() 7465 * @nparams: the number of parameters 7475 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() 7482 if (nparams > in t4_query_params_rw() 7474 t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val, int rw, bool sleep_ok) t4_query_params_rw() argument 7506 t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) t4_query_params() argument 7514 t4_query_params_ns(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) t4_query_params_ns() argument 7536 t4_set_params_timeout(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val, int timeout) t4_set_params_timeout() argument 7575 t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val) t4_set_params() argument [all...] |
H A D | cxgb4.h | 1979 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,
|
H A D | sge.c | 2537 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local 2544 len = struct_size(flowc, mnemval, nparams); in cxgb4_ethofld_send_flowc() 2585 FW_FLOWC_WR_NPARAMS_V(nparams) | in cxgb4_ethofld_send_flowc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A 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() 7435 * @nparams: the number of parameters 7445 unsigned int vf, unsigned int nparams, const u32 *params, in t4_query_params_rw() 7452 if (nparams > in t4_query_params_rw() 7444 t4_query_params_rw(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val, int rw, bool sleep_ok) t4_query_params_rw() argument 7476 t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) t4_query_params() argument 7484 t4_query_params_ns(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) t4_query_params_ns() argument 7506 t4_set_params_timeout(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val, int timeout) t4_set_params_timeout() argument 7545 t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val) t4_set_params() argument [all...] |
H A D | cxgb4.h | 1975 unsigned int vf, unsigned int nparams, const u32 *params, 1978 unsigned int vf, unsigned int nparams, const u32 *params, 1981 unsigned int vf, unsigned int nparams, const u32 *params, 1985 unsigned int nparams, const u32 *params, 1988 unsigned int vf, unsigned int nparams, const u32 *params,
|
H A D | sge.c | 2543 u32 len, len16, nparams = 6; in cxgb4_ethofld_send_flowc() local 2550 len = struct_size(flowc, mnemval, nparams); in cxgb4_ethofld_send_flowc() 2591 FW_FLOWC_WR_NPARAMS_V(nparams) | in cxgb4_ethofld_send_flowc()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 185 * @nparams: Number of parameters 194 unsigned int pf, unsigned int vf, unsigned int nparams, in csio_mb_params() 214 while (nparams--) { in csio_mb_params() 222 for (i = 0; i < nparams; i++, p += 2) { in csio_mb_params() 235 * @nparams: Number of parameters 241 enum fw_retval *retval, unsigned int nparams, in csio_mb_process_read_params_rsp() 251 for (i = 0; i < nparams; i++, p += 2) in csio_mb_process_read_params_rsp() 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val, bool wr, void (*cbfn)(struct csio_hw *, struct csio_mb *)) csio_mb_params() argument 240 csio_mb_process_read_params_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *retval, unsigned int nparams, u32 *val) csio_mb_process_read_params_rsp() argument
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 185 * @nparams: Number of parameters 194 unsigned int pf, unsigned int vf, unsigned int nparams, in csio_mb_params() 214 while (nparams--) { in csio_mb_params() 222 for (i = 0; i < nparams; i++, p += 2) { in csio_mb_params() 235 * @nparams: Number of parameters 241 enum fw_retval *retval, unsigned int nparams, in csio_mb_process_read_params_rsp() 251 for (i = 0; i < nparams; i++, p += 2) in csio_mb_process_read_params_rsp() 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val, bool wr, void (*cbfn)(struct csio_hw *, struct csio_mb *)) csio_mb_params() argument 240 csio_mb_process_read_params_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *retval, unsigned int nparams, u32 *val) csio_mb_process_read_params_rsp() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A 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()
|