Home
last modified time | relevance | path

Searched full:can (Results 1 – 25 of 9199) sorted by relevance

12345678910>>...368

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/
Drcar_can.txt1 Renesas R-Car CAN controller Device Tree Bindings
5 - compatible: "renesas,can-r8a7742" if CAN controller is a part of R8A7742 SoC.
6 "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
7 "renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC.
8 "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
9 "renesas,can-r8a77470" if CAN controller is a part of R8A77470 SoC.
10 "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
11 "renesas,can-r8a774b1" if CAN controller is a part of R8A774B1 SoC.
12 "renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC.
13 "renesas,can-r8a774e1" if CAN controller is a part of R8A774E1 SoC.
[all …]
Dxilinx_can.txt1 Xilinx Axi CAN/Zynq CANPS controller Device Tree Bindings
6 - "xlnx,zynq-can-1.0" for Zynq CAN controllers
7 - "xlnx,axi-can-1.00.a" for Axi CAN controllers
8 - "xlnx,canfd-1.0" for CAN FD controllers
9 - "xlnx,canfd-2.0" for CAN FD 2.0 controllers
16 - "can_clk", "s_axi_aclk" (For AXI CAN and CAN FD).
19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN).
20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in
22 - tx-mailbox-count : Can Tx mailbox buffer count (CAN FD).
23 - rx-mailbox-count : Can Rx mailbox buffer count (CAN FD in mailbox Rx
[all …]
/kernel/linux/linux-5.10/drivers/net/can/
DKconfig2 menu "CAN Device Drivers"
5 tristate "Virtual Local CAN Interface (vcan)"
8 virtual local CAN interface.
10 This driver can also be built as a module. If so, the module
14 tristate "Virtual CAN Tunnel (vxcan)"
17 local CAN traffic tunnel between two virtual CAN network devices.
20 versa. The vxcan can be used for cross namespace communication.
22 In opposite to vcan loopback devices the vxcan only forwards CAN
24 CAN frames. To disable a potential echo in af_can.c the vxcan driver
26 in each namespace the CAN GW hop counter is set to zero.
[all …]
Dkvaser_pciefd.c13 #include <linux/can/dev.h>
21 MODULE_DESCRIPTION("CAN driver for Kvaser CAN/PCIe devices");
47 /* Kvaser KCAN CAN controller registers */
179 /* Controller got CAN FD capability */
191 /* CAN FD non-ISO */
197 /* Classic CAN mode */
254 struct can_priv can; member
270 struct kvaser_pciefd_can *can[KVASER_PCIEFD_MAX_CAN_CHANNELS]; member
485 static void kvaser_pciefd_request_status(struct kvaser_pciefd_can *can) in kvaser_pciefd_request_status() argument
490 cmd |= ++can->cmd_seq << KVASER_PCIEFD_KCAN_CMD_SEQ_SHIFT; in kvaser_pciefd_request_status()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dcan.rst8 The socketcan package is an implementation of CAN protocols
9 (Controller Area Network) for Linux. CAN is a networking technology
11 automotive fields. While there have been other CAN implementations
13 socket API, the Linux network stack and implements the CAN device
14 drivers as network interfaces. The CAN socket API has been designed
16 familiar with network programming, to easily learn how to use CAN
25 There have been CAN implementations for Linux before SocketCAN so the
27 implementations come as a device driver for some CAN hardware, they
31 receive raw CAN frames, directly to/from the controller hardware.
36 the CAN controller requires employment of another device driver and
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
Dcan.rst8 The socketcan package is an implementation of CAN protocols
9 (Controller Area Network) for Linux. CAN is a networking technology
11 automotive fields. While there have been other CAN implementations
13 socket API, the Linux network stack and implements the CAN device
14 drivers as network interfaces. The CAN socket API has been designed
16 familiar with network programming, to easily learn how to use CAN
25 There have been CAN implementations for Linux before SocketCAN so the
27 implementations come as a device driver for some CAN hardware, they
31 receive raw CAN frames, directly to/from the controller hardware.
36 the CAN controller requires employment of another device driver and
[all …]
/kernel/linux/linux-4.19/drivers/net/can/
DKconfig1 menu "CAN Device Drivers"
4 tristate "Virtual Local CAN Interface (vcan)"
7 virtual local CAN interface.
9 This driver can also be built as a module. If so, the module
13 tristate "Virtual CAN Tunnel (vxcan)"
16 local CAN traffic tunnel between two virtual CAN network devices.
19 versa. The vxcan can be used for cross namespace communication.
21 In opposite to vcan loopback devices the vxcan only forwards CAN
23 CAN frames. To disable a potential echo in af_can.c the vxcan driver
25 in each namespace the CAN GW hop counter is set to zero.
[all …]
/kernel/linux/linux-5.10/net/can/
DKconfig3 # Controller Area Network (CAN) network layer core configuration
6 menuconfig CAN config
8 tristate "CAN bus subsystem support"
10 Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
11 communications protocol. Development of the CAN bus started in
13 released in 1986. The CAN bus was originally mainly for automotive,
15 applications. More information on the CAN network protocol family
16 PF_CAN is contained in <Documentation/networking/can.rst>.
18 If you want CAN support you should say Y here and also to the
21 if CAN
[all …]
Dproc.c3 * proc.c - procfs support for Protocol family CAN core module
48 #include <linux/can/can-ml.h>
49 #include <linux/can/core.h>
81 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_init_stats()
82 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_init_stats()
109 printk(KERN_ERR "can: calc_rate: count exceeded! %ld\n", in calc_rate()
121 struct net *net = from_timer(net, t, can.stattimer); in can_stat_update()
122 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stat_update()
180 mod_timer(&net->can.stattimer, round_jiffies(jiffies + HZ)); in can_stat_update()
215 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stats_proc_show()
[all …]
Daf_can.c2 /* af_can.c - Protocol family CAN core module
3 * (used by different CAN protocol modules)
58 #include <linux/can.h>
59 #include <linux/can/core.h>
60 #include <linux/can/skb.h>
61 #include <linux/can/can-ml.h>
81 /* table of registered CAN protocols */
132 err = request_module("can-proto-%d", protocol); in can_create()
139 pr_err_ratelimited("can: request_module (can-proto-%d) failed.\n", in can_create()
184 * can_send - transmit a CAN frame (optional with local loopback)
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/can/
Drcar_can.txt1 Renesas R-Car CAN controller Device Tree Bindings
5 - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
6 "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
7 "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
8 "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
9 "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
10 "renesas,can-r8a7791" if CAN controller is a part of R8A7791 SoC.
11 "renesas,can-r8a7792" if CAN controller is a part of R8A7792 SoC.
12 "renesas,can-r8a7793" if CAN controller is a part of R8A7793 SoC.
13 "renesas,can-r8a7794" if CAN controller is a part of R8A7794 SoC.
[all …]
Dxilinx_can.txt1 Xilinx Axi CAN/Zynq CANPS controller Device Tree Bindings
6 - "xlnx,zynq-can-1.0" for Zynq CAN controllers
7 - "xlnx,axi-can-1.00.a" for Axi CAN controllers
8 - "xlnx,canfd-1.0" for CAN FD controllers
15 - "can_clk", "s_axi_aclk" (For AXI CAN and CAN FD).
18 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN).
19 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in
21 - tx-mailbox-count : Can Tx mailbox buffer count (CAN FD).
22 - rx-mailbox-count : Can Rx mailbox buffer count (CAN FD in mailbox Rx
29 zynq_can_0: can@e0008000 {
[all …]
/kernel/linux/linux-4.19/net/can/
DKconfig2 # Controller Area Network (CAN) network layer core configuration
5 menuconfig CAN config
7 tristate "CAN bus subsystem support"
9 Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
13 More information on the CAN network protocol family PF_CAN
14 is contained in <Documentation/networking/can.rst>.
16 If you want CAN support you should say Y here and also to the
19 if CAN
22 tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
25 The raw CAN protocol option offers access to the CAN bus via
[all …]
Dproc.c2 * proc.c - procfs support for Protocol family CAN core module
47 #include <linux/can/core.h>
80 struct s_stats *can_stats = net->can.can_stats; in can_init_stats()
81 struct s_pstats *can_pstats = net->can.can_pstats; in can_init_stats()
108 printk(KERN_ERR "can: calc_rate: count exceeded! %ld\n", in calc_rate()
120 struct net *net = from_timer(net, t, can.can_stattimer); in can_stat_update()
121 struct s_stats *can_stats = net->can.can_stats; in can_stat_update()
179 mod_timer(&net->can.can_stattimer, round_jiffies(jiffies + HZ)); in can_stat_update()
214 struct s_stats *can_stats = net->can.can_stats; in can_stats_proc_show()
215 struct s_pstats *can_pstats = net->can.can_pstats; in can_stats_proc_show()
[all …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_can.h3 \brief definitions for the CAN
42 /* CAN definitions */
48 #define CAN_CTL(canx) REG32((canx) + 0x00U) /*!< CAN control register …
49 #define CAN_STAT(canx) REG32((canx) + 0x04U) /*!< CAN status register */
50 #define CAN_TSTAT(canx) REG32((canx) + 0x08U) /*!< CAN transmit status r…
51 #define CAN_RFIFO0(canx) REG32((canx) + 0x0CU) /*!< CAN receive FIFO0 reg…
52 #define CAN_RFIFO1(canx) REG32((canx) + 0x10U) /*!< CAN receive FIFO1 reg…
53 #define CAN_INTEN(canx) REG32((canx) + 0x14U) /*!< CAN interrupt enable …
54 #define CAN_ERR(canx) REG32((canx) + 0x18U) /*!< CAN error register */
55 #define CAN_BT(canx) REG32((canx) + 0x1CU) /*!< CAN bit timing regist…
[all …]
/kernel/linux/linux-4.19/drivers/net/can/usb/
DKconfig1 menu "CAN USB interfaces"
11 tristate "EMS CPC-USB/ARM7 CAN/USB interface"
13 This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
17 tristate "ESD USB/2 CAN/USB interface"
19 This driver supports the CAN-USB/2 interface
26 candleLight USB CAN interfaces USB/CAN devices
32 tristate "Kvaser CAN/USB interface"
34 This driver adds support for Kvaser CAN/USB devices like Kvaser
83 tristate "Microchip CAN BUS Analyzer interface"
85 This driver supports the CAN BUS Analyzer interface
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/
DKconfig2 menu "CAN USB interfaces"
12 tristate "EMS CPC-USB/ARM7 CAN/USB interface"
14 This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
18 tristate "ESD USB/2 CAN/USB interface"
20 This driver supports the CAN-USB/2 interface
27 candleLight USB CAN interfaces USB/CAN devices
33 tristate "Kvaser CAN/USB interface"
35 This driver adds support for Kvaser CAN/USB devices like Kvaser
84 tristate "Microchip CAN BUS Analyzer interface"
86 This driver supports the CAN BUS Analyzer interface
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/can/
Dgw.h3 * linux/can/gw.h
5 * Definitions for CAN frame Gateway/Router/Bridge
49 #include <linux/can.h>
57 /* CAN gateway types */
60 CGW_TYPE_CAN_CAN, /* CAN->CAN routing */
66 /* CAN rtnetlink attribute definitions */
69 CGW_MOD_AND, /* CAN frame modification binary AND */
70 CGW_MOD_OR, /* CAN frame modification binary OR */
71 CGW_MOD_XOR, /* CAN frame modification binary XOR */
72 CGW_MOD_SET, /* CAN frame modification set alternate values */
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
DKconfig12 can include temperature sensors, voltage sensors, fan speed
22 This support can also be built as a module. If so, the module
49 This driver can also be built as a module. If so, the module
59 chip can be found on Abit uGuru featuring motherboards (most modern
64 This driver can also be built as a module. If so, the module
74 uGuru chip can be found on recent Abit motherboards (since end
78 This driver can also be built as a module. If so, the module
88 This driver can also be built as a module. If so, the module
98 This driver can also be built as a module. If so, the module
108 This driver can also be built as a module. If so, the module
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
DKconfig13 can include temperature sensors, voltage sensors, fan speed
23 This support can also be built as a module. If so, the module
51 This driver can also be built as a module. If so, the module
61 chip can be found on Abit uGuru featuring motherboards (most modern
66 This driver can also be built as a module. If so, the module
76 uGuru chip can be found on recent Abit motherboards (since end
80 This driver can also be built as a module. If so, the module
90 This driver can also be built as a module. If so, the module
100 This driver can also be built as a module. If so, the module
110 This driver can also be built as a module. If so, the module
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dcan.h3 * linux/can.h
5 * Definitions for CAN network layer (socket addr / CAN frame / CAN filter)
52 /* controller area network (CAN) kernel definitions */
59 /* valid bits in CAN ID for frame formats */
67 * bit 0-28 : CAN identifier (11/29 bit)
80 * bit 0-28 : error class mask (see include/uapi/linux/can/error.h)
85 /* CAN payload length and DLC definitions according to ISO 11898-1 */
89 /* CAN FD payload length and DLC definitions according to ISO 11898-7 */
94 * struct can_frame - basic CAN frame structure
95 * @can_id: CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dcan.h3 * linux/can.h
5 * Definitions for CAN network layer (socket addr / CAN frame / CAN filter)
52 /* controller area network (CAN) kernel definitions */
59 /* valid bits in CAN ID for frame formats */
67 * bit 0-28 : CAN identifier (11/29 bit)
80 * bit 0-28 : error class mask (see include/uapi/linux/can/error.h)
85 /* CAN payload length and DLC definitions according to ISO 11898-1 */
89 /* CAN FD payload length and DLC definitions according to ISO 11898-7 */
94 * struct can_frame - basic CAN frame structure
95 * @can_id: CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/rc/
Dlirc-get-features.rst41 .. _LIRC-CAN-REC-RAW:
47 .. _LIRC-CAN-REC-PULSE:
52 :ref:`LIRC_MODE_PULSE <lirc-mode-pulse>` can only be used for transmitting.
54 .. _LIRC-CAN-REC-MODE2:
64 .. _LIRC-CAN-REC-LIRCCODE:
70 .. _LIRC-CAN-REC-SCANCODE:
77 .. _LIRC-CAN-SET-SEND-CARRIER:
84 .. _LIRC-CAN-SET-SEND-DUTY-CYCLE:
91 .. _LIRC-CAN-SET-TRANSMITTER-MASK:
98 .. _LIRC-CAN-SET-REC-CARRIER:
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Dlirc-get-features.rst41 .. _LIRC-CAN-REC-RAW:
47 .. _LIRC-CAN-REC-PULSE:
52 :ref:`LIRC_MODE_PULSE <lirc-mode-pulse>` can only be used for transmitting.
54 .. _LIRC-CAN-REC-MODE2:
64 .. _LIRC-CAN-REC-LIRCCODE:
70 .. _LIRC-CAN-REC-SCANCODE:
77 .. _LIRC-CAN-SET-SEND-CARRIER:
84 .. _LIRC-CAN-SET-SEND-DUTY-CYCLE:
91 .. _LIRC-CAN-SET-TRANSMITTER-MASK:
98 .. _LIRC-CAN-SET-REC-CARRIER:
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/can/
Dgw.h3 * linux/can/gw.h
5 * Definitions for CAN frame Gateway/Router/Bridge
49 #include <linux/can.h>
57 /* CAN gateway types */
60 CGW_TYPE_CAN_CAN, /* CAN->CAN routing */
66 /* CAN rtnetlink attribute definitions */
69 CGW_MOD_AND, /* CAN frame modification binary AND */
70 CGW_MOD_OR, /* CAN frame modification binary OR */
71 CGW_MOD_XOR, /* CAN frame modification binary XOR */
72 CGW_MOD_SET, /* CAN frame modification set alternate values */
[all …]

12345678910>>...368