Searched full:hellcreek (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 4 * Hirschmann Hellcreek TSN switch. 13 #include "hellcreek.h" 17 u16 hellcreek_ptp_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_ptp_read() argument 19 return readw(hellcreek->ptp_base + offset); in hellcreek_ptp_read() 22 void hellcreek_ptp_write(struct hellcreek *hellcreek, u16 data, in hellcreek_ptp_write() argument 25 writew(data, hellcreek->ptp_base + offset); in hellcreek_ptp_write() 29 static u64 hellcreek_ptp_clock_read(struct hellcreek *hellcreek) in hellcreek_ptp_clock_read() argument 34 hellcreek_ptp_write(hellcreek, PR_COMMAND_C_SS, PR_COMMAND_C); in hellcreek_ptp_clock_read() 43 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() 44 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() [all …]
|
D | hellcreek.c | 4 * Hirschmann Hellcreek TSN switch. 27 #include "hellcreek.h" 96 static u16 hellcreek_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_read() argument 98 return readw(hellcreek->base + offset); in hellcreek_read() 101 static u16 hellcreek_read_ctrl(struct hellcreek *hellcreek) in hellcreek_read_ctrl() argument 103 return readw(hellcreek->base + HR_CTRL_C); in hellcreek_read_ctrl() 106 static u16 hellcreek_read_stat(struct hellcreek *hellcreek) in hellcreek_read_stat() argument 108 return readw(hellcreek->base + HR_SWSTAT); in hellcreek_read_stat() 111 static void hellcreek_write(struct hellcreek *hellcreek, u16 data, in hellcreek_write() argument 114 writew(data, hellcreek->base + offset); in hellcreek_write() [all …]
|
D | hellcreek_hwtstamp.c | 4 * Hirschmann Hellcreek TSN switch. 14 #include "hellcreek.h" 21 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ts_info() local 23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info() 24 ptp_clock_index(hellcreek->ptp_clock) : -1; in hellcreek_get_ts_info() 42 static int hellcreek_set_hwtstamp_config(struct hellcreek *hellcreek, int port, in hellcreek_set_hwtstamp_config() argument 46 &hellcreek->ports[port].port_hwtstamp; in hellcreek_set_hwtstamp_config() 115 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_hwtstamp_set() local 120 ps = &hellcreek->ports[port].port_hwtstamp; in hellcreek_port_hwtstamp_set() 125 err = hellcreek_set_hwtstamp_config(hellcreek, port, &config); in hellcreek_port_hwtstamp_set() [all …]
|
D | hellcreek_ptp.h | 4 * 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)
|
D | hellcreek_hwtstamp.h | 4 * Hirschmann Hellcreek TSN switch. 16 #include "hellcreek.h" 55 int hellcreek_hwtstamp_setup(struct hellcreek *chip); 56 void hellcreek_hwtstamp_free(struct hellcreek *chip);
|
D | hellcreek.h | 4 * Hirschmann Hellcreek TSN switch. 20 #include <linux/platform_data/hirschmann-hellcreek.h> 224 struct hellcreek; 249 struct hellcreek *hellcreek; member 275 struct hellcreek { struct
|
D | Kconfig | 3 tristate "Hirschmann Hellcreek TSN Switch support" 11 This driver adds support for Hirschmann Hellcreek TSN switches.
|
D | Makefile | 3 hellcreek_sw-objs := hellcreek.o
|
/Linux-v6.1/Documentation/devicetree/bindings/net/dsa/ |
D | hirschmann,hellcreek.yaml | 4 $id: http://devicetree.org/schemas/net/dsa/hirschmann,hellcreek.yaml# 7 title: Hirschmann Hellcreek TSN Switch Device Tree Bindings 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-v6.1/net/dsa/ |
D | tag_hellcreek.c | 3 * net/dsa/tag_hellcreek.c - Hirschmann Hellcreek switch tag format handling 61 .name = "hellcreek",
|
D | Kconfig | 55 tristate "Tag driver for Hirschmann Hellcreek TSN switches" 58 for the Hirschmann Hellcreek TSN switches.
|
/Linux-v6.1/include/linux/platform_data/ |
D | hirschmann-hellcreek.h | 3 * Hirschmann Hellcreek TSN switch platform data.
|
/Linux-v6.1/ |
D | MAINTAINERS | 9177 HIRSCHMANN HELLCREEK ETHERNET SWITCH DRIVER 9181 F: Documentation/devicetree/bindings/net/dsa/hirschmann,hellcreek.yaml 9183 F: include/linux/platform_data/hirschmann-hellcreek.h
|