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

/drivers/staging/rts5208/
H A Dtrace.h54 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \
55 strncpy((chip)->trace_msg[(chip)->msg_idx].func, __func__, MSG_FUNC_LEN-1); \
56 strncpy((chip)->trace_msg[(chip)->msg_idx].file, _file, MSG_FILE_LEN-1); \
57 get_current_time((chip)->trace_msg[(chip)->msg_idx].timeval_buf, TIME_VAL_LEN); \
58 (chip)->trace_msg[(chip)->msg_idx].valid = 1; \
59 (chip)->msg_idx++; \
60 if ((chip)->msg_idx >= TRACE_ITEM_CNT) { \
61 (chip)->msg_idx = 0; \
71 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \
72 strncpy((chip)->trace_msg[(chip)->msg_idx]
[all...]
H A Drtsx_chip.h774 int msg_idx; member in struct:rtsx_chip
H A Drtsx_scsi.c1375 if (chip->trace_msg[chip->msg_idx].valid)
1378 msg_cnt = chip->msg_idx;
1389 idx = chip->msg_idx - i;
1409 chip->msg_idx = 0;
H A Drtsx_chip.c675 chip->msg_idx = 0;
/drivers/i2c/busses/
H A Di2c-pxa.c132 unsigned int msg_idx; member in struct:pxa_i2c
257 printk(KERN_ERR "i2c: msg_num: %d msg_idx: %d msg_ptr: %d\n",
258 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr);
729 i2c->msg_idx = 0;
743 * We place the return code in i2c->msg_idx.
745 ret = i2c->msg_idx;
792 i2c->msg_idx = 0;
807 * We place the return code in i2c->msg_idx.
809 ret = i2c->msg_idx;
856 i2c->msg_idx
[all...]
H A Di2c-s3c2410.c106 unsigned int msg_idx; member in struct:s3c24xx_i2c
187 i2c->msg_idx++;
190 i2c->msg_idx = ret;
367 return i2c->msg_idx >= (i2c->msg_num - 1);
485 i2c->msg_idx++;
546 i2c->msg_idx++;
726 i2c->msg_idx = 0;
733 ret = i2c->msg_idx;
743 ret = i2c->msg_idx;
H A Di2c-hix5hd2.c90 unsigned int msg_idx; member in struct:hix5hd2_i2c_priv
222 data = priv->msg->buf[priv->msg_idx++];
239 priv->msg->buf[priv->msg_idx++] = data;
294 priv->msg->len == priv->msg_idx) ||
332 priv->msg_idx = 0;
/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-coex.h410 * @msg_idx: the index of the message
419 __le32 msg_idx; member in struct:iwl_bt_coex_profile_notif
490 * @msg_idx: the index of the message
502 __le32 msg_idx; member in struct:iwl_bt_coex_profile_notif_old
/drivers/input/touchscreen/
H A Dads7846.c697 int msg_idx = 0; local
702 while (msg_idx < ts->msg_count) {
706 m = &ts->msg[msg_idx];
718 if (msg_idx < ts->msg_count - 1) {
722 action = ts->filter(ts->filter_data, msg_idx, &val);
729 msg_idx = ts->msg_count - 1;
735 msg_idx++;
742 msg_idx++;
/drivers/block/
H A Dsx8.c468 unsigned int msg_idx)
470 return host->msg_base + (msg_idx * CARM_MSG_SIZE);
474 unsigned int msg_idx)
476 return host->msg_dma + (msg_idx * CARM_MSG_SIZE);
1071 unsigned int msg_idx; local
1084 msg_idx = TAG_DECODE(handle);
1085 VPRINTK("tag == %u\n", msg_idx);
1087 crq = &host->req[msg_idx];
1096 mem = carm_ref_msg(host, msg_idx);
467 carm_ref_msg(struct carm_host *host, unsigned int msg_idx) argument
473 carm_ref_msg_dma(struct carm_host *host, unsigned int msg_idx) argument

Completed in 185 milliseconds