Searched refs:msg_idx (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/i2c/busses/
H A Di2c-lpc2k.c78 int msg_idx; member in struct:lpc2k_i2c
142 if (i2c->msg_idx < i2c->msg->len) {
143 writel(i2c->msg->buf[i2c->msg_idx],
156 i2c->msg_idx++;
180 if (i2c->msg_idx < i2c->msg->len) {
181 i2c->msg->buf[i2c->msg_idx] =
186 if (i2c->msg_idx >= i2c->msg->len - 1 && i2c->is_last) {
193 if (i2c->msg_idx >= i2c->msg->len - 1) {
202 if (i2c->msg_idx >= i2c->msg->len - 2) {
211 i2c->msg_idx
[all...]
H A Di2c-synquacer.c135 u32 msg_idx; member in struct:synquacer_i2c
151 return i2c->msg_idx >= (i2c->msg_num - 1);
190 i2c->msg_idx++;
193 i2c->msg_idx = ret;
329 i2c->msg_idx = 0;
345 ret = i2c->msg_idx;
428 i2c->msg_idx++;
473 i2c->msg_idx++;
H A Di2c-hix5hd2.c83 unsigned int msg_idx; member in struct:hix5hd2_i2c_priv
215 data = priv->msg->buf[priv->msg_idx++];
232 priv->msg->buf[priv->msg_idx++] = data;
287 priv->msg->len == priv->msg_idx) ||
321 priv->msg_idx = 0;
H A Di2c-pxa.c230 unsigned int msg_idx; member in struct:pxa_i2c
369 dev_err(dev, "msg_num: %d msg_idx: %d msg_ptr: %d\n",
370 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr);
855 i2c->msg_idx ++;
858 i2c->msg_idx = ret;
898 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0)
910 i2c->msg_idx == i2c->msg_num - 1)
928 (i2c->msg_idx == i2c->msg_num - 1)))
931 } else if (i2c->msg_idx < i2c->msg_num - 1) {
936 i2c->msg_idx
[all...]
H A Di2c-s3c2410.c102 unsigned int msg_idx; member in struct:s3c24xx_i2c
173 i2c->msg_idx++;
176 i2c->msg_idx = ret;
350 return i2c->msg_idx >= (i2c->msg_num - 1);
466 i2c->msg_idx++;
531 i2c->msg_idx++;
701 i2c->msg_idx = 0;
721 ret = i2c->msg_idx;
/linux-master/drivers/char/ipmi/
H A Dipmb_dev_int.c62 size_t msg_idx; member in struct:ipmb_dev
235 if ((ipmb_dev->msg_idx >= IPMB_REQUEST_LEN_MIN) &&
260 ipmb_dev->msg_idx = 0;
278 buf[++ipmb_dev->msg_idx] = GET_8BIT_ADDR(client->addr);
282 if (ipmb_dev->msg_idx >= sizeof(struct ipmb_msg) - 1)
285 buf[++ipmb_dev->msg_idx] = *val;
289 ipmb_dev->request.len = ipmb_dev->msg_idx;
H A Dssif_bmc.c80 int msg_idx; member in struct:ssif_bmc_ctx
462 /* msg_idx start from 0 */
476 * The msg_idx must be 1 when first enter SSIF_REQ_RECVING state
480 if (ssif_bmc->msg_idx < 1 || ssif_bmc->msg_idx > MAX_TRANSACTION)
483 if (ssif_bmc->msg_idx == 1) {
490 ssif_bmc->msg_idx++;
581 ssif_bmc->msg_idx = 1;
625 ssif_bmc->msg_idx = 0;
681 ssif_bmc->msg_idx
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dcoex.h167 * @msg_idx: the index of the message
182 __le32 msg_idx; member in struct:iwl_bt_coex_profile_notif
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c134 u32 msg_idx, prm; local
138 msg_idx = RREG32(smu->msg_reg);
142 msg_idx, prm);
/linux-master/drivers/input/touchscreen/
H A Dads7846.c797 int msg_idx = 0; local
805 m = &ts->msg[msg_idx];

Completed in 335 milliseconds