Lines Matching defs:bcm_op
101 struct bcm_op {
168 #define OPSIZ sizeof(struct bcm_op)
199 struct bcm_op *op;
272 static void bcm_can_tx(struct bcm_op *op)
285 /* RFC: should this bcm_op remove itself here? */
319 static void bcm_send_to_user(struct bcm_op *op, struct bcm_msg_head *head,
379 static bool bcm_tx_set_expiry(struct bcm_op *op, struct hrtimer *hrt)
394 static void bcm_tx_start_timer(struct bcm_op *op)
403 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer);
435 static void bcm_rx_changed(struct bcm_op *op, struct canfd_frame *data)
466 static void bcm_rx_update_and_send(struct bcm_op *op,
510 static void bcm_rx_cmp_to_index(struct bcm_op *op, unsigned int index,
549 static void bcm_rx_starttimer(struct bcm_op *op)
561 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer);
588 static inline int bcm_rx_do_flush(struct bcm_op *op, unsigned int index)
602 static int bcm_rx_thr_flush(struct bcm_op *op)
627 struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer);
644 struct bcm_op *op = (struct bcm_op *)data;
707 * helpers for bcm_op handling: find & delete bcm [rx|tx] op elements
709 static struct bcm_op *bcm_find_op(struct list_head *ops,
712 struct bcm_op *op;
725 struct bcm_op *op = container_of(rcu_head, struct bcm_op, rcu);
736 static void bcm_remove_op(struct bcm_op *op)
744 static void bcm_rx_unreg(struct net_device *dev, struct bcm_op *op)
763 struct bcm_op *op, *n;
814 struct bcm_op *op, *n;
829 * bcm_read_op - read out a bcm_op and send it to the user (for bcm_sendmsg)
834 struct bcm_op *op = bcm_find_op(ops, msg_head, ifindex);
858 struct bcm_op *op;
975 /* add this bcm_op to the list of the tx_ops */
1037 struct bcm_op *op;
1156 /* add this bcm_op to the list of the rx_ops */
1209 /* now we can register for can_ids, if we added a new bcm_op */
1293 int ifindex = bo->ifindex; /* default ifindex for this bcm_op */
1314 /* check for alternative ifindex for this bcm_op */
1408 struct bcm_op *op;
1507 struct bcm_op *op, *next;