Home
last modified time | relevance | path

Searched refs:gcl (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_tc.c38 static void tsnep_write_gcl_operation(struct tsnep_gcl *gcl, int index, in tsnep_write_gcl_operation() argument
41 void __iomem *addr = gcl->addr + in tsnep_write_gcl_operation()
44 gcl->operation[index].properties = properties; in tsnep_write_gcl_operation()
45 gcl->operation[index].interval = interval; in tsnep_write_gcl_operation()
56 static u64 tsnep_change_duration(struct tsnep_gcl *gcl, int index) in tsnep_change_duration() argument
75 duration += gcl->operation[index].interval; in tsnep_change_duration()
79 index = gcl->count - 1; in tsnep_change_duration()
87 static void tsnep_write_gcl(struct tsnep_gcl *gcl, in tsnep_write_gcl() argument
95 gcl->base_time = ktime_to_ns(qopt->base_time); in tsnep_write_gcl()
96 gcl->cycle_time = qopt->cycle_time; in tsnep_write_gcl()
[all …]
Dtsnep_selftests.c194 static int get_operation(struct tsnep_gcl *gcl, u64 system_time, u64 *next) in get_operation() argument
196 u64 n = div64_u64(system_time - gcl->base_time, gcl->cycle_time); in get_operation()
197 u64 cycle_start = gcl->base_time + gcl->cycle_time * n; in get_operation()
201 for (i = 0; i < gcl->count; i++) { in get_operation()
202 *next += gcl->operation[i].interval; in get_operation()
224 curr = &adapter->gcl[0]; in check_gate()
225 prev = &adapter->gcl[1]; in check_gate()
227 curr = &adapter->gcl[1]; in check_gate()
228 prev = &adapter->gcl[0]; in check_gate()
Dtsnep.h176 struct tsnep_gcl gcl[2]; member
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.c576 static int dwmac5_est_write(void __iomem *ioaddr, u32 reg, u32 val, bool gcl) in dwmac5_est_write() argument
583 ctrl |= gcl ? 0 : GCRR; in dwmac5_est_write()
610 ret = dwmac5_est_write(ioaddr, i, cfg->gcl[i], true); in dwmac5_est_configure()
Ddwxgmac2_core.c1492 static int dwxgmac3_est_write(void __iomem *ioaddr, u32 reg, u32 val, bool gcl) in dwxgmac3_est_write() argument
1499 ctrl |= gcl ? 0 : XGMAC_GCRR; in dwxgmac3_est_write()
1526 ret = dwxgmac3_est_write(ioaddr, i, cfg->gcl[i], true); in dwxgmac3_est_configure()
Dstmmac_tc.c1023 priv->plat->est->gcl[i] = delta_ns | (gates << wid); in tc_setup_taprio()
/linux-6.6.21/include/linux/
Dstmmac.h128 u32 gcl[EST_GCL]; member