Lines Matching refs:n
260 static inline void msg_set_user(struct tipc_msg *m, u32 n) in msg_set_user() argument
262 msg_set_bits(m, 0, 25, 0xf, n); in msg_set_user()
270 static inline void msg_set_hdr_sz(struct tipc_msg *m, u32 n) in msg_set_hdr_sz() argument
272 msg_set_bits(m, 0, 21, 0xf, n>>2); in msg_set_hdr_sz()
295 static inline void msg_set_non_seq(struct tipc_msg *m, u32 n) in msg_set_non_seq() argument
297 msg_set_bits(m, 0, 20, 1, n); in msg_set_non_seq()
393 static inline void msg_set_type(struct tipc_msg *m, u32 n) in msg_set_type() argument
395 msg_set_bits(m, 1, 29, 0x7, n); in msg_set_type()
493 static inline void msg_set_lookup_scope(struct tipc_msg *m, u32 n) in msg_set_lookup_scope() argument
495 msg_set_bits(m, 1, 19, 0x3, n); in msg_set_lookup_scope()
503 static inline void msg_set_bcast_ack(struct tipc_msg *m, u16 n) in msg_set_bcast_ack() argument
505 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_bcast_ack()
526 static inline void msg_set_dest_session(struct tipc_msg *m, u16 n) in msg_set_dest_session() argument
528 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_dest_session()
539 static inline void msg_set_ack(struct tipc_msg *m, u16 n) in msg_set_ack() argument
541 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_ack()
549 static inline void msg_set_seqno(struct tipc_msg *m, u16 n) in msg_set_seqno() argument
551 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_seqno()
607 static inline void msg_set_named_seqno(struct tipc_msg *m, u16 n) in msg_set_named_seqno() argument
609 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_named_seqno()
664 static inline void msg_set_nametype(struct tipc_msg *m, u32 n) in msg_set_nametype() argument
666 msg_set_word(m, 8, n); in msg_set_nametype()
679 static inline void msg_set_namelower(struct tipc_msg *m, u32 n) in msg_set_namelower() argument
681 msg_set_word(m, 9, n); in msg_set_namelower()
684 static inline void msg_set_nameinst(struct tipc_msg *m, u32 n) in msg_set_nameinst() argument
686 msg_set_namelower(m, n); in msg_set_nameinst()
694 static inline void msg_set_nameupper(struct tipc_msg *m, u32 n) in msg_set_nameupper() argument
696 msg_set_word(m, 10, n); in msg_set_nameupper()
765 static inline void msg_set_seq_gap(struct tipc_msg *m, u32 n) in msg_set_seq_gap() argument
767 msg_set_bits(m, 1, 16, 0x1fff, n); in msg_set_seq_gap()
775 static inline void msg_set_node_sig(struct tipc_msg *m, u32 n) in msg_set_node_sig() argument
777 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_node_sig()
785 static inline void msg_set_node_capabilities(struct tipc_msg *m, u32 n) in msg_set_node_capabilities() argument
787 msg_set_bits(m, 1, 15, 0x1fff, n); in msg_set_node_capabilities()
798 static inline void msg_set_dest_domain(struct tipc_msg *m, u32 n) in msg_set_dest_domain() argument
800 msg_set_word(m, 2, n); in msg_set_dest_domain()
808 static inline void msg_set_bcgap_after(struct tipc_msg *m, u32 n) in msg_set_bcgap_after() argument
810 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_bcgap_after()
818 static inline void msg_set_bcgap_to(struct tipc_msg *m, u32 n) in msg_set_bcgap_to() argument
820 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_bcgap_to()
836 static inline void msg_set_last_bcast(struct tipc_msg *m, u32 n) in msg_set_last_bcast() argument
838 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_last_bcast()
846 static inline void msg_set_nof_fragms(struct tipc_msg *m, u32 n) in msg_set_nof_fragms() argument
848 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_nof_fragms()
856 static inline void msg_set_fragm_no(struct tipc_msg *m, u32 n) in msg_set_fragm_no() argument
858 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_fragm_no()
866 static inline void msg_set_next_sent(struct tipc_msg *m, u16 n) in msg_set_next_sent() argument
868 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_next_sent()
871 static inline void msg_set_long_msgno(struct tipc_msg *m, u32 n) in msg_set_long_msgno() argument
873 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_long_msgno()
901 static inline void msg_set_session(struct tipc_msg *m, u16 n) in msg_set_session() argument
903 msg_set_bits(m, 5, 16, 0xffff, n); in msg_set_session()
921 static inline void msg_set_net_plane(struct tipc_msg *m, char n) in msg_set_net_plane() argument
923 msg_set_bits(m, 5, 1, 7, (n - 'A')); in msg_set_net_plane()
931 static inline void msg_set_linkprio(struct tipc_msg *m, u32 n) in msg_set_linkprio() argument
933 msg_set_bits(m, 5, 4, 0x1f, n); in msg_set_linkprio()
941 static inline void msg_set_bearer_id(struct tipc_msg *m, u32 n) in msg_set_bearer_id() argument
943 msg_set_bits(m, 5, 9, 0x7, n); in msg_set_bearer_id()
993 static inline void msg_set_bc_gap(struct tipc_msg *m, u32 n) in msg_set_bc_gap() argument
995 msg_set_bits(m, 8, 0, 0x3ff, n); in msg_set_bc_gap()
1006 static inline void msg_set_msgcnt(struct tipc_msg *m, u16 n) in msg_set_msgcnt() argument
1008 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_msgcnt()
1016 static inline void msg_set_syncpt(struct tipc_msg *m, u16 n) in msg_set_syncpt() argument
1018 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_syncpt()
1026 static inline void msg_set_conn_ack(struct tipc_msg *m, u32 n) in msg_set_conn_ack() argument
1028 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_conn_ack()
1036 static inline void msg_set_adv_win(struct tipc_msg *m, u16 n) in msg_set_adv_win() argument
1038 msg_set_bits(m, 9, 0, 0xffff, n); in msg_set_adv_win()
1046 static inline void msg_set_max_pkt(struct tipc_msg *m, u32 n) in msg_set_max_pkt() argument
1048 msg_set_bits(m, 9, 16, 0xffff, (n / 4)); in msg_set_max_pkt()
1056 static inline void msg_set_link_tolerance(struct tipc_msg *m, u32 n) in msg_set_link_tolerance() argument
1058 msg_set_bits(m, 9, 0, 0xffff, n); in msg_set_link_tolerance()
1066 static inline void msg_set_grp_bc_syncpt(struct tipc_msg *m, u16 n) in msg_set_grp_bc_syncpt() argument
1068 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_bc_syncpt()
1076 static inline void msg_set_grp_bc_acked(struct tipc_msg *m, u16 n) in msg_set_grp_bc_acked() argument
1078 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_bc_acked()
1086 static inline void msg_set_grp_remitted(struct tipc_msg *m, u16 n) in msg_set_grp_remitted() argument
1088 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_remitted()
1098 static inline void msg_set_grp_evt(struct tipc_msg *m, int n) in msg_set_grp_evt() argument
1100 msg_set_bits(m, 10, 0, 0x3, n); in msg_set_grp_evt()
1108 static inline void msg_set_grp_bc_ack_req(struct tipc_msg *m, bool n) in msg_set_grp_bc_ack_req() argument
1110 msg_set_bits(m, 10, 0, 0x1, n); in msg_set_grp_bc_ack_req()
1118 static inline void msg_set_grp_bc_seqno(struct tipc_msg *m, u32 n) in msg_set_grp_bc_seqno() argument
1120 msg_set_bits(m, 10, 16, 0xffff, n); in msg_set_grp_bc_seqno()
1146 static inline void msg_set_peer_net_hash(struct tipc_msg *m, u32 n) in msg_set_peer_net_hash() argument
1148 msg_set_word(m, 13, n); in msg_set_peer_net_hash()
1163 static inline void msg_set_sugg_node_addr(struct tipc_msg *m, u32 n) in msg_set_sugg_node_addr() argument
1165 msg_set_word(m, 14, n); in msg_set_sugg_node_addr()