Searched refs:TW_Q_LENGTH (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A D3w-xxxx.h162 #define TW_Q_LENGTH 256 macro
346 unsigned long *alignment_virtual_address[TW_Q_LENGTH];
347 unsigned long alignment_physical_address[TW_Q_LENGTH];
349 unsigned long *command_packet_virtual_address[TW_Q_LENGTH];
350 unsigned long command_packet_physical_address[TW_Q_LENGTH];
352 struct scsi_cmnd *srb[TW_Q_LENGTH];
353 unsigned char free_queue[TW_Q_LENGTH];
356 unsigned char pending_queue[TW_Q_LENGTH];
359 TW_Cmd_State state[TW_Q_LENGTH];
373 unsigned short aen_queue[TW_Q_LENGTH];
[all...]
H A D3w-9xxx.h349 #define TW_Q_LENGTH 256 macro
641 unsigned long *generic_buffer_virt[TW_Q_LENGTH];
642 dma_addr_t generic_buffer_phys[TW_Q_LENGTH];
643 TW_Command_Full *command_packet_virt[TW_Q_LENGTH];
644 dma_addr_t command_packet_phys[TW_Q_LENGTH];
646 struct scsi_cmnd *srb[TW_Q_LENGTH];
647 unsigned char free_queue[TW_Q_LENGTH];
650 unsigned char pending_queue[TW_Q_LENGTH];
653 int state[TW_Q_LENGTH];
667 TW_Event *event_queue[TW_Q_LENGTH];
[all...]
H A D3w-9xxx.c178 if (queue_depth > TW_Q_LENGTH-2)
179 queue_depth = TW_Q_LENGTH-2;
403 if ((tw_dev->error_index + 1) == TW_Q_LENGTH)
405 tw_dev->error_index = (tw_dev->error_index + 1 ) % TW_Q_LENGTH;
508 cpu_addr = pci_alloc_consistent(tw_dev->tw_pci_dev, size*TW_Q_LENGTH, &dma_handle);
516 pci_free_consistent(tw_dev->tw_pci_dev, size*TW_Q_LENGTH, cpu_addr, dma_handle);
520 memset(cpu_addr, 0, size*TW_Q_LENGTH);
522 for (i = 0; i < TW_Q_LENGTH; i++) {
740 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH;
[all...]
H A D3w-xxxx.c189 if (tw_dev->pending_tail == TW_Q_LENGTH-1) {
279 tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH;
286 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH;
328 if (queue_depth > TW_Q_LENGTH-2)
329 queue_depth = TW_Q_LENGTH-2;
452 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) {
458 if (tw_dev->aen_head == TW_Q_LENGTH - 1) {
613 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) {
619 if (tw_dev->aen_head == TW_Q_LENGTH - 1) {
646 cpu_addr = pci_alloc_consistent(tw_dev->tw_pci_dev, size*TW_Q_LENGTH,
[all...]

Completed in 101 milliseconds