• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/can/

Lines Matching refs:nframes

107 	u32 nframes;
185 seq_printf(m, "[%u]%c ", op->nframes,
211 op->nframes);
276 if (op->currframe >= op->nframes)
293 unsigned int datalen = head->nframes * CFSIZ;
302 if (head->nframes) {
312 * BCM, where nframes is 1
314 if (head->nframes == 1)
363 msg_head.nframes = 0;
424 head.nframes = 1;
535 msg_head.nframes = 0;
555 memset(op->last_frames, 0, op->nframes * CFSIZ);
585 if (op->nframes > 1) {
589 for (i = 1; i < op->nframes; i++)
662 if (op->nframes == 1) {
668 if (op->nframes > 1) {
676 for (i = 1; i < op->nframes; i++) {
818 msg_head->nframes = op->nframes;
840 /* check nframes boundaries - we need at least one can_frame */
841 if (msg_head->nframes < 1 || msg_head->nframes > MAX_NFRAMES)
855 if (msg_head->nframes > op->nframes)
859 for (i = 0; i < msg_head->nframes; i++) {
885 if (msg_head->nframes > 1) {
886 op->frames = kmalloc(msg_head->nframes * CFSIZ,
895 for (i = 0; i < msg_head->nframes; i++) {
938 if (op->nframes != msg_head->nframes) {
939 op->nframes = msg_head->nframes;
984 return msg_head->nframes * CFSIZ + MHSIZ;
998 if ((msg_head->flags & RX_FILTER_ID) || (!(msg_head->nframes))) {
1002 msg_head->nframes = 0;
1006 if (msg_head->nframes > MAX_NFRAMES + 1)
1010 ((msg_head->nframes != 1) ||
1024 if (msg_head->nframes > op->nframes)
1027 if (msg_head->nframes) {
1031 msg_head->nframes * CFSIZ);
1036 memset(op->last_frames, 0, msg_head->nframes * CFSIZ);
1039 op->nframes = msg_head->nframes;
1051 op->nframes = msg_head->nframes;
1053 if (msg_head->nframes > 1) {
1055 op->frames = kmalloc(msg_head->nframes * CFSIZ,
1063 op->last_frames = kzalloc(msg_head->nframes * CFSIZ,
1076 if (msg_head->nframes) {
1078 msg_head->nframes * CFSIZ);
1189 return msg_head->nframes * CFSIZ + MHSIZ;
1327 if ((msg_head.nframes != 1) || (size != CFSIZ + MHSIZ))