Home
last modified time | relevance | path

Searched full:hellcreek (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c4 * Hirschmann Hellcreek TSN switch.
14 #include "hellcreek.h"
18 u16 hellcreek_ptp_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_ptp_read() argument
20 return readw(hellcreek->ptp_base + offset); in hellcreek_ptp_read()
23 void hellcreek_ptp_write(struct hellcreek *hellcreek, u16 data, in hellcreek_ptp_write() argument
26 writew(data, hellcreek->ptp_base + offset); in hellcreek_ptp_write()
30 static u64 hellcreek_ptp_clock_read(struct hellcreek *hellcreek, in hellcreek_ptp_clock_read() argument
36 hellcreek_ptp_write(hellcreek, PR_COMMAND_C_SS, PR_COMMAND_C); in hellcreek_ptp_clock_read()
45 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
46 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
[all …]
H A Dhellcreek.c4 * Hirschmann Hellcreek TSN switch.
26 #include "hellcreek.h"
95 static u16 hellcreek_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_read() argument
97 return readw(hellcreek->base + offset); in hellcreek_read()
100 static u16 hellcreek_read_ctrl(struct hellcreek *hellcreek) in hellcreek_read_ctrl() argument
102 return readw(hellcreek->base + HR_CTRL_C); in hellcreek_read_ctrl()
105 static u16 hellcreek_read_stat(struct hellcreek *hellcreek) in hellcreek_read_stat() argument
107 return readw(hellcreek->base + HR_SWSTAT); in hellcreek_read_stat()
110 static void hellcreek_write(struct hellcreek *hellcreek, u16 data, in hellcreek_write() argument
113 writew(data, hellcreek->base + offset); in hellcreek_write()
[all …]
H A Dhellcreek_ptp.h4 * Hirschmann Hellcreek TSN switch.
18 #include "hellcreek.h"
60 int hellcreek_ptp_setup(struct hellcreek *hellcreek);
61 void hellcreek_ptp_free(struct hellcreek *hellcreek);
62 u16 hellcreek_ptp_read(struct hellcreek *hellcreek, unsigned int offset);
63 void hellcreek_ptp_write(struct hellcreek *hellcreek, u16 data,
65 u64 hellcreek_ptp_gettime_seconds(struct hellcreek *hellcreek, u64 ns);
68 container_of(ptp, struct hellcreek, ptp_clock_info)
71 container_of(dw, struct hellcreek, overflow_work)
74 container_of(ldev, struct hellcreek, led)
H A DKconfig3 tristate "Hirschmann Hellcreek TSN Switch support"
11 This driver adds support for Hirschmann Hellcreek TSN switches.
H A DMakefile3 hellcreek_sw-objs := hellcreek.o
/linux/Documentation/devicetree/bindings/net/dsa/
H A Dhirschmann,hellcreek.yaml4 $id: http://devicetree.org/schemas/net/dsa/hirschmann,hellcreek.yaml#
7 title: Hirschmann Hellcreek TSN Switch
19 The Hellcreek TSN Switch IP is a 802.1Q Ethernet compliant switch. It supports
26 - const: hirschmann,hellcreek-de1soc-r1
50 description: Hellcreek leds
82 compatible = "hirschmann,hellcreek-de1soc-r1";
/linux/net/dsa/
H A Dtag_hellcreek.c3 * net/dsa/tag_hellcreek.c - Hirschmann Hellcreek switch tag format handling
16 #define HELLCREEK_NAME "hellcreek"
70 MODULE_DESCRIPTION("DSA tag driver for Hirschmann Hellcreek TSN switches");
H A DKconfig73 tristate "Tag driver for Hirschmann Hellcreek TSN switches"
76 for the Hirschmann Hellcreek TSN switches.
/linux/include/linux/platform_data/
H A Dhirschmann-hellcreek.h3 * Hirschmann Hellcreek TSN switch platform data.
/linux/
H A DMAINTAINERS11195 HIRSCHMANN HELLCREEK ETHERNET SWITCH DRIVER
11199 F: Documentation/devicetree/bindings/net/dsa/hirschmann,hellcreek.yaml
11201 F: include/linux/platform_data/hirschmann-hellcreek.h