Lines Matching refs:flags
105 u32 flags; member
162 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU) argument
214 if (op->flags & CAN_FD_FRAME) in bcm_proc_show()
219 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show()
243 if (op->flags & CAN_FD_FRAME) in bcm_proc_show()
342 firstframe->flags &= BCM_CAN_FLAGS_MASK; in bcm_send_to_user()
402 if (!op->count && (op->flags & TX_COUNTEVT)) { in bcm_tx_timeout_handler()
406 msg_head.flags = op->flags; in bcm_tx_timeout_handler()
440 data->flags &= (BCM_CAN_FLAGS_MASK|RX_RECV); in bcm_rx_changed()
443 head.flags = op->flags; in bcm_rx_changed()
465 lastdata->flags |= (RX_RECV|RX_THR); in bcm_rx_update_and_send()
514 if (!(lcf->flags & RX_RECV)) { in bcm_rx_cmp_to_index()
529 if (op->flags & RX_CHECK_DLC) { in bcm_rx_cmp_to_index()
543 if (op->flags & RX_NO_AUTOTIMER) in bcm_rx_starttimer()
557 if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { in bcm_rx_timeout_handler()
564 msg_head.flags = op->flags; in bcm_rx_timeout_handler()
583 if ((op->last_frames) && (lcf->flags & RX_THR)) { in bcm_rx_do_flush()
656 if (op->flags & RX_RTR_FRAME) { in bcm_rx_handler()
662 if (op->flags & RX_FILTER_ID) { in bcm_rx_handler()
707 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) in bcm_find_op()
751 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_rx_op()
799 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_tx_op()
821 msg_head->flags = op->flags; in bcm_read_op()
853 if ((msg_head->flags & SETTIMER) && bcm_is_invalid_tv(msg_head)) in bcm_tx_setup()
875 if (op->flags & CAN_FD_FRAME) { in bcm_tx_setup()
886 if (msg_head->flags & TX_CP_CAN_ID) { in bcm_tx_setup()
891 op->flags = msg_head->flags; in bcm_tx_setup()
901 op->cfsiz = CFSIZ(msg_head->flags); in bcm_tx_setup()
902 op->flags = msg_head->flags; in bcm_tx_setup()
921 if (op->flags & CAN_FD_FRAME) { in bcm_tx_setup()
936 if (msg_head->flags & TX_CP_CAN_ID) { in bcm_tx_setup()
971 if (op->flags & TX_RESET_MULTI_IDX) { in bcm_tx_setup()
976 if (op->flags & SETTIMER) { in bcm_tx_setup()
989 if (op->flags & STARTTIMER) { in bcm_tx_setup()
992 op->flags |= TX_ANNOUNCE; in bcm_tx_setup()
995 if (op->flags & TX_ANNOUNCE) { in bcm_tx_setup()
1001 if (op->flags & STARTTIMER) in bcm_tx_setup()
1018 if ((msg_head->flags & RX_FILTER_ID) || (!(msg_head->nframes))) { in bcm_rx_setup()
1020 msg_head->flags |= RX_FILTER_ID; in bcm_rx_setup()
1029 if ((msg_head->flags & RX_RTR_FRAME) && in bcm_rx_setup()
1035 if ((msg_head->flags & SETTIMER) && bcm_is_invalid_tv(msg_head)) in bcm_rx_setup()
1063 op->flags = msg_head->flags; in bcm_rx_setup()
1076 op->cfsiz = CFSIZ(msg_head->flags); in bcm_rx_setup()
1077 op->flags = msg_head->flags; in bcm_rx_setup()
1143 if (op->flags & RX_RTR_FRAME) { in bcm_rx_setup()
1155 if ((op->flags & TX_CP_CAN_ID) || in bcm_rx_setup()
1160 if (op->flags & SETTIMER) { in bcm_rx_setup()
1181 if ((op->flags & STARTTIMER) && op->kt_ival1) in bcm_rx_setup()
1287 cfsiz = CFSIZ(msg_head.flags); in bcm_sendmsg()
1531 int flags) in bcm_connect() argument
1595 int flags) in bcm_recvmsg() argument
1603 noblock = flags & MSG_DONTWAIT; in bcm_recvmsg()
1604 flags &= ~MSG_DONTWAIT; in bcm_recvmsg()
1605 skb = skb_recv_datagram(sk, flags, noblock, &error); in bcm_recvmsg()