Searched refs:bufnr (Results 1 – 3 of 3) sorted by relevance
/drivers/s390/cio/ |
D | qdio_main.c | 207 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() argument 215 return qdio_do_eqbs(q, state, bufnr, count, auto_ack); in get_buf_states() 218 __state = q->slsb.val[bufnr]; in get_buf_states() 228 bufnr = next_buf(bufnr); in get_buf_states() 232 q->slsb.val[bufnr] == SLSB_P_OUTPUT_PENDING && in get_buf_states() 237 if (q->slsb.val[bufnr] != __state) in get_buf_states() 246 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() argument 249 return get_buf_states(q, bufnr, state, 1, auto_ack, 0); in get_buf_state() 253 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() argument 259 return qdio_do_sqbs(q, state, bufnr, count); in set_buf_states() [all …]
|
D | qdio.h | 346 #define add_buf(bufnr, inc) QDIO_BUFNR((bufnr) + (inc)) argument 347 #define next_buf(bufnr) add_buf(bufnr, 1) argument 348 #define sub_buf(bufnr, dec) QDIO_BUFNR((bufnr) - (dec)) argument 349 #define prev_buf(bufnr) sub_buf(bufnr, 1) argument 391 int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr,
|
/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 245 static void saa7164_work_enchandler_helper(struct saa7164_port *port, int bufnr) in saa7164_work_enchandler_helper() argument 264 if (buf->idx == bufnr) { in saa7164_work_enchandler_helper() 267 dprintk(DBGLVL_IRQ, "%s() bufnr: %d\n", __func__, bufnr); in saa7164_work_enchandler_helper() 336 saa7164_buffer_zero_offsets(port, bufnr); in saa7164_work_enchandler_helper()
|