Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c95 static u16 hellcreek_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_read()
100 static u16 hellcreek_read_ctrl(struct hellcreek *hellcreek) in hellcreek_read_ctrl()
105 static u16 hellcreek_read_stat(struct hellcreek *hellcreek) in hellcreek_read_stat()
110 static void hellcreek_write(struct hellcreek *hellcreek, u16 data, in hellcreek_write()
116 static void hellcreek_select_port(struct hellcreek *hellcreek, int port) in hellcreek_select_port()
123 static void hellcreek_select_prio(struct hellcreek *hellcreek, int prio) in hellcreek_select_prio()
130 static void hellcreek_select_port_prio(struct hellcreek *hellcreek, int port, in hellcreek_select_port_prio()
140 static void hellcreek_select_counter(struct hellcreek *hellcreek, int counter) in hellcreek_select_counter()
150 static void hellcreek_select_vlan(struct hellcreek *hellcreek, int vid, in hellcreek_select_vlan()
165 static void hellcreek_select_tgd(struct hellcreek *hellcreek, int port) in hellcreek_select_tgd()
[all …]
H A Dhellcreek_ptp.c18 u16 hellcreek_ptp_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_ptp_read()
23 void hellcreek_ptp_write(struct hellcreek *hellcreek, u16 data, in hellcreek_ptp_write()
30 static u64 hellcreek_ptp_clock_read(struct hellcreek *hellcreek) in hellcreek_ptp_clock_read()
53 static u64 __hellcreek_ptp_gettime(struct hellcreek *hellcreek) in __hellcreek_ptp_gettime()
71 u64 hellcreek_ptp_gettime_seconds(struct hellcreek *hellcreek, u64 ns) in hellcreek_ptp_gettime_seconds()
87 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_gettime() local
102 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_settime() local
129 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_adjfine() local
176 struct hellcreek *hellcreek = ptp_to_hellcreek(ptp); in hellcreek_ptp_adjtime() local
231 struct hellcreek *hellcreek; in hellcreek_ptp_overflow_check() local
[all …]
H A 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()
331 static void hellcreek_rxtstamp_work(struct hellcreek *hellcreek, in hellcreek_rxtstamp_work()
[all …]
H A 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