Lines Matching refs:TW_Q_LENGTH
112 ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * TW_Q_LENGTH);
265 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH;
454 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH;
463 tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH;
650 size * TW_Q_LENGTH, &dma_handle,
657 for (i = 0; i < TW_Q_LENGTH; i++) {
906 sizeof(TW_Command_Full)*TW_Q_LENGTH,
912 TW_SECTOR_SIZE*TW_Q_LENGTH,
919 TW_Q_LENGTH,
1057 tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL);
1063 for (i = 0; i < TW_Q_LENGTH; i++) {
1167 for (i=0;i<TW_Q_LENGTH;i++) {
1303 while (i < TW_Q_LENGTH) {
1367 for (i = 0; i < TW_Q_LENGTH; i++) {
1382 for (i = 0; i < TW_Q_LENGTH; i++) {
1548 .can_queue = TW_Q_LENGTH-2,