bufnr 421 arch/s390/include/asm/qdio.h bool is_input, unsigned int *bufnr, bufnr 247 drivers/media/pci/saa7164/saa7164-core.c static void saa7164_work_enchandler_helper(struct saa7164_port *port, int bufnr) bufnr 266 drivers/media/pci/saa7164/saa7164-core.c if (buf->idx == bufnr) { bufnr 269 drivers/media/pci/saa7164/saa7164-core.c dprintk(DBGLVL_IRQ, "%s() bufnr: %d\n", __func__, bufnr); bufnr 338 drivers/media/pci/saa7164/saa7164-core.c saa7164_buffer_zero_offsets(port, bufnr); bufnr 358 drivers/s390/cio/qdio.h #define prev_buf(bufnr) \ bufnr 359 drivers/s390/cio/qdio.h ((bufnr + QDIO_MAX_BUFFERS_MASK) & QDIO_MAX_BUFFERS_MASK) bufnr 360 drivers/s390/cio/qdio.h #define next_buf(bufnr) \ bufnr 361 drivers/s390/cio/qdio.h ((bufnr + 1) & QDIO_MAX_BUFFERS_MASK) bufnr 362 drivers/s390/cio/qdio.h #define add_buf(bufnr, inc) \ bufnr 363 drivers/s390/cio/qdio.h ((bufnr + inc) & QDIO_MAX_BUFFERS_MASK) bufnr 364 drivers/s390/cio/qdio.h #define sub_buf(bufnr, dec) \ bufnr 365 drivers/s390/cio/qdio.h ((bufnr - dec) & QDIO_MAX_BUFFERS_MASK) bufnr 412 drivers/s390/cio/qdio.h int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr, bufnr 203 drivers/s390/cio/qdio_main.c static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, bufnr 211 drivers/s390/cio/qdio_main.c return qdio_do_eqbs(q, state, bufnr, count, auto_ack); bufnr 214 drivers/s390/cio/qdio_main.c __state = q->slsb.val[bufnr]; bufnr 224 drivers/s390/cio/qdio_main.c bufnr = next_buf(bufnr); bufnr 228 drivers/s390/cio/qdio_main.c q->slsb.val[bufnr] == SLSB_P_OUTPUT_PENDING && bufnr 233 drivers/s390/cio/qdio_main.c if (q->slsb.val[bufnr] != __state) bufnr 242 drivers/s390/cio/qdio_main.c static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, bufnr 245 drivers/s390/cio/qdio_main.c return get_buf_states(q, bufnr, state, 1, auto_ack, 0); bufnr 249 drivers/s390/cio/qdio_main.c static inline int set_buf_states(struct qdio_q *q, int bufnr, bufnr 255 drivers/s390/cio/qdio_main.c return qdio_do_sqbs(q, state, bufnr, count); bufnr 258 drivers/s390/cio/qdio_main.c xchg(&q->slsb.val[bufnr], state); bufnr 259 drivers/s390/cio/qdio_main.c bufnr = next_buf(bufnr); bufnr 264 drivers/s390/cio/qdio_main.c static inline int set_buf_state(struct qdio_q *q, int bufnr, bufnr 267 drivers/s390/cio/qdio_main.c return set_buf_states(q, bufnr, state, 1); bufnr 385 drivers/s390/cio/qdio_main.c int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr, bufnr 390 drivers/s390/cio/qdio_main.c return get_buf_state(q, bufnr, state, 0); bufnr 618 drivers/s390/cio/qdio_main.c int bufnr) bufnr 622 drivers/s390/cio/qdio_main.c if (!q->aobs[bufnr]) { bufnr 624 drivers/s390/cio/qdio_main.c q->aobs[bufnr] = aob; bufnr 626 drivers/s390/cio/qdio_main.c if (q->aobs[bufnr]) { bufnr 627 drivers/s390/cio/qdio_main.c q->aobs[bufnr]->user1 = (u64) q->sbal_state[bufnr].user; bufnr 628 drivers/s390/cio/qdio_main.c phys_aob = virt_to_phys(q->aobs[bufnr]); bufnr 632 drivers/s390/cio/qdio_main.c q->sbal_state[bufnr].flags = 0; bufnr 1451 drivers/s390/cio/qdio_main.c static inline int buf_in_between(int bufnr, int start, int count) bufnr 1456 drivers/s390/cio/qdio_main.c if (bufnr >= start && bufnr < end) bufnr 1463 drivers/s390/cio/qdio_main.c if ((bufnr >= start && bufnr <= QDIO_MAX_BUFFERS_PER_Q) || bufnr 1464 drivers/s390/cio/qdio_main.c (bufnr < end)) bufnr 1478 drivers/s390/cio/qdio_main.c int bufnr, int count) bufnr 1493 drivers/s390/cio/qdio_main.c } else if (buf_in_between(q->u.in.ack_start, bufnr, count)) { bufnr 1496 drivers/s390/cio/qdio_main.c diff = add_buf(bufnr, count); bufnr 1512 drivers/s390/cio/qdio_main.c count = set_buf_states(q, bufnr, SLSB_CU_INPUT_EMPTY, count); bufnr 1529 drivers/s390/cio/qdio_main.c int bufnr, int count) bufnr 1537 drivers/s390/cio/qdio_main.c count = set_buf_states(q, bufnr, SLSB_CU_OUTPUT_PRIMED, count); bufnr 1556 drivers/s390/cio/qdio_main.c phys_aob = qdio_aob_for_buffer(&q->u.out, bufnr); bufnr 1562 drivers/s390/cio/qdio_main.c get_buf_state(q, prev_buf(bufnr), &state, 0) > 0 && bufnr 1594 drivers/s390/cio/qdio_main.c int q_nr, unsigned int bufnr, unsigned int count) bufnr 1598 drivers/s390/cio/qdio_main.c if (bufnr >= QDIO_MAX_BUFFERS_PER_Q || count > QDIO_MAX_BUFFERS_PER_Q) bufnr 1606 drivers/s390/cio/qdio_main.c "do%02x b:%02x c:%02x", callflags, bufnr, count); bufnr 1614 drivers/s390/cio/qdio_main.c callflags, bufnr, count); bufnr 1617 drivers/s390/cio/qdio_main.c callflags, bufnr, count); bufnr 1664 drivers/s390/cio/qdio_main.c static int __qdio_inspect_queue(struct qdio_q *q, unsigned int *bufnr, bufnr 1675 drivers/s390/cio/qdio_main.c *bufnr = start; bufnr 1686 drivers/s390/cio/qdio_main.c unsigned int *bufnr, unsigned int *error) bufnr 1698 drivers/s390/cio/qdio_main.c return __qdio_inspect_queue(q, bufnr, error); bufnr 1714 drivers/s390/cio/qdio_main.c int qdio_get_next_buffers(struct ccw_device *cdev, int nr, int *bufnr, bufnr 1737 drivers/s390/cio/qdio_main.c return __qdio_inspect_queue(q, bufnr, error);