• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/can/

Lines Matching refs:can_id

75 /* get best masking value for can_rx_register() for a given single can_id */
98 canid_t can_id;
184 op->can_id, bcm_proc_getifname(ifname, op->ifindex));
209 op->can_id,
362 msg_head.can_id = op->can_id;
423 head.can_id = op->can_id;
534 msg_head.can_id = op->can_id;
640 if (op->can_id != rxframe->can_id)
693 static struct bcm_op *bcm_find_op(struct list_head *ops, canid_t can_id,
699 if ((op->can_id == can_id) && (op->ifindex == ifindex))
729 can_rx_unregister(dev, op->can_id, REGMASK(op->can_id),
742 static int bcm_delete_rx_op(struct list_head *ops, canid_t can_id, int ifindex)
747 if ((op->can_id == can_id) && (op->ifindex == ifindex)) {
771 can_rx_unregister(NULL, op->can_id,
772 REGMASK(op->can_id),
787 static int bcm_delete_tx_op(struct list_head *ops, canid_t can_id, int ifindex)
792 if ((op->can_id == can_id) && (op->ifindex == ifindex)) {
808 struct bcm_op *op = bcm_find_op(ops, msg_head->can_id, ifindex);
844 /* check the given can_id */
845 op = bcm_find_op(&bo->tx_ops, msg_head->can_id, ifindex);
870 /* copy can_id into frame */
871 op->frames[i].can_id = msg_head->can_id;
876 /* insert new BCM operation for the given can_id */
882 op->can_id = msg_head->can_id;
910 /* copy can_id into frame */
911 op->frames[i].can_id = msg_head->can_id;
936 } /* if ((op = bcm_find_op(&bo->tx_ops, msg_head->can_id, ifindex))) */
1011 (!(msg_head->can_id & CAN_RTR_FLAG))))
1014 /* check the given can_id */
1015 op = bcm_find_op(&bo->rx_ops, msg_head->can_id, ifindex);
1045 /* insert new BCM operation for the given can_id */
1050 op->can_id = msg_head->can_id;
1114 } /* if ((op = bcm_find_op(&bo->rx_ops, msg_head->can_id, ifindex))) */
1127 * copy can_id into frame BUT without RTR-flag to
1131 (op->frames[0].can_id == op->can_id))
1132 op->frames[0].can_id = op->can_id & ~CAN_RTR_FLAG;
1168 err = can_rx_register(dev, op->can_id,
1169 REGMASK(op->can_id),
1178 err = can_rx_register(NULL, op->can_id,
1179 REGMASK(op->can_id),
1300 if (bcm_delete_tx_op(&bo->tx_ops, msg_head.can_id, ifindex))
1307 if (bcm_delete_rx_op(&bo->rx_ops, msg_head.can_id, ifindex))
1460 can_rx_unregister(NULL, op->can_id,
1461 REGMASK(op->can_id),