Searched refs:num_msgs (Results 1 - 25 of 30) sorted by path

12

/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ring2.c174 u32 ring_state, num_msgs; local
177 num_msgs = GET_VAL(X2_NUMMSGSINQ, ring_state);
179 return num_msgs;
H A Dxgene_enet_hw.c187 u32 ring_state, num_msgs; local
190 num_msgs = GET_VAL(NUMMSGSINQ, ring_state);
192 return num_msgs;
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c218 u32 bank_num, u32 num_msgs,
240 if (ADF_MAX_INFLIGHTS(adf_verify_ring_size(msg_size, num_msgs),
272 ring->ring_size = adf_verify_ring_size(msg_size, num_msgs);
217 adf_create_ring(struct adf_accel_dev *accel_dev, const char *section, u32 bank_num, u32 num_msgs, u32 msg_size, const char *ring_name, adf_callback_fn callback, int poll_mode, struct adf_etr_ring_data **ring_ptr) argument
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_mbox.c396 for (i = 0; i < req_hdr->num_msgs; i++) {
418 if (mdev->num_msgs)
437 if (hdr->num_msgs)
444 if (hdr->num_msgs)
581 for (i = 0; i < rsp_hdr->num_msgs; i++) {
658 for (i = 0; i < rsp_hdr->num_msgs; i++) {
H A Dotx2_cptvf_mbox.c162 if (rsp_hdr->num_msgs == 0)
166 for (i = 0; i < rsp_hdr->num_msgs; i++) {
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Darcturus_ppt.c1984 struct i2c_msg *msg, int num_msgs)
2007 for (c = i = 0; i < num_msgs; i++) {
2032 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
2043 for (c = i = 0; i < num_msgs; i++) {
2054 r = num_msgs;
1983 arcturus_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
H A Dnavi10_ppt.c2975 struct i2c_msg *msg, int num_msgs)
2998 for (c = i = 0; i < num_msgs; i++) {
3023 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
3034 for (c = i = 0; i < num_msgs; i++) {
3045 r = num_msgs;
2974 navi10_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
H A Dsienna_cichlid_ppt.c3759 struct i2c_msg *msg, int num_msgs)
3782 for (c = i = 0; i < num_msgs; i++) {
3807 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
3818 for (c = i = 0; i < num_msgs; i++) {
3829 r = num_msgs;
3758 sienna_cichlid_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c1426 struct i2c_msg *msg, int num_msgs)
1449 for (c = i = 0; i < num_msgs; i++) {
1474 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
1485 for (c = i = 0; i < num_msgs; i++) {
1496 r = num_msgs;
1425 aldebaran_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
H A Dsmu_v13_0_0_ppt.c2595 struct i2c_msg *msg, int num_msgs)
2618 for (c = i = 0; i < num_msgs; i++) {
2643 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
2654 for (c = i = 0; i < num_msgs; i++) {
2665 r = num_msgs;
2594 smu_v13_0_0_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
H A Dsmu_v13_0_6_ppt.c1920 struct i2c_msg *msg, int num_msgs)
1943 for (c = i = 0; i < num_msgs; i++) {
1968 ((i == num_msgs - 1) || (msg[i].flags & I2C_M_STOP))) {
1979 for (c = i = 0; i < num_msgs; i++) {
1990 r = num_msgs;
1919 smu_v13_0_6_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int num_msgs) argument
/linux-master/drivers/i2c/busses/
H A Di2c-bcm2835.c67 int num_msgs; member in struct:bcm2835_i2c_dev
240 bool last_msg = (i2c_dev->num_msgs == 1);
242 if (!i2c_dev->num_msgs)
245 i2c_dev->num_msgs--;
265 i2c_dev->num_msgs = 0;
316 if (i2c_dev->num_msgs && !i2c_dev->msg_buf_remaining) {
360 i2c_dev->num_msgs = num;
H A Di2c-cros-ec-tunnel.c85 params->num_msgs = num;
158 if (resp->num_msgs > *num)
160 *num = resp->num_msgs;
H A Di2c-designware-master.c285 static int amd_i2c_dw_xfer_quirk(struct i2c_adapter *adap, struct i2c_msg *msgs, int num_msgs) argument
301 dev->msgs_num = num_msgs;
305 for (msg_wrt_idx = 0; msg_wrt_idx < num_msgs; msg_wrt_idx++) {
317 if (msg_wrt_idx == num_msgs - 1 && msg_itr_lmt == 1)
H A Di2c-mpc.c95 int num_msgs; member in struct:mpc_i2c
598 if (i2c->curr_msg == i2c->num_msgs) {
734 i2c->num_msgs = num;
740 i2c->num_msgs = 0;
H A Di2c-mv64xxx.c121 int num_msgs; member in struct:mv64xxx_i2c_data
362 BUG_ON(drv_data->num_msgs == 0);
365 drv_data->num_msgs--;
376 drv_data->send_stop = drv_data->num_msgs == 1;
480 if (drv_data->num_msgs == 1 && drv_data->msgs[0].flags & I2C_M_RD) {
483 drv_data->num_msgs--;
489 else if (drv_data->num_msgs == 2 &&
494 drv_data->num_msgs -= 2;
644 int num = drv_data->num_msgs;
709 int num = drv_data->num_msgs;
[all...]
H A Di2c-nomadik.c678 * @num_msgs: Number of messages to be executed
722 struct i2c_msg msgs[], int num_msgs)
736 for (i = 0; i < num_msgs; i++) {
740 priv->stop = (i < (num_msgs - 1)) ? 0 : 1;
757 return num_msgs;
721 nmk_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num_msgs) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dqsfp.c178 int num_msgs; local
184 num_msgs = 1;
194 num_msgs = 2;
212 ret = i2c_transfer(&i2c->adapter, msgs, num_msgs);
213 if (ret != num_msgs) {
226 int num_msgs; local
232 num_msgs = 1;
242 num_msgs = 2;
260 ret = i2c_transfer(&bus->adapter, msgs, num_msgs);
261 if (ret != num_msgs) {
[all...]
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c1316 unsigned int num_msgs; local
1325 num_msgs = 1;
1333 num_msgs = 1;
1345 num_msgs = 2;
1352 if (i2c_transfer(state->i2c, msg, num_msgs) != num_msgs) {
1374 num_msgs = 2;
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c1432 int totqs, num_msgs, num_chunks; local
1506 num_msgs = DIV_ROUND_UP(totqs, num_chunks);
1516 for (i = 0, k = 0; i < num_msgs; i++) {
1551 int totqs, num_msgs, num_chunks; local
1645 num_msgs = DIV_ROUND_UP(totqs, num_chunks);
1655 for (i = 0, k = 0; i < num_msgs; i++) {
1690 u32 num_msgs, num_chunks, num_txq, num_rxq, num_q; local
1784 num_msgs = DIV_ROUND_UP(num_q, num_chunks);
1799 for (i = 0, k = 0; i < num_msgs; i++) {
1837 u32 num_msgs, num_chunk local
3557 u32 num_msgs, total_filters = 0; local
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.c29 tx_hdr->num_msgs = 0;
31 rx_hdr->num_msgs = 0;
194 if (mdev->num_msgs == mdev->msgs_acked)
209 if (mdev->num_msgs == mdev->msgs_acked)
247 /* num_msgs != 0 signals to the peer that the buffer has a number of
251 tx_hdr->num_msgs = mdev->num_msgs;
252 rx_hdr->num_msgs = 0;
254 trace_otx2_msg_send(mbox->pdev, tx_hdr->num_msgs, tx_hdr->msg_size);
263 /* The interrupt should be fired after num_msgs i
[all...]
H A Dmbox.h59 u16 num_msgs; /* No of msgs sent or waiting for response */ member in struct:otx2_mbox_dev
80 u16 num_msgs; /* No of msgs embedded */ member in struct:mbox_hdr
H A Drvu.c2149 if (mw->mbox_wrk[devid].num_msgs == 0)
2154 for (id = 0; id < mw->mbox_wrk[devid].num_msgs; id++) {
2187 mw->mbox_wrk[devid].num_msgs = 0;
2240 dev_warn(rvu->dev, "mbox up handler: num_msgs = 0\n");
2512 /*The hdr->num_msgs is set to zero immediately in the interrupt
2515 * pf->mbox.num_msgs holds the data for use in pfaf_mbox_handler
2520 if (hdr->num_msgs) {
2521 mw->mbox_wrk[i].num_msgs = hdr->num_msgs;
2522 hdr->num_msgs
[all...]
H A Drvu.h88 int num_msgs; member in struct:rvu_work
H A Drvu_trace.h36 TP_PROTO(const struct pci_dev *pdev, u16 num_msgs, u64 msg_size),
37 TP_ARGS(pdev, num_msgs, msg_size),
39 __field(u16, num_msgs)
43 __entry->num_msgs = num_msgs;
47 __entry->num_msgs, __entry->msg_size)

Completed in 485 milliseconds

12