/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_0_ppt.c | 2595 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 D | smu_v13_0_6_ppt.c | 1920 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
|
H A D | aldebaran_ppt.c | 1426 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
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 311 /* The hdr->num_msgs is set to zero immediately in the interrupt 313 * when the interrupt handler is called. pf->mw[i].num_msgs 318 if (hdr->num_msgs) { 319 mw[i].num_msgs = hdr->num_msgs; 320 hdr->num_msgs = 0; 327 if (hdr->num_msgs) { 328 mw[i].up_num_msgs = hdr->num_msgs; 329 hdr->num_msgs = 0; 356 int dir, int vf, int num_msgs) 354 otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, struct otx2_mbox *src_mbox, int dir, int vf, int num_msgs) argument 812 u16 num_msgs; local 938 u16 num_msgs; local [all...] |
H A D | otx2_vf.c | 92 u16 num_msgs; local 98 num_msgs = rsp_hdr->num_msgs; 100 if (num_msgs == 0) 105 for (id = 0; id < num_msgs; id++) { 109 if (mdev->msgs_acked == (af_mbox->num_msgs - 1)) 158 u16 num_msgs; local 166 num_msgs = rsp_hdr->num_msgs; 168 if (num_msgs [all...] |
H A D | otx2_common.h | 184 int num_msgs; /* mbox number of messages */ member in struct:mbox
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 2149 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 D | rvu.h | 88 int num_msgs; member in struct:rvu_work
|
H A D | mbox.h | 59 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 D | mbox.c | 29 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...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 678 * @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
|
H A D | i2c-mpc.c | 95 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 D | i2c-designware-master.c | 285 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 D | i2c-mv64xxx.c | 121 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 D | i2c-bcm2835.c | 67 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 D | i2c-cros-ec-tunnel.c | 85 params->num_msgs = num; 158 if (resp->num_msgs > *num) 160 *num = resp->num_msgs;
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | sienna_cichlid_ppt.c | 3759 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
|
H A D | navi10_ppt.c | 2975 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 D | arcturus_ppt.c | 1984 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
|
/linux-master/include/linux/platform_data/ |
H A D | cros_ec_commands.h | 3952 uint8_t num_msgs; /* Number of messages */ member in struct:ec_params_i2c_passthru 3959 uint8_t num_msgs; /* Number of messages processed */ member in struct:ec_response_i2c_passthru
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_virtchnl.c | 1432 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/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_mbox.c | 162 if (rsp_hdr->num_msgs == 0) 166 for (i = 0; i < rsp_hdr->num_msgs; i++) {
|
H A D | otx2_cptpf_mbox.c | 396 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++) {
|
/linux-master/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 1316 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/infiniband/hw/hfi1/ |
H A D | qsfp.c | 178 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...] |