Home
last modified time | relevance | path

Searched refs:bufnr (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/s390/cio/
Dqdio_main.c205 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() argument
213 return qdio_do_eqbs(q, state, bufnr, count, auto_ack); in get_buf_states()
216 __state = q->slsb.val[bufnr]; in get_buf_states()
223 bufnr = next_buf(bufnr); in get_buf_states()
226 if (q->slsb.val[bufnr] != __state) in get_buf_states()
235 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() argument
238 return get_buf_states(q, bufnr, state, 1, auto_ack); in get_buf_state()
242 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() argument
248 return qdio_do_sqbs(q, state, bufnr, count); in set_buf_states()
254 WRITE_ONCE(q->slsb.val[bufnr], state); in set_buf_states()
[all …]
Dqdio.h317 #define add_buf(bufnr, inc) QDIO_BUFNR((bufnr) + (inc)) argument
318 #define next_buf(bufnr) add_buf(bufnr, 1) argument
319 #define sub_buf(bufnr, dec) QDIO_BUFNR((bufnr) - (dec)) argument
320 #define prev_buf(bufnr) sub_buf(bufnr, 1) argument
347 int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr,
/linux-6.1.9/arch/s390/include/asm/
Dqdio.h351 unsigned int *bufnr, unsigned int *error);
353 unsigned int *bufnr, unsigned int *error);
355 unsigned int q_nr, unsigned int bufnr,
358 unsigned int q_nr, unsigned int bufnr,
/linux-6.1.9/drivers/media/pci/saa7164/
Dsaa7164-core.c245 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()