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++)
677 if (op->nframes == 1) {
683 if (op->nframes > 1) {
692 for (i = 1; i < op->nframes; i++) {
844 msg_head->nframes = op->nframes;
867 /* check nframes boundaries - we need at least one CAN frame */
868 if (msg_head->nframes < 1 || msg_head->nframes > MAX_NFRAMES)
885 if (msg_head->nframes > op->nframes)
889 for (i = 0; i < msg_head->nframes; i++) {
924 if (msg_head->nframes > 1) {
925 op->frames = kmalloc_array(msg_head->nframes,
935 for (i = 0; i < msg_head->nframes; i++) {
980 if (op->nframes != msg_head->nframes) {
981 op->nframes = msg_head->nframes;
1021 return msg_head->nframes * op->cfsiz + MHSIZ;
1041 if ((msg_head->flags & RX_FILTER_ID) || (!(msg_head->nframes))) {
1045 msg_head->nframes = 0;
1049 if (msg_head->nframes > MAX_NFRAMES + 1)
1053 ((msg_head->nframes != 1) ||
1071 if (msg_head->nframes > op->nframes)
1074 if (msg_head->nframes) {
1077 msg_head->nframes * op->cfsiz);
1082 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz);
1085 op->nframes = msg_head->nframes;
1098 op->nframes = msg_head->nframes;
1102 if (msg_head->nframes > 1) {
1104 op->frames = kmalloc_array(msg_head->nframes,
1113 op->last_frames = kcalloc(msg_head->nframes,
1127 if (msg_head->nframes) {
1129 msg_head->nframes * op->cfsiz);
1238 return msg_head->nframes * op->cfsiz + MHSIZ;
1385 if ((msg_head.nframes != 1) || (size != cfsiz + MHSIZ))