Home
last modified time | relevance | path

Searched full:sja1000 (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/can/
Dnxp,sja1000.yaml4 $id: http://devicetree.org/schemas/net/can/nxp,sja1000.yaml#
7 title: Memory mapped SJA1000 CAN controller from NXP (formerly Philips)
16 - nxp,sja1000
17 - technologic,sja1000
20 - renesas,r9a06g032-sja1000 # RZ/N1D
21 - renesas,r9a06g033-sja1000 # RZ/N1S
22 - const: renesas,rzn1-sja1000 # RZ/N1
46 The internal clock frequency used by the SJA1000 is half of that value.
97 - technologic,sja1000
98 - renesas,rzn1-sja1000
[all …]
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dtscan1.c20 #include "sja1000.h"
42 /* PLD mode register SJA1000 IO enable bit */
55 /* SJA1000 register space size */
58 /* SJA1000 crystal frequency (16MHz) */
61 /* SJA1000 IO base addresses */
66 /* Read SJA1000 register */
72 /* Write SJA1000 register */
131 /* Select the first SJA1000 IO address that is free and that works */ in tscan1_probe()
138 /* Set SJA1000 IO base address and enable it */ in tscan1_probe()
143 /* SJA1000 probe succeeded; turn LED off and return */ in tscan1_probe()
[all …]
DKconfig4 tristate "Philips/NXP SJA1000 devices"
89 tristate "ISA Bus based legacy SJA1000 driver"
91 This driver adds legacy support for SJA1000 chips connected to
95 tristate "Generic Platform Bus based SJA1000 driver"
97 This driver adds support for the SJA1000 chips connected to
114 SJA1000 IO base addresses are chosen heuristically (first that works).
Dsja1000.h2 * sja1000.h - Philips SJA1000 network device driver
50 #include <linux/can/platform/sja1000.h>
52 #define SJA1000_ECHO_SKB_MAX 1 /* the SJA1000 has one TX buffer object */
56 /* SJA1000 registers - manual section 6.4 (Pelican Mode) */
151 * SJA1000 private data structure
Dplx_pci.c21 #include "sja1000.h"
27 "the SJA1000 chips");
93 * (meaning direct oscillator output) because the second SJA1000 chip
98 /* SJA1000 Control Register in the BasicCAN Mode */
101 /* States of some SJA1000 registers after hardware reset in the BasicCAN mode*/
107 /* States of some SJA1000 registers after hardware reset in the PeliCAN mode*/
174 /* Parameters for mapping the SJA1000 chips */
438 /* Bring the SJA1000 into the PeliCAN mode*/ in plx_pci_check_sja1000()
456 * For most cards it's enough for reset the SJA1000 chips.
518 /* reset the SJA1000 chip */ in plx_pci_reset_marathon_pci()
[all …]
DMakefile3 # Makefile for the SJA1000 CAN controller drivers.
13 obj-$(CONFIG_CAN_SJA1000) += sja1000.o
Df81601.c18 #include "sja1000.h"
91 /* Probe F81601 based device for the SJA1000 chips and register each
92 * available CAN channel to SJA1000 Socket-CAN subsystem.
176 /* Register SJA1000 device */ in f81601_pci_probe()
Dems_pcmcia.c18 #include "sja1000.h"
51 * (meaning direct oscillator output) because the second SJA1000 chip
120 /* Make sure SJA1000 is in reset mode */ in ems_pcmcia_check_chan()
159 * CAN channel to SJA1000 Socket-CAN subsystem.
222 /* Register SJA1000 device */ in ems_pcmcia_add_card()
Dsja1000_platform.c16 #include <linux/can/platform/sja1000.h>
22 #include "sja1000.h"
29 MODULE_DESCRIPTION("Socket-CAN driver for SJA1000 on the platform bus");
199 { .compatible = "nxp,sja1000", .data = NULL, },
200 { .compatible = "technologic,sja1000", .data = &technologic_data, },
Dems_pci.c18 #include "sja1000.h"
79 * (meaning direct oscillator output) because the second SJA1000 chip
158 /* Make sure SJA1000 is in reset mode */ in ems_pci_check_chan()
208 * CAN channel to SJA1000 Socket-CAN subsystem.
326 /* Register SJA1000 device */ in ems_pci_add_card()
/kernel/linux/linux-6.6/drivers/net/can/sja1000/
Dtscan1.c19 #include "sja1000.h"
41 /* PLD mode register SJA1000 IO enable bit */
54 /* SJA1000 register space size */
57 /* SJA1000 crystal frequency (16MHz) */
60 /* SJA1000 IO base addresses */
65 /* Read SJA1000 register */
71 /* Write SJA1000 register */
130 /* Select the first SJA1000 IO address that is free and that works */ in tscan1_probe()
137 /* Set SJA1000 IO base address and enable it */ in tscan1_probe()
142 /* SJA1000 probe succeeded; turn LED off and return */ in tscan1_probe()
[all …]
DKconfig4 tristate "Philips/NXP SJA1000 devices"
89 tristate "ISA Bus based legacy SJA1000 driver"
91 This driver adds legacy support for SJA1000 chips connected to
95 tristate "Generic Platform Bus based SJA1000 driver"
97 This driver adds support for the SJA1000 chips connected to
114 SJA1000 IO base addresses are chosen heuristically (first that works).
Dsja1000.h2 * sja1000.h - Philips SJA1000 network device driver
50 #include <linux/can/platform/sja1000.h>
52 #define SJA1000_ECHO_SKB_MAX 1 /* the SJA1000 has one TX buffer object */
56 /* SJA1000 registers - manual section 6.4 (Pelican Mode) */
153 * SJA1000 private data structure
Dplx_pci.c21 #include "sja1000.h"
27 "the SJA1000 chips");
81 * (meaning direct oscillator output) because the second SJA1000 chip
86 /* SJA1000 Control Register in the BasicCAN Mode */
89 /* States of some SJA1000 registers after hardware reset in the BasicCAN mode*/
95 /* States of some SJA1000 registers after hardware reset in the PeliCAN mode*/
162 /* Parameters for mapping the SJA1000 chips */
426 /* Bring the SJA1000 into the PeliCAN mode*/ in plx_pci_check_sja1000()
444 * For most cards it's enough for reset the SJA1000 chips.
506 /* reset the SJA1000 chip */ in plx_pci_reset_marathon_pci()
[all …]
Dsja1000_platform.c16 #include <linux/can/platform/sja1000.h>
21 #include "sja1000.h"
28 MODULE_DESCRIPTION("Socket-CAN driver for SJA1000 on the platform bus");
207 { .compatible = "nxp,sja1000", .data = NULL, },
208 { .compatible = "renesas,rzn1-sja1000", .data = &renesas_data, },
209 { .compatible = "technologic,sja1000", .data = &technologic_data, },
DMakefile3 # Makefile for the SJA1000 CAN controller drivers.
13 obj-$(CONFIG_CAN_SJA1000) += sja1000.o
Df81601.c18 #include "sja1000.h"
91 /* Probe F81601 based device for the SJA1000 chips and register each
92 * available CAN channel to SJA1000 Socket-CAN subsystem.
176 /* Register SJA1000 device */ in f81601_pci_probe()
Dems_pcmcia.c18 #include "sja1000.h"
50 * (meaning direct oscillator output) because the second SJA1000 chip
119 /* Make sure SJA1000 is in reset mode */ in ems_pcmcia_check_chan()
158 * CAN channel to SJA1000 Socket-CAN subsystem.
221 /* Register SJA1000 device */ in ems_pcmcia_add_card()
Dpeak_pcmcia.c20 #include "sja1000.h"
124 * (meaning direct oscillator output) because the second SJA1000 chip
174 * read a sja1000 register
182 * write a sja1000 register
189 /* sja1000 register changes control the leds state */ in pcan_write_canreg()
502 /* make sure SJA1000 is in reset mode */ in pcan_channel_present()
569 /* register SJA1000 device */ in pcan_add_channels()
662 /* sja1000 api uses iomem */ in pcan_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/
Dsja1000.txt1 Memory mapped SJA1000 CAN controller from NXP (formerly Philips)
5 - compatible : should be one of "nxp,sja1000", "technologic,sja1000".
8 to map the registers of the SJA1000. The size is usually 0x80.
11 (number and sensitivity) required for the SJA1000.
22 SJA1000 is half of that value. If not specified, a default value
47 For further information, please have a look to the SJA1000 data sheet.
52 compatible = "nxp,sja1000";
/kernel/linux/linux-6.6/drivers/net/can/usb/
Dems_usb.c83 /* Mode register NXP LPC2119/SJA1000 CAN Controller */
87 /* ECC register NXP LPC2119/SJA1000 CAN Controller */
104 * but it expects SJA1000 bit settings based on 8MHz (is internally
123 /* Representation of the CAN parameters for the SJA1000 controller */
145 struct cpc_sja1000_params sja1000; member
160 /* SJA1000 CAN errors (compatible to NXP LPC2119) */
176 struct cpc_sja1000_can_error sja1000; member
358 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc; in ems_usb_rx_err()
359 u8 txerr = msg->msg.error.cc.regs.sja1000.txerr; in ems_usb_rx_err()
360 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr; in ems_usb_rx_err()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/
Dems_usb.c82 /* Mode register NXP LPC2119/SJA1000 CAN Controller */
86 /* ECC register NXP LPC2119/SJA1000 CAN Controller */
103 * but it expects SJA1000 bit settings based on 8MHz (is internally
122 /* Representation of the CAN parameters for the SJA1000 controller */
144 struct cpc_sja1000_params sja1000; member
159 /* SJA1000 CAN errors (compatible to NXP LPC2119) */
175 struct cpc_sja1000_can_error sja1000; member
357 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc; in ems_usb_rx_err()
358 u8 txerr = msg->msg.error.cc.regs.sja1000.txerr; in ems_usb_rx_err()
359 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr; in ems_usb_rx_err()
[all …]
/kernel/linux/linux-6.6/drivers/net/can/ctucanfd/
DKconfig8 is available (https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top).
29 The core has been tested together with OpenCores SJA1000
32 company. FPGA design https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top.
/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_platform.h16 * 1st with NEC or SJA1000
18 * 2nd only SJA1000
/kernel/linux/linux-6.6/drivers/net/can/softing/
Dsofting_platform.h16 * 1st with NEC or SJA1000
18 * 2nd only SJA1000

123