Searched refs:bufnr (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/s390/cio/ |
D | qdio_main.c | 213 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() argument 220 BUG_ON(bufnr > QDIO_MAX_BUFFERS_MASK); in get_buf_states() 224 return qdio_do_eqbs(q, state, bufnr, count, auto_ack); in get_buf_states() 228 __state = q->slsb.val[bufnr]; in get_buf_states() 229 else if (q->slsb.val[bufnr] != __state) in get_buf_states() 231 bufnr = next_buf(bufnr); in get_buf_states() 237 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() argument 240 return get_buf_states(q, bufnr, state, 1, auto_ack); in get_buf_state() 244 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() argument 249 BUG_ON(bufnr > QDIO_MAX_BUFFERS_MASK); in set_buf_states() [all …]
|
D | qdio.h | 409 #define prev_buf(bufnr) \ argument 410 ((bufnr + QDIO_MAX_BUFFERS_MASK) & QDIO_MAX_BUFFERS_MASK) 411 #define next_buf(bufnr) \ argument 412 ((bufnr + 1) & QDIO_MAX_BUFFERS_MASK) 413 #define add_buf(bufnr, inc) \ argument 414 ((bufnr + inc) & QDIO_MAX_BUFFERS_MASK) 415 #define sub_buf(bufnr, dec) \ argument 416 ((bufnr - dec) & QDIO_MAX_BUFFERS_MASK) 471 int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr,
|
/linux-2.6.39/drivers/media/video/saa7164/ |
D | saa7164-core.c | 277 static void saa7164_work_enchandler_helper(struct saa7164_port *port, int bufnr) in saa7164_work_enchandler_helper() argument 296 if (buf->idx == bufnr) { in saa7164_work_enchandler_helper() 299 dprintk(DBGLVL_IRQ, "%s() bufnr: %d\n", __func__, bufnr); in saa7164_work_enchandler_helper() 368 saa7164_buffer_zero_offsets(port, bufnr); in saa7164_work_enchandler_helper()
|