Home
last modified time | relevance | path

Searched defs:hellcreek (Results 1 – 4 of 4) sorted by relevance

/drivers/net/dsa/hirschmann/
Dhellcreek.c96 static u16 hellcreek_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_read()
101 static u16 hellcreek_read_ctrl(struct hellcreek *hellcreek) in hellcreek_read_ctrl()
106 static u16 hellcreek_read_stat(struct hellcreek *hellcreek) in hellcreek_read_stat()
111 static void hellcreek_write(struct hellcreek *hellcreek, u16 data, in hellcreek_write()
117 static void hellcreek_select_port(struct hellcreek *hellcreek, int port) in hellcreek_select_port()
124 static void hellcreek_select_prio(struct hellcreek *hellcreek, int prio) in hellcreek_select_prio()
131 static void hellcreek_select_port_prio(struct hellcreek *hellcreek, int port, in hellcreek_select_port_prio()
141 static void hellcreek_select_counter(struct hellcreek *hellcreek, int counter) in hellcreek_select_counter()
151 static void hellcreek_select_vlan(struct hellcreek *hellcreek, int vid, in hellcreek_select_vlan()
166 static void hellcreek_select_tgd(struct hellcreek *hellcreek, int port) in hellcreek_select_tgd()
[all …]
Dhellcreek_ptp.c17 u16 hellcreek_ptp_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_ptp_read()
22 void hellcreek_ptp_write(struct hellcreek *hellcreek, u16 data, in hellcreek_ptp_write()
29 static u64 hellcreek_ptp_clock_read(struct hellcreek *hellcreek) in hellcreek_ptp_clock_read()
52 static u64 __hellcreek_ptp_gettime(struct hellcreek *hellcreek) in __hellcreek_ptp_gettime()
70 u64 hellcreek_ptp_gettime_seconds(struct hellcreek *hellcreek, u64 ns) in hellcreek_ptp_gettime_seconds()
86 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_gettime() local
101 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_settime() local
128 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_adjfine() local
175 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_adjtime() local
230 struct hellcreek *hellcreek; in hellcreek_ptp_overflow_check() local
[all …]
Dhellcreek_hwtstamp.c21 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ts_info() local
42 static int hellcreek_set_hwtstamp_config(struct hellcreek *hellcreek, int port, in hellcreek_set_hwtstamp_config()
115 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_hwtstamp_set() local
139 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_hwtstamp_get() local
153 static struct ptp_header *hellcreek_should_tstamp(struct hellcreek *hellcreek, in hellcreek_should_tstamp()
181 static int hellcreek_ptp_hwtstamp_available(struct hellcreek *hellcreek, in hellcreek_ptp_hwtstamp_available()
199 static u64 hellcreek_ptp_hwtstamp_read(struct hellcreek *hellcreek, in hellcreek_ptp_hwtstamp_read()
213 static int hellcreek_txtstamp_work(struct hellcreek *hellcreek, in hellcreek_txtstamp_work()
292 static void hellcreek_get_rxts(struct hellcreek *hellcreek, in hellcreek_get_rxts()
338 static void hellcreek_rxtstamp_work(struct hellcreek *hellcreek, in hellcreek_rxtstamp_work()
[all …]
Dhellcreek.h249 struct hellcreek *hellcreek; member
275 struct hellcreek { struct
276 const struct hellcreek_platform_data *pdata; argument
281 struct hellcreek_port *ports; argument
282 struct delayed_work overflow_work;
283 struct led_classdev led_is_gm;
307 #define dw_to_hellcreek_port(dw) \ argument