• Home
  • Raw
  • Download

Lines Matching refs:ctrl_1

49 		pdu->ctrl_1 |= (pdu->ctrl_1 & 0xEF) | (bit_value << 4);  in llc_pdu_set_pf_bit()
77 *pf_bit = (pdu->ctrl_1 & LLC_U_PF_BIT_MASK) >> 4; in llc_pdu_decode_pf_bit()
93 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_disc_cmd()
94 pdu->ctrl_1 |= LLC_2_PDU_CMD_DISC; in llc_pdu_init_as_disc_cmd()
95 pdu->ctrl_1 |= ((p_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_disc_cmd()
111 pdu->ctrl_1 = LLC_PDU_TYPE_I; in llc_pdu_init_as_i_cmd()
114 pdu->ctrl_1 |= (ns << 1) & 0xFE; /* set N(S) in bits 2..8 */ in llc_pdu_init_as_i_cmd()
130 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rej_cmd()
131 pdu->ctrl_1 |= LLC_2_PDU_CMD_REJ; in llc_pdu_init_as_rej_cmd()
134 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rej_cmd()
150 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rnr_cmd()
151 pdu->ctrl_1 |= LLC_2_PDU_CMD_RNR; in llc_pdu_init_as_rnr_cmd()
154 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rnr_cmd()
170 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rr_cmd()
171 pdu->ctrl_1 |= LLC_2_PDU_CMD_RR; in llc_pdu_init_as_rr_cmd()
173 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rr_cmd()
188 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_sabme_cmd()
189 pdu->ctrl_1 |= LLC_2_PDU_CMD_SABME; in llc_pdu_init_as_sabme_cmd()
190 pdu->ctrl_1 |= ((p_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_sabme_cmd()
204 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_dm_rsp()
205 pdu->ctrl_1 |= LLC_2_PDU_RSP_DM; in llc_pdu_init_as_dm_rsp()
206 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_dm_rsp()
228 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_frmr_rsp()
229 pdu->ctrl_1 |= LLC_2_PDU_RSP_FRMR; in llc_pdu_init_as_frmr_rsp()
230 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_frmr_rsp()
233 ctrl = (u8 *)&prev_pdu->ctrl_1; in llc_pdu_init_as_frmr_rsp()
259 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rr_rsp()
260 pdu->ctrl_1 |= LLC_2_PDU_RSP_RR; in llc_pdu_init_as_rr_rsp()
263 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rr_rsp()
279 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rej_rsp()
280 pdu->ctrl_1 |= LLC_2_PDU_RSP_REJ; in llc_pdu_init_as_rej_rsp()
283 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rej_rsp()
299 pdu->ctrl_1 = LLC_PDU_TYPE_S; in llc_pdu_init_as_rnr_rsp()
300 pdu->ctrl_1 |= LLC_2_PDU_RSP_RNR; in llc_pdu_init_as_rnr_rsp()
303 pdu->ctrl_1 &= 0x0F; /* setting bits 5..8 to zero(reserved) */ in llc_pdu_init_as_rnr_rsp()
318 pdu->ctrl_1 = LLC_PDU_TYPE_U; in llc_pdu_init_as_ua_rsp()
319 pdu->ctrl_1 |= LLC_2_PDU_RSP_UA; in llc_pdu_init_as_ua_rsp()
320 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_ua_rsp()
334 if (pdu->ctrl_1 & 1) { in llc_pdu_decode_pdu_type()
335 if ((pdu->ctrl_1 & LLC_PDU_TYPE_U) == LLC_PDU_TYPE_U) in llc_pdu_decode_pdu_type()
355 if (pdu->ctrl_1 & 1) { in llc_pdu_get_pf_bit()
356 if ((pdu->ctrl_1 & LLC_PDU_TYPE_U) == LLC_PDU_TYPE_U) in llc_pdu_get_pf_bit()
368 pf_bit = (pdu->ctrl_1 & LLC_U_PF_BIT_MASK) >> 4; in llc_pdu_get_pf_bit()