Home
last modified time | relevance | path

Searched refs:ARCMSR_MAX_QBUFFER (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/arcmsr/
Darcmsr_attr.c85 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()
87 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()
97 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_sysfs_iop_message_read()
137 cnt2end = ARCMSR_MAX_QBUFFER - acb->wqbuf_putIndex; in arcmsr_sysfs_iop_message_write()
147 acb->wqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_sysfs_iop_message_write()
Darcmsr.h63 #define ARCMSR_MAX_QBUFFER 4096 macro
680 uint8_t rqbuffer[ARCMSR_MAX_QBUFFER];
686 uint8_t wqbuffer[ARCMSR_MAX_QBUFFER];
Darcmsr_hba.c1701 acb->rqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_Read_iop_rqbuffer_in_DWORD()
1727 acb->rqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_Read_iop_rqbuffer_data()
1744 (ARCMSR_MAX_QBUFFER - 1); in arcmsr_iop2drv_data_wrote_handle()
1775 acb->wqbuf_getIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_write_ioctldata2iop_in_DWORD()
1818 acb->wqbuf_getIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_write_ioctldata2iop()
2264 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()
2266 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()
2276 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()
2333 cnt2end = ARCMSR_MAX_QBUFFER - acb->wqbuf_putIndex; in arcmsr_iop_message_xfer()
2343 acb->wqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()
[all …]