Searched refs:can_id (Results 1 – 9 of 9) sorted by relevance
/net/can/ |
D | af_can.c | 325 static unsigned int effhash(canid_t can_id) in effhash() argument 329 hash = can_id; in effhash() 330 hash ^= can_id >> CAN_EFF_RCV_HASH_BITS; in effhash() 331 hash ^= can_id >> (2 * CAN_EFF_RCV_HASH_BITS); in effhash() 363 static struct hlist_head *can_rcv_list_find(canid_t *can_id, canid_t *mask, in can_rcv_list_find() argument 366 canid_t inv = *can_id & CAN_INV_FILTER; /* save flag before masking */ in can_rcv_list_find() 380 if ((*mask & CAN_EFF_FLAG) && !(*can_id & CAN_EFF_FLAG)) in can_rcv_list_find() 384 *can_id &= *mask; in can_rcv_list_find() 396 !(*can_id & CAN_RTR_FLAG)) { in can_rcv_list_find() 397 if (*can_id & CAN_EFF_FLAG) { in can_rcv_list_find() [all …]
|
D | bcm.c | 105 canid_t can_id; member 216 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 245 seq_printf(m, "tx_op: %03X %s ", op->can_id, in bcm_proc_show() 417 msg_head.can_id = op->can_id; in bcm_tx_timeout_handler() 455 head.can_id = op->can_id; in bcm_rx_changed() 577 msg_head.can_id = op->can_id; in bcm_rx_timeout_handler() 648 if (op->can_id != rxframe->can_id) in bcm_rx_handler() 720 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_find_op() 752 can_rx_unregister(dev_net(dev), dev, op->can_id, in bcm_rx_unreg() 753 REGMASK(op->can_id), bcm_rx_handler, op); in bcm_rx_unreg() [all …]
|
D | gw.c | 156 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id) 160 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id) 164 MODFUNC(mod_xor_id, cf->can_id ^= mod->modframe.xor.can_id) 168 MODFUNC(mod_set_id, cf->can_id = mod->modframe.set.can_id) 271 dst->can_id = src->can_id; in canframecpy() 283 dst->can_id = src->can_id; in canfdframecpy() 394 crc = crc8->crctab[crc ^ (cf->can_id & 0xFF) ^ in cgw_csum_crc8_rel() 395 (cf->can_id >> 8 & 0xFF)]; in cgw_csum_crc8_rel() 421 crc = crc8->crctab[crc ^ (cf->can_id & 0xFF) ^ in cgw_csum_crc8_pos() 422 (cf->can_id >> 8 & 0xFF)]; in cgw_csum_crc8_pos() [all …]
|
D | af_can.h | 53 canid_t can_id; member
|
D | raw.c | 197 err = can_rx_register(net, dev, filter[i].can_id, in raw_enable_filters() 203 can_rx_unregister(net, dev, filter[i].can_id, in raw_enable_filters() 232 can_rx_unregister(net, dev, filter[i].can_id, in raw_disable_filters() 348 ro->dfilter.can_id = 0; in raw_init()
|
D | proc.c | 189 char *fmt = (r->can_id & CAN_EFF_FLAG)? in can_print_rcvlist() 193 seq_printf(m, fmt, DNAME(dev), r->can_id, r->mask, in can_print_rcvlist()
|
D | isotp.c | 240 ncf->can_id = so->txid; in isotp_send_fc() 736 cf->can_id = so->txid; in isotp_fill_dataframe() 822 cf->can_id = so->txid; in isotp_create_fframe()
|
/net/sched/ |
D | em_canid.c | 50 return cf->can_id; in em_canid_get_id() 53 static void em_canid_sff_match_add(struct canid_match *cm, u32 can_id, in em_canid_sff_match_add() argument 63 can_id &= can_mask; in em_canid_sff_match_add() 67 set_bit(can_id, cm->match_sff); in em_canid_sff_match_add() 83 if ((i & can_mask) == can_id) in em_canid_sff_match_add() 97 canid_t can_id; in em_canid_match() local 102 can_id = em_canid_get_id(skb); in em_canid_match() 104 if (can_id & CAN_EFF_FLAG) { in em_canid_match() 107 if (!(((lp->can_id ^ can_id) & lp->can_mask))) { in em_canid_match() 113 can_id &= CAN_SFF_MASK; in em_canid_match() [all …]
|
/net/can/j1939/ |
D | main.c | 73 skcb->priority = (cf->can_id >> 26) & 0x7; in j1939_can_recv() 74 skcb->addr.sa = cf->can_id; in j1939_can_recv() 75 skcb->addr.pgn = (cf->can_id >> 8) & J1939_PGN_MAX; in j1939_can_recv() 350 cf->can_id = canid; in j1939_send_one()
|