Home
last modified time | relevance | path

Searched refs:bfa_q_prev (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dcna.h53 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) macro
60 bfa_q_prev(_qe) = (struct list_head *) NULL; \
69 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
83 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
84 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
86 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
97 if (!(bfa_q_next(_qe) == NULL) && (bfa_q_prev(_qe) == NULL)) \
100 (bfa_q_next(_qe) == NULL) && (bfa_q_prev(_qe) == NULL));\
102 bfa_q_prev(_qe) = (struct list_head *) (_q); \
103 bfa_q_prev(bfa_q_next(_q)) = (struct list_head *) (_qe); \
Dbna_tx_rx.c2044 bfa_q_prev(&rx->qe) = prev_qe; in bna_rx_put()
2046 bfa_q_prev(bfa_q_next(&rx->qe)) = &rx->qe; in bna_rx_put()
3552 bfa_q_prev(&tx->qe) = prev_qe; in bna_tx_free()
3554 bfa_q_prev(bfa_q_next(&tx->qe)) = &tx->qe; in bna_tx_free()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_cs.h158 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) macro
165 bfa_q_prev(_qe) = (struct list_head *) NULL; \
174 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
187 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
188 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
190 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\