Lines Matching refs:nframes
114 u32 nframes;
220 seq_printf(m, "(%u)", op->nframes);
222 seq_printf(m, "[%u]", op->nframes);
249 seq_printf(m, "(%u) ", op->nframes);
251 seq_printf(m, "[%u] ", op->nframes);
309 if (op->currframe >= op->nframes)
326 unsigned int datalen = head->nframes * op->cfsiz;
335 if (head->nframes) {
345 * BCM, where nframes is 1
347 if (head->nframes == 1)
418 msg_head.nframes = 0;
456 head.nframes = 1;
567 memset(op->last_frames, 0, op->nframes * op->cfsiz);
578 msg_head.nframes = 0;
606 if (op->nframes > 1) {
610 for (i = 1; i < op->nframes; i++)
682 if (op->nframes == 1) {
688 if (op->nframes > 1) {
697 for (i = 1; i < op->nframes; i++) {
849 msg_head->nframes = op->nframes;
872 /* check nframes boundaries - we need at least one CAN frame */
873 if (msg_head->nframes < 1 || msg_head->nframes > MAX_NFRAMES)
890 if (msg_head->nframes > op->nframes)
894 for (i = 0; i < msg_head->nframes; i++) {
929 if (msg_head->nframes > 1) {
930 op->frames = kmalloc_array(msg_head->nframes,
940 for (i = 0; i < msg_head->nframes; i++) {
985 if (op->nframes != msg_head->nframes) {
986 op->nframes = msg_head->nframes;
1026 return msg_head->nframes * op->cfsiz + MHSIZ;
1046 if ((msg_head->flags & RX_FILTER_ID) || (!(msg_head->nframes))) {
1050 msg_head->nframes = 0;
1054 if (msg_head->nframes > MAX_NFRAMES + 1)
1058 ((msg_head->nframes != 1) ||
1076 if (msg_head->nframes > op->nframes)
1079 if (msg_head->nframes) {
1082 msg_head->nframes * op->cfsiz);
1087 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz);
1090 op->nframes = msg_head->nframes;
1103 op->nframes = msg_head->nframes;
1107 if (msg_head->nframes > 1) {
1109 op->frames = kmalloc_array(msg_head->nframes,
1118 op->last_frames = kcalloc(msg_head->nframes,
1132 if (msg_head->nframes) {
1134 msg_head->nframes * op->cfsiz);
1243 return msg_head->nframes * op->cfsiz + MHSIZ;
1390 if ((msg_head.nframes != 1) || (size != cfsiz + MHSIZ))