Home
last modified time | relevance | path

Searched refs:pgn (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/net/can/j1939/
H A Dsocket.c41 static inline bool j1939_pgn_is_valid(pgn_t pgn) in j1939_pgn_is_valid() argument
43 return pgn <= J1939_PGN_MAX; in j1939_pgn_is_valid()
47 static inline bool j1939_pgn_is_clean_pdu(pgn_t pgn) in j1939_pgn_is_clean_pdu() argument
49 if (j1939_pgn_is_pdu1(pgn)) in j1939_pgn_is_clean_pdu()
50 return !(pgn & 0xff); in j1939_pgn_is_clean_pdu()
255 jsk->pgn_rx_filter != skcb->addr.pgn) in j1939_sk_match_dst()
278 if ((skcb->addr.pgn & f->pgn_mask) != f->pgn) in j1939_sk_match_filter()
410 jsk->addr.pgn = J1939_NO_PGN; in j1939_sk_init()
435 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check()
436 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check()
[all …]
H A Dmain.c75 skcb->addr.pgn = (cf->can_id >> 8) & J1939_PGN_MAX; in j1939_can_recv()
85 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) { in j1939_can_recv()
87 skcb->addr.da = skcb->addr.pgn; in j1939_can_recv()
89 skcb->addr.pgn &= 0x3ff00; in j1939_can_recv()
321 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) in j1939_send_one()
322 skcb->addr.pgn &= J1939_PGN_PDU1_MAX; in j1939_send_one()
324 skcb->addr.pgn &= J1939_PGN_MAX; in j1939_send_one()
345 (skcb->addr.pgn << 8) | in j1939_send_one()
347 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) in j1939_send_one()
H A Dtransport.c444 pgn_t pgn; in j1939_xtp_ctl_to_pgn() local
446 pgn = (dat[7] << 16) | (dat[6] << 8) | (dat[5] << 0); in j1939_xtp_ctl_to_pgn()
447 if (j1939_pgn_is_pdu1(pgn)) in j1939_xtp_ctl_to_pgn()
448 pgn &= 0xffff00; in j1939_xtp_ctl_to_pgn()
449 return pgn; in j1939_xtp_ctl_to_pgn()
618 skcb->addr.pgn = J1939_ETP_PGN_CTL; in j1939_tp_tx_dat_new()
620 skcb->addr.pgn = J1939_TP_PGN_CTL; in j1939_tp_tx_dat_new()
623 skcb->addr.pgn = J1939_ETP_PGN_DAT; in j1939_tp_tx_dat_new()
625 skcb->addr.pgn = J1939_TP_PGN_DAT; in j1939_tp_tx_dat_new()
652 bool swap_src_dst, pgn_t pgn, const u8 *dat) in j1939_xtp_do_tx_ctl() argument
[all …]
H A Daddress-claim.c42 if (skb->len < 3 || skcb->addr.pgn != J1939_PGN_REQUEST) in j1939_ac_msg_is_request()
86 if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { in j1939_ac_fixup()
253 if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { in j1939_ac_recv()
H A Dj1939-priv.h117 static inline bool j1939_pgn_is_pdu1(pgn_t pgn) in j1939_pgn_is_pdu1() argument
120 return (pgn & 0xff00) < 0xf000; in j1939_pgn_is_pdu1()
146 pgn_t pgn; member
/openbmc/linux/Documentation/networking/
H A Dj1939.rst209 /* pgn:
215 __u32 pgn;
223 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are
363 .pgn = J1939_NO_PGN, /* to disable bind() rx filter for PGN */
377 .pgn = J1939_PGN_ADDRESS_CLAIMED,
380 .pgn = J1939_PGN_REQUEST,
383 .pgn = J1939_PGN_ADDRESS_COMMANDED,
394 .pgn = J1939_PGN_ADDRESS_CLAIMED,
437 .pgn = J1939_NO_PGN,
456 .pgn = 0x12300,
H A Dcan.rst284 /* pgn:
290 __u32 pgn;
/openbmc/linux/include/uapi/linux/can/
H A Dj1939.h100 pgn_t pgn; member
/openbmc/linux/include/uapi/linux/
H A Dcan.h259 __u32 pgn; member
/openbmc/openbmc-tools/rootfs_size/
H A Dresults.txt1423 0: /usr/share/mime/application/vnd.chess-pgn.xml
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt8369 -rw-r--r-- root root 3598 ./usr/share/mime/application/vnd.chess-pgn.xml
H A Dbuildhistory_filelist1.txt8366 -rw-r--r-- root root 3598 ./usr/share/mime/application/vnd.chess-pgn.xml