Searched refs:TW_Q_LENGTH (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A D | 3w-sas.h | 113 #define TW_Q_LENGTH 256 macro 372 unsigned long *generic_buffer_virt[TW_Q_LENGTH]; 373 dma_addr_t generic_buffer_phys[TW_Q_LENGTH]; 374 TW_Command_Full *command_packet_virt[TW_Q_LENGTH]; 375 dma_addr_t command_packet_phys[TW_Q_LENGTH]; 376 TW_Command_Apache_Header *sense_buffer_virt[TW_Q_LENGTH]; 377 dma_addr_t sense_buffer_phys[TW_Q_LENGTH]; 379 struct scsi_cmnd *srb[TW_Q_LENGTH]; 380 unsigned char free_queue[TW_Q_LENGTH]; 383 int state[TW_Q_LENGTH]; [all …]
|
H A D | 3w-xxxx.h | 209 #define TW_Q_LENGTH 256 macro 403 unsigned long *alignment_virtual_address[TW_Q_LENGTH]; 404 unsigned long alignment_physical_address[TW_Q_LENGTH]; 406 unsigned long *command_packet_virtual_address[TW_Q_LENGTH]; 407 unsigned long command_packet_physical_address[TW_Q_LENGTH]; 409 struct scsi_cmnd *srb[TW_Q_LENGTH]; 410 unsigned char free_queue[TW_Q_LENGTH]; 413 unsigned char pending_queue[TW_Q_LENGTH]; 416 TW_Cmd_State state[TW_Q_LENGTH]; 430 unsigned short aen_queue[TW_Q_LENGTH];
|
H A D | 3w-9xxx.h | 342 #define TW_Q_LENGTH 256 macro 655 unsigned long *generic_buffer_virt[TW_Q_LENGTH]; 656 dma_addr_t generic_buffer_phys[TW_Q_LENGTH]; 657 TW_Command_Full *command_packet_virt[TW_Q_LENGTH]; 658 dma_addr_t command_packet_phys[TW_Q_LENGTH]; 660 struct scsi_cmnd *srb[TW_Q_LENGTH]; 661 unsigned char free_queue[TW_Q_LENGTH]; 664 unsigned char pending_queue[TW_Q_LENGTH]; 667 int state[TW_Q_LENGTH]; 681 TW_Event *event_queue[TW_Q_LENGTH];
|
H A D | 3w-9xxx.c | 422 if ((tw_dev->error_index + 1) == TW_Q_LENGTH) in twa_aen_queue_event() 525 size * TW_Q_LENGTH, &dma_handle, GFP_KERNEL); in twa_allocate_memory() 538 memset(cpu_addr, 0, size*TW_Q_LENGTH); in twa_allocate_memory() 540 for (i = 0; i < TW_Q_LENGTH; i++) { in twa_allocate_memory() 763 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH; in twa_chrdev_ioctl() 1034 sizeof(TW_Command_Full) * TW_Q_LENGTH, in twa_free_device_extension() 1040 TW_SECTOR_SIZE * TW_Q_LENGTH, in twa_free_device_extension() 1194 for (i = 0; i < TW_Q_LENGTH; i++) { in twa_initialize_device_extension() 1591 for (i = 0; i < TW_Q_LENGTH; i++) { in twa_reset_device_extension() 1607 for (i = 0; i < TW_Q_LENGTH; i++) { in twa_reset_device_extension() [all …]
|
H A D | 3w-xxxx.c | 645 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) { in tw_aen_complete() 651 if (tw_dev->aen_head == TW_Q_LENGTH - 1) { in tw_aen_complete() 806 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) { in tw_aen_drain_queue() 853 memset(cpu_addr, 0, size*TW_Q_LENGTH); in tw_allocate_memory() 855 for (i=0;i<TW_Q_LENGTH;i++) { in tw_allocate_memory() 1068 sizeof(TW_Command) * TW_Q_LENGTH, in tw_free_device_extension() 1074 sizeof(TW_Sector) * TW_Q_LENGTH, in tw_free_device_extension() 1272 for (i=0;i<TW_Q_LENGTH;i++) { in tw_initialize_device_extension() 1302 for (i=0;i<TW_Q_LENGTH;i++) { in tw_reset_device_extension() 1316 for (i=0;i<TW_Q_LENGTH;i++) { in tw_reset_device_extension() [all …]
|
H A D | 3w-sas.c | 649 size * TW_Q_LENGTH, &dma_handle, in twl_allocate_memory() 656 for (i = 0; i < TW_Q_LENGTH; i++) { in twl_allocate_memory() 904 sizeof(TW_Command_Full)*TW_Q_LENGTH, in twl_free_device_extension() 910 TW_SECTOR_SIZE*TW_Q_LENGTH, in twl_free_device_extension() 917 TW_Q_LENGTH, in twl_free_device_extension() 1061 for (i = 0; i < TW_Q_LENGTH; i++) { in twl_initialize_device_extension() 1165 for (i=0;i<TW_Q_LENGTH;i++) { in twl_interrupt() 1301 while (i < TW_Q_LENGTH) { in twl_reset_sequence() 1365 for (i = 0; i < TW_Q_LENGTH; i++) { in twl_reset_device_extension() 1380 for (i = 0; i < TW_Q_LENGTH; i++) { in twl_reset_device_extension() [all …]
|