Lines Matching refs:can_id

96 	canid_t can_id;  member
182 op->can_id, bcm_proc_getifname(ifname, op->ifindex)); in bcm_proc_show()
207 op->can_id, in bcm_proc_show()
376 msg_head.can_id = op->can_id; in bcm_tx_timeout_tsklet()
423 head.can_id = op->can_id; in bcm_rx_changed()
534 msg_head.can_id = op->can_id; in bcm_rx_timeout_tsklet()
640 if (op->can_id != rxframe->can_id) in bcm_rx_handler()
693 static struct bcm_op *bcm_find_op(struct list_head *ops, canid_t can_id, in bcm_find_op() argument
699 if ((op->can_id == can_id) && (op->ifindex == ifindex)) in bcm_find_op()
729 can_rx_unregister(dev, op->can_id, REGMASK(op->can_id), in bcm_rx_unreg()
742 static int bcm_delete_rx_op(struct list_head *ops, canid_t can_id, int ifindex) in bcm_delete_rx_op() argument
747 if ((op->can_id == can_id) && (op->ifindex == ifindex)) { in bcm_delete_rx_op()
771 can_rx_unregister(NULL, op->can_id, in bcm_delete_rx_op()
772 REGMASK(op->can_id), in bcm_delete_rx_op()
787 static int bcm_delete_tx_op(struct list_head *ops, canid_t can_id, int ifindex) in bcm_delete_tx_op() argument
792 if ((op->can_id == can_id) && (op->ifindex == ifindex)) { in bcm_delete_tx_op()
808 struct bcm_op *op = bcm_find_op(ops, msg_head->can_id, ifindex); in bcm_read_op()
845 op = bcm_find_op(&bo->tx_ops, msg_head->can_id, ifindex); in bcm_tx_setup()
870 op->frames[i].can_id = msg_head->can_id; in bcm_tx_setup()
881 op->can_id = msg_head->can_id; in bcm_tx_setup()
909 op->frames[i].can_id = msg_head->can_id; in bcm_tx_setup()
1006 (!(msg_head->can_id & CAN_RTR_FLAG)))) in bcm_rx_setup()
1010 op = bcm_find_op(&bo->rx_ops, msg_head->can_id, ifindex); in bcm_rx_setup()
1044 op->can_id = msg_head->can_id; in bcm_rx_setup()
1128 (op->frames[0].can_id == op->can_id)) in bcm_rx_setup()
1129 op->frames[0].can_id = op->can_id & ~CAN_RTR_FLAG; in bcm_rx_setup()
1165 err = can_rx_register(dev, op->can_id, in bcm_rx_setup()
1166 REGMASK(op->can_id), in bcm_rx_setup()
1175 err = can_rx_register(NULL, op->can_id, in bcm_rx_setup()
1176 REGMASK(op->can_id), in bcm_rx_setup()
1301 if (bcm_delete_tx_op(&bo->tx_ops, msg_head.can_id, ifindex)) in bcm_sendmsg()
1308 if (bcm_delete_rx_op(&bo->rx_ops, msg_head.can_id, ifindex)) in bcm_sendmsg()
1466 can_rx_unregister(NULL, op->can_id, in bcm_release()
1467 REGMASK(op->can_id), in bcm_release()