Searched refs:RES_QUEUE_LEN (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | qlogicpti.h | 335 #define RES_QUEUE_LEN 255 /* Must be power of two - 1 */ macro 339 #define NEXT_RES_PTR(wheee) (((wheee) + 1) & RES_QUEUE_LEN) 341 #define PREV_RES_PTR(wheee) (((wheee) - 1) & RES_QUEUE_LEN)
|
D | qlogicpti.c | 132 #define RES_QUEUE_DEPTH(in, out) QUEUE_DEPTH(in, out, RES_QUEUE_LEN) 388 param[1] = RES_QUEUE_LEN + 1; in qlogicpti_reset_hardware() 786 QSIZE(RES_QUEUE_LEN), in qpti_map_queues() 799 sbus_free_consistent(sdev, QSIZE(RES_QUEUE_LEN), in qpti_map_queues() 804 memset(qpti->res_cpu, 0, QSIZE(RES_QUEUE_LEN)); in qpti_map_queues() 923 QSIZE(RES_QUEUE_LEN), in qlogicpti_detect() 964 QSIZE(RES_QUEUE_LEN), in qlogicpti_release()
|
D | qlogicisp.c | 561 #define RES_QUEUE_LEN ((QLOGICISP_REQ_QUEUE_LEN + 1) / 8 - 1) macro 601 #define RES_QUEUE_DEPTH(in, out) QUEUE_DEPTH(in, out, RES_QUEUE_LEN) 730 QSIZE(RES_QUEUE_LEN), in isp1020_detect() 1027 QUEUE_DEPTH(in_ptr, out_ptr, RES_QUEUE_LEN))); in isp1020_intr_handler() 1033 out_ptr = (out_ptr + 1) & RES_QUEUE_LEN; in isp1020_intr_handler() 1457 QSIZE(RES_QUEUE_LEN), in isp1020_init() 1469 QSIZE(RES_QUEUE_LEN), in isp1020_init() 1846 param[1] = RES_QUEUE_LEN + 1; in isp1020_load_parameters()
|
D | qlogicfc.c | 589 #define RES_QUEUE_LEN ((QLOGICFC_REQ_QUEUE_LEN + 1) / 8 - 1) macro 619 #define RES_SIZE ((RES_QUEUE_LEN + 1)*QUEUE_ENTRY_LEN) 653 #define RES_QUEUE_DEPTH(in, out) QUEUE_DEPTH(in, out, RES_QUEUE_LEN) 750 hostdata->req = hostdata->res + (RES_QUEUE_LEN + 1)*QUEUE_ENTRY_LEN; in isp2x00_detect() 766 hostdata->control_block.res_queue_len = cpu_to_le16(RES_QUEUE_LEN + 1); in isp2x00_detect() 1544 out_ptr = (out_ptr + 1) & RES_QUEUE_LEN; in isp2x00_intr_handler()
|