Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c18 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()
47 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
48 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
[all …]
H A Dhellcreek_ptp.h60 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 DMakefile3 hellcreek_sw-objs := hellcreek.o
/linux/
H A DMAINTAINERS11328 F: Documentation/devicetree/bindings/net/dsa/hirschmann,hellcreek.yaml
11330 F: include/linux/platform_data/hirschmann-hellcreek.h