Lines Matching refs:FIELD_PREP
39 *hdr = FIELD_PREP(OA_CTRL_HDR_DNC, 0) | in oa_tc6_reg_read()
40 FIELD_PREP(OA_CTRL_HDR_WNR, 0) | in oa_tc6_reg_read()
41 FIELD_PREP(OA_CTRL_HDR_AID, 0) | in oa_tc6_reg_read()
42 FIELD_PREP(OA_CTRL_HDR_MMS, reg >> 16) | in oa_tc6_reg_read()
43 FIELD_PREP(OA_CTRL_HDR_ADDR, reg) | in oa_tc6_reg_read()
44 FIELD_PREP(OA_CTRL_HDR_LEN, 0); /* To read single register len = 0 */ in oa_tc6_reg_read()
45 *hdr |= FIELD_PREP(OA_CTRL_HDR_P, oa_tc6_get_parity(*hdr)); in oa_tc6_reg_read()
97 *hdr = FIELD_PREP(OA_CTRL_HDR_DNC, 0) | in oa_tc6_reg_write()
98 FIELD_PREP(OA_CTRL_HDR_WNR, 1) | in oa_tc6_reg_write()
99 FIELD_PREP(OA_CTRL_HDR_AID, 0) | in oa_tc6_reg_write()
100 FIELD_PREP(OA_CTRL_HDR_MMS, reg >> 16) | in oa_tc6_reg_write()
101 FIELD_PREP(OA_CTRL_HDR_ADDR, reg) | in oa_tc6_reg_write()
102 FIELD_PREP(OA_CTRL_HDR_LEN, 0); /* To read single register len = 0 */ in oa_tc6_reg_write()
103 *hdr |= FIELD_PREP(OA_CTRL_HDR_P, oa_tc6_get_parity(*hdr)); in oa_tc6_reg_write()
202 hdr = FIELD_PREP(OA_DATA_HDR_DNC, 1) | in oa_tc6_send_chunks()
203 FIELD_PREP(OA_DATA_HDR_DV, 1) | in oa_tc6_send_chunks()
204 FIELD_PREP(OA_DATA_HDR_NORX, 1) | in oa_tc6_send_chunks()
205 FIELD_PREP(OA_DATA_HDR_SWO, 0); in oa_tc6_send_chunks()
208 hdr |= FIELD_PREP(OA_DATA_HDR_SV, 1); in oa_tc6_send_chunks()
212 hdr |= FIELD_PREP(OA_DATA_HDR_EBO, len - 1) | in oa_tc6_send_chunks()
213 FIELD_PREP(OA_DATA_HDR_EV, 1); in oa_tc6_send_chunks()
216 hdr |= FIELD_PREP(OA_DATA_HDR_P, oa_tc6_get_parity(hdr)); in oa_tc6_send_chunks()
321 hdr = FIELD_PREP(OA_DATA_HDR_DNC, 1) | in oa_tc6_read_status()
322 FIELD_PREP(OA_DATA_HDR_DV, 0) | in oa_tc6_read_status()
323 FIELD_PREP(OA_DATA_HDR_NORX, 1); in oa_tc6_read_status()
324 hdr |= FIELD_PREP(OA_DATA_HDR_P, oa_tc6_get_parity(hdr)); in oa_tc6_read_status()
360 hdr = FIELD_PREP(OA_DATA_HDR_DNC, 1); in oa_tc6_read_chunks()
361 hdr |= FIELD_PREP(OA_DATA_HDR_P, oa_tc6_get_parity(hdr)); in oa_tc6_read_chunks()