65 outbuf,
sizeof(outbuf), &outlength);
72 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0;
81 int period = enable ? 1000 : 0;
87 addr_lo = ((
u64)dma_addr) >> 0;
88 addr_hi = ((
u64)dma_addr) >> 32;
94 MC_CMD_MAC_STATS_IN_DMA, !!enable,
95 MC_CMD_MAC_STATS_IN_CLEAR, clear,
96 MC_CMD_MAC_STATS_IN_PERIODIC_CHANGE, 1,
97 MC_CMD_MAC_STATS_IN_PERIODIC_ENABLE, !!enable,
98 MC_CMD_MAC_STATS_IN_PERIODIC_CLEAR, 0,
99 MC_CMD_MAC_STATS_IN_PERIODIC_NOEVENT, 1,
100 MC_CMD_MAC_STATS_IN_PERIOD_MS, period);
112 __func__, enable ?
"enable" :
"disable", rc);