Searched refs:msg_idx (Results 1 – 12 of 12) sorted by relevance
/drivers/staging/rts_pstor/ |
D | trace.h | 53 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \ 54 strncpy((chip)->trace_msg[(chip)->msg_idx].func, __func__, MSG_FUNC_LEN-1); \ 55 strncpy((chip)->trace_msg[(chip)->msg_idx].file, _file, MSG_FILE_LEN-1); \ 56 get_current_time((chip)->trace_msg[(chip)->msg_idx].timeval_buf, TIME_VAL_LEN); \ 57 (chip)->trace_msg[(chip)->msg_idx].valid = 1; \ 58 (chip)->msg_idx++; \ 59 if ((chip)->msg_idx >= TRACE_ITEM_CNT) { \ 60 (chip)->msg_idx = 0; \ 69 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \ 70 strncpy((chip)->trace_msg[(chip)->msg_idx].func, __func__, MSG_FUNC_LEN-1); \ [all …]
|
D | rtsx_scsi.c | 1208 if (chip->trace_msg[chip->msg_idx].valid) { in trace_msg_cmd() 1211 msg_cnt = chip->msg_idx; in trace_msg_cmd() 1222 idx = chip->msg_idx - i; in trace_msg_cmd() 1243 chip->msg_idx = 0; in trace_msg_cmd()
|
D | rtsx_chip.h | 764 int msg_idx; member
|
D | rtsx_chip.c | 958 chip->msg_idx = 0; in rtsx_init_chip()
|
/drivers/staging/rts5139/ |
D | trace.h | 57 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \ 58 strncpy((chip)->trace_msg[(chip)->msg_idx].func, \ 60 strncpy((chip)->trace_msg[(chip)->msg_idx].file, \ 62 get_current_time((chip)->trace_msg[(chip)->msg_idx].timeval_buf,\ 64 (chip)->trace_msg[(chip)->msg_idx].valid = 1; \ 65 (chip)->msg_idx++; \ 66 if ((chip)->msg_idx >= TRACE_ITEM_CNT) { \ 67 (chip)->msg_idx = 0; \ 76 (chip)->trace_msg[(chip)->msg_idx].line = (u16)(__LINE__); \ 77 strncpy((chip)->trace_msg[(chip)->msg_idx].func, \ [all …]
|
D | rts51x_chip.c | 889 if (chip->trace_msg[chip->msg_idx].valid) in rts51x_trace_msg() 892 msg_cnt = chip->msg_idx; in rts51x_trace_msg() 902 idx = chip->msg_idx - i; in rts51x_trace_msg() 917 chip->msg_idx = 0; in rts51x_trace_msg()
|
D | rts51x_chip.h | 767 int msg_idx; member
|
/drivers/i2c/busses/ |
D | i2c-nuc900.c | 78 unsigned int msg_idx; member 103 i2c->msg_idx++; in nuc900_i2c_master_complete() 106 i2c->msg_idx = ret; in nuc900_i2c_master_complete() 170 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg() 276 i2c->msg_idx++; in i2c_nuc900_irq_nextbyte() 337 i2c->msg_idx++; in i2c_nuc900_irq_nextbyte() 431 i2c->msg_idx = 0; in nuc900_i2c_doxfer() 439 ret = i2c->msg_idx; in nuc900_i2c_doxfer()
|
D | i2c-pxa.c | 138 unsigned int msg_idx; member 260 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder() 702 i2c->msg_idx = 0; in i2c_pxa_do_pio_xfer() 718 ret = i2c->msg_idx; in i2c_pxa_do_pio_xfer() 757 i2c->msg_idx = 0; in i2c_pxa_do_xfer() 774 ret = i2c->msg_idx; in i2c_pxa_do_xfer() 821 i2c->msg_idx ++; in i2c_pxa_master_complete() 824 i2c->msg_idx = ret; in i2c_pxa_master_complete() 862 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty() 874 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty() [all …]
|
D | i2c-s3c2410.c | 69 unsigned int msg_idx; member 125 i2c->msg_idx++; in s3c24xx_i2c_master_complete() 128 i2c->msg_idx = ret; in s3c24xx_i2c_master_complete() 239 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg() 351 i2c->msg_idx++; in i2c_s3c_irq_nextbyte() 409 i2c->msg_idx++; in i2c_s3c_irq_nextbyte() 513 i2c->msg_idx = 0; in s3c24xx_i2c_doxfer() 522 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
|
/drivers/input/touchscreen/ |
D | ads7846.c | 721 int msg_idx = 0; in ads7846_read_state() local 726 while (msg_idx < ts->msg_count) { in ads7846_read_state() 730 m = &ts->msg[msg_idx]; in ads7846_read_state() 742 if (msg_idx < ts->msg_count - 1) { in ads7846_read_state() 746 action = ts->filter(ts->filter_data, msg_idx, &val); in ads7846_read_state() 753 msg_idx = ts->msg_count - 1; in ads7846_read_state() 759 msg_idx++; in ads7846_read_state() 766 msg_idx++; in ads7846_read_state()
|
/drivers/block/ |
D | sx8.c | 468 unsigned int msg_idx) in carm_ref_msg() argument 470 return host->msg_base + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg() 474 unsigned int msg_idx) in carm_ref_msg_dma() argument 476 return host->msg_dma + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg_dma() 1071 unsigned int msg_idx; in carm_handle_resp() local 1084 msg_idx = TAG_DECODE(handle); in carm_handle_resp() 1085 VPRINTK("tag == %u\n", msg_idx); in carm_handle_resp() 1087 crq = &host->req[msg_idx]; in carm_handle_resp() 1096 mem = carm_ref_msg(host, msg_idx); in carm_handle_resp()
|