Searched refs:ARCMSR_MAX_QBUFFER (Results 1 – 3 of 3) sorted by relevance
83 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()85 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()95 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_sysfs_iop_message_read()135 cnt2end = ARCMSR_MAX_QBUFFER - acb->wqbuf_putIndex; in arcmsr_sysfs_iop_message_write()145 acb->wqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_sysfs_iop_message_write()
63 #define ARCMSR_MAX_QBUFFER 4096 macro926 uint8_t rqbuffer[ARCMSR_MAX_QBUFFER];932 uint8_t wqbuffer[ARCMSR_MAX_QBUFFER];
2298 acb->rqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_Read_iop_rqbuffer_in_DWORD()2324 acb->rqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_Read_iop_rqbuffer_data()2341 buf_empty_len = (ARCMSR_MAX_QBUFFER - 1) - in arcmsr_iop2drv_data_wrote_handle()2375 acb->wqbuf_getIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_write_ioctldata2iop_in_DWORD()2418 acb->wqbuf_getIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_write_ioctldata2iop()3035 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()3037 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()3047 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()3104 cnt2end = ARCMSR_MAX_QBUFFER - acb->wqbuf_putIndex; in arcmsr_iop_message_xfer()3114 acb->wqbuf_putIndex %= ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()[all …]