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);
267 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH;
453 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH;
462 tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH;
649 size * TW_Q_LENGTH, &dma_handle,
656 for (i = 0; i < TW_Q_LENGTH; i++) {
904 sizeof(TW_Command_Full)*TW_Q_LENGTH,
910 TW_SECTOR_SIZE*TW_Q_LENGTH,
917 TW_Q_LENGTH,
1055 tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL);
1061 for (i = 0; i < TW_Q_LENGTH; i++) {
1165 for (i=0;i<TW_Q_LENGTH;i++) {
1301 while (i < TW_Q_LENGTH) {
1365 for (i = 0; i < TW_Q_LENGTH; i++) {
1380 for (i = 0; i < TW_Q_LENGTH; i++) {
1540 .can_queue = TW_Q_LENGTH-2,