Lines Matching refs:j
102 int i, j, free; in ishtp_cl_get_dma_send_buf() local
110 for (j = 0; j < required_slots; j++) in ishtp_cl_get_dma_send_buf()
111 if (dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_get_dma_send_buf()
113 i += j; in ishtp_cl_get_dma_send_buf()
118 for (j = 0; j < required_slots; j++) in ishtp_cl_get_dma_send_buf()
119 dev->ishtp_dma_tx_map[i+j] = 1; in ishtp_cl_get_dma_send_buf()
146 int i, j; in ishtp_cl_release_dma_acked_mem() local
155 for (j = 0; j < acked_slots; j++) { in ishtp_cl_release_dma_acked_mem()
156 if ((i + j) >= dev->ishtp_dma_num_slots || in ishtp_cl_release_dma_acked_mem()
157 !dev->ishtp_dma_tx_map[i+j]) { in ishtp_cl_release_dma_acked_mem()
163 dev->ishtp_dma_tx_map[i+j] = 0; in ishtp_cl_release_dma_acked_mem()