• Home
  • Raw
  • Download

Lines Matching refs:ctrl_1

61 	((!(pdu->ctrl_1 & LLC_PDU_TYPE_I_MASK)) ? 1 : 0)
64 (((pdu->ctrl_1 & LLC_PDU_TYPE_U_MASK) == LLC_PDU_TYPE_U) ? 1 : 0)
67 (((pdu->ctrl_1 & LLC_PDU_TYPE_S_MASK) == LLC_PDU_TYPE_S) ? 1 : 0)
71 #define LLC_U_PF_IS_1(pdu) ((pdu->ctrl_1 & LLC_U_PF_BIT_MASK) ? 1 : 0)
72 #define LLC_U_PF_IS_0(pdu) ((!(pdu->ctrl_1 & LLC_U_PF_BIT_MASK)) ? 1 : 0)
75 #define LLC_U_PDU_CMD(pdu) (pdu->ctrl_1 & LLC_U_PDU_CMD_MASK)
76 #define LLC_U_PDU_RSP(pdu) (pdu->ctrl_1 & LLC_U_PDU_CMD_MASK)
122 #define LLC_I_GET_NS(pdu) (u8)((pdu->ctrl_1 & 0xFE) >> 1)
133 #define LLC_S_PDU_CMD(pdu) (pdu->ctrl_1 & LLC_S_PDU_CMD_MASK)
134 #define LLC_S_PDU_RSP(pdu) (pdu->ctrl_1 & LLC_S_PDU_CMD_MASK)
202 u8 ctrl_1; member
215 u8 ctrl_1; member
318 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_ui_cmd()
319 pdu->ctrl_1 |= LLC_1_PDU_CMD_UI; in llc_pdu_init_as_ui_cmd()
332 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_test_cmd()
333 pdu->ctrl_1 |= LLC_1_PDU_CMD_TEST; in llc_pdu_init_as_test_cmd()
334 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_test_cmd()
349 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_test_rsp()
350 pdu->ctrl_1 |= LLC_1_PDU_CMD_TEST; in llc_pdu_init_as_test_rsp()
351 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_test_rsp()
382 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_xid_cmd()
383 pdu->ctrl_1 |= LLC_1_PDU_CMD_XID; in llc_pdu_init_as_xid_cmd()
384 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_xid_cmd()
385 xid_info = (struct llc_xid_info *)(((u8 *)&pdu->ctrl_1) + 1); in llc_pdu_init_as_xid_cmd()
409 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_xid_rsp()
410 pdu->ctrl_1 |= LLC_1_PDU_CMD_XID; in llc_pdu_init_as_xid_rsp()
411 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_xid_rsp()
413 xid_info = (struct llc_xid_info *)(((u8 *)&pdu->ctrl_1) + 1); in llc_pdu_init_as_xid_rsp()