Home
last modified time | relevance | path

Searched refs:can (Results 76 - 100 of 1030) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c18 #include <linux/can.h>
19 #include <linux/can/dev.h>
20 #include <linux/can/error.h>
517 /* can set bus on now */ in peak_usb_start()
524 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_start()
614 dev->can.state = CAN_STATE_STOPPED; in peak_usb_ndo_stop()
622 /* can set bus off now */ in peak_usb_ndo_stop()
637 /* finally MUST update can state */ in peak_usb_restart_complete()
638 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_restart_complete()
640 /* netdev queue can b in peak_usb_restart_complete()
[all...]
H A Dpcan_usb.c15 #include <linux/can.h>
16 #include <linux/can/dev.h>
17 #include <linux/can/error.h>
255 * set bittiming value to can
266 if (dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in pcan_usb_set_bittiming()
279 * init/reset can
323 /* can delete usb resources */ in pcan_usb_restart_pending()
459 new_state = mc->pdev->dev.can.state; in pcan_usb_decode_error()
461 switch (mc->pdev->dev.can.state) { in pcan_usb_decode_error()
524 if (mc->pdev->dev.can in pcan_usb_decode_error()
[all...]
H A Dpcan_usb_pro.c13 #include <linux/can.h>
14 #include <linux/can/dev.h>
15 #include <linux/can/error.h>
453 ccbt = (dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 0x00800000 : 0; in pcan_usb_pro_set_bittiming()
466 /* can delete usb resources */ in pcan_usb_pro_restart_complete()
570 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_pro_handle_error()
575 dev->can.state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
610 if (dev->can.state == new_state) in pcan_usb_pro_handle_error()
621 dev->can.can_stats.bus_off++; in pcan_usb_pro_handle_error()
628 dev->can in pcan_usb_pro_handle_error()
[all...]
H A Dpcan_usb_fd.c11 #include <linux/can.h>
12 #include <linux/can/dev.h>
13 #include <linux/can/error.h>
14 #include <linux/can/dev/peak_canfd.h>
248 if (dev->can.ctrlmode_supported & CAN_CTRLMODE_FD_NON_ISO) { in pcan_usb_fd_build_restart_cmd()
252 (dev->can.ctrlmode & CAN_CTRLMODE_FD_NON_ISO) ? in pcan_usb_fd_build_restart_cmd()
272 (dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) ? in pcan_usb_fd_build_restart_cmd()
396 dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES); in pcan_usb_fd_set_bittiming_slow()
544 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_fd_decode_status()
561 if (new_state == dev->can in pcan_usb_fd_decode_status()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c21 #include <linux/can.h>
22 #include <linux/can/dev.h>
23 #include <linux/can/error.h>
543 /* can set bus on now */ in peak_usb_start()
550 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_start()
640 dev->can.state = CAN_STATE_STOPPED; in peak_usb_ndo_stop()
648 /* can set bus off now */ in peak_usb_ndo_stop()
664 /* finally MUST update can state */ in peak_usb_restart_complete()
665 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_restart_complete()
667 /* netdev queue can b in peak_usb_restart_complete()
[all...]
H A Dpcan_usb_fd.c12 #include <linux/can.h>
13 #include <linux/can/dev.h>
14 #include <linux/can/error.h>
15 #include <linux/can/dev/peak_canfd.h>
278 if (dev->can.ctrlmode_supported & CAN_CTRLMODE_FD_NON_ISO) { in pcan_usb_fd_build_restart_cmd()
282 (dev->can.ctrlmode & CAN_CTRLMODE_FD_NON_ISO) ? in pcan_usb_fd_build_restart_cmd()
302 (dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) ? in pcan_usb_fd_build_restart_cmd()
426 dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES); in pcan_usb_fd_set_bittiming_slow()
565 dev->can.ctrlmode); in pcan_usb_fd_decode_canmsg()
608 if (dev->can in pcan_usb_fd_decode_status()
[all...]
H A Dpcan_usb_pro.c14 #include <linux/can.h>
15 #include <linux/can/dev.h>
16 #include <linux/can/error.h>
466 ccbt = (dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 0x00800000 : 0; in pcan_usb_pro_set_bittiming()
479 /* can delete usb resources */ in pcan_usb_pro_restart_complete()
585 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_pro_handle_error()
590 dev->can.state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
625 if (dev->can.state == new_state) in pcan_usb_pro_handle_error()
636 dev->can.can_stats.bus_off++; in pcan_usb_pro_handle_error()
643 dev->can in pcan_usb_pro_handle_error()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Dxilinx_can.c29 #include <linux/can/dev.h>
30 #include <linux/can/error.h>
189 * @can: CAN private data structure.
193 * @tx_max: Maximum number packets the driver can send
207 struct can_priv can; member
424 struct can_bittiming *bt = &priv->can.bittiming; in xcan_set_bittiming()
425 struct can_bittiming *dbt = &priv->can.data_bittiming; in xcan_set_bittiming()
459 if (can_tdc_is_enabled(&priv->can)) { in xcan_set_bittiming()
461 btr0 |= FIELD_PREP(XCAN_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()
464 btr0 |= FIELD_PREP(XCAN_2_BRPR_TDCO_MASK, priv->can in xcan_set_bittiming()
[all...]
H A Dcan327.c4 * This driver started as a derivative of linux/drivers/net/can/slcan.c
34 #include <linux/can.h>
35 #include <linux/can/dev.h>
36 #include <linux/can/error.h>
37 #include <linux/can/rx-offload.h>
68 struct can_priv can; member
243 /* We can only set the bitrate as a fraction of 500000. in can327_init_device()
247 elm->can_bitrate_divisor = 500000 / elm->can.bittiming.bitrate; in can327_init_device()
293 elm->can.can_stats.bus_off++; in can327_uart_side_failure()
295 elm->can in can327_uart_side_failure()
[all...]
H A Dvxcan.c5 * This code is derived from drivers/net/can/vcan.c for the virtual CAN
18 #include <linux/can.h>
19 #include <linux/can/dev.h>
20 #include <linux/can/skb.h>
21 #include <linux/can/vxcan.h>
22 #include <linux/can/can-ml.h>
/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c254 * echo operations (i.e. any access to priv->echo_skb[]) can be done
261 return es58x_priv(netdev)->can.state < CAN_STATE_BUS_OFF; in es58x_is_can_state_active()
266 * many skb slots can be taken before we should stop the network
271 * bulk send. This function can be used to determine when to wake or
280 u32 threshold = priv->can.echo_skb_max - in es58x_is_echo_skb_threshold_reached()
333 priv->can.echo_skb_max); in es58x_can_get_echo_skb_recovery()
405 * drivers/net/can/net/dev.c:can_flush_echo_skb(). in es58x_can_get_echo_skb()
439 struct sk_buff *skb = priv->can.echo_skb[skb_idx]; in es58x_can_get_echo_skb()
467 * drivers/net/can/dev.c:can_flush_echo_skb(). This function resets
544 priv->can in es58x_tx_ack_msg()
662 struct can_priv *can = netdev_priv(netdev); es58x_rx_err_msg() local
2053 struct can_priv *can = &priv->can; es58x_init_priv() local
[all...]
H A Des58x_fd.c48 u32 ctrlmode = es58x_priv(netdev)->can.ctrlmode; in es58x_fd_cmd_type()
368 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es58x_fd_tx_can_msg()
405 &priv->can.bittiming); in es58x_fd_enable_channel()
406 ctrlmode = priv->can.ctrlmode; in es58x_fd_enable_channel()
430 &priv->can.data_bittiming); in es58x_fd_enable_channel()
432 if (can_tdc_is_enabled(&priv->can)) { in es58x_fd_enable_channel()
434 tx_conf_msg.tdco = cpu_to_le16(priv->can.tdc.tdco); in es58x_fd_enable_channel()
435 tx_conf_msg.tdcf = cpu_to_le16(priv->can.tdc.tdcf); in es58x_fd_enable_channel()
/kernel/linux/linux-6.6/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c26 #include <linux/can.h>
27 #include <linux/can/dev.h>
28 #include <linux/can/error.h>
29 #include <linux/can/netlink.h>
453 priv->can.state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_open()
527 priv->can.state = CAN_STATE_STOPPED; in kvaser_usb_close()
538 struct can_bittiming *bt = &priv->can.bittiming; in kvaser_usb_set_bittiming()
549 if (priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in kvaser_usb_set_bittiming()
582 struct can_bittiming *dbt = &priv->can.data_bittiming; in kvaser_usb_set_data_bittiming()
819 priv->can in kvaser_usb_init_one()
[all...]
/kernel/linux/linux-5.10/net/can/j1939/
H A DMakefile3 obj-$(CONFIG_CAN_J1939) += can-j1939.o
5 can-j1939-objs := \
/kernel/linux/linux-6.6/net/can/j1939/
H A DMakefile3 obj-$(CONFIG_CAN_J1939) += can-j1939.o
5 can-j1939-objs := \
/kernel/linux/linux-5.10/include/linux/can/
H A Ddev.h3 * linux/can/dev.h
17 #include <linux/can.h>
18 #include <linux/can/error.h>
19 #include <linux/can/led.h>
20 #include <linux/can/netlink.h>
21 #include <linux/can/skb.h>
55 /* CAN controller features - see include/uapi/linux/can/netlink.h */
57 u32 ctrlmode_supported; /* options that can be modified by netlink */
/third_party/musl/porting/linux/user/src/internal/
H A Dmalloc_config.h35 #error MALLOC_FREELIST_QUARANTINE can be only applied when MALLOC_FREELIST_HARDENED is set.
39 #error MALLOC_RED_ZONE can be only applied when MALLOC_FREELIST_QUARANTINE is set.
/third_party/musl/src/internal/linux/
H A Dmalloc_config.h35 #error MALLOC_FREELIST_QUARANTINE can be only applied when MALLOC_FREELIST_HARDENED is set.
39 #error MALLOC_RED_ZONE can be only applied when MALLOC_FREELIST_QUARANTINE is set.
/kernel/linux/linux-5.10/drivers/net/can/
H A Dvxcan.c5 * This code is derived from drivers/net/can/vcan.c for the virtual CAN
17 #include <linux/can.h>
18 #include <linux/can/dev.h>
19 #include <linux/can/skb.h>
20 #include <linux/can/vxcan.h>
21 #include <linux/can/can-ml.h>
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
H A Dsja1000_platform.c15 #include <linux/can/dev.h>
16 #include <linux/can/platform/sja1000.h>
114 priv->can.clock.freq = pdata->osc_freq / 2; in sp_populate()
161 priv->can.clock.freq = prop / 2; in sp_populate_of()
163 priv->can.clock.freq = SP_CAN_CLOCK; /* default */ in sp_populate_of()
179 u32 divider = priv->can.clock.freq * 2 / prop; in sp_populate_of()
/third_party/icu/icu4c/source/test/intltest/
H A Dcanittst.cpp310 CanonicalIterator can(start, status); in TestAPI()
315 UnicodeString source = can.getSource(); in TestAPI()
321 UnicodeString next = can.next(); in TestAPI()
324 can.reset(); in TestAPI()
326 UnicodeString afterReset = can.next(); in TestAPI()
334 if(can.getDynamicClassID() != CanonicalIterator::getStaticClassID()){ in TestAPI()
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h10 #include <linux/can/dev/peak_canfd.h>
16 struct can_priv can; /* socket-can private data */ member
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h10 #include <linux/can/dev/peak_canfd.h>
16 struct can_priv can; /* socket-can private data */ member
/third_party/libunwind/libunwind/doc/
H A Dlibunwind.tex76 current activation of function \Func{F}(). The unwind cursor can then
78 \Func{unw\_step}(). By repeatedly calling this routine, you can
86 ``down'' direction (towards newer stack frames), this effect can be
106 by definition, only the \emph{preserved} machine state can be accessed
112 as well. The exact set of registers that can be accessed via the
114 registers that can be read on all platforms: the instruction pointer
132 special implementation can be selected which may run much faster than
139 (compilation-unit) can make on its own. Independent of the setting(s)
171 \Prog{Libunwind} can also be used to unwind a stack in a ``remote''
177 Before you can unwin
[all...]
/kernel/linux/linux-6.6/drivers/net/can/ctucanfd/
H A Dctucanfd.h24 #include <linux/can/dev.h>
30 struct can_priv can; /* must be first member! */ member

Completed in 18 milliseconds

12345678910>>...42