Lines Matching refs:fmt2
557 status->fmt2.raw_u16 = sys_get_be16(data); in i3c_ccc_do_getstatus()
640 memcpy(caps->fmt2.crcaps, data, len); in i3c_ccc_do_getcaps()
642 memset(&caps->fmt2.crcaps[len], 0, sizeof(caps->fmt2.crcaps) - len); in i3c_ccc_do_getcaps()
645 memcpy(caps->fmt2.vtcaps, data, len); in i3c_ccc_do_getcaps()
647 memset(&caps->fmt2.vtcaps[len], 0, sizeof(caps->fmt2.vtcaps) - len); in i3c_ccc_do_getcaps()
650 memcpy(caps->fmt2.tgtcaps, data, len); in i3c_ccc_do_getcaps()
652 memset(&caps->fmt2.tgtcaps[len], 0, in i3c_ccc_do_getcaps()
653 sizeof(caps->fmt2.tgtcaps) - len); in i3c_ccc_do_getcaps()
657 caps->fmt2.testpat = sys_get_be32(data); in i3c_ccc_do_getcaps()
822 ccc_tgt_payload.data_len = sizeof(((union i3c_ccc_getmxds *)0)->fmt2); in i3c_ccc_do_getmxds()
869 memset(&mxds->fmt2.maxrdturn, 0, sizeof(mxds->fmt2.maxrdturn)); in i3c_ccc_do_getmxds()
870 } else if (len == sizeof(((union i3c_ccc_getmxds *)0)->fmt2)) { in i3c_ccc_do_getmxds()
871 mxds->fmt2.maxwr = data[0]; in i3c_ccc_do_getmxds()
872 mxds->fmt2.maxrd = data[1]; in i3c_ccc_do_getmxds()
873 memcpy(&mxds->fmt2.maxrdturn, &data[2], in i3c_ccc_do_getmxds()
874 sizeof(mxds->fmt2.maxrdturn)); in i3c_ccc_do_getmxds()