Lines Matching defs:start

109  * @start: buffer number to start at
117 int start, int count, int auto_ack)
119 int tmp_count = count, tmp_start = start, nr = q->nr;
159 * @start: first buffer number to change
166 static int qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start,
170 int tmp_count = count, tmp_start = start;
411 static void process_buffer_error(struct qdio_q *q, unsigned int start,
416 q->sbal[start]->element[15].sflags == 0x10) {
418 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "OUTFULL FTC:%02x", start);
424 DBF_ERROR("FTC:%3d C:%3d", start, count);
426 q->sbal[start]->element[14].sflags,
427 q->sbal[start]->element[15].sflags);
430 static inline void inbound_handle_work(struct qdio_q *q, unsigned int start,
435 set_buf_state(q, add_buf(start, count - 1), SLSB_P_INPUT_ACK);
438 q->u.in.batch_start = start;
442 static int get_inbound_buffer_frontier(struct qdio_q *q, unsigned int start,
457 count = get_buf_states(q, start, &state, count, 1);
466 inbound_handle_work(q, start, count, is_qebsm(q));
477 process_buffer_error(q, start, count);
478 inbound_handle_work(q, start, count, false);
488 q->nr, start);
496 state, start, q->nr);
505 unsigned int start;
513 start = q->first_to_check;
516 count = get_inbound_buffer_frontier(q, start, error);
520 *bufnr = start;
521 q->first_to_check = add_buf(start, count);
526 static inline int qdio_inbound_q_done(struct qdio_q *q, unsigned int start)
535 get_buf_state(q, start, &state, 0);
544 static int get_outbound_buffer_frontier(struct qdio_q *q, unsigned int start,
559 count = get_buf_states(q, start, &state, count, 0);
581 process_buffer_error(q, start, count);
600 state, start, q->nr);
609 unsigned int start;
617 start = q->first_to_check;
620 count = get_outbound_buffer_frontier(q, start, error);
624 *bufnr = start;
625 q->first_to_check = add_buf(start, count);