Lines Matching refs:common
189 if (hdr->common.revision != 1) { in ncsi_validate_rsp()
191 hdr->common.type, hdr->common.revision); in ncsi_validate_rsp()
197 hdr->common.type, __be16_to_cpu(hdr->code)); in ncsi_validate_rsp()
203 if (ntohs(hdr->common.length) != payload) { in ncsi_validate_rsp()
205 hdr->common.type, hdr->common.length); in ncsi_validate_rsp()
216 hdr->common.type); in ncsi_validate_rsp()
229 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_ec()
230 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_ec()
242 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_ecnt()
243 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_ecnt()
253 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_ebf()
254 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_ebf()
264 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_sma()
265 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_sma()
277 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_gc()
278 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_gc()
304 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_gvi()
305 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_gvi()
333 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_gls()
334 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_gls()
356 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_cis()
357 nc = NCSI_CHANNEL_INDEX(rsp->common.channel); in ncsi_rsp_cis()
399 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_dp()
409 np = NCSI_PACKAGE_INDEX(rsp->common.channel); in ncsi_rsp_sp()
465 if (!timeout && nh->common.type == NCSI_PKT_RSP_SP) { in ncsi_update_state()
596 if (hdr->common.revision != 1) { in ncsi_handle_aen()
598 hdr->common.type, hdr->common.revision); in ncsi_handle_aen()
602 if (ntohs(hdr->common.length) != payload) { in ncsi_handle_aen()
604 hdr->common.type, hdr->common.length); in ncsi_handle_aen()
614 hdr->common.type); in ncsi_handle_aen()
648 if (nh->common.type == NCSI_PKT_AEN) in ncsi_receive()
651 switch (nh->common.type) { in ncsi_receive()
698 nh->common.type); in ncsi_receive()
704 nh->common.type); in ncsi_receive()