• Home
  • Raw
  • Download

Lines Matching refs:flags

108 	u32 flags;  member
169 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU) argument
221 if (op->flags & CAN_FD_FRAME) in bcm_proc_show()
226 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show()
250 if (op->flags & CAN_FD_FRAME) in bcm_proc_show()
350 firstframe->flags &= BCM_CAN_FLAGS_MASK; in bcm_send_to_user()
410 if (!op->count && (op->flags & TX_COUNTEVT)) { in bcm_tx_timeout_handler()
415 msg_head.flags = op->flags; in bcm_tx_timeout_handler()
449 data->flags &= (BCM_CAN_FLAGS_MASK|RX_RECV); in bcm_rx_changed()
453 head.flags = op->flags; in bcm_rx_changed()
475 lastdata->flags |= (RX_RECV|RX_THR); in bcm_rx_update_and_send()
524 if (!(lcf->flags & RX_RECV)) { in bcm_rx_cmp_to_index()
539 if (op->flags & RX_CHECK_DLC) { in bcm_rx_cmp_to_index()
553 if (op->flags & RX_NO_AUTOTIMER) in bcm_rx_starttimer()
567 if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { in bcm_rx_timeout_handler()
575 msg_head.flags = op->flags; in bcm_rx_timeout_handler()
594 if ((op->last_frames) && (lcf->flags & RX_THR)) { in bcm_rx_do_flush()
667 if (op->flags & RX_RTR_FRAME) { in bcm_rx_handler()
673 if (op->flags & RX_FILTER_ID) { in bcm_rx_handler()
718 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) in bcm_find_op()
769 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_rx_op()
772 op->flags |= RX_NO_AUTOTIMER; in bcm_delete_rx_op()
820 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_tx_op()
842 msg_head->flags = op->flags; in bcm_read_op()
874 if ((msg_head->flags & SETTIMER) && bcm_is_invalid_tv(msg_head)) in bcm_tx_setup()
896 if (op->flags & CAN_FD_FRAME) { in bcm_tx_setup()
907 if (msg_head->flags & TX_CP_CAN_ID) { in bcm_tx_setup()
912 op->flags = msg_head->flags; in bcm_tx_setup()
922 op->cfsiz = CFSIZ(msg_head->flags); in bcm_tx_setup()
923 op->flags = msg_head->flags; in bcm_tx_setup()
944 if (op->flags & CAN_FD_FRAME) { in bcm_tx_setup()
955 if (msg_head->flags & TX_CP_CAN_ID) { in bcm_tx_setup()
990 if (op->flags & TX_RESET_MULTI_IDX) { in bcm_tx_setup()
995 if (op->flags & SETTIMER) { in bcm_tx_setup()
1008 if (op->flags & STARTTIMER) { in bcm_tx_setup()
1011 op->flags |= TX_ANNOUNCE; in bcm_tx_setup()
1014 if (op->flags & TX_ANNOUNCE) { in bcm_tx_setup()
1020 if (op->flags & STARTTIMER) in bcm_tx_setup()
1043 if ((msg_head->flags & RX_FILTER_ID) || (!(msg_head->nframes))) { in bcm_rx_setup()
1045 msg_head->flags |= RX_FILTER_ID; in bcm_rx_setup()
1054 if ((msg_head->flags & RX_RTR_FRAME) && in bcm_rx_setup()
1060 if ((msg_head->flags & SETTIMER) && bcm_is_invalid_tv(msg_head)) in bcm_rx_setup()
1088 op->flags = msg_head->flags; in bcm_rx_setup()
1101 op->cfsiz = CFSIZ(msg_head->flags); in bcm_rx_setup()
1102 op->flags = msg_head->flags; in bcm_rx_setup()
1168 if (op->flags & RX_RTR_FRAME) { in bcm_rx_setup()
1180 if ((op->flags & TX_CP_CAN_ID) || in bcm_rx_setup()
1185 if (op->flags & SETTIMER) { in bcm_rx_setup()
1206 if ((op->flags & STARTTIMER) && op->kt_ival1) in bcm_rx_setup()
1312 cfsiz = CFSIZ(msg_head.flags); in bcm_sendmsg()
1583 int flags) in bcm_connect() argument
1647 int flags) in bcm_recvmsg() argument
1655 noblock = flags & MSG_DONTWAIT; in bcm_recvmsg()
1656 flags &= ~MSG_DONTWAIT; in bcm_recvmsg()
1657 skb = skb_recv_datagram(sk, flags, noblock, &error); in bcm_recvmsg()